Function at 0x4017db
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, 0x40c424
push eax
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
push 0
pop eax
mov dword [ebp + 8], eax
jmp 0x40183e
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 0x401886
push dword [ebp + 8]
xor ecx, ecx
add ecx, 4
push dword [ecx + 0x40c41c]
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 0x40187d
mov ecx, 0
mov dword [esp], ecx
pop eax
jmp 0x4018bd
push dword [ebp + 8]
xor ecx, ecx
add ecx, 4
push dword [ecx + 0x40c41c]
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 0x4018b9
mov ecx, 0
mov dword [esp], ecx
pop eax
cmp eax, 0
je 0x401a9c
xor ecx, ecx
push dword [ecx + 0x40c41c]
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 0x401910
mov eax, 0xffffffff
not eax
mov dword [esp], eax
pop eax
cmp eax, 0
je 0x401a97
push dword [ebp + 0x10]
push 4
pop ebx
pop eax
sub esp, 4
sub eax, ebx
mov dword [esp], eax
push 0
push dword [0x40c43c]
call dword [sym.imp.KERNEL32.DLL_HeapFree]
xor ecx, ecx
add ecx, 4
push dword [ecx + 0x40c41c]
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 + 0x40c41c], eax
push dword [ebp + 8]
pop eax
mov dword [ebp + 8], eax
jmp 0x401993
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 0x4019db
push dword [ebp + 8]
xor ecx, ecx
add ecx, 4
push dword [ecx + 0x40c41c]
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 0x4019d2
mov ecx, 0
mov dword [esp], ecx
pop eax
jmp 0x401a12
push dword [ebp + 8]
xor ecx, ecx
add ecx, 4
push dword [ecx + 0x40c41c]
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 0x401a0e
mov ecx, 0
mov dword [esp], ecx
pop eax
cmp eax, 0
je 0x401a86
xor ecx, ecx
push dword [ecx + 0x40c41c]
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 + 0x40c41c]
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 0x40197a
mov eax, 0x40c424
push eax
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
jmp 0x401ac3
jmp 0x401825
mov eax, 0x40c424
push eax
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
push dword [ebp + 0x10]
pop eax
cmp eax, 0
je 0x401ac3
push section..sdata
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
add esp, 8
ret 4