Advertisement
Guest User

Untitled

a guest
Sep 21st, 2017
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.76 KB | None | 0 0
  1. [Enable]
  2. Label(WorldHookReturn)
  3. Alloc(LoginHook,64)
  4. Alloc(WorldHook,64)
  5. Alloc(CharHook,64)
  6. Alloc(Username,16)
  7. Alloc(Password,16)
  8. Alloc(CharSlot,4)
  9. Alloc(Channel,4)
  10. Alloc(World,4)
  11. Alloc(Pin,8)
  12.  
  13. //----------------------
  14.  
  15. RegisterSymbol(Username)
  16. RegisterSymbol(Password)
  17. RegisterSymbol(CharSlot)
  18. RegisterSymbol(Channel)
  19. RegisterSymbol(World)
  20. RegisterSymbol(Pin)
  21.  
  22. //----------------------
  23.  
  24. Username:
  25. db '****' 00
  26.  
  27. Password:
  28. db '****' 00
  29.  
  30. Pin:
  31. db '4321' 00
  32.  
  33. Channel:
  34. dd 02
  35.  
  36. World:
  37. dd 0
  38.  
  39. CharSlot:
  40. dd 0
  41.  
  42. //----------------------
  43.  
  44. 005A9251:
  45. jmp LoginHook
  46. nop
  47.  
  48. 005AC2C5:
  49. db 6A 00
  50.  
  51. 005AC2E0:
  52. push Pin
  53.  
  54. 005A4025:
  55. jmp WorldHook
  56. WorldHookReturn:
  57.  
  58. 005CA9B4:
  59. db 89 4a 20 eb
  60.  
  61. 005AC903:
  62. jmp CharHook
  63. nop
  64.  
  65. 005AA24F:
  66. db 90 90 90 90 90 90
  67.  
  68.  
  69. LoginHook:
  70. pushad
  71. mov ecx,[00B47A48]
  72. push Password
  73. push Username
  74. call 005A9F90
  75. popad
  76. mov esp,ebp
  77. pop ebp
  78. ret 0004
  79.  
  80. WorldHook:
  81. cmp eax,000000FD
  82. pushad
  83. mov ecx,[00B47A48]
  84. push [Channel]
  85. push [World]
  86. call 005A7BB0
  87. popad
  88. jmp WorldHookReturn
  89.  
  90. CharHook:
  91. pushad
  92. mov ecx,[00B475A4]
  93. push [CharSlot]
  94. call 005B4740
  95. mov ecx,[00B47A48]
  96. call 005AA1F0
  97. popad
  98. add esp,2C
  99. ret 0004
  100.  
  101. [Disable]
  102. 005A9251:
  103. mov esp,ebp
  104. pop ebp
  105. ret 0004
  106.  
  107. 005AC2C5:
  108. db 6A 01
  109.  
  110. 005AC2E0:
  111. push 00A912CC
  112.  
  113. 005A4025:
  114. cmp eax,000000FD
  115.  
  116. 005CA9B4:
  117. db 3b 4a 20 74
  118.  
  119. 005AA24F:
  120. db 0F 85 D9 00 00 00
  121.  
  122. 005AC903:
  123. add esp,2C
  124. ret 0004
  125.  
  126.  
  127. //----------------------
  128.  
  129. UnregisterSymbol(Username)
  130. UnregisterSymbol(Password)
  131. UnregisterSymbol(CharSlot)
  132. UnregisterSymbol(Channel)
  133. UnregisterSymbol(World)
  134. UnregisterSymbol(Pin)
  135.  
  136. //----------------------
  137.  
  138. DeAlloc(LoginHook)
  139. DeAlloc(WorldHook)
  140. DeAlloc(CharHook)
  141. DeAlloc(Username)
  142. DeAlloc(Password)
  143. DeAlloc(CharSlot)
  144. DeAlloc(Channel)
  145. DeAlloc(World)
  146. DeAlloc(Pin)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement