Function at 0x4017b8
Capabilities:
Print debug messages

Disassembly:
sub esp, 8
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0
push 4
mov eax, ebp
add eax, 8
push eax
call dword [sym.imp.KERNEL32.DLL_RtlFillMemory]
push 0
push 4
mov eax, ebp
add eax, 4
push eax
call dword [sym.imp.KERNEL32.DLL_RtlFillMemory]
mov eax, 0x405018
push eax
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
push 0
pop eax
mov dword [ebp + 8], eax
jmp 0x40181b
push dword [ebp + 8]
push 1
pop ebx
pop eax
sub esp, 4
add eax, ebx
mov dword [esp], eax
pop eax
mov dword [ebp + 8], eax
push 0xffffffffffffffff
pop eax
cmp eax, 0
je 0x401863
push dword [ebp + 8]
xor ecx, ecx
add ecx, 4
push dword [ecx + 0x405010]
push 1
pop ebx
pop eax
sub esp, 4
sub eax, ebx
mov dword [esp], eax
pop ebx
pop eax
sub esp, 4
mov ecx, 0xffffffff
cmp eax, ebx
jle 0x40185a
mov ecx, 0
mov dword [esp], ecx
pop eax
jmp 0x40189a
push dword [ebp + 8]
xor ecx, ecx
add ecx, 4
push dword [ecx + 0x405010]
push 1
pop ebx
pop eax
sub esp, 4
sub eax, ebx
mov dword [esp], eax
pop ebx
pop eax
sub esp, 4
mov ecx, 0xffffffff
cmp eax, ebx
jge 0x401896
mov ecx, 0
mov dword [esp], ecx
pop eax
cmp eax, 0
je 0x401a79
xor ecx, ecx
push dword [ecx + 0x405010]
push dword [ebp + 8]
push 4
pop ebx
pop eax
sub esp, 4
imul eax, ebx
mov dword [esp], eax
pop ebx
pop eax
sub esp, 4
add eax, ebx
mov dword [esp], eax
pop eax
mov eax, dword [eax]
push eax
pop eax
mov dword [ebp + 4], eax
push dword [ebp + 4]
push dword [ebp + 0x10]
pop eax
pop ebx
sub esp, 4
xor eax, ebx
je 0x4018ed
mov eax, 0xffffffff
not eax
mov dword [esp], eax
pop eax
cmp eax, 0
je 0x401a74
push dword [ebp + 0x10]
push 4
pop ebx
pop eax
sub esp, 4
sub eax, ebx
mov dword [esp], eax
push 0
push dword [0x405030]
call dword [sym.imp.KERNEL32.DLL_HeapFree]
xor ecx, ecx
add ecx, 4
push dword [ecx + 0x405010]
push 1
pop ebx
pop eax
sub esp, 4
sub eax, ebx
mov dword [esp], eax
xor ecx, ecx
add ecx, 4
pop eax
mov dword [ecx + 0x405010], eax
push dword [ebp + 8]
pop eax
mov dword [ebp + 8], eax
jmp 0x401970
push dword [ebp + 8]
push 1
pop ebx
pop eax
sub esp, 4
add eax, ebx
mov dword [esp], eax
pop eax
mov dword [ebp + 8], eax
push 0xffffffffffffffff
pop eax
cmp eax, 0
je 0x4019b8
push dword [ebp + 8]
xor ecx, ecx
add ecx, 4
push dword [ecx + 0x405010]
push 1
pop ebx
pop eax
sub esp, 4
sub eax, ebx
mov dword [esp], eax
pop ebx
pop eax
sub esp, 4
mov ecx, 0xffffffff
cmp eax, ebx
jle 0x4019af
mov ecx, 0
mov dword [esp], ecx
pop eax
jmp 0x4019ef
push dword [ebp + 8]
xor ecx, ecx
add ecx, 4
push dword [ecx + 0x405010]
push 1
pop ebx
pop eax
sub esp, 4
sub eax, ebx
mov dword [esp], eax
pop ebx
pop eax
sub esp, 4
mov ecx, 0xffffffff
cmp eax, ebx
jge 0x4019eb
mov ecx, 0
mov dword [esp], ecx
pop eax
cmp eax, 0
je 0x401a63
xor ecx, ecx
push dword [ecx + 0x405010]
push dword [ebp + 8]
mov eax, 4
push eax
pop ebx
pop eax
sub esp, 4
imul eax, ebx
mov dword [esp], eax
pop ebx
pop eax
sub esp, 4
add eax, ebx
mov dword [esp], eax
xor ecx, ecx
push dword [ecx + 0x405010]
push dword [ebp + 8]
push 1
pop ebx
pop eax
sub esp, 4
add eax, ebx
mov dword [esp], eax
mov eax, 4
push eax
pop ebx
pop eax
sub esp, 4
imul eax, ebx
mov dword [esp], eax
pop ebx
pop eax
sub esp, 4
add eax, ebx
mov dword [esp], eax
pop eax
mov eax, dword [eax]
push eax
pop ebx
pop eax
mov dword [eax], ebx
jmp 0x401957
mov eax, 0x405018
push eax
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
jmp 0x401aa0
jmp 0x401802
mov eax, 0x405018
push eax
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
push dword [ebp + 0x10]
pop eax
cmp eax, 0
je 0x401aa0
push 0x40401c
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
add esp, 8
ret 4