Advertisement
Guest User

Untitled

a guest
Apr 17th, 2015
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. //chubbzplz
  2. [ENABLE]
  3. alloc(BlockRecvHook,100)
  4. label(RecvCheckLoop)
  5. label(BlockRecv)
  6. label(End)
  7. alloc(RecvList,100)
  8.  
  9. //Hook address: 007BEDC0
  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. RecvCheckLoop:
  19. cmp eax,[edx]
  20. je BlockRecv
  21. cmp [edx],00
  22. je End
  23. add edx,04
  24. jmp RecvCheckLoop
  25.  
  26. BlockRecv:
  27. xor eax,eax
  28.  
  29. End:
  30. pop edx
  31. cmp eax,00000370 //Opcode below Hook address
  32. jmp 007A2DFE //Address of jg below Hook address
  33.  
  34. RecvList:
  35. dd 00 //This signifies the end of the list DO NOT REMOVE; add headers above it
  36.  
  37. 01AEA630: //4 Bytes scan Hook address [1st Result]
  38. dd BlockRecvHook
  39.  
  40. [DISABLE]
  41. 01AEA630:
  42. dd 007BEDC0 //Hook address
  43.  
  44. dealloc(BlockRecv)
  45. dealloc(RecvList)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement