冰楓論壇

標題: TwMS v234.1 ICS 自動洗內潛 [打印本頁]

作者: prt    時間: 2021-5-12 20:34
標題: TwMS v234.1 ICS 自動洗內潛
  1. // TwMS v234.1 ICS 自動洗內潛
  2. [ENABLE]
  3. Alloc(AutoResetAbilityICS,512)
  4. Alloc(AutoResetAbilityDelay,4)
  5. Alloc(AutoResetAbilityTimer,4)
  6. Alloc(PotentialGrade,4)
  7. Label(AutoResetAbility)
  8. Label(AutoResetAbilityExit)
  9. Alloc(AutoResetAbilityICS2,512)
  10. Label(AutoResetAbility2)
  11. Alloc(AutoResetAbilityICS3,512)

  12. PotentialGrade:
  13. DD 3

  14. AutoResetAbilityDelay:
  15. DD 3E8

  16. AutoResetAbilityTimer:
  17. DD 0

  18. AutoResetAbilityICS:
  19. cmp [esp],00C316E7
  20. jne GetFocus
  21. mov [esp],AutoResetAbility
  22. jmp GetFocus

  23. AutoResetAbilityICS2:
  24. cmp [esp+54C],0305D050
  25. jne GetLastError
  26. mov [esp+54C],AutoResetAbility2
  27. jmp GetLastError

  28. AutoResetAbilityICS3:
  29. cmp [esp+3C],02D7F9CF
  30. jne RtlAllocateHeap
  31. mov [esp+3C],02D7FB9B
  32. jmp RtlAllocateHeap

  33. AutoResetAbility:
  34. cmp [04160464],0
  35. je 00C316E7
  36. pushad
  37. mov ecx,[04160144]
  38. call 02FCDA60
  39. cmp eax,[PotentialGrade]
  40. jge AutoResetAbilityExit
  41. call 02D55780
  42. mov edx,eax
  43. sub edx,[AutoResetAbilityTimer]
  44. cmp edx,[AutoResetAbilityDelay]
  45. jl AutoResetAbilityExit
  46. mov [AutoResetAbilityTimer],eax
  47. mov ecx,[04160144]
  48. push 00
  49. push 00
  50. push 00
  51. push 00
  52. call 0305CE90
  53. jmp AutoResetAbilityExit

  54. AutoResetAbilityExit:
  55. popad
  56. jmp 00C316E7

  57. AutoResetAbility2:
  58. add esp,08
  59. mov ecx,esp
  60. push eax
  61. mov [ecx],00000000
  62. call 004902D0
  63. mov eax,6
  64. jmp 0305D050+16

  65. 04C28F40:
  66. DD AutoResetAbilityICS

  67. 039591A4:
  68. DD AutoResetAbilityICS2

  69. 04C28D84:
  70. DD AutoResetAbilityICS3

  71. [DISABLE]
  72. 04C28F40:
  73. DD GetFocus

  74. 039591A4:
  75. DD GetLastError

  76. 04C28D84:
  77. DD RtlAllocateHeap

  78. DeAlloc(AutoResetAbilityICS)
  79. DeAlloc(AutoResetAbilityDelay)
  80. DeAlloc(AutoResetAbilityTimer)
  81. DeAlloc(PotentialGrade)
  82. DeAlloc(AutoResetAbilityICS2)
  83. DeAlloc(AutoResetAbilityICS3)
複製代碼





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