Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ENABLE]
- alloc(BlockRecvHook,256)
- label(RecvCheck)
- label(BlockRecv)
- label(End)
- alloc(RecvList,512)
- //Hook address: 00746B30
- //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
- RecvCheck:
- cmp eax,[edx]
- je BlockRecv
- cmp [edx],00
- je End
- add edx,4
- jmp RecvCheck
- BlockRecv:
- xor eax,eax
- End:
- pop edx
- cmp eax,00000300 //Opcode below Hook address
- jmp 00746B39 //Address of jg
- RecvList:
- dd 0147 //All Chat UID Type D/C - GMS v149.2
- dd 00 //This signifies the end of the list DO NOT REMOVE; add headers above it
- 017A52B0: //4 Bytes scan Hook address [1st Result]
- dd BlockRecvHook
- [DISABLE]
- 017A52B0: //Same as above
- dd 00746B30 //Hook address
- dealloc(BlockRecv)
- dealloc(RecvList)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement