Function at 0x4018e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d2dbe
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x52ad60]
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 - 0x258], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x250], ecx
mov ecx, dword [eax]
sub ecx, 0x10
mov dword [ebp - 0x254], edi
call fcn.004047b0
add eax, 0x10
mov dword [ebp - 0x214], eax
push 0x511ec8
push 0x511ed0
lea ecx, [ebp - 0x214]
mov dword [ebp - 4], 0
call fcn.00403940
xor eax, eax
push 0xfe
push eax
mov word [ebp - 0x110], ax
lea eax, [ebp - 0x10e]
push eax
call fcn.004b84f0
lea eax, [ebp - 0x110]
push 0x80
push eax
call fcn.004b42ef
xor eax, eax
push 0xfe
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.004b84f0
lea eax, [ebp - 0x210]
push 0x80
push eax
call fcn.004b43ae
mov eax, dword [0x52a6d0]
add esp, 0x28
mov ecx, 0x52a6d0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 1
call fcn.004b44a4
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x21c]
push 0x511ed4
push eax
call fcn.00404c40
mov eax, dword [0x52a6d0]
add esp, 0x14
mov ecx, 0x52a6d0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x218], 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 - 0x218]
push str.Proc:__d__Th:__d
push eax
call fcn.00404c40
add esp, 0x10
lea eax, [ebp - 0x244]
push dword [ebp - 0x250]
push eax
call fcn.00401860
mov esi, eax
push 0x52f598
lea edx, [ebp - 0x21c]
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 3
call fcn.00403b80
lea ecx, [ebp - 0x218]
push ecx
mov edx, eax
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 4
call fcn.00403b80
push 0x52f598
mov edx, eax
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 5
call fcn.00403b80
push esi
mov edx, eax
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 6
call fcn.00403b80
push 0x52f598
mov edx, eax
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 7
call fcn.00403b80
push ebx
mov edx, eax
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 8
call fcn.00403b80
push 0x52f598
mov edx, eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 9
call fcn.00403b80
push edi
mov edx, eax
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0xa
call fcn.00403b80
push 0x52f598
mov edx, eax
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0xb
call fcn.00403b80
lea ecx, [ebp - 0x214]
push ecx
mov edx, eax
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 0xc
call fcn.00403b80
add esp, 0x24
mov edx, eax
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0xd
call fcn.00403c40
add esp, 4
push dword [eax]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp - 0x24c]
add edx, 0xfffffff0
or edi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x401b63
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x238]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x401b86
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x240]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x401ba9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x22c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x401bcc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x234]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x401bef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x220]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x401c12
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x23c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x401c35
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x248]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x401c58
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x224]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x401c7b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x228]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x401c9e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x230]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x401cc1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x244]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x401ce4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x250]
lea eax, [ebp - 0x24c]
push eax
call fcn.00401860
mov esi, eax
push 0x52f598
lea edx, [ebp - 0x21c]
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 0xe
call fcn.00403b80
lea ecx, [ebp - 0x218]
push ecx
mov edx, eax
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0xf
call fcn.00403b80
push 0x52f598
mov edx, eax
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0x10
call fcn.00403b80
push esi
mov edx, eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0x11
call fcn.00403b80
push 0x52f598
mov edx, eax
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 0x12
call fcn.00403b80
push ebx
mov edx, eax
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0x13
call fcn.00403b80
push 0x52f598
mov edx, eax
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0x14
call fcn.00403b80
push dword [ebp - 0x254]
mov edx, eax
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 0x15
call fcn.00403b80
push 0x52f598
mov edx, eax
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 0x16
call fcn.00403b80
lea ecx, [ebp - 0x214]
push ecx
mov edx, eax
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0x17
call fcn.00403b80
add esp, 0x24
mov edx, eax
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0x18
call fcn.00403c40
add esp, 4
mov ecx, dword [ebp - 0x258]
push eax
mov byte [ebp - 4], 0x19
call fcn.00431670
mov byte [ebp - 4], 0x18
mov edx, dword [ebp - 0x244]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x401e1f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x17
mov edx, dword [ebp - 0x230]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x401e42
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x228]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x401e65
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0x224]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x401e88
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x248]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x401eab
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x23c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x401ece
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x220]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x401ef1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x234]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x401f14
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x22c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x401f37
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x240]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x401f5a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x238]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x401f7d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x24c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x401fa0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x218]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x401fc3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x401fe6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x214]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x40200a
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.004b3a11
mov esp, ebp
pop ebp
ret 0x10