冰楓論壇

標題: TwMS v233.2 ICS 亞克-自動變身&能量不消耗&移除變身警告 [打印本頁]

作者: 麗麗    時間: 2021-4-13 21:47
標題: TwMS v233.2 ICS 亞克-自動變身&能量不消耗&移除變身警告
  1. // TwMS v233.2 ICS Ark_NoConsumption_Automatic_transformation

  2. [ENABLE]
  3. Alloc(Ark_NoConsumption_Automatic_transformationICS,2048)
  4. Alloc(Ark_NoConsumption_Automatic_transformationSW,4)
  5. RegisterSymbol(Ark_NoConsumption_Automatic_transformationSW)
  6. Label(Ark_NoConsumption_Automatic_transformation)
  7. Label(Ark_NoConsumption)
  8. Label(Hook)
  9. Label(fakecall)
  10. Label(L11)
  11. Label(L22)

  12. Alloc(Ark_NoTransformation_warning_ICS,512)
  13. Alloc(Ark_NoTransformation_warningSW,4)
  14. RegisterSymbol(Ark_NoTransformation_warningSW)
  15. Label(Ark_NoTransformation_warning)

  16. Ark_NoConsumption_Automatic_transformationSW:
  17. DD 1

  18. Ark_NoTransformation_warningSW:
  19. DD 1

  20. Ark_NoConsumption_Automatic_transformationICS:
  21. cmp [esp],02F19923 //8B ? ? ? ? ? 89 ? ? 85 ? 74 ? 8B ? 2B ? 81 ? ? ? ? ? 7C
  22. jne timeGetTime
  23. cmp [Ark_NoConsumption_Automatic_transformationSW],1
  24. jne timeGetTime
  25. mov [esp],Ark_NoConsumption_Automatic_transformation
  26. jmp timeGetTime

  27. Ark_NoTransformation_warning_ICS:
  28. cmp [esp+124],02F43CF4 //6A 03 8B CE E8 ? ? ? ? 8B 3D
  29. jne VariantInit
  30. cmp [Ark_NoTransformation_warningSW],1
  31. jne VariantInit
  32. mov [esp+124],Ark_NoTransformation_warning
  33. jmp VariantInit

  34. Ark_NoConsumption_Automatic_transformation:
  35. // Automatic_transformation
  36. pushad
  37. cmp [0448B638],0
  38. je Ark_NoConsumption
  39. mov eax,[0473ADE0]
  40. mov eax,[eax+04]
  41. cmp eax,2
  42. jne Ark_NoConsumption
  43. mov eax,[0473A268]
  44. mov eax,[eax+14]
  45. mov eax,[eax+019218]
  46. cmp eax,1
  47. jb Ark_NoConsumption
  48. mov eax,[0448B638]
  49. mov eax,[eax+61C]
  50. cmp eax,FFFFFFFF
  51. jne Ark_NoConsumption
  52. mov edi,[0448B638]
  53. push 00
  54. push 00
  55. push 00
  56. sub esp,08
  57. mov ecx,edi
  58. mov eax,esp
  59. push -01
  60. push 00
  61. push 00
  62. push 00
  63. push 00
  64. push 00
  65. push 00
  66. push 00
  67. push 00
  68. push 00
  69. mov [eax+04],00000000
  70. mov eax,[edi]
  71. push 093EA74E
  72. call dword ptr [eax+00000084]
  73. // Automatic_transformation

  74. Ark_NoConsumption:
  75. popad
  76. mov edx,[edi+00003638]
  77. mov [ebp-10],eax
  78. test edx,edx
  79. je Hook
  80. mov ecx,eax
  81. sub ecx,edx
  82. cmp ecx,00001F40
  83. jl Hook
  84. mov [edi+00003638],00000000

  85. Hook:
  86. push eax
  87. mov ecx,edi
  88. call fakecall
  89. jmp 02F1994E

  90. fakecall:
  91. push ebp
  92. mov ebp,esp
  93. push -01
  94. push 03A9CE16
  95. mov eax,fs:[00000000]
  96. push eax
  97. sub esp,3C
  98. push ebx
  99. push esi
  100. push edi
  101. mov eax,[04472154]
  102. xor eax,ebp
  103. push eax
  104. lea eax,[ebp-0C]
  105. mov fs:[00000000],eax
  106. mov esi,ecx
  107. call 02EEAAB0
  108. cmp eax,00003A99
  109. je L11
  110. add eax,FFFFC374
  111. cmp eax,64
  112. jae 02F43FCC

  113. L11:
  114. mov edi,[0448B638]
  115. test edi,edi
  116. je 02F43FCC
  117. lea ecx,[edi+000000C0]
  118. call 011DCA00
  119. test eax,eax
  120. jne 02F43FCC
  121. push 093D20B0
  122. mov ecx,esi
  123. call 02F1BEF0
  124. mov ebx,eax
  125. test ebx,ebx
  126. je L22
  127. call dword ptr [03BDA5D0]
  128. sub ebx,eax
  129. xor ecx,ecx
  130. test ebx,ebx
  131. setg cl
  132. test ecx,ecx
  133. jne 02F43FCC

  134. L22:
  135. mov ecx,edi
  136. call 0297BE40
  137. test al,al
  138. je 02F43ECF
  139. mov ecx,esi
  140. call 02EEF910
  141. mov ecx,eax
  142. call 00CE8E80
  143. test eax,eax
  144. je 02F43FCC
  145. jmp 02F43ECF

  146. Ark_NoTransformation_warning:
  147. push 03
  148. mov ecx,esi
  149. call 02FD7F80
  150. mov edi,[0448B638]
  151. mov bl,al
  152. push 093D1CC7
  153. lea eax,[ebp-2C]
  154. push esi
  155. push eax
  156. call 00B0A1D0
  157. add esp,0C
  158. lea ecx,[ebp-2C]
  159. call 00B0A1A0
  160. test al,al
  161. je 02F43DF5
  162. test edi,edi
  163. je 02F43DF5
  164. mov ecx,edi
  165. call 0297BE40
  166. test al,al
  167. je 02F43DA1
  168. mov ecx,[ebp-20]
  169. mov edi,[esi+00003814]
  170. call 0064EB90
  171. cmp edi,eax
  172. jmp 02F43DA1

  173. 03BDA5D0:
  174. DD Ark_NoConsumption_Automatic_transformationICS

  175. 03BDA458:
  176. DD Ark_NoTransformation_warning_ICS

  177. [DISABLE]
  178. 03BDA5D0:
  179. DD timeGetTime

  180. 03BDA458:
  181. DD VariantInit
複製代碼

作者: qweads    時間: 2021-4-14 13:41
提示: 作者被禁止或刪除 內容自動屏蔽
作者: qq255500    時間: 2021-4-14 14:54
只有能量不消耗的ICS能提供下麽?
作者: qq255500    時間: 2021-4-14 20:19
不知道怎麽拆解這個三合一的數據,Ark_NoConsumption 我知道是我想要的數據,但是開頭和尾巴我不會處理。
作者: btb    時間: 2021-4-15 09:51
本帖最後由 btb 於 2021-4-15 09:55 編輯
qq255500 發表於 2021-4-14 20:19
不知道怎麽拆解這個三合一的數據,Ark_NoConsumption 我知道是我想要的數據,但是開頭和尾巴我不會處理。 ...

// TwMS v233.2 ICS Ark_NoConsumption_Automatic_transformation

[ENABLE]
Alloc(Ark_NoConsumption_Automatic_transformationICS,2048)
Alloc(Ark_NoConsumption_Automatic_transformationSW,4)
RegisterSymbol(Ark_NoConsumption_Automatic_transformationSW)
Label(Ark_NoConsumption_Automatic_transformation)
Label(Ark_NoConsumption)
Label(Hook)
Label(fakecall)
Label(L11)
Label(L22)


Ark_NoConsumption_Automatic_transformationSW:
DD 1



Ark_NoConsumption_Automatic_transformationICS:
cmp [esp],02F19923 //8B ? ? ? ? ? 89 ? ? 85 ? 74 ? 8B ? 2B ? 81 ? ? ? ? ? 7C
jne timeGetTime
cmp [Ark_NoConsumption_Automatic_transformationSW],1
jne timeGetTime
mov [esp],Ark_NoConsumption_Automatic_transformation
jmp timeGetTime



Ark_NoConsumption_Automatic_transformation:
// Automatic_transformation
pushad
cmp [0448B638],0
je Ark_NoConsumption
mov eax,[0473ADE0]
mov eax,[eax+04]
cmp eax,2
jne Ark_NoConsumption
mov eax,[0473A268]
mov eax,[eax+14]
mov eax,[eax+019218]
cmp eax,1
jb Ark_NoConsumption
mov eax,[0448B638]
mov eax,[eax+61C]
cmp eax,FFFFFFFF
jne Ark_NoConsumption
mov edi,[0448B638]
push 00
push 00
push 00
sub esp,08
mov ecx,edi
mov eax,esp
push -01
push 00
push 00
push 00
push 00
push 00
push 00
push 00
push 00
push 00
mov [eax+04],00000000
mov eax,[edi]
push 093EA74E
call dword ptr [eax+00000084]
// Automatic_transformation

Ark_NoConsumption:
popad
mov edx,[edi+00003638]
mov [ebp-10],eax
test edx,edx
je Hook
mov ecx,eax
sub ecx,edx
cmp ecx,00001F40
jl Hook
mov [edi+00003638],00000000

Hook:
push eax
mov ecx,edi
call fakecall
jmp 02F1994E

fakecall:
push ebp
mov ebp,esp
push -01
push 03A9CE16
mov eax,fs:[00000000]
push eax
sub esp,3C
push ebx
push esi
push edi
mov eax,[04472154]
xor eax,ebp
push eax
lea eax,[ebp-0C]
mov fs:[00000000],eax
mov esi,ecx
call 02EEAAB0
cmp eax,00003A99
je L11
add eax,FFFFC374
cmp eax,64
jae 02F43FCC

L11:
mov edi,[0448B638]
test edi,edi
je 02F43FCC
lea ecx,[edi+000000C0]
call 011DCA00
test eax,eax
jne 02F43FCC
push 093D20B0
mov ecx,esi
call 02F1BEF0
mov ebx,eax
test ebx,ebx
je L22
call dword ptr [03BDA5D0]
sub ebx,eax
xor ecx,ecx
test ebx,ebx
setg cl
test ecx,ecx
jne 02F43FCC

L22:
mov ecx,edi
call 0297BE40
test al,al
je 02F43ECF
mov ecx,esi
call 02EEF910
mov ecx,eax
call 00CE8E80
test eax,eax
je 02F43FCC
jmp 02F43ECF



03BDA5D0:
DD Ark_NoConsumption_Automatic_transformationICS

[DISABLE]
03BDA5D0:
DD timeGetTime
//能量不消耗+自動變身
作者: dinmaxfo    時間: 2021-4-15 18:24
想問一下
三合一使用下去好像沒反應?
還是不太穩定
作者: 麗麗    時間: 2021-4-16 10:37
dinmaxfo 發表於 2021-4-15 18:24
想問一下
三合一使用下去好像沒反應?
還是不太穩定

我使用是正常的,沒反應可以使用crc的。
因爲ics很多hook點都是這個api,你不會整合的話會衝突失效。




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