Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.48 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.  
  30. Username:
  31. db 'harminder113' 00
  32.  
  33. Password:
  34. db 'nike04' 00
  35.  
  36. Pin:
  37. db '4321' 00
  38.  
  39. Channel:
  40. dd 02
  41.  
  42. World:
  43. dd 0
  44.  
  45. CharSlot:
  46. dd 0
  47.  
  48. TimerDelay:
  49. dd #50000 //milliseconds
  50.  
  51. //----------------------
  52.  
  53. 005A9251:
  54. jmp LoginHook
  55. nop
  56.  
  57. 005AC2C5:
  58. db 6A 00
  59.  
  60. 005AC2E0:
  61. push Pin
  62.  
  63. 005A4025:
  64. jmp WorldHook
  65. WorldHookReturn:
  66.  
  67. 005AC903:
  68. jmp CharHook
  69. nop
  70.  
  71. 005AA24F:
  72. db eb 04
  73.  
  74. 0092493D:
  75. db eb 08
  76.  
  77. 005AAC97:
  78. jmp LoggedInHook
  79. db 90 90 90 90 90 90 90
  80. LoggedInHookReturn:
  81.  
  82. LoginHook:
  83. push 8000
  84. call sleep
  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