Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.46 KB | None | 0 0
  1. [Enable]
  2. Label(LoggedInHookReturn)
  3. Label(LoggedInHookLoop)
  4. Label(WorldHookReturn)
  5. Alloc(LoggedInCount,4)
  6. Alloc(LoggedInHook,64)
  7. Alloc(TimerDelay,4)
  8. Alloc(LoginHook,64)
  9. Alloc(WorldHook,64)
  10. Alloc(CharHook,64)
  11. Alloc(Username,16)
  12. Alloc(Password,16)
  13. Alloc(CharSlot,4)
  14. Alloc(Channel,4)
  15. Alloc(World,4)
  16. Alloc(Pin,8)
  17.  
  18. //----------------------
  19.  
  20. RegisterSymbol(TimerDelay)
  21. RegisterSymbol(Username)
  22. RegisterSymbol(Password)
  23. RegisterSymbol(CharSlot)
  24. RegisterSymbol(Channel)
  25. RegisterSymbol(World)
  26. RegisterSymbol(Pin)
  27.  
  28. //----------------------
  29. push 1388
  30. call sleep
  31.  
  32. Username:
  33. db '*' 00
  34.  
  35. Password:
  36. db '*' 00
  37.  
  38. Pin:
  39. db '*' 00
  40.  
  41. Channel:
  42. dd 02
  43.  
  44. World:
  45. dd 0
  46.  
  47. CharSlot:
  48. dd 0
  49.  
  50. TimerDelay:
  51. dd #50000 //milliseconds
  52.  
  53. //----------------------
  54.  
  55. 005A9251:
  56. jmp LoginHook
  57. nop
  58.  
  59. 005AC2C5:
  60. db 6A 00
  61.  
  62. 005AC2E0:
  63. push Pin
  64.  
  65. 005A4025:
  66. jmp WorldHook
  67. WorldHookReturn:
  68.  
  69. 005AC903:
  70. jmp CharHook
  71. nop
  72.  
  73. 005AA24F:
  74. db eb 04
  75.  
  76. 0092493D:
  77. db eb 08
  78.  
  79. 005AAC97:
  80. jmp LoggedInHook
  81. db 90 90 90 90 90 90 90
  82. LoggedInHookReturn:
  83.  
  84. LoginHook:
  85. pushad
  86. mov ecx,[00B47A48]
  87. push Password
  88. push Username
  89. call 005A9F90
  90. popad
  91. mov esp,ebp
  92. pop ebp
  93. ret 0004
  94.  
  95. WorldHook:
  96. cmp eax,000000FD
  97. pushad
  98. mov [LoggedInCount],0
  99. mov ecx,[00B47A48]
  100. push [Channel]
  101. push [World]
  102. call 005A7BB0
  103. popad
  104. jmp WorldHookReturn
  105.  
  106. CharHook:
  107. pushad
  108. mov ecx,[00B475A4]
  109. push [CharSlot]
  110. call 005B4740
  111. mov ecx,[00B47A48]
  112. call 005AA1F0
  113. popad
  114. add esp,2C
  115. ret 0004
  116.  
  117. LoggedInHook:
  118. pushad
  119. inc [LoggedInCount]
  120. xor eax,eax
  121. xor ebx,ebx
  122. mov ebx,[LoggedInCount]
  123. LoggedInHookLoop:
  124. add eax,[TimerDelay]
  125. dec ebx
  126. cmp ebx,0
  127. ja LoggedInHookLoop
  128. push eax
  129. call sleep
  130. mov ecx,[00B47A48]
  131. push Password
  132. push Username
  133. call 005A9F90
  134. popad
  135. jmp LoggedInHookReturn
  136.  
  137. [Disable]
  138. 005A9251:
  139. mov esp,ebp
  140. pop ebp
  141. ret 0004
  142.  
  143. 005AC2C5:
  144. db 6A 01
  145.  
  146. 005AC2E0:
  147. push 00A912CC
  148.  
  149. 005A4025:
  150. cmp eax,000000FD
  151.  
  152. 005AA24F:
  153. db 0F 85
  154.  
  155. 005AC903:
  156. add esp,2C
  157. ret 0004
  158.  
  159. 0092493D:
  160. db 57 50
  161.  
  162. 005AAC97:
  163. push 00
  164. push 11
  165. call 005B77D0
  166. add esp,08
  167.  
  168. //----------------------
  169.  
  170. UnregisterSymbol(TimerDelay)
  171. UnregisterSymbol(Username)
  172. UnregisterSymbol(Password)
  173. UnregisterSymbol(CharSlot)
  174. UnregisterSymbol(Channel)
  175. UnregisterSymbol(World)
  176. UnregisterSymbol(Pin)
  177.  
  178. //----------------------
  179.  
  180. DeAlloc(LoggedInCount)
  181. DeAlloc(LoggedInHook)
  182. DeAlloc(TimerDelay)
  183. DeAlloc(LoginHook)
  184. DeAlloc(WorldHook)
  185. DeAlloc(CharHook)
  186. DeAlloc(Username)
  187. DeAlloc(Password)
  188. DeAlloc(CharSlot)
  189. DeAlloc(Channel)
  190. DeAlloc(World)
  191. DeAlloc(Pin)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement