Code: Select all
# --------------------------------------------------------------------
# Client:
# Patch to allow multiple instances of the client
# --------------------------------------------------------------------
# Checks
# --------------------------------------------------------------------
# push 0004AD184
verify 0x0008AC57:0x68 0x84 0xD1 0x4A 0x00
# push ebx
verify 0x0008AC5C:0x53
# push 0001F0001
verify 0x0008AC5D:0x68 0x01 0x00 0x1F 0x00
# call OpenMutexA
verify 0x0008AC62:0xFF 0x15 0xA4 0xF0 0x49 0x00
# The patch
# --------------------------------------------------------------------
# xor eax,eax
update 0x0008AC57:0x33 0xC0
# nop x 15
update 0x0008AC59:0x90 0x90 0x90 0x90 0x90 0x90 0x90 0x90
update 0x0008AC61:0x90 0x90 0x90 0x90 0x90 0x90 0x90