Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //chubbzplz
- [ENABLE]
- alloc(BlockRecvHook,100)
- label(RecvCheckLoop)
- label(BlockRecv)
- label(End)
- alloc(RecvList,100)
- //Hook address: 007BEDC0
- //8B ? 24 ? 3D ? ? ? ? 0F 8F ? ? ? ? 0F 84 ? ? ? ? 8D
- BlockRecvHook:
- mov eax,[esp+04] //Original Opcode @ Hook address
- and eax,0FFFF
- push edx
- mov edx,RecvList
- RecvCheckLoop:
- cmp eax,[edx]
- je BlockRecv
- cmp [edx],00
- je End
- add edx,04
- jmp RecvCheckLoop
- BlockRecv:
- xor eax,eax
- End:
- pop edx
- cmp eax,00000370 //Opcode below Hook address
- jmp 007A2DFE //Address of jg below Hook address
- RecvList:
- dd 00 //This signifies the end of the list DO NOT REMOVE; add headers above it
- 01AEA630: //4 Bytes scan Hook address [1st Result]
- dd BlockRecvHook
- [DISABLE]
- 01AEA630:
- dd 007BEDC0 //Hook address
- dealloc(BlockRecv)
- dealloc(RecvList)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement