Function at 0x402570
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e66de
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x555ab0]
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.004022e0
add eax, 0x10
mov dword [ebp - 0x214], eax
push 0x53eb28
push 0x53eb30
lea ecx, [ebp - 0x214]
mov dword [ebp - 4], 0
call fcn.004043a0
xor eax, eax
push 0xfe
push eax
mov word [ebp - 0x110], ax
lea eax, [ebp - 0x10e]
push eax
call fcn.004b4d70
add esp, 0xc
lea eax, [ebp - 0x110]
push 0x80
push eax
call fcn.004b11b7
xor eax, eax
push 0xfe
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.004b4d70
add esp, 0x14
lea eax, [ebp - 0x210]
push 0x80
push eax
call fcn.004b10ea
mov eax, dword [0x5556d8]
add esp, 8
mov ecx, 0x5556d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 1
call fcn.004b10b4
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x21c]
push 0x53eb34
push eax
call fcn.00404f10
mov eax, dword [0x5556d8]
add esp, 0x14
mov ecx, 0x5556d8
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.00404f10
add esp, 0x10
lea eax, [ebp - 0x244]
push dword [ebp - 0x250]
push eax
call fcn.004024f0
mov esi, eax
push 0x55e9a0
lea edx, [ebp - 0x21c]
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 3
call fcn.004045e0
add esp, 4
lea ecx, [ebp - 0x218]
push ecx
mov edx, eax
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 4
call fcn.004045e0
add esp, 4
push 0x55e9a0
mov edx, eax
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 5
call fcn.004045e0
add esp, 4
push esi
mov edx, eax
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 6
call fcn.004045e0
add esp, 4
push 0x55e9a0
mov edx, eax
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 7
call fcn.004045e0
add esp, 4
push ebx
mov edx, eax
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 8
call fcn.004045e0
add esp, 4
push 0x55e9a0
mov edx, eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 9
call fcn.004045e0
add esp, 4
push edi
mov edx, eax
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0xa
call fcn.004045e0
add esp, 4
push 0x55e9a0
mov edx, eax
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0xb
call fcn.004045e0
add esp, 4
lea ecx, [ebp - 0x214]
push ecx
mov edx, eax
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 0xc
call fcn.004045e0
mov edx, eax
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0xd
call fcn.004046a0
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 0x402811
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 0x402834
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 0x402857
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 0x40287a
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 0x40289d
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 0x4028c0
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 0x4028e3
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 0x402906
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 0x402929
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 0x40294c
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 0x40296f
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 0x402992
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.004024f0
mov esi, eax
push 0x55e9a0
lea edx, [ebp - 0x21c]
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 0xe
call fcn.004045e0
add esp, 4
lea ecx, [ebp - 0x218]
push ecx
mov edx, eax
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0xf
call fcn.004045e0
add esp, 4
push 0x55e9a0
mov edx, eax
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0x10
call fcn.004045e0
add esp, 4
push esi
mov edx, eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0x11
call fcn.004045e0
add esp, 4
push 0x55e9a0
mov edx, eax
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 0x12
call fcn.004045e0
add esp, 4
push ebx
mov edx, eax
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0x13
call fcn.004045e0
add esp, 4
push 0x55e9a0
mov edx, eax
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0x14
call fcn.004045e0
add esp, 4
push dword [ebp - 0x254]
mov edx, eax
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 0x15
call fcn.004045e0
add esp, 4
push 0x55e9a0
mov edx, eax
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 0x16
call fcn.004045e0
add esp, 4
lea ecx, [ebp - 0x214]
push ecx
mov edx, eax
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0x17
call fcn.004045e0
mov edx, eax
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0x18
call fcn.004046a0
add esp, 4
mov ecx, dword [ebp - 0x258]
push eax
mov byte [ebp - 4], 0x19
call fcn.00421d50
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 0x402ae5
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 0x402b08
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 0x402b2b
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 0x402b4e
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 0x402b71
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 0x402b94
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 0x402bb7
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 0x402bda
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 0x402bfd
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 0x402c20
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 0x402c43
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 0x402c66
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 0x402c89
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 0x402cac
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 0x402cd0
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.004b00a0
mov esp, ebp
pop ebp
ret 0x10