Function at 0x4190e0
Capabilities:
Check mutex on windows
Print debug messages
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a65f7
mov eax, dword fs:[0]
push eax
sub esp, 0xd28
mov eax, dword [0x4d28a0]
xor eax, ebp
mov dword [ebp - 0x94], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x6d], 1
mov dword [ebp - 0x74], 0
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x78], eax
mov byte [ebp - 0x6e], 1
mov ecx, dword [0x4d0b40]
mov edx, dword [ecx]
push edx
call fcn.00418ac0
add esp, 4
movzx eax, al
test eax, eax
je 0x41a8b9
push 0x3e8
mov ecx, dword [ebp - 0x78]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForDebugEvent]
test eax, eax
je 0x41a8b4
movzx edx, byte [ebp - 0x6d]
test edx, edx
je 0x419170
mov eax, dword [0x4e8494]
cmp dword [eax + 0x20], 0
je 0x419170
mov byte [ebp - 0x6d], 0
push 0x4e8448
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 0x78]
mov edx, dword [0x4d0b40]
mov eax, dword [ecx + 4]
cmp eax, dword [edx + 8]
jne 0x41a890
movzx ecx, byte [0x4e847b]
test ecx, ecx
jne 0x4191e1
movzx edx, byte [ebp - 0x6e]
test edx, edx
je 0x4191e1
cmp dword [0x4e8490], 0
jbe 0x4191e1
mov eax, dword [0x4e84c0]
mov ecx, dword [0x4e84c0]
mov edx, dword [eax + 0x10]
xor edx, dword [ecx + 0x64]
mov eax, dword [0x4e84c0]
xor edx, dword [eax + 0x30]
and edx, 8
je 0x4191e1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4e8490]
cmp eax, 0x493e0
jbe 0x4191e1
mov byte [ebp - 0x6e], 0
mov dword [ebp - 0x7c], 0x80010001
mov ecx, dword [ebp - 0x78]
cmp dword [ecx], 1
jne 0x41a3fb
mov edx, dword [ebp - 0x78]
mov eax, dword [0x4e84c0]
mov ecx, dword [edx + 0xc]
xor ecx, dword [eax + 0x1c]
mov dword [ebp - 0x80], ecx
movzx edx, byte [0x4e8475]
test edx, edx
je 0x419632
mov eax, dword [0x4e84c0]
mov ecx, dword [eax + 0x1c]
xor ecx, 0x80000001
cmp dword [ebp - 0x80], ecx
jne 0x419632
mov edx, dword [ebp - 0x78]
mov eax, dword [edx + 0x24]
mov dword [ebp - 0x90], eax
cmp dword [0x4e849c], 0
jne 0x4192d9
push 0x2cc
push 0
lea ecx, [ebp - 0x364]
push ecx
call fcn.0047b5d0
add esp, 0xc
mov dword [ebp - 0x364], 0x10001
lea edx, [ebp - 0x364]
push edx
mov eax, dword [0x4d0b40]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x4192d9
mov edx, dword [ebp - 0x90]
sub edx, dword [0x4e8484]
shr edx, 0xc
mov dword [ebp - 0x368], edx
js 0x4192d9
mov eax, dword [ebp - 0x368]
cmp eax, dword [0x4e8498]
jge 0x4192d9
mov ecx, dword [ebp - 0x2ac]
sub ecx, dword [0x4e8484]
shr ecx, 0xc
mov dword [ebp - 0x36c], ecx
mov edx, dword [ebp - 0x368]
cmp edx, dword [ebp - 0x36c]
je 0x4192d9
mov eax, dword [0x4e8498]
shl eax, 0xc
add eax, dword [0x4e8484]
mov dword [0x4e8484], eax
mov ecx, dword [ebp - 0x78]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x78]
xor ecx, ecx
cmp dword [eax + 0x20], 0
sete cl
mov byte [ebp - 0x81], cl
mov edx, dword [ebp - 0x90]
sub edx, dword [0x4e8484]
shr edx, 0xc
mov dword [ebp - 0x88], edx
movzx eax, byte [0x4e8476]
test eax, eax
je 0x419443
mov ecx, dword [ebp - 0x88]
sub ecx, 1
js 0x4193ac
push 1
mov edx, dword [ebp - 0x88]
movzx eax, byte [edx + 0x4d47ef]
mov ecx, dword [ebp - 0x88]
movzx edx, byte [ecx + 0x4d47f0]
mov ecx, dword [0x4e84c0]
mov esi, dword [0x4e84c0]
mov edi, dword [ecx + eax*4]
xor edi, dword [esi + edx*4]
mov edx, dword [ebp - 0x88]
movzx eax, byte [edx + 0x4d47f1]
mov ecx, dword [0x4e84c0]
xor edi, dword [ecx + eax*4]
mov eax, dword [ebp - 0x88]
sub eax, 1
cdq
mov ecx, 0x1c
idiv ecx
mov ecx, edx
shr edi, cl
and edi, 0xf
mov edx, dword [ebp - 0x88]
lea eax, [edx + edi - 0x10]
mov ecx, dword [0x4e8480]
lea edx, [ecx + eax*4]
push edx
mov eax, dword [ebp - 0x88]
sub eax, 1
push eax
call fcn.0041a8e0
add esp, 0xc
mov ecx, dword [ebp - 0x88]
add ecx, 1
cmp ecx, dword [0x4e8498]
jge 0x419443
push 1
mov edx, dword [ebp - 0x88]
movzx eax, byte [edx + 0x4d47f1]
mov ecx, dword [ebp - 0x88]
movzx edx, byte [ecx + 0x4d47f2]
mov ecx, dword [0x4e84c0]
mov esi, dword [0x4e84c0]
mov edi, dword [ecx + eax*4]
xor edi, dword [esi + edx*4]
mov edx, dword [ebp - 0x88]
movzx eax, byte [edx + 0x4d47f3]
mov ecx, dword [0x4e84c0]
xor edi, dword [ecx + eax*4]
mov eax, dword [ebp - 0x88]
add eax, 1
cdq
mov ecx, 0x1c
idiv ecx
mov ecx, edx
shr edi, cl
and edi, 0xf
mov edx, dword [ebp - 0x88]
lea eax, [edx + edi + 0x10]
mov ecx, dword [0x4e8480]
lea edx, [ecx + eax*4]
push edx
mov eax, dword [ebp - 0x88]
add eax, 1
push eax
call fcn.0041a8e0
add esp, 0xc
cmp dword [ebp - 0x88], 0
jl 0x41962d
mov ecx, dword [ebp - 0x88]
cmp ecx, dword [0x4e8498]
jge 0x41962d
movzx edx, byte [ebp - 0x6e]
test edx, edx
je 0x41951b
push 0
mov esi, dword [ebp - 0x88]
shl esi, 4
mov eax, dword [ebp - 0x88]
and eax, 0x80000007
jns 0x41948b
dec eax
or eax, 0xfffffff8
inc eax
movzx ecx, byte [eax + 0x4d47f0]
mov edx, dword [ebp - 0x88]
and edx, 0x80000007
jns 0x4194a5
dec edx
or edx, 0xfffffff8
inc edx
movzx eax, byte [edx + 0x4d47f1]
mov edx, dword [0x4e84c0]
mov edi, dword [0x4e84c0]
mov ebx, dword [edx + ecx*4]
xor ebx, dword [edi + eax*4]
mov eax, dword [ebp - 0x88]
and eax, 0x80000007
jns 0x4194d0
dec eax
or eax, 0xfffffff8
inc eax
movzx ecx, byte [eax + 0x4d47f2]
mov edx, dword [0x4e84c0]
xor ebx, dword [edx + ecx*4]
mov eax, dword [ebp - 0x88]
cdq
mov ecx, 0x1c
idiv ecx
mov ecx, edx
shr ebx, cl
and ebx, 0xf
add esi, ebx
mov edx, dword [0x4e8480]
lea eax, [edx + esi*4]
push eax
mov ecx, dword [ebp - 0x88]
push ecx
call fcn.0041a8e0
add esp, 0xc
movzx edx, al
test edx, edx
je 0x41962d
cmp dword [ebp - 0x74], 0
jne 0x41954e
mov eax, dword [0x4e84c0]
mov ecx, dword [0x4e84c0]
mov edx, dword [eax + 0x10]
xor edx, dword [ecx + 0x64]
mov eax, dword [0x4e84c0]
xor edx, dword [eax + 0x30]
and edx, 0x200000
je 0x41954e
mov ecx, dword [0x4e8494]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x74], edx
cmp dword [ebp - 0x74], 0
je 0x41957c
mov eax, dword [ebp - 0x8c]
cmp eax, dword [ebp - 0x74]
jb 0x41957c
mov ecx, dword [ebp - 0x74]
add ecx, 0x10000
cmp dword [ebp - 0x8c], ecx
jae 0x41957c
mov edx, dword [0x4e8484]
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x8c]
cmp eax, dword [0x4e8484]
jb 0x4195a5
mov ecx, dword [0x4e8498]
shl ecx, 0xc
add ecx, dword [0x4e8484]
cmp dword [ebp - 0x8c], ecx
jbe 0x419626
mov word [ebp - 0x370], 0
mov edx, dword [ebp - 0x8c]
push edx
mov eax, dword [0x4d0b40]
mov ecx, dword [eax]
push ecx
call fcn.00418310
add esp, 8
mov dword [ebp - 0x374], eax
mov edx, dword [ebp - 0x8c]
add edx, 0x1000
mov dword [ebp - 0x8c], edx
push 0
push 2
lea eax, [ebp - 0x370]
push eax
mov ecx, dword [ebp - 0x374]
push ecx
mov edx, dword [0x4d0b40]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x419626
movzx ecx, word [ebp - 0x370]
cmp ecx, 0x5a4d
je 0x419626
mov edx, dword [0x4e8498]
shl edx, 0xc
add edx, dword [0x4e8484]
mov dword [0x4e8484], edx
mov dword [ebp - 0x7c], 0x10002
jmp 0x41a3f6
mov eax, dword [0x4e84c0]
mov ecx, dword [eax + 0x1c]
xor ecx, 0xc0000005
cmp dword [ebp - 0x80], ecx
jne 0x419a11
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x37c], ecx
mov dword [ebp - 0x378], 0
movzx edx, byte [0x4e8479]
test edx, edx
jne 0x4198d0
movzx eax, byte [0x4e8475]
test eax, eax
je 0x4198d0
movzx ecx, byte [ebp - 0x6e]
test ecx, ecx
je 0x4198d0
mov edx, dword [ebp - 0x78]
mov eax, dword [edx + 0x24]
mov dword [ebp - 0x384], eax
mov ecx, dword [ebp - 0x384]
sub ecx, dword [0x4e8484]
shr ecx, 0xc
mov dword [ebp - 0x380], ecx
movzx edx, byte [0x4e8476]
test edx, edx
je 0x4197df
mov eax, dword [ebp - 0x380]
sub eax, 1
js 0x419748
push 1
mov ecx, dword [ebp - 0x380]
movzx edx, byte [ecx + 0x4d47ef]
mov eax, dword [ebp - 0x380]
movzx ecx, byte [eax + 0x4d47f0]
mov eax, dword [0x4e84c0]
mov esi, dword [0x4e84c0]
mov edi, dword [eax + edx*4]
xor edi, dword [esi + ecx*4]
mov ecx, dword [ebp - 0x380]
movzx edx, byte [ecx + 0x4d47f1]
mov eax, dword [0x4e84c0]
xor edi, dword [eax + edx*4]
mov eax, dword [ebp - 0x380]
sub eax, 1
cdq
mov ecx, 0x1c
idiv ecx
mov ecx, edx
shr edi, cl
and edi, 0xf
mov edx, dword [ebp - 0x380]
lea eax, [edx + edi - 0x10]
mov ecx, dword [0x4e8480]
lea edx, [ecx + eax*4]
push edx
mov eax, dword [ebp - 0x380]
sub eax, 1
push eax
call fcn.0041a8e0
add esp, 0xc
mov ecx, dword [ebp - 0x380]
add ecx, 1
cmp ecx, dword [0x4e8498]
jge 0x4197df
push 1
mov edx, dword [ebp - 0x380]
movzx eax, byte [edx + 0x4d47f1]
mov ecx, dword [ebp - 0x380]
movzx edx, byte [ecx + 0x4d47f2]
mov ecx, dword [0x4e84c0]
mov esi, dword [0x4e84c0]
mov edi, dword [ecx + eax*4]
xor edi, dword [esi + edx*4]
mov edx, dword [ebp - 0x380]
movzx eax, byte [edx + 0x4d47f3]
mov ecx, dword [0x4e84c0]
xor edi, dword [ecx + eax*4]
mov eax, dword [ebp - 0x380]
add eax, 1
cdq
mov ecx, 0x1c
idiv ecx
mov ecx, edx
shr edi, cl
and edi, 0xf
mov edx, dword [ebp - 0x380]
lea eax, [edx + edi + 0x10]
mov ecx, dword [0x4e8480]
lea edx, [ecx + eax*4]
push edx
mov eax, dword [ebp - 0x380]
add eax, 1
push eax
call fcn.0041a8e0
add esp, 0xc
cmp dword [ebp - 0x380], 0
jl 0x4198b2
mov ecx, dword [ebp - 0x380]
cmp ecx, dword [0x4e8498]
jge 0x4198b2
push 0
mov esi, dword [ebp - 0x380]
shl esi, 4
mov edx, dword [ebp - 0x380]
and edx, 0x80000007
jns 0x41981c
dec edx
or edx, 0xfffffff8
inc edx
movzx eax, byte [edx + 0x4d47f0]
mov ecx, dword [ebp - 0x380]
and ecx, 0x80000007
jns 0x419836
dec ecx
or ecx, 0xfffffff8
inc ecx
movzx edx, byte [ecx + 0x4d47f1]
mov ecx, dword [0x4e84c0]
mov edi, dword [0x4e84c0]
mov ebx, dword [ecx + eax*4]
xor ebx, dword [edi + edx*4]
mov edx, dword [ebp - 0x380]
and edx, 0x80000007
jns 0x419862
dec edx
or edx, 0xfffffff8
inc edx
movzx eax, byte [edx + 0x4d47f2]
mov ecx, dword [0x4e84c0]
xor ebx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x380]
cdq
mov ecx, 0x1c
idiv ecx
mov ecx, edx
shr ebx, cl
and ebx, 0xf
add esi, ebx
mov edx, dword [0x4e8480]
lea eax, [edx + esi*4]
push eax
mov ecx, dword [ebp - 0x380]
push ecx
call fcn.0041a8e0
add esp, 0xc
movzx edx, al
test edx, edx
je 0x4198b2
mov dword [ebp - 0x7c], 0x10002
jmp 0x4198ce
mov eax, dword [ebp - 0x78]
cmp dword [eax + 0x5c], 0
jne 0x4198ce
mov ecx, dword [ebp - 0x78]
mov edx, dword [ecx + 0x5c]
neg edx
sbb edx, edx
add edx, 2
mov dword [ebp - 0x378], edx
jmp 0x4198ec
mov eax, dword [ebp - 0x78]
cmp dword [eax + 0x5c], 0
jne 0x4198ec
mov ecx, dword [ebp - 0x78]
mov edx, dword [ecx + 0x5c]
neg edx
sbb edx, edx
add edx, 2
mov dword [ebp - 0x378], edx
cmp dword [ebp - 0x378], 0
je 0x419a0c
movzx eax, byte [ebp - 0x6d]
test eax, eax
je 0x419a0c
cmp dword [ebp - 0x378], 2
jne 0x419a0c
mov ecx, dword [ebp - 0x78]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x3ac], edx
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x3a8], ecx
mov edx, dword [ebp - 0x78]
xor eax, eax
cmp dword [edx + 0x20], 0
setne al
mov byte [ebp - 0x3a1], al
movzx ecx, byte [ebp - 0x3a1]
test ecx, ecx
je 0x419953
mov dword [ebp - 0xd1c], 0x4d48b0
jmp 0x41995d
mov dword [ebp - 0xd1c], 0x4d48a4
mov edx, dword [ebp - 0xd1c]
mov dword [ebp - 0xc48], edx
lea eax, [ebp - 0x3a8]
push eax
lea ecx, [ebp - 0xc48]
push ecx
lea edx, [ebp - 0x3ac]
push edx
push 0x4d4850
lea ecx, [ebp - 0xc44]
call fcn.0041d8e0
mov dword [ebp - 0xd20], eax
mov eax, dword [ebp - 0xd20]
mov dword [ebp - 0xd24], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xd24]
call fcn.0041d9d0
mov ecx, eax
call fcn.0041d9f0
mov ecx, eax
call fcn.0041d9d0
push eax
lea ecx, [ebp - 0x3a0]
push ecx
call fcn.0041da10
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc44]
call fcn.0041b520
push 0x50000
push 0
lea ecx, [ebp - 0x3a0]
call fcn.00414db0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3a0]
call fcn.00414d70
jmp 0x41a3f6
mov edx, dword [0x4e84c0]
mov eax, dword [edx + 0x1c]
xor eax, 0x80000003
cmp dword [ebp - 0x80], eax
jne 0x41a33b
mov dword [ebp - 0x3b0], 0x17
mov ecx, dword [0x4e84c0]
mov edx, dword [0x4e84c0]
mov eax, dword [ecx + 0x1c]
xor eax, dword [edx + 0x78]
mov ecx, dword [0x4e84c0]
xor eax, dword [ecx + 0x50]
mov dword [ebp - 0x414], eax
mov edx, dword [0x4e84c0]
mov eax, dword [0x4e84c0]
mov ecx, dword [edx + 0x74]
xor ecx, dword [eax + 0x64]
mov edx, dword [0x4e84c0]
xor ecx, dword [edx + 0x2c]
mov dword [ebp - 0x410], ecx
mov eax, dword [0x4e84c0]
mov ecx, dword [0x4e84c0]
mov edx, dword [eax + 0x30]
xor edx, dword [ecx + 0x70]
mov eax, dword [0x4e84c0]
xor edx, dword [eax]
mov dword [ebp - 0x40c], edx
mov ecx, dword [0x4e84c0]
mov edx, dword [0x4e84c0]
mov eax, dword [ecx + 0x40]
xor eax, dword [edx + 0x54]
mov ecx, dword [0x4e84c0]
xor eax, dword [ecx + 0xc]
mov dword [ebp - 0x408], eax
mov edx, dword [0x4e84c0]
mov eax, dword [0x4e84c0]
mov ecx, dword [edx + 0x60]
xor ecx, dword [eax + 0x34]
mov edx, dword [0x4e84c0]
xor ecx, dword [edx + 0x80]
mov dword [ebp - 0x404], ecx
mov eax, dword [0x4e84c0]
mov ecx, dword [0x4e84c0]
mov edx, dword [eax + 0x7c]
xor edx, dword [ecx + 0x48]
mov eax, dword [0x4e84c0]
xor edx, dword [eax + 0x28]
mov dword [ebp - 0x400], edx
mov ecx, dword [0x4e84c0]
mov edx, dword [0x4e84c0]
mov eax, dword [ecx + 0x1c]
xor eax, dword [edx + 0x74]
mov ecx, dword [0x4e84c0]
xor eax, dword [ecx + 0x30]
mov edx, dword [0x4e84c0]
xor eax, dword [edx + 0x4c]
mov dword [ebp - 0x3fc], eax
mov eax, dword [0x4e84c0]
mov ecx, dword [0x4e84c0]
mov edx, dword [eax + 0x78]
xor edx, dword [ecx + 0x64]
mov eax, dword [0x4e84c0]
xor edx, dword [eax + 0x70]
mov ecx, dword [0x4e84c0]
xor edx, dword [ecx + 0x7c]
mov dword [ebp - 0x3f8], edx
mov edx, dword [0x4e84c0]
mov eax, dword [0x4e84c0]
mov ecx, dword [edx + 0x40]
xor ecx, dword [eax + 0x60]
mov edx, dword [0x4e84c0]
xor ecx, dword [edx + 0x7c]
mov eax, dword [0x4e84c0]
xor ecx, dword [eax + 0x48]
mov dword [ebp - 0x3f4], ecx
mov ecx, dword [0x4e84c0]
mov edx, dword [0x4e84c0]
mov eax, dword [ecx + 0x54]
xor eax, dword [edx + 0x34]
mov ecx, dword [0x4e84c0]
xor eax, dword [ecx + 0x48]
mov edx, dword [0x4e84c0]
xor eax, dword [edx + 0x1c]
mov dword [ebp - 0x3f0], eax
mov eax, dword [0x4e84c0]
mov ecx, dword [0x4e84c0]
mov edx, dword [eax + 0x1c]
xor edx, dword [ecx + 0x60]
mov eax, dword [0x4e84c0]
xor edx, dword [eax + 0x74]
mov dword [ebp - 0x3ec], edx
mov ecx, dword [0x4e84c0]
mov edx, dword [0x4e84c0]
mov eax, dword [ecx + 0x78]
xor eax, dword [edx + 0x54]
mov ecx, dword [0x4e84c0]
xor eax, dword [ecx + 0x30]
mov dword [ebp - 0x3e8], eax
mov edx, dword [0x4e84c0]
mov eax, dword [0x4e84c0]
mov ecx, dword [edx + 0x74]
xor ecx, dword [eax + 0x40]
mov edx, dword [0x4e84c0]
xor ecx, dword [edx + 0x7c]
mov dword [ebp - 0x3e4], ecx
mov eax, dword [0x4e84c0]
mov ecx, dword [0x4e84c0]
mov edx, dword [eax + 0x64]
xor edx, dword [ecx + 0x70]
mov eax, dword [0x4e84c0]
xor edx, dword [eax + 0x40]
mov dword [ebp - 0x3e0], edx
mov ecx, dword [0x4e84c0]
mov edx, dword [0x4e84c0]
mov eax, dword [ecx + 0x1c]
xor eax, dword [edx + 0x64]
mov ecx, dword [0x4e84c0]
xor eax, dword [ecx + 0x40]
mov edx, dword [0x4e84c0]
xor eax, dword [edx + 0x60]
mov dword [ebp - 0x3dc], eax
mov eax, dword [0x4e84c0]
mov ecx, dword [0x4e84c0]
mov edx, dword [eax + 0x78]
xor edx, dword [ecx + 0x30]
mov eax, dword [0x4e84c0]
xor edx, dword [eax + 0x54]
mov ecx, dword [0x4e84c0]
xor edx, dword [ecx + 0x34]
mov dword [ebp - 0x3d8], edx
mov edx, dword [0x4e84c0]
mov eax, dword [0x4e84c0]
mov ecx, dword [edx + 0x78]
xor ecx, dword [eax + 0x64]
mov edx, dword [0x4e84c0]
xor ecx, dword [edx + 0x70]
mov eax, dword [0x4e84c0]
xor ecx, dword [eax + 0x7c]
mov dword [ebp - 0x3d4], ecx
mov ecx, dword [0x4e84c0]
mov edx, dword [0x4e84c0]
mov eax, dword [ecx + 0x40]
xor eax, dword [edx + 0x60]
mov ecx, dword [0x4e84c0]
xor eax, dword [ecx + 0x7c]
mov edx, dword [0x4e84c0]
xor eax, dword [edx + 0x48]
mov dword [ebp - 0x3d0], eax
mov eax, dword [0x4e84c0]
mov ecx, dword [0x4e84c0]
mov edx, dword [eax + 0x54]
xor edx, dword [ecx + 0x34]
mov eax, dword [0x4e84c0]
xor edx, dword [eax + 0x48]
mov ecx, dword [0x4e84c0]
xor edx, dword [ecx + 0x1c]
mov dword [ebp - 0x3cc], edx
mov edx, dword [0x4e84c0]
mov eax, dword [0x4e84c0]
mov ecx, dword [edx + 0x1c]
xor ecx, dword [eax + 0x60]
mov edx, dword [0x4e84c0]
xor ecx, dword [edx + 0x74]
mov dword [ebp - 0x3c8], ecx
mov eax, dword [0x4e84c0]
mov ecx, dword [0x4e84c0]
mov edx, dword [eax + 0x78]
xor edx, dword [ecx + 0x54]
mov eax, dword [0x4e84c0]
xor edx, dword [eax + 0x30]
mov dword [ebp - 0x3c4], edx
mov ecx, dword [0x4e84c0]
mov edx, dword [0x4e84c0]
mov eax, dword [ecx + 0x74]
xor eax, dword [edx + 0x40]
mov ecx, dword [0x4e84c0]
xor eax, dword [ecx + 0x7c]
mov dword [ebp - 0x3c0], eax
mov edx, dword [0x4e84c0]
mov eax, dword [0x4e84c0]
mov ecx, dword [edx + 0x84]
xor ecx, dword [eax + 0x70]
mov edx, dword [0x4e84c0]
xor ecx, dword [edx + 0x40]
mov dword [ebp - 0x3bc], ecx
movzx eax, byte [0x4e8477]
test eax, eax
je 0x41a32f
cmp dword [0x4e84b0], 0
jne 0x41a0de
mov ecx, dword [0x4e8494]
cmp dword [ecx + 0xc], 0
je 0x41a0de
mov edx, dword [0x4e8494]
mov eax, dword [edx + 0xc]
push eax
call fcn.00472483
add esp, 4
mov dword [ebp - 0xc4c], eax
mov ecx, dword [ebp - 0xc4c]
mov dword [0x4e84b0], ecx
mov dword [ebp - 0x41c], 0
lea edx, [ebp - 0x41c]
push edx
mov eax, dword [0x4e8494]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [0x4e84b0]
push edx
mov eax, dword [0x4e8494]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [0x4d0b40]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ecx, dword [0x4e8494]
mov eax, dword [ecx + 0xc]
sub eax, 0x50
xor edx, edx
mov ecx, 0xd
div ecx
sub eax, 1
mov dword [0x4e84b4], eax
mov edx, dword [0x4e84b0]
mov dword [ebp - 0x418], edx
mov dword [ebp - 0x424], 0
jmp 0x419e33
mov eax, dword [ebp - 0x424]
add eax, 1
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0x14
jae 0x419e62
mov ecx, dword [ebp - 0x424]
mov edx, dword [ebp - 0x418]
mov eax, dword [edx]
mov dword [ecx*4 + 0x4e8358], eax
mov ecx, dword [ebp - 0x418]
add ecx, 4
mov dword [ebp - 0x418], ecx
jmp 0x419e24
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x428], 0
jmp 0x419e87
mov edx, dword [ebp - 0x428]
add edx, 1
mov dword [ebp - 0x428], edx
cmp dword [ebp - 0x428], 0x14
jae 0x41a0c4
xor ecx, ecx
mov edx, dword [ebp - 0x428]
mov eax, dword [edx*4 + 0x4e8358]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00472483
add esp, 4
mov dword [ebp - 0xc50], eax
mov eax, dword [ebp - 0x428]
mov ecx, dword [ebp - 0xc50]
mov dword [eax*4 + 0x4e83f8], ecx
xor ecx, ecx
mov edx, dword [ebp - 0x428]
mov eax, dword [edx*4 + 0x4e8358]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00472483
add esp, 4
mov dword [ebp - 0xc54], eax
mov eax, dword [ebp - 0x428]
mov ecx, dword [ebp - 0xc54]
mov dword [eax*4 + 0x4e83a8], ecx
mov edx, dword [ebp - 0x428]
mov eax, dword [edx*4 + 0x4e8358]
push eax
call fcn.00472483
add esp, 4
mov dword [ebp - 0xc58], eax
mov ecx, dword [ebp - 0x428]
mov edx, dword [ebp - 0xc58]
mov dword [ecx*4 + 0x4e8308], edx
xor ecx, ecx
mov edx, dword [ebp - 0x428]
mov eax, dword [edx*4 + 0x4e8358]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00472483
add esp, 4
mov dword [ebp - 0xc5c], eax
mov eax, dword [ebp - 0x428]
mov ecx, dword [ebp - 0xc5c]
mov dword [eax*4 + 0x4e82b8], ecx
mov dword [ebp - 0x42c], 0
jmp 0x419faa
mov edx, dword [ebp - 0x42c]
add edx, 1
mov dword [ebp - 0x42c], edx
mov eax, dword [ebp - 0x420]
add eax, 1
mov dword [ebp - 0x420], eax
mov ecx, dword [ebp - 0x428]
mov edx, dword [ebp - 0x42c]
cmp edx, dword [ecx*4 + 0x4e8358]
jae 0x41a0bf
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax]
add ecx, dword [ebp + 8]
mov edx, dword [0x4e84c0]
mov eax, dword [0x4e84c0]
mov edx, dword [edx + 0x54]
xor edx, dword [eax + 0x84]
xor ecx, edx
mov eax, dword [ebp - 0x428]
mov edx, dword [eax*4 + 0x4e83f8]
mov eax, dword [ebp - 0x42c]
mov dword [edx + eax*4], ecx
mov ecx, dword [ebp - 0x418]
add ecx, 4
mov dword [ebp - 0x418], ecx
mov edx, dword [ebp - 0x428]
mov eax, dword [edx*4 + 0x4e83a8]
mov ecx, dword [ebp - 0x42c]
mov edx, dword [ebp - 0x418]
mov edx, dword [edx]
mov dword [eax + ecx*4], edx
mov eax, dword [ebp - 0x418]
add eax, 4
mov dword [ebp - 0x418], eax
mov ecx, dword [ebp - 0x428]
mov edx, dword [ecx*4 + 0x4e8308]
mov eax, dword [ebp - 0x42c]
mov ecx, dword [ebp - 0x418]
mov cl, byte [ecx]
mov byte [edx + eax], cl
mov edx, dword [ebp - 0x418]
add edx, 1
mov dword [ebp - 0x418], edx
mov eax, dword [0x4e84c0]
mov ecx, dword [0x4e84c0]
mov esi, dword [eax + 0x54]
xor esi, dword [ecx + 0x84]
mov edx, dword [ebp - 0x418]
xor esi, dword [edx]
mov eax, dword [ebp - 0x42c]
xor edx, edx
mov ecx, 0x17
div ecx
xor esi, dword [ebp + edx*4 - 0x414]
mov edx, dword [ebp - 0x428]
mov eax, dword [edx*4 + 0x4e82b8]
mov ecx, dword [ebp - 0x42c]
mov dword [eax + ecx*4], esi
mov edx, dword [ebp - 0x418]
add edx, 4
mov dword [ebp - 0x418], edx
jmp 0x419f8c
jmp 0x419e78
mov eax, dword [0x4e84b0]
mov dword [ebp - 0xc60], eax
mov ecx, dword [ebp - 0xc60]
push ecx
call fcn.0047b64a
add esp, 4
cmp dword [0x4e84b0], 0
je 0x41a32f
mov edx, dword [ebp - 0x78]
mov eax, dword [edx + 8]
push eax
call fcn.0041b030
add esp, 4
mov dword [ebp - 0x43c], eax
push 0x2cc
push 0
lea ecx, [ebp - 0x714]
push ecx
call fcn.0047b5d0
add esp, 0xc
mov dword [ebp - 0x714], 0x10001
lea edx, [ebp - 0x714]
push edx
mov eax, dword [ebp - 0x43c]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
mov dword [ebp - 0x438], 0
push 0xffffffffffffffff
push 4
lea ecx, [ebp - 0x65c]
push ecx
call fcn.0046d950
add esp, 0xc
mov dword [ebp - 0x434], eax
mov eax, dword [ebp - 0x434]
xor edx, edx
mov ecx, 0x14
div ecx
mov dword [ebp - 0x444], edx
mov edx, dword [ebp - 0x65c]
push edx
mov eax, dword [ebp - 0x444]
mov ecx, dword [eax*4 + 0x4d47a0]
call ecx
add esp, 4
mov dword [ebp - 0x438], eax
mov dword [ebp - 0x440], 0
mov edx, dword [ebp - 0x444]
mov eax, dword [edx*4 + 0x4e8358]
mov dword [ebp - 0x430], eax
mov ecx, dword [ebp - 0x440]
cmp ecx, dword [ebp - 0x430]
jge 0x41a210
mov eax, dword [ebp - 0x430]
sub eax, dword [ebp - 0x440]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x440]
mov dword [ebp - 0x718], eax
mov edx, dword [ebp - 0x444]
mov eax, dword [edx*4 + 0x4e83f8]
mov ecx, dword [ebp - 0x718]
mov edx, dword [ebp - 0x438]
cmp edx, dword [eax + ecx*4]
jbe 0x41a202
mov eax, dword [ebp - 0x718]
add eax, 1
mov dword [ebp - 0x440], eax
jmp 0x41a20e
mov ecx, dword [ebp - 0x718]
mov dword [ebp - 0x430], ecx
jmp 0x41a1a8
mov edx, dword [ebp - 0x444]
mov eax, dword [edx*4 + 0x4e83f8]
mov ecx, dword [ebp - 0x440]
mov edx, dword [eax + ecx*4]
cmp edx, dword [ebp - 0x438]
jne 0x41a32f
mov eax, dword [ebp - 0x444]
mov ecx, dword [eax*4 + 0x4e83a8]
mov edx, dword [ebp - 0x440]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x724], eax
mov ecx, dword [ebp - 0x654]
and ecx, 0xfd7
mov dword [ebp - 0x720], ecx
mov edx, dword [ebp - 0x724]
and edx, 0xff000000
shr edx, 0x18
mov dword [ebp - 0x71c], edx
mov eax, dword [ebp - 0x724]
and eax, 0xffffff
mov dword [ebp - 0x72c], eax
mov ecx, dword [ebp - 0x668]
push ecx
mov edx, dword [ebp - 0x720]
push edx
mov eax, dword [ebp - 0x72c]
push eax
mov ecx, dword [ebp - 0x71c]
mov edx, dword [ecx*4 + 0x4d0b50]
call edx
add esp, 0xc
mov dword [ebp - 0x728], eax
mov eax, dword [ebp - 0x728]
and eax, 1
je 0x41a2f8
mov ecx, dword [ebp - 0x444]
mov ecx, dword [ecx*4 + 0x4e82b8]
mov eax, dword [ebp - 0x440]
xor edx, edx
mov esi, 0x17
div esi
mov eax, dword [ebp - 0x440]
mov ecx, dword [ecx + eax*4]
xor ecx, dword [ebp + edx*4 - 0x414]
add ecx, dword [ebp - 0x65c]
mov dword [ebp - 0x65c], ecx
jmp 0x41a31b
mov edx, dword [ebp - 0x444]
mov eax, dword [edx*4 + 0x4e8308]
mov ecx, dword [ebp - 0x440]
movzx edx, byte [eax + ecx]
add edx, dword [ebp - 0x65c]
mov dword [ebp - 0x65c], edx
lea eax, [ebp - 0x714]
push eax
mov ecx, dword [ebp - 0x43c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
mov dword [ebp - 0x7c], 0x10002
jmp 0x41a3f6
mov edx, dword [ebp - 0x78]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x730], eax
mov ecx, dword [ebp - 0x730]
mov dword [ebp - 0xd28], ecx
cmp dword [ebp - 0xd28], 0xc000001d
ja 0x41a385
cmp dword [ebp - 0xd28], 0xc000001d
je 0x41a3c7
cmp dword [ebp - 0xd28], 0x80000004
je 0x41a3a8
cmp dword [ebp - 0xd28], 0xc0000008
je 0x41a39f
jmp 0x41a3c9
cmp dword [ebp - 0xd28], 0xc00000fd
je 0x41a39f
cmp dword [ebp - 0xd28], 0xc0000235
je 0x41a39f
jmp 0x41a3c9
mov dword [ebp - 0x7c], 0x10002
jmp 0x41a3f6
mov edx, dword [ebp - 0x78]
mov eax, dword [edx + 8]
push eax
call fcn.0041b420
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x41a3c5
mov dword [ebp - 0x7c], 0x10002
jmp 0x41a3f6
jmp 0x41a3f6
mov edx, dword [ebp - 0x78]
cmp dword [edx + 0x5c], 0
jne 0x41a3f6
mov eax, dword [ebp - 0x78]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x78]
mov edx, dword [ecx + 8]
push edx
call fcn.0041b330
add esp, 8
movzx eax, al
test eax, eax
je 0x41a3f6
mov dword [ebp - 0x7c], 0x10002
jmp 0x41a876
mov ecx, dword [ebp - 0x78]
cmp dword [ecx], 2
jne 0x41a434
mov edx, dword [0x4d0b44]
add edx, 1
mov dword [0x4d0b44], edx
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 0x78]
mov eax, dword [edx + 8]
push eax
call fcn.0041b110
add esp, 8
mov dword [ebp - 0x7c], 0x10002
jmp 0x41a876
mov ecx, dword [ebp - 0x78]
cmp dword [ecx], 4
jne 0x41a466
mov edx, dword [0x4d0b44]
sub edx, 1
mov dword [0x4d0b44], edx
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + 8]
push ecx
call fcn.0041b2b0
add esp, 4
mov dword [ebp - 0x7c], 0x10002
jmp 0x41a876
mov edx, dword [ebp - 0x78]
cmp dword [edx], 5
jne 0x41a47a
mov dword [ebp - 0x7c], 0x10002
jmp 0x41a876
mov eax, dword [ebp - 0x78]
cmp dword [eax], 8
jne 0x41a53f
mov ecx, dword [ebp - 0x78]
movzx edx, word [ecx + 0x12]
mov dword [ebp - 0x738], edx
mov eax, dword [ebp - 0x738]
add eax, 2
push eax
call fcn.00472483
add esp, 4
mov dword [ebp - 0xc64], eax
mov ecx, dword [ebp - 0xc64]
mov dword [ebp - 0x734], ecx
push 0
mov edx, dword [ebp - 0x738]
add edx, 2
push edx
mov eax, dword [ebp - 0x734]
push eax
mov ecx, dword [ebp - 0x78]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [0x4d0b40]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov edx, dword [ebp - 0x78]
movzx eax, word [edx + 0x10]
test eax, eax
je 0x41a502
cmp dword [sym.imp.KERNEL32.dll_OutputDebugStringW], 0
je 0x41a500
mov ecx, dword [ebp - 0x734]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x41a518
cmp dword [sym.imp.KERNEL32.dll_OutputDebugStringA], 0
je 0x41a518
mov edx, dword [ebp - 0x734]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0x734]
mov dword [ebp - 0xc68], eax
mov ecx, dword [ebp - 0xc68]
push ecx
call fcn.0047b64a
add esp, 4
mov dword [ebp - 0x7c], 0x10002
jmp 0x41a876
mov edx, dword [ebp - 0x78]
cmp dword [edx], 9
jne 0x41a54c
jmp 0x41a876
mov eax, dword [ebp - 0x78]
cmp dword [eax], 3
jne 0x41a700
movzx ecx, byte [0x4d0f50]
test ecx, ecx
je 0x41a660
mov byte [0x4d0f50], 0
mov edx, dword [0x4e84c0]
mov eax, dword [0x4e84c0]
mov ecx, dword [edx + 0x78]
xor ecx, dword [eax + 0x70]
mov dword [ebp - 0xd14], ecx
lea edx, [ebp - 0xd14]
push edx
mov eax, dword [0x4d0b40]
add eax, 8
push eax
push 0x4d483c
lea ecx, [ebp - 0xd10]
call fcn.0041d8e0
mov dword [ebp - 0xd2c], eax
mov ecx, dword [ebp - 0xd2c]
mov dword [ebp - 0xd30], ecx
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0xd30]
call fcn.0041d9d0
mov ecx, eax
call fcn.0041d9d0
push eax
lea edx, [ebp - 0x754]
push edx
call fcn.0041da10
add esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xd10]
call fcn.0041b520
lea ecx, [ebp - 0x754]
call fcn.00414db0
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41a636
mov byte [ebp - 0xd15], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x754]
call fcn.00414d70
mov al, byte [ebp - 0xd15]
jmp 0x41a8bb
mov dword [ebp - 0x7c], 0x10002
mov eax, dword [0x4d0b40]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x754]
call fcn.00414d70
jmp 0x41a67a
mov edx, dword [ebp - 0x78]
mov eax, dword [edx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x78]
mov edx, dword [ecx + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00418f40
movzx eax, al
test eax, eax
je 0x41a6fb
mov dword [ebp - 0x758], 0
jmp 0x41a6a1
mov ecx, dword [ebp - 0x758]
add ecx, 1
mov dword [ebp - 0x758], ecx
mov edx, dword [0x4e8498]
shl edx, 4
cmp dword [ebp - 0x758], edx
jge 0x41a6fb
mov ecx, dword [ebp + 0xc]
call fcn.00418e50
mov ecx, dword [0x4e84c0]
xor eax, dword [ecx + 0x74]
mov edx, dword [0x4e84c0]
xor eax, dword [edx + 0x40]
mov ecx, dword [0x4e84c0]
xor eax, dword [ecx + 0x54]
mov edx, dword [0x4e84c0]
xor eax, dword [edx + 0x60]
mov ecx, dword [0x4e84c0]
xor eax, dword [ecx + 0x84]
mov edx, dword [ebp - 0x758]
mov ecx, dword [0x4e8480]
mov dword [ecx + edx*4], eax
jmp 0x41a692
jmp 0x41a876
mov edx, dword [ebp - 0x78]
cmp dword [edx], 6
jne 0x41a86f
mov al, byte [0x4d483b]
mov byte [ebp - 0x864], al
push 0x103
push 0
lea ecx, [ebp - 0x863]
push ecx
call fcn.0047b5d0
add esp, 0xc
mov dl, byte [0x4d483b]
mov byte [ebp - 0x96c], dl
push 0x103
push 0
lea eax, [ebp - 0x96b]
push eax
call fcn.0047b5d0
add esp, 0xc
mov ecx, dword [ebp - 0x78]
mov edx, dword [ecx + 0x1c]
mov dword [ebp - 0x970], edx
cmp dword [ebp - 0x970], 0
je 0x41a862
push 0
push 4
lea eax, [ebp - 0x970]
push eax
mov ecx, dword [ebp - 0x970]
push ecx
mov edx, dword [0x4d0b40]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp dword [ebp - 0x970], 0
je 0x41a862
mov ecx, dword [ebp - 0x78]
movzx edx, word [ecx + 0x20]
test edx, edx
je 0x41a83e
push 0
push 0x208
lea eax, [ebp - 0xb7c]
push eax
mov ecx, dword [ebp - 0x970]
push ecx
mov edx, dword [0x4d0b40]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea ecx, [ebp - 0xb7c]
mov dword [ebp - 0xb80], ecx
push 0x4d4830
lea ecx, [ebp - 0xb9c]
call fcn.00414cf0
mov dword [ebp - 4], 6
mov edx, dword [ebp - 0xb80]
movzx eax, word [edx]
test eax, eax
je 0x41a82a
mov ecx, dword [ebp - 0xb80]
mov dl, byte [ecx]
mov byte [ebp - 0xd31], dl
mov al, byte [ebp - 0xd31]
push eax
lea ecx, [ebp - 0xb9c]
call fcn.0041c2e0
mov ecx, dword [ebp - 0xb80]
add ecx, 2
mov dword [ebp - 0xb80], ecx
jmp 0x41a7ec
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb9c]
call fcn.00414d70
jmp 0x41a862
push 0
push 0x104
lea edx, [ebp - 0x864]
push edx
mov eax, dword [ebp - 0x970]
push eax
mov ecx, dword [0x4d0b40]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x7c], 0x10002
mov eax, dword [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0x78]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ContinueDebugEvent]
jmp 0x41a8a9
push 0x10002
mov edx, dword [ebp - 0x78]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x78]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_ContinueDebugEvent]
push 0x4e8448
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x419126
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 - 0x94]
xor ecx, ebp
call fcn.0047ab62
mov esp, ebp
pop ebp
ret