Function at 0x4862b0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x4862b8
push ebx
push esi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x486632
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
xor eax, eax
push ebp
push 0x4865d3
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x4950bc
mov edx, 0x48664c
mov eax, 0x80000002
call fcn.0046fa74
test al, al
je 0x4865a6
lea eax, [ebp - 0x18]
mov ecx, dword [0x4950bc]
mov edx, 0x486690
call fcn.0040503c
mov eax, dword [ebp - 0x18]
call fcn.004051b4
push eax
call sub.kernel32.dll_OutputDebugStringA
lea ecx, [ebp - 4]
mov edx, 0x4866a4
mov eax, 0x80000002
call fcn.0046fa74
mov ecx, ebx
mov edx, 0x4866e8
mov eax, 0x80000002
call fcn.0046fa74
lea ecx, [ebp - 8]
mov edx, 0x48672c
mov eax, 0x80000002
call fcn.0046fa74
test al, al
je 0x4864a2
mov eax, dword [ebp - 8]
call fcn.004051b4
push eax
call sub.kernel32.dll_OutputDebugStringA
mov edx, dword [ebp - 8]
mov eax, 0x486774
call fcn.00405300
mov ebx, eax
test ebx, ebx
jle 0x486495
lea eax, [ebp - 0xc]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.0040521c
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.00403888
mov dword [esi], eax
cmp dword [ebp - 0x14], 0
jle 0x4863b2
xor eax, eax
mov dword [esi], eax
lea eax, [ebp - 8]
mov ecx, ebx
mov edx, 1
call fcn.0040525c
mov edx, dword [ebp - 8]
mov eax, 0x486774
call fcn.00405300
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.0040521c
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.00403888
mov dword [esi + 4], eax
cmp dword [ebp - 0x14], 0
jle 0x4863fd
xor eax, eax
mov dword [esi + 4], eax
lea eax, [ebp - 8]
mov ecx, ebx
mov edx, 1
call fcn.0040525c
mov edx, dword [ebp - 8]
mov eax, 0x486774
call fcn.00405300
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.0040521c
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.00403888
mov dword [esi + 8], eax
cmp dword [ebp - 0x14], 0
jle 0x486448
xor eax, eax
mov dword [esi + 8], eax
lea eax, [ebp - 8]
mov ecx, ebx
mov edx, 1
call fcn.0040525c
mov edx, dword [ebp - 8]
mov eax, 0x486774
call fcn.00405300
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.0040521c
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.00403888
mov dword [esi + 0xc], eax
cmp dword [ebp - 0x14], 0
jle 0x4864a2
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4864a2
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.00403888
mov dword [esi], eax
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0040af58
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 4]
call fcn.00404dbc
mov eax, dword [ebp - 4]
mov edx, 0x486780
call fcn.0040514c
jne 0x4864d0
mov dword [ebp - 0x10], 1
jmp 0x48651f
mov eax, dword [ebp - 4]
mov edx, 0x48678c
call fcn.0040514c
jne 0x4864e8
mov dword [ebp - 0x10], 2
jmp 0x48651f
mov eax, dword [ebp - 4]
mov edx, 0x48679c
call fcn.0040514c
jne 0x486500
mov dword [ebp - 0x10], 3
jmp 0x48651f
mov eax, dword [ebp - 4]
mov edx, 0x4867a8
call fcn.0040514c
jne 0x486518
mov dword [ebp - 0x10], 4
jmp 0x48651f
mov dword [ebp - 0x10], 0xff
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
call fcn.00487488
lea eax, [ebp - 0x24]
mov edx, 0x4867b8
call fcn.00404ff0
mov eax, dword [ebp - 0x24]
mov ecx, 0x4867cc
mov edx, 0x4867dc
call fcn.00487b24
mov eax, dword [ebp - 0x20]
mov edx, 0x4867ec
call fcn.0040514c
jne 0x48657c
lea edx, [ebp - 0x28]
mov eax, 0x4867fc
call fcn.00487250
mov edx, dword [ebp - 0x28]
mov eax, 0x4950c0
call fcn.00404d78
mov dword [ebp - 0x10], 5
jmp 0x4865c5
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 4]
mov edx, 0x486810
call fcn.0040503c
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.00487250
mov edx, dword [ebp - 0x2c]
mov eax, 0x4950c0
call fcn.00404d78
jmp 0x4865c5
mov ecx, 0x4950bc
mov edx, 0x486820
mov eax, 0x80000002
call fcn.0046fa74
test al, al
je 0x4865c5
mov dword [ebp - 0x10], 0x64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4865da
ret