Function at 0x4a4d50
Capabilities:
Check mutex on windows
Print debug messages
Resolve function by parsing pe exports
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54fb8b
mov eax, dword fs:[0]
push eax
sub esp, 0xd84
mov eax, dword [0x571f3c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xd60], 0
mov byte [ebp - 0x1fd], 1
mov dword [ebp - 0x204], 0
lea eax, [ebp - 0x1fc]
mov dword [ebp - 0x208], eax
mov byte [ebp - 0x1fe], 1
mov ecx, dword [0x5709c0]
mov edx, dword [ecx]
push edx
call fcn.004a4730
add esp, 4
movzx eax, al
test eax, eax
je 0x4a6652
push 0x3e8
mov ecx, dword [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForDebugEvent]
test eax, eax
je 0x4a664d
movzx edx, byte [ebp - 0x1fd]
test edx, edx
je 0x4a4dff
mov eax, dword [0x58c1cc]
cmp dword [eax + 0x20], 0
je 0x4a4dff
mov byte [ebp - 0x1fd], 0
push 0x58c17c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 0x208]
mov edx, dword [0x5709c0]
mov eax, dword [ecx + 4]
cmp eax, dword [edx + 8]
jne 0x4a6623
movzx ecx, byte [0x58c1b3]
test ecx, ecx
jne 0x4a4e79
movzx edx, byte [ebp - 0x1fe]
test edx, edx
je 0x4a4e79
cmp dword [0x58c1c8], 0
jbe 0x4a4e79
mov eax, dword [0x58c1fc]
mov ecx, dword [0x58c1fc]
mov edx, dword [eax + 0x48]
xor edx, dword [ecx + 0x6c]
mov eax, dword [0x58c1fc]
xor edx, dword [eax + 0x64]
and edx, 8
je 0x4a4e79
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x58c1c8]
cmp eax, 0x493e0
jbe 0x4a4e79
mov byte [ebp - 0x1fe], 0
mov dword [ebp - 0x20c], 0x80010001
mov ecx, dword [ebp - 0x208]
cmp dword [ecx], 1
jne 0x4a6141
mov edx, dword [ebp - 0x208]
mov eax, dword [0x58c1fc]
mov ecx, dword [edx + 0xc]
xor ecx, dword [eax + 8]
mov dword [ebp - 0x210], ecx
movzx edx, byte [0x58c1ad]
test edx, edx
je 0x4a52f7
mov eax, dword [0x58c1fc]
mov ecx, dword [eax + 8]
xor ecx, 0x80000001
cmp dword [ebp - 0x210], ecx
jne 0x4a52f7
mov edx, dword [ebp - 0x208]
mov eax, dword [edx + 0x24]
mov dword [ebp - 0x220], eax
cmp dword [0x58c1d4], 0
jne 0x4a4f8a
push 0x2cc
push 0
lea ecx, [ebp - 0x4f4]
push ecx
call fcn.0050eb60
add esp, 0xc
mov dword [ebp - 0x4f4], 0x10001
lea edx, [ebp - 0x4f4]
push edx
mov eax, dword [0x5709c0]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x4a4f8a
mov edx, dword [ebp - 0x220]
sub edx, dword [0x58c1bc]
shr edx, 0xc
mov dword [ebp - 0x4f8], edx
cmp dword [ebp - 0x4f8], 0
jl 0x4a4f8a
mov eax, dword [ebp - 0x4f8]
cmp eax, dword [0x58c1d0]
jge 0x4a4f8a
mov ecx, dword [ebp - 0x43c]
sub ecx, dword [0x58c1bc]
shr ecx, 0xc
mov dword [ebp - 0x4fc], ecx
mov edx, dword [ebp - 0x4f8]
cmp edx, dword [ebp - 0x4fc]
je 0x4a4f8a
mov eax, dword [0x58c1d0]
shl eax, 0xc
add eax, dword [0x58c1bc]
mov dword [0x58c1bc], eax
mov ecx, dword [ebp - 0x208]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x21c], edx
mov eax, dword [ebp - 0x208]
xor ecx, ecx
cmp dword [eax + 0x20], 0
sete cl
mov byte [ebp - 0x211], cl
mov edx, dword [ebp - 0x220]
sub edx, dword [0x58c1bc]
shr edx, 0xc
mov dword [ebp - 0x218], edx
movzx eax, byte [0x58c1ae]
test eax, eax
je 0x4a50fa
mov ecx, dword [ebp - 0x218]
sub ecx, 1
js 0x4a5063
push 1
mov edx, dword [ebp - 0x218]
movzx eax, byte [edx + 0x5747d3]
mov ecx, dword [ebp - 0x218]
movzx edx, byte [ecx + 0x5747d4]
mov ecx, dword [0x58c1fc]
mov esi, dword [0x58c1fc]
mov edi, dword [ecx + eax*4]
xor edi, dword [esi + edx*4]
mov edx, dword [ebp - 0x218]
movzx eax, byte [edx + 0x5747d5]
mov ecx, dword [0x58c1fc]
xor edi, dword [ecx + eax*4]
mov eax, dword [ebp - 0x218]
sub eax, 1
cdq
mov ecx, 0x1c
idiv ecx
mov ecx, edx
shr edi, cl
and edi, 0xf
mov edx, dword [ebp - 0x218]
lea eax, [edx + edi - 0x10]
mov ecx, dword [0x58c1b8]
lea edx, [ecx + eax*4]
push edx
mov eax, dword [ebp - 0x218]
sub eax, 1
push eax
call fcn.004a6670
add esp, 0xc
mov ecx, dword [ebp - 0x218]
add ecx, 1
cmp ecx, dword [0x58c1d0]
jge 0x4a50fa
push 1
mov edx, dword [ebp - 0x218]
movzx eax, byte [edx + 0x5747d5]
mov ecx, dword [ebp - 0x218]
movzx edx, byte [ecx + 0x5747d6]
mov ecx, dword [0x58c1fc]
mov esi, dword [0x58c1fc]
mov edi, dword [ecx + eax*4]
xor edi, dword [esi + edx*4]
mov edx, dword [ebp - 0x218]
movzx eax, byte [edx + 0x5747d7]
mov ecx, dword [0x58c1fc]
xor edi, dword [ecx + eax*4]
mov eax, dword [ebp - 0x218]
add eax, 1
cdq
mov ecx, 0x1c
idiv ecx
mov ecx, edx
shr edi, cl
and edi, 0xf
mov edx, dword [ebp - 0x218]
lea eax, [edx + edi + 0x10]
mov ecx, dword [0x58c1b8]
lea edx, [ecx + eax*4]
push edx
mov eax, dword [ebp - 0x218]
add eax, 1
push eax
call fcn.004a6670
add esp, 0xc
cmp dword [ebp - 0x218], 0
jl 0x4a52f2
mov ecx, dword [ebp - 0x218]
cmp ecx, dword [0x58c1d0]
jge 0x4a52f2
movzx edx, byte [ebp - 0x1fe]
test edx, edx
je 0x4a51d5
push 0
mov esi, dword [ebp - 0x218]
shl esi, 4
mov eax, dword [ebp - 0x218]
and eax, 0x80000007
jns 0x4a5145
dec eax
or eax, 0xfffffff8
inc eax
movzx ecx, byte [eax + 0x5747d4]
mov edx, dword [ebp - 0x218]
and edx, 0x80000007
jns 0x4a515f
dec edx
or edx, 0xfffffff8
inc edx
movzx eax, byte [edx + 0x5747d5]
mov edx, dword [0x58c1fc]
mov edi, dword [0x58c1fc]
mov ebx, dword [edx + ecx*4]
xor ebx, dword [edi + eax*4]
mov eax, dword [ebp - 0x218]
and eax, 0x80000007
jns 0x4a518a
dec eax
or eax, 0xfffffff8
inc eax
movzx ecx, byte [eax + 0x5747d6]
mov edx, dword [0x58c1fc]
xor ebx, dword [edx + ecx*4]
mov eax, dword [ebp - 0x218]
cdq
mov ecx, 0x1c
idiv ecx
mov ecx, edx
shr ebx, cl
and ebx, 0xf
add esi, ebx
mov edx, dword [0x58c1b8]
lea eax, [edx + esi*4]
push eax
mov ecx, dword [ebp - 0x218]
push ecx
call fcn.004a6670
add esp, 0xc
movzx edx, al
test edx, edx
je 0x4a52f2
cmp dword [ebp - 0x204], 0
jne 0x4a520e
mov eax, dword [0x58c1fc]
mov ecx, dword [0x58c1fc]
mov edx, dword [eax + 0x48]
xor edx, dword [ecx + 0x6c]
mov eax, dword [0x58c1fc]
xor edx, dword [eax + 0x64]
and edx, 0x200000
je 0x4a520e
mov ecx, dword [0x58c1cc]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x204], edx
cmp dword [ebp - 0x204], 0
je 0x4a5245
mov eax, dword [ebp - 0x21c]
cmp eax, dword [ebp - 0x204]
jb 0x4a5245
mov ecx, dword [ebp - 0x204]
add ecx, 0x10000
cmp dword [ebp - 0x21c], ecx
jae 0x4a5245
mov edx, dword [0x58c1bc]
mov dword [ebp - 0x21c], edx
mov eax, dword [ebp - 0x21c]
cmp eax, dword [0x58c1bc]
jb 0x4a526a
mov ecx, dword [0x58c1d0]
shl ecx, 0xc
add ecx, dword [0x58c1bc]
cmp dword [ebp - 0x21c], ecx
jbe 0x4a52e8
xor edx, edx
mov word [ebp - 0x500], dx
mov eax, dword [ebp - 0x21c]
push eax
mov ecx, dword [0x5709c0]
mov edx, dword [ecx]
push edx
call fcn.004a3f00
add esp, 8
mov dword [ebp - 0x504], eax
mov eax, dword [ebp - 0x21c]
add eax, 0x1000
mov dword [ebp - 0x21c], eax
push 0
push 2
lea ecx, [ebp - 0x500]
push ecx
mov edx, dword [ebp - 0x504]
push edx
mov eax, dword [0x5709c0]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x4a52e8
movzx edx, word [ebp - 0x500]
cmp edx, 0x5a4d
je 0x4a52e8
mov eax, dword [0x58c1d0]
shl eax, 0xc
add eax, dword [0x58c1bc]
mov dword [0x58c1bc], eax
mov dword [ebp - 0x20c], 0x10002
jmp 0x4a613c
mov ecx, dword [0x58c1fc]
mov edx, dword [ecx + 8]
xor edx, 0xc0000005
cmp dword [ebp - 0x210], edx
jne 0x4a57cf
mov ecx, dword [ebp - 0x208]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x50c], edx
mov dword [ebp - 0x508], 0
movzx eax, byte [0x58c1b1]
test eax, eax
jne 0x4a55a1
movzx ecx, byte [0x58c1ad]
test ecx, ecx
je 0x4a55a1
movzx edx, byte [ebp - 0x1fe]
test edx, edx
je 0x4a55a1
mov eax, dword [ebp - 0x208]
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x514], ecx
mov edx, dword [ebp - 0x514]
sub edx, dword [0x58c1bc]
shr edx, 0xc
mov dword [ebp - 0x510], edx
movzx eax, byte [0x58c1ae]
test eax, eax
je 0x4a54b3
mov ecx, dword [ebp - 0x510]
sub ecx, 1
js 0x4a541c
push 1
mov edx, dword [ebp - 0x510]
movzx eax, byte [edx + 0x5747d3]
mov ecx, dword [ebp - 0x510]
movzx edx, byte [ecx + 0x5747d4]
mov ecx, dword [0x58c1fc]
mov esi, dword [0x58c1fc]
mov edi, dword [ecx + eax*4]
xor edi, dword [esi + edx*4]
mov edx, dword [ebp - 0x510]
movzx eax, byte [edx + 0x5747d5]
mov ecx, dword [0x58c1fc]
xor edi, dword [ecx + eax*4]
mov eax, dword [ebp - 0x510]
sub eax, 1
cdq
mov ecx, 0x1c
idiv ecx
mov ecx, edx
shr edi, cl
and edi, 0xf
mov edx, dword [ebp - 0x510]
lea eax, [edx + edi - 0x10]
mov ecx, dword [0x58c1b8]
lea edx, [ecx + eax*4]
push edx
mov eax, dword [ebp - 0x510]
sub eax, 1
push eax
call fcn.004a6670
add esp, 0xc
mov ecx, dword [ebp - 0x510]
add ecx, 1
cmp ecx, dword [0x58c1d0]
jge 0x4a54b3
push 1
mov edx, dword [ebp - 0x510]
movzx eax, byte [edx + 0x5747d5]
mov ecx, dword [ebp - 0x510]
movzx edx, byte [ecx + 0x5747d6]
mov ecx, dword [0x58c1fc]
mov esi, dword [0x58c1fc]
mov edi, dword [ecx + eax*4]
xor edi, dword [esi + edx*4]
mov edx, dword [ebp - 0x510]
movzx eax, byte [edx + 0x5747d7]
mov ecx, dword [0x58c1fc]
xor edi, dword [ecx + eax*4]
mov eax, dword [ebp - 0x510]
add eax, 1
cdq
mov ecx, 0x1c
idiv ecx
mov ecx, edx
shr edi, cl
and edi, 0xf
mov edx, dword [ebp - 0x510]
lea eax, [edx + edi + 0x10]
mov ecx, dword [0x58c1b8]
lea edx, [ecx + eax*4]
push edx
mov eax, dword [ebp - 0x510]
add eax, 1
push eax
call fcn.004a6670
add esp, 0xc
cmp dword [ebp - 0x510], 0
jl 0x4a5589
mov ecx, dword [ebp - 0x510]
cmp ecx, dword [0x58c1d0]
jge 0x4a5589
push 0
mov esi, dword [ebp - 0x510]
shl esi, 4
mov edx, dword [ebp - 0x510]
and edx, 0x80000007
jns 0x4a54f0
dec edx
or edx, 0xfffffff8
inc edx
movzx eax, byte [edx + 0x5747d4]
mov ecx, dword [ebp - 0x510]
and ecx, 0x80000007
jns 0x4a550a
dec ecx
or ecx, 0xfffffff8
inc ecx
movzx edx, byte [ecx + 0x5747d5]
mov ecx, dword [0x58c1fc]
mov edi, dword [0x58c1fc]
mov ebx, dword [ecx + eax*4]
xor ebx, dword [edi + edx*4]
mov edx, dword [ebp - 0x510]
and edx, 0x80000007
jns 0x4a5536
dec edx
or edx, 0xfffffff8
inc edx
movzx eax, byte [edx + 0x5747d6]
mov ecx, dword [0x58c1fc]
xor ebx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x510]
cdq
mov ecx, 0x1c
idiv ecx
mov ecx, edx
shr ebx, cl
and ebx, 0xf
add esi, ebx
mov edx, dword [0x58c1b8]
lea eax, [edx + esi*4]
push eax
mov ecx, dword [ebp - 0x510]
push ecx
call fcn.004a6670
add esp, 0xc
movzx edx, al
test edx, edx
je 0x4a5589
mov dword [ebp - 0x20c], 0x10002
jmp 0x4a559f
mov eax, dword [ebp - 0x208]
cmp dword [eax + 0x5c], 0
jne 0x4a559f
mov dword [ebp - 0x508], 1
jmp 0x4a55b7
mov ecx, dword [ebp - 0x208]
cmp dword [ecx + 0x5c], 0
jne 0x4a55b7
mov dword [ebp - 0x508], 1
cmp dword [ebp - 0x508], 0
je 0x4a57ca
movzx edx, byte [ebp - 0x1fd]
test edx, edx
je 0x4a57ca
mov eax, dword [ebp - 0x208]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x53c], ecx
mov edx, dword [ebp - 0x208]
mov eax, dword [edx + 0x24]
mov dword [ebp - 0x538], eax
mov ecx, dword [ebp - 0x208]
xor edx, edx
cmp dword [ecx + 0x20], 0
setne dl
mov byte [ebp - 0x531], dl
cmp dword [0x58c1ec], 0
je 0x4a565a
mov eax, dword [0x58c1ec]
push eax
lea ecx, [ebp - 0xd8]
push ecx
call fcn.004fc1f0
add esp, 8
mov dword [ebp - 0xd64], eax
mov edx, dword [ebp - 0xd64]
mov dword [ebp - 0xd68], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xd60]
or eax, 1
mov dword [ebp - 0xd60], eax
mov ecx, dword [ebp - 0xd68]
mov dword [ebp - 0xd6c], ecx
jmp 0x4a569e
push 0x5748c4
lea ecx, [ebp - 0xf4]
call fcn.004a0390
mov dword [ebp - 0xd70], eax
mov edx, dword [ebp - 0xd70]
mov dword [ebp - 0xd74], edx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0xd60]
or eax, 2
mov dword [ebp - 0xd60], eax
mov ecx, dword [ebp - 0xd74]
mov dword [ebp - 0xd6c], ecx
mov edx, dword [ebp - 0xd6c]
mov dword [ebp - 0xd34], edx
movzx eax, byte [ebp - 0x531]
test eax, eax
je 0x4a56c1
mov dword [ebp - 0xd78], 0x5748b8
jmp 0x4a56cb
mov dword [ebp - 0xd78], 0x5748ac
mov ecx, dword [ebp - 0xd78]
mov dword [ebp - 0xd30], ecx
mov edx, dword [ebp - 0xd34]
push edx
lea eax, [ebp - 0x538]
push eax
lea ecx, [ebp - 0xd30]
push ecx
lea edx, [ebp - 0x53c]
push edx
push 0x574848
lea ecx, [ebp - 0xbc]
call fcn.004a9550
mov dword [ebp - 0xd7c], eax
mov eax, dword [ebp - 0xd7c]
mov dword [ebp - 0xd80], eax
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0xd80]
call fcn.004a9650
mov ecx, eax
call fcn.004a9670
mov ecx, eax
call fcn.004a9650
mov ecx, eax
call fcn.004a9690
push eax
lea ecx, [ebp - 0x530]
push ecx
call fcn.004a96b0
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xbc]
call fcn.004a70c0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xd60]
and edx, 2
je 0x4a577c
and dword [ebp - 0xd60], 0xfffffffd
lea ecx, [ebp - 0xf4]
call fcn.004a0420
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0xd60]
and eax, 1
je 0x4a579d
and dword [ebp - 0xd60], 0xfffffffe
lea ecx, [ebp - 0xd8]
call fcn.004a0420
push 0x50000
push 0
lea ecx, [ebp - 0x530]
call fcn.004b4d90
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x530]
call fcn.004a0420
jmp 0x4a613c
mov ecx, dword [0x58c1fc]
mov edx, dword [ecx + 8]
xor edx, 0x80000003
cmp dword [ebp - 0x210], edx
jne 0x4a60f1
mov dword [ebp - 0x540], 0x17
mov eax, dword [0x58c1fc]
mov ecx, dword [0x58c1fc]
mov edx, dword [eax + 8]
xor edx, dword [ecx + 0x50]
mov eax, dword [0x58c1fc]
xor edx, dword [eax + 0x60]
mov dword [ebp - 0x5a4], edx
mov ecx, dword [0x58c1fc]
mov edx, dword [0x58c1fc]
mov eax, dword [ecx + 0x40]
xor eax, dword [edx + 0x6c]
mov ecx, dword [0x58c1fc]
xor eax, dword [ecx + 0x58]
mov dword [ebp - 0x5a0], eax
mov edx, dword [0x58c1fc]
mov eax, dword [0x58c1fc]
mov ecx, dword [edx + 0x64]
xor ecx, dword [eax + 0x2c]
mov edx, dword [0x58c1fc]
xor ecx, dword [edx + 0x10]
mov dword [ebp - 0x59c], ecx
mov eax, dword [0x58c1fc]
mov ecx, dword [0x58c1fc]
mov edx, dword [eax + 0x54]
xor edx, dword [ecx + 0x68]
mov eax, dword [0x58c1fc]
xor edx, dword [eax]
mov dword [ebp - 0x598], edx
mov ecx, dword [0x58c1fc]
mov edx, dword [0x58c1fc]
mov eax, dword [ecx + 4]
xor eax, dword [edx + 0xc]
mov ecx, dword [0x58c1fc]
xor eax, dword [ecx + 0x20]
mov dword [ebp - 0x594], eax
mov edx, dword [0x58c1fc]
mov eax, dword [0x58c1fc]
mov ecx, dword [edx + 0x3c]
xor ecx, dword [eax + 0x28]
mov edx, dword [0x58c1fc]
xor ecx, dword [edx + 0x74]
mov dword [ebp - 0x590], ecx
mov eax, dword [0x58c1fc]
mov ecx, dword [0x58c1fc]
mov edx, dword [eax + 8]
xor edx, dword [ecx + 0x40]
mov eax, dword [0x58c1fc]
xor edx, dword [eax + 0x64]
mov ecx, dword [0x58c1fc]
xor edx, dword [ecx + 0x1c]
mov dword [ebp - 0x58c], edx
mov edx, dword [0x58c1fc]
mov eax, dword [0x58c1fc]
mov ecx, dword [edx + 0x50]
xor ecx, dword [eax + 0x6c]
mov edx, dword [0x58c1fc]
xor ecx, dword [edx + 0x2c]
mov eax, dword [0x58c1fc]
xor ecx, dword [eax + 0x3c]
mov dword [ebp - 0x588], ecx
mov ecx, dword [0x58c1fc]
mov edx, dword [0x58c1fc]
mov eax, dword [ecx + 0x54]
xor eax, dword [edx + 4]
mov ecx, dword [0x58c1fc]
xor eax, dword [ecx + 0x3c]
mov edx, dword [0x58c1fc]
xor eax, dword [edx + 0x28]
mov dword [ebp - 0x584], eax
mov eax, dword [0x58c1fc]
mov ecx, dword [0x58c1fc]
mov edx, dword [eax + 0x68]
xor edx, dword [ecx + 0xc]
mov eax, dword [0x58c1fc]
xor edx, dword [eax + 0x28]
mov ecx, dword [0x58c1fc]
xor edx, dword [ecx + 8]
mov dword [ebp - 0x580], edx
mov edx, dword [0x58c1fc]
mov eax, dword [0x58c1fc]
mov ecx, dword [edx + 8]
xor ecx, dword [eax + 4]
mov edx, dword [0x58c1fc]
xor ecx, dword [edx + 0x40]
mov dword [ebp - 0x57c], ecx
mov eax, dword [0x58c1fc]
mov ecx, dword [0x58c1fc]
mov edx, dword [eax + 0x50]
xor edx, dword [ecx + 0x68]
mov eax, dword [0x58c1fc]
xor edx, dword [eax + 0x64]
mov dword [ebp - 0x578], edx
mov ecx, dword [0x58c1fc]
mov edx, dword [0x58c1fc]
mov eax, dword [ecx + 0x40]
xor eax, dword [edx + 0x54]
mov ecx, dword [0x58c1fc]
xor eax, dword [ecx + 0x3c]
mov dword [ebp - 0x574], eax
mov edx, dword [0x58c1fc]
mov eax, dword [0x58c1fc]
mov ecx, dword [edx + 0x6c]
xor ecx, dword [eax + 0x2c]
mov edx, dword [0x58c1fc]
xor ecx, dword [edx + 0x54]
mov dword [ebp - 0x570], ecx
mov eax, dword [0x58c1fc]
mov ecx, dword [0x58c1fc]
mov edx, dword [eax + 8]
xor edx, dword [ecx + 0x6c]
mov eax, dword [0x58c1fc]
xor edx, dword [eax + 0x54]
mov ecx, dword [0x58c1fc]
xor edx, dword [ecx + 4]
mov dword [ebp - 0x56c], edx
mov edx, dword [0x58c1fc]
mov eax, dword [0x58c1fc]
mov ecx, dword [edx + 0x50]
xor ecx, dword [eax + 0x64]
mov edx, dword [0x58c1fc]
xor ecx, dword [edx + 0x68]
mov eax, dword [0x58c1fc]
xor ecx, dword [eax + 0xc]
mov dword [ebp - 0x568], ecx
mov ecx, dword [0x58c1fc]
mov edx, dword [0x58c1fc]
mov eax, dword [ecx + 0x50]
xor eax, dword [edx + 0x6c]
mov ecx, dword [0x58c1fc]
xor eax, dword [ecx + 0x2c]
mov edx, dword [0x58c1fc]
xor eax, dword [edx + 0x3c]
mov dword [ebp - 0x564], eax
mov eax, dword [0x58c1fc]
mov ecx, dword [0x58c1fc]
mov edx, dword [eax + 0x54]
xor edx, dword [ecx + 4]
mov eax, dword [0x58c1fc]
xor edx, dword [eax + 0x3c]
mov ecx, dword [0x58c1fc]
xor edx, dword [ecx + 0x28]
mov dword [ebp - 0x560], edx
mov edx, dword [0x58c1fc]
mov eax, dword [0x58c1fc]
mov ecx, dword [edx + 0x68]
xor ecx, dword [eax + 0xc]
mov edx, dword [0x58c1fc]
xor ecx, dword [edx + 0x28]
mov eax, dword [0x58c1fc]
xor ecx, dword [eax + 8]
mov dword [ebp - 0x55c], ecx
mov ecx, dword [0x58c1fc]
mov edx, dword [0x58c1fc]
mov eax, dword [ecx + 8]
xor eax, dword [edx + 4]
mov ecx, dword [0x58c1fc]
xor eax, dword [ecx + 0x40]
mov dword [ebp - 0x558], eax
mov edx, dword [0x58c1fc]
mov eax, dword [0x58c1fc]
mov ecx, dword [edx + 0x50]
xor ecx, dword [eax + 0x68]
mov edx, dword [0x58c1fc]
xor ecx, dword [edx + 0x64]
mov dword [ebp - 0x554], ecx
mov eax, dword [0x58c1fc]
mov ecx, dword [0x58c1fc]
mov edx, dword [eax + 0x40]
xor edx, dword [ecx + 0x54]
mov eax, dword [0x58c1fc]
xor edx, dword [eax + 0x3c]
mov dword [ebp - 0x550], edx
mov ecx, dword [0x58c1fc]
mov edx, dword [0x58c1fc]
mov eax, dword [ecx + 0x78]
xor eax, dword [edx + 0x2c]
mov ecx, dword [0x58c1fc]
xor eax, dword [ecx + 0x54]
mov dword [ebp - 0x54c], eax
movzx edx, byte [0x58c1af]
test edx, edx
je 0x4a60e5
cmp dword [0x58c1e8], 0
jne 0x4a5e91
mov eax, dword [0x58c1cc]
cmp dword [eax + 0xc], 0
je 0x4a5e91
mov ecx, dword [0x58c1cc]
mov edx, dword [ecx + 0xc]
push edx
call fcn.005008f2
add esp, 4
mov dword [ebp - 0xd38], eax
mov eax, dword [ebp - 0xd38]
mov dword [0x58c1e8], eax
mov dword [ebp - 0x5ac], 0
lea ecx, [ebp - 0x5ac]
push ecx
mov edx, dword [0x58c1cc]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [0x58c1e8]
push ecx
mov edx, dword [0x58c1cc]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [0x5709c0]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [0x58c1cc]
mov eax, dword [eax + 0xc]
sub eax, 0x6c
xor edx, edx
mov ecx, 0xd
div ecx
sub eax, 1
mov dword [0x58c1f0], eax
mov edx, dword [0x58c1e8]
mov dword [ebp - 0x5a8], edx
mov dword [ebp - 0x5b4], 0
jmp 0x4a5bec
mov eax, dword [ebp - 0x5b4]
add eax, 1
mov dword [ebp - 0x5b4], eax
cmp dword [ebp - 0x5b4], 0x1b
jae 0x4a5c1b
mov ecx, dword [ebp - 0x5b4]
mov edx, dword [ebp - 0x5a8]
mov eax, dword [edx]
mov dword [ecx*4 + 0x58c030], eax
mov ecx, dword [ebp - 0x5a8]
add ecx, 4
mov dword [ebp - 0x5a8], ecx
jmp 0x4a5bdd
mov dword [ebp - 0x5b0], 0
mov dword [ebp - 0x5b8], 0
jmp 0x4a5c40
mov edx, dword [ebp - 0x5b8]
add edx, 1
mov dword [ebp - 0x5b8], edx
cmp dword [ebp - 0x5b8], 0x1b
jae 0x4a5e77
xor ecx, ecx
mov edx, dword [ebp - 0x5b8]
mov eax, dword [edx*4 + 0x58c030]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005008f2
add esp, 4
mov dword [ebp - 0xd3c], eax
mov eax, dword [ebp - 0x5b8]
mov ecx, dword [ebp - 0xd3c]
mov dword [eax*4 + 0x58c110], ecx
xor ecx, ecx
mov edx, dword [ebp - 0x5b8]
mov eax, dword [edx*4 + 0x58c030]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005008f2
add esp, 4
mov dword [ebp - 0xd40], eax
mov eax, dword [ebp - 0x5b8]
mov ecx, dword [ebp - 0xd40]
mov dword [eax*4 + 0x58c0a0], ecx
mov edx, dword [ebp - 0x5b8]
mov eax, dword [edx*4 + 0x58c030]
push eax
call fcn.005008f2
add esp, 4
mov dword [ebp - 0xd44], eax
mov ecx, dword [ebp - 0x5b8]
mov edx, dword [ebp - 0xd44]
mov dword [ecx*4 + 0x58bfc0], edx
xor ecx, ecx
mov edx, dword [ebp - 0x5b8]
mov eax, dword [edx*4 + 0x58c030]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005008f2
add esp, 4
mov dword [ebp - 0xd48], eax
mov eax, dword [ebp - 0x5b8]
mov ecx, dword [ebp - 0xd48]
mov dword [eax*4 + 0x58bf50], ecx
mov dword [ebp - 0x5bc], 0
jmp 0x4a5d63
mov edx, dword [ebp - 0x5bc]
add edx, 1
mov dword [ebp - 0x5bc], edx
mov eax, dword [ebp - 0x5b0]
add eax, 1
mov dword [ebp - 0x5b0], eax
mov ecx, dword [ebp - 0x5b8]
mov edx, dword [ebp - 0x5bc]
cmp edx, dword [ecx*4 + 0x58c030]
jae 0x4a5e72
mov eax, dword [ebp - 0x5a8]
mov ecx, dword [eax]
add ecx, dword [ebp + 8]
mov edx, dword [0x58c1fc]
mov eax, dword [0x58c1fc]
mov edx, dword [edx + 0x68]
xor edx, dword [eax + 0x78]
xor ecx, edx
mov eax, dword [ebp - 0x5b8]
mov edx, dword [eax*4 + 0x58c110]
mov eax, dword [ebp - 0x5bc]
mov dword [edx + eax*4], ecx
mov ecx, dword [ebp - 0x5a8]
add ecx, 4
mov dword [ebp - 0x5a8], ecx
mov edx, dword [ebp - 0x5b8]
mov eax, dword [edx*4 + 0x58c0a0]
mov ecx, dword [ebp - 0x5bc]
mov edx, dword [ebp - 0x5a8]
mov edx, dword [edx]
mov dword [eax + ecx*4], edx
mov eax, dword [ebp - 0x5a8]
add eax, 4
mov dword [ebp - 0x5a8], eax
mov ecx, dword [ebp - 0x5b8]
mov edx, dword [ecx*4 + 0x58bfc0]
mov eax, dword [ebp - 0x5bc]
mov ecx, dword [ebp - 0x5a8]
mov cl, byte [ecx]
mov byte [edx + eax], cl
mov edx, dword [ebp - 0x5a8]
add edx, 1
mov dword [ebp - 0x5a8], edx
mov eax, dword [0x58c1fc]
mov ecx, dword [0x58c1fc]
mov esi, dword [eax + 0x68]
xor esi, dword [ecx + 0x78]
mov edx, dword [ebp - 0x5a8]
xor esi, dword [edx]
mov eax, dword [ebp - 0x5bc]
xor edx, edx
mov ecx, 0x17
div ecx
xor esi, dword [ebp + edx*4 - 0x5a4]
mov edx, dword [ebp - 0x5b8]
mov eax, dword [edx*4 + 0x58bf50]
mov ecx, dword [ebp - 0x5bc]
mov dword [eax + ecx*4], esi
mov edx, dword [ebp - 0x5a8]
add edx, 4
mov dword [ebp - 0x5a8], edx
jmp 0x4a5d45
jmp 0x4a5c31
mov eax, dword [0x58c1e8]
mov dword [ebp - 0xd4c], eax
mov ecx, dword [ebp - 0xd4c]
push ecx
call fcn.0050e6fb
add esp, 4
cmp dword [0x58c1e8], 0
je 0x4a60e5
mov edx, dword [ebp - 0x208]
mov eax, dword [edx + 8]
push eax
call fcn.004a6dc0
add esp, 4
mov dword [ebp - 0x5cc], eax
push 0x2cc
push 0
lea ecx, [ebp - 0x8a4]
push ecx
call fcn.0050eb60
add esp, 0xc
mov dword [ebp - 0x8a4], 0x10001
lea edx, [ebp - 0x8a4]
push edx
mov eax, dword [ebp - 0x5cc]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
mov dword [ebp - 0x5c8], 0
push 0xffffffffffffffff
push 4
lea ecx, [ebp - 0x7ec]
push ecx
call fcn.004fc110
add esp, 0xc
mov dword [ebp - 0x5c4], eax
mov eax, dword [ebp - 0x5c4]
xor edx, edx
mov ecx, 0x1b
div ecx
mov dword [ebp - 0x5d4], edx
mov edx, dword [ebp - 0x7ec]
push edx
mov eax, dword [ebp - 0x5d4]
mov ecx, dword [eax*4 + 0x574768]
call ecx
add esp, 4
mov dword [ebp - 0x5c8], eax
mov dword [ebp - 0x5d0], 0
mov edx, dword [ebp - 0x5d4]
mov eax, dword [edx*4 + 0x58c030]
mov dword [ebp - 0x5c0], eax
mov ecx, dword [ebp - 0x5d0]
cmp ecx, dword [ebp - 0x5c0]
jge 0x4a5fc6
mov eax, dword [ebp - 0x5c0]
sub eax, dword [ebp - 0x5d0]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x5d0]
mov dword [ebp - 0x8a8], eax
mov edx, dword [ebp - 0x5d4]
mov eax, dword [edx*4 + 0x58c110]
mov ecx, dword [ebp - 0x8a8]
mov edx, dword [ebp - 0x5c8]
cmp edx, dword [eax + ecx*4]
jbe 0x4a5fb8
mov eax, dword [ebp - 0x8a8]
add eax, 1
mov dword [ebp - 0x5d0], eax
jmp 0x4a5fc4
mov ecx, dword [ebp - 0x8a8]
mov dword [ebp - 0x5c0], ecx
jmp 0x4a5f5e
mov edx, dword [ebp - 0x5d4]
mov eax, dword [edx*4 + 0x58c110]
mov ecx, dword [ebp - 0x5d0]
mov edx, dword [eax + ecx*4]
cmp edx, dword [ebp - 0x5c8]
jne 0x4a60e5
mov eax, dword [ebp - 0x5d4]
mov ecx, dword [eax*4 + 0x58c0a0]
mov edx, dword [ebp - 0x5d0]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x8b4], eax
mov ecx, dword [ebp - 0x7e4]
and ecx, 0xfd7
mov dword [ebp - 0x8b0], ecx
mov edx, dword [ebp - 0x8b4]
and edx, 0xff000000
shr edx, 0x18
mov dword [ebp - 0x8ac], edx
mov eax, dword [ebp - 0x8b4]
and eax, 0xffffff
mov dword [ebp - 0x8bc], eax
mov ecx, dword [ebp - 0x7f8]
push ecx
mov edx, dword [ebp - 0x8b0]
push edx
mov eax, dword [ebp - 0x8bc]
push eax
mov ecx, dword [ebp - 0x8ac]
mov edx, dword [ecx*4 + 0x5709d0]
call edx
add esp, 0xc
mov dword [ebp - 0x8b8], eax
mov eax, dword [ebp - 0x8b8]
and eax, 1
je 0x4a60ae
mov ecx, dword [ebp - 0x5d4]
mov ecx, dword [ecx*4 + 0x58bf50]
mov eax, dword [ebp - 0x5d0]
xor edx, edx
mov esi, 0x17
div esi
mov eax, dword [ebp - 0x5d0]
mov ecx, dword [ecx + eax*4]
xor ecx, dword [ebp + edx*4 - 0x5a4]
add ecx, dword [ebp - 0x7ec]
mov dword [ebp - 0x7ec], ecx
jmp 0x4a60d1
mov edx, dword [ebp - 0x5d4]
mov eax, dword [edx*4 + 0x58bfc0]
mov ecx, dword [ebp - 0x5d0]
movzx edx, byte [eax + ecx]
add edx, dword [ebp - 0x7ec]
mov dword [ebp - 0x7ec], edx
lea eax, [ebp - 0x8a4]
push eax
mov ecx, dword [ebp - 0x5cc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
mov dword [ebp - 0x20c], 0x10002
jmp 0x4a613c
mov edx, dword [ebp - 0x208]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x8c0], eax
mov ecx, dword [ebp - 0x8c0]
mov dword [ebp - 0xd84], ecx
cmp dword [ebp - 0xd84], 0xc0000008
je 0x4a6132
cmp dword [ebp - 0xd84], 0xc00000fd
je 0x4a6132
cmp dword [ebp - 0xd84], 0xc0000235
je 0x4a6132
jmp 0x4a613c
mov dword [ebp - 0x20c], 0x10002
jmp 0x4a6600
mov edx, dword [ebp - 0x208]
cmp dword [edx], 2
jne 0x4a6184
mov eax, dword [0x5709c4]
add eax, 1
mov dword [0x5709c4], eax
mov ecx, dword [ebp - 0x208]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 0x208]
mov ecx, dword [eax + 8]
push ecx
call fcn.004a6ea0
add esp, 8
mov dword [ebp - 0x20c], 0x10002
jmp 0x4a6600
mov edx, dword [ebp - 0x208]
cmp dword [edx], 4
jne 0x4a61bd
mov eax, dword [0x5709c4]
sub eax, 1
mov dword [0x5709c4], eax
mov ecx, dword [ebp - 0x208]
mov edx, dword [ecx + 8]
push edx
call fcn.004a7040
add esp, 4
mov dword [ebp - 0x20c], 0x10002
jmp 0x4a6600
mov eax, dword [ebp - 0x208]
cmp dword [eax], 5
jne 0x4a61d7
mov dword [ebp - 0x20c], 0x10002
jmp 0x4a6600
mov ecx, dword [ebp - 0x208]
cmp dword [ecx], 8
jne 0x4a62ac
mov edx, dword [ebp - 0x208]
movzx eax, word [edx + 0x12]
mov dword [ebp - 0x8c8], eax
mov ecx, dword [ebp - 0x8c8]
add ecx, 2
push ecx
call fcn.005008f2
add esp, 4
mov dword [ebp - 0xd50], eax
mov edx, dword [ebp - 0xd50]
mov dword [ebp - 0x8c4], edx
push 0
mov eax, dword [ebp - 0x8c8]
add eax, 2
push eax
mov ecx, dword [ebp - 0x8c4]
push ecx
mov edx, dword [ebp - 0x208]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [0x5709c0]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [ebp - 0x208]
movzx ecx, word [eax + 0x10]
test ecx, ecx
je 0x4a626c
cmp dword [sym.imp.KERNEL32.dll_OutputDebugStringW], 0
je 0x4a626a
mov edx, dword [ebp - 0x8c4]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x4a6282
cmp dword [sym.imp.KERNEL32.dll_OutputDebugStringA], 0
je 0x4a6282
mov eax, dword [ebp - 0x8c4]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 0x8c4]
mov dword [ebp - 0xd54], ecx
mov edx, dword [ebp - 0xd54]
push edx
call fcn.0050e6fb
add esp, 4
mov dword [ebp - 0x20c], 0x10002
jmp 0x4a6600
mov eax, dword [ebp - 0x208]
cmp dword [eax], 9
jne 0x4a62bc
jmp 0x4a6600
mov ecx, dword [ebp - 0x208]
cmp dword [ecx], 3
jne 0x4a647a
movzx edx, byte [0x570dd0]
test edx, edx
je 0x4a63d8
mov byte [0x570dd0], 0
mov eax, dword [0x58c1fc]
mov ecx, dword [0x58c1fc]
mov edx, dword [eax + 0x50]
xor edx, dword [ecx + 0x2c]
mov dword [ebp - 0xd58], edx
lea eax, [ebp - 0xd58]
push eax
mov ecx, dword [0x5709c0]
add ecx, 8
push ecx
push 0x574834
lea ecx, [ebp - 0x19c]
call fcn.004a9550
mov dword [ebp - 0xd88], eax
mov edx, dword [ebp - 0xd88]
mov dword [ebp - 0xd8c], edx
mov dword [ebp - 4], 7
mov ecx, dword [ebp - 0xd8c]
call fcn.004a9650
mov ecx, eax
call fcn.004a9650
push eax
lea eax, [ebp - 0x8e4]
push eax
call fcn.004a96b0
add esp, 8
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x19c]
call fcn.004a70c0
lea ecx, [ebp - 0x8e4]
call fcn.004b4d90
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4a63aa
mov byte [ebp - 0xd59], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8e4]
call fcn.004a0420
mov al, byte [ebp - 0xd59]
jmp 0x4a6654
mov dword [ebp - 0x20c], 0x10002
mov ecx, dword [0x5709c0]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8e4]
call fcn.004a0420
jmp 0x4a63f8
mov eax, dword [ebp - 0x208]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x208]
mov eax, dword [edx + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.004a4bb0
movzx ecx, al
test ecx, ecx
je 0x4a6475
mov dword [ebp - 0x8e8], 0
jmp 0x4a641f
mov edx, dword [ebp - 0x8e8]
add edx, 1
mov dword [ebp - 0x8e8], edx
mov eax, dword [0x58c1d0]
shl eax, 4
cmp dword [ebp - 0x8e8], eax
jge 0x4a6475
mov ecx, dword [ebp + 0xc]
call fcn.004a4ac0
mov ecx, dword [0x58c1fc]
xor eax, dword [ecx + 0x40]
mov edx, dword [0x58c1fc]
xor eax, dword [edx + 0x54]
mov ecx, dword [0x58c1fc]
xor eax, dword [ecx + 0x68]
mov edx, dword [0x58c1fc]
xor eax, dword [edx + 4]
mov ecx, dword [0x58c1fc]
xor eax, dword [ecx + 0x78]
mov edx, dword [ebp - 0x8e8]
mov ecx, dword [0x58c1b8]
mov dword [ecx + edx*4], eax
jmp 0x4a6410
jmp 0x4a6600
mov edx, dword [ebp - 0x208]
cmp dword [edx], 6
jne 0x4a65f6
mov al, byte [0x574833]
mov byte [ebp - 0x9f4], al
push 0x103
push 0
lea ecx, [ebp - 0x9f3]
push ecx
call fcn.0050eb60
add esp, 0xc
mov dl, byte [0x574833]
mov byte [ebp - 0xafc], dl
push 0x103
push 0
lea eax, [ebp - 0xafb]
push eax
call fcn.0050eb60
add esp, 0xc
mov ecx, dword [ebp - 0x208]
mov edx, dword [ecx + 0x1c]
mov dword [ebp - 0xb00], edx
cmp dword [ebp - 0xb00], 0
je 0x4a65e6
push 0
push 4
lea eax, [ebp - 0xb00]
push eax
mov ecx, dword [ebp - 0xb00]
push ecx
mov edx, dword [0x5709c0]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp dword [ebp - 0xb00], 0
je 0x4a65e6
mov ecx, dword [ebp - 0x208]
movzx edx, word [ecx + 0x20]
test edx, edx
je 0x4a65c2
push 0
push 0x208
lea eax, [ebp - 0xd0c]
push eax
mov ecx, dword [ebp - 0xb00]
push ecx
mov edx, dword [0x5709c0]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea ecx, [ebp - 0xd0c]
mov dword [ebp - 0xd10], ecx
push 0x574828
lea ecx, [ebp - 0xd2c]
call fcn.004a0390
mov dword [ebp - 4], 0xa
mov edx, dword [ebp - 0xd10]
movzx eax, word [edx]
test eax, eax
je 0x4a65ae
mov ecx, dword [ebp - 0xd10]
mov dl, byte [ecx]
mov byte [ebp - 0xd8d], dl
movzx eax, byte [ebp - 0xd8d]
push eax
lea ecx, [ebp - 0xd2c]
call fcn.004b4d50
mov ecx, dword [ebp - 0xd10]
add ecx, 2
mov dword [ebp - 0xd10], ecx
jmp 0x4a656f
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd2c]
call fcn.004a0420
jmp 0x4a65e6
push 0
push 0x104
lea edx, [ebp - 0x9f4]
push edx
mov eax, dword [ebp - 0xb00]
push eax
mov ecx, dword [0x5709c0]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [ebp - 0x208]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x20c], 0x10002
mov eax, dword [ebp - 0x20c]
push eax
mov ecx, dword [ebp - 0x208]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x208]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ContinueDebugEvent]
jmp 0x4a6642
push 0x10002
mov edx, dword [ebp - 0x208]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x208]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_ContinueDebugEvent]
push 0x58c17c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x4a4dac
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050dbce
mov esp, ebp
pop ebp
ret