Advertisement
cotopian

Block Exped Chat

May 26th, 2014
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. [ENABLE]
  2. alloc(BlockRecvHook,256)
  3. label(RecvCheck)
  4. label(BlockRecv)
  5. label(End)
  6.  
  7. alloc(RecvList,512)
  8.  
  9. //Hook address: 00746B30
  10. //8B ? 24 ? 3D ? ? ? ? 0F 8F ? ? ? ? 0F 84 ? ? ? ? 8D
  11.  
  12. BlockRecvHook:
  13. mov eax,[esp+04] //Original Opcode @ Hook address
  14. and eax,0FFFF
  15. push edx
  16. mov edx,RecvList
  17.  
  18. RecvCheck:
  19. cmp eax,[edx]
  20. je BlockRecv
  21. cmp [edx],00
  22. je End
  23. add edx,4
  24. jmp RecvCheck
  25.  
  26. BlockRecv:
  27. xor eax,eax
  28.  
  29. End:
  30. pop edx
  31. cmp eax,00000300 //Opcode below Hook address
  32. jmp 00746B39 //Address of jg
  33.  
  34. RecvList:
  35. dd 0147 //All Chat UID Type D/C - GMS v149.2
  36. dd 00 //This signifies the end of the list DO NOT REMOVE; add headers above it
  37.  
  38. 017A52B0: //4 Bytes scan Hook address [1st Result]
  39. dd BlockRecvHook
  40.  
  41. [DISABLE]
  42. 017A52B0: //Same as above
  43. dd 00746B30 //Hook address
  44.  
  45. dealloc(BlockRecv)
  46. dealloc(RecvList)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement