冰楓論壇

標題: TwMS v239.1 自動洗楓魔方 [打印本頁]

作者: prt    時間: 2021-12-12 17:45
標題: TwMS v239.1 自動洗楓魔方
  1. // TwMS v239.1 自動洗楓魔方
  2. [ENABLE]
  3. Alloc(AutoFunICS,512)
  4. Alloc(AutoFunICS2,512)
  5. Alloc(AutoFunDelay,4)
  6. Alloc(AutoFunTimer,4)
  7. Label(AutoFun)
  8. Label(AutoFun2)
  9. Label(AutoFunExit)

  10. AutoFunDelay:
  11. DD 7D0

  12. AutoFunTimer:
  13. DD 0

  14. AutoFunICS:
  15. cmp [esp],00C67476
  16. jne GetFocus
  17. mov [esp],AutoFun
  18. jmp GetFocus

  19. AutoFunICS2:
  20. cmp [esp+54C],033A2D25
  21. jne GetLastError
  22. mov [esp+54C],AutoFun2
  23. jmp GetLastError

  24. AutoFun:
  25. pushad
  26. cmp [04580B58],0
  27. je AutoFunExit
  28. mov eax,[04580B58]
  29. mov eax,[eax+00000168]
  30. cmp eax,FFFFFFFF
  31. je AutoFunExit
  32. cmp eax,3A98
  33. jg AutoFunExit
  34. call GetTickCount
  35. mov ecx,eax
  36. sub ecx,[AutoFunTimer]
  37. cmp ecx,[AutoFunDelay]
  38. jl AutoFunExit
  39. mov [AutoFunTimer],eax
  40. pushad
  41. mov ecx,[04580B58]
  42. call 033A2C00
  43. popad
  44. jmp AutoFunExit

  45. AutoFunExit:
  46. popad
  47. jmp 00C67476

  48. AutoFun2:
  49. add esp,0C
  50. mov ecx,esp
  51. push eax
  52. mov [ecx],00000000
  53. call 00496D50
  54. mov eax,6
  55. jmp 033A2D25+16

  56. 051AB478:
  57. DD AutoFunICS

  58. 03A6313C:
  59. DD AutoFunICS2

  60. [DISABLE]
  61. 051AB478:
  62. DD GetFocus

  63. 03A6313C:
  64. DD GetLastError

  65. DeAlloc(AutoFunICS)
  66. DeAlloc(AutoFunICS2)
  67. DeAlloc(AutoFunDelay)
  68. DeAlloc(AutoFunTimer)
複製代碼





歡迎光臨 冰楓論壇 (https://bingfong.com/) Powered by 冰楓