Function at 0x4210a0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51f8e0
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x595cb8]
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 eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x228], ecx
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.0041fb10
add eax, 0x10
mov dword [ebp - 0x224], eax
push 0x56d2cc
push 0x56d2d4
lea ecx, [ebp - 0x224]
mov dword [ebp - 4], 0
call fcn.00421760
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.004f9110
add esp, 0xc
lea eax, [ebp - 0x110]
push 0x80
push eax
call fcn.005007e7
push 0x100
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.004f9110
add esp, 0x14
lea eax, [ebp - 0x210]
push 0x80
push eax
call fcn.00500239
add esp, 8
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x421175
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 1
call fcn.00500108
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x220]
push 0x56d2d8
push eax
call fcn.00420c20
add esp, 0x14
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x4211c4
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push esi
lea eax, [ebp - 0x21c]
push str.ProcessId:__d__ThreadId:__d
push eax
call fcn.00420c20
add esp, 0x10
lea eax, [ebp - 0x24c]
push dword [ebp - 0x228]
push eax
call fcn.00420e30
mov esi, eax
push 0x59c820
lea edx, [ebp - 0x220]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x248]
call fcn.004216b0
add esp, 4
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 4
push ecx
mov edx, eax
lea ecx, [ebp - 0x244]
call fcn.004216b0
add esp, 4
push 0x59c820
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x240]
call fcn.004216b0
add esp, 4
push esi
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x23c]
call fcn.004216b0
add esp, 4
push 0x59c820
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x238]
call fcn.004216b0
add esp, 4
push edi
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x234]
call fcn.004216b0
add esp, 4
push 0x59c820
mov edx, eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x230]
call fcn.004216b0
add esp, 4
push ebx
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x22c]
call fcn.004216b0
add esp, 4
mov byte [ebp - 4], 0xb
push 0x59c820
mov edx, eax
lea ecx, [ebp - 0x214]
call fcn.004216b0
add esp, 4
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 0xc
push ecx
mov edx, eax
lea ecx, [ebp - 0x228]
call fcn.004216b0
mov edx, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x218]
call fcn.004215f0
add esp, 4
mov byte [ebp - 4], 0xf
or esi, 0xffffffff
mov edx, dword [ebp - 0x228]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x421339
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x10
mov eax, esi
mov edx, dword [ebp - 0x214]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42135a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x11
mov eax, esi
mov edx, dword [ebp - 0x22c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42137b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x12
mov eax, esi
mov edx, dword [ebp - 0x230]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42139c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x13
mov eax, esi
mov edx, dword [ebp - 0x234]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4213bd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x14
mov eax, esi
mov edx, dword [ebp - 0x238]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4213de
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x15
mov eax, esi
mov edx, dword [ebp - 0x23c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4213ff
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x16
mov eax, esi
mov edx, dword [ebp - 0x240]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x421420
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x17
mov eax, esi
mov edx, dword [ebp - 0x244]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x421441
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x18
mov eax, esi
mov edx, dword [ebp - 0x248]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x421462
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x19
mov eax, esi
mov edx, dword [ebp - 0x24c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x421483
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [0x59c781], 0
jne 0x4214d0
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x250]
call fcn.0042bfd0
push eax
lea ecx, [ebp - 0x218]
mov byte [ebp - 4], 0x1a
call fcn.00421a50
mov byte [ebp - 4], 0x19
mov eax, esi
mov edx, dword [ebp - 0x250]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4214dc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4214dc
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [0x59c774], 3
jne 0x4214ee
cmp byte [0x59c780], 0
je 0x42154c
push str.a__ccsUTF_8
push dword [0x59c8dc]
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0
push eax
call fcn.005005c4
mov eax, dword [ebp - 0x214]
add esp, 0xc
test eax, eax
je 0x42154c
push dword [ebp - 0x218]
push 0x56d210
push eax
call fcn.00420d90
add esp, 0xc
push dword [ebp - 0x214]
call fcn.005003d2
add esp, 4
push dword [ebp - 0x214]
call fcn.005006a3
add esp, 4
mov byte [ebp - 4], 2
mov eax, esi
mov edx, dword [ebp - 0x218]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42156d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, esi
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42158e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x220]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4215af
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x224]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4215d1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.004f4566
mov esp, ebp
pop ebp
ret 0x10