Function at 0x4010d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41137d
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x418080]
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 eax, dword [ebp + 8]
push 1
mov edi, ecx
push 0x4141cc
mov dword [ebp - 0x28c], eax
push edi
xor eax, eax
call fcn.00401930
mov ebx, eax
push ebx
xor ecx, ecx
lea esi, [ebp - 0x234]
mov edx, edi
call fcn.00401790
mov dword [ebp - 4], 0
mov eax, dword [edi + 0x10]
push eax
lea ecx, [ebx + 1]
lea esi, [ebp - 0x26c]
mov edx, edi
call fcn.00401790
push 1
push 0x4141cc
mov ecx, esi
push ecx
xor eax, eax
mov byte [ebp - 4], 1
call fcn.00401930
mov ebx, eax
push ebx
xor ecx, ecx
lea esi, [ebp - 0x250]
lea edx, [ebp - 0x26c]
call fcn.00401790
mov esi, dword [ebp - 0x28c]
add esi, 0x1c
mov edi, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x290], esi
call fcn.004017c0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x23c], 8
jb 0x4011a6
mov edx, dword [ebp - 0x250]
push edx
call fcn.00408b01
add esp, 4
mov eax, dword [ebp - 0x25c]
push eax
lea ecx, [ebx + 1]
lea esi, [ebp - 0x250]
lea edx, [ebp - 0x26c]
call fcn.00401790
mov ebx, dword [ebp - 0x28c]
lea esi, [ebx + 0x38]
mov edi, eax
mov byte [ebp - 4], 3
call fcn.004017c0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x23c], 8
jb 0x4011f1
mov ecx, dword [ebp - 0x250]
push ecx
call fcn.00408b01
add esp, 4
lea edx, [ebp - 0x234]
push edx
mov edi, 1
call fcn.004019f0
mov ecx, dword [ebp - 0x224]
push ecx
lea ecx, [eax + 1]
lea esi, [ebp - 0x250]
lea edx, [ebp - 0x234]
call fcn.00401790
mov edi, eax
mov esi, ebx
mov byte [ebp - 4], 4
call fcn.004017c0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x23c], 8
jb 0x401246
mov edx, dword [ebp - 0x250]
push edx
call fcn.00408b01
add esp, 4
mov ecx, dword [ebp - 0x290]
lea eax, [ebp - 0x288]
push eax
call fcn.00401dc0
add esp, 4
mov ecx, eax
mov eax, ebx
lea ebx, [ebp - 0x250]
mov byte [ebp - 4], 5
call fcn.00401e70
mov esi, dword [ebp - 0x28c]
add esi, 0x54
mov edi, eax
mov byte [ebp - 4], 6
call fcn.004017c0
mov ebx, 8
cmp dword [ebp - 0x23c], ebx
jb 0x40129e
mov ecx, dword [ebp - 0x250]
push ecx
call fcn.00408b01
add esp, 4
xor edx, edx
mov byte [ebp - 4], 1
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], 0
mov word [ebp - 0x250], dx
cmp dword [ebp - 0x274], ebx
jb 0x4012d6
mov eax, dword [ebp - 0x288]
push eax
call fcn.00408b01
add esp, 4
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x216]
push edx
mov word [ebp - 0x218], cx
call fcn.0040c8f0
mov eax, dword [ebp - 0x290]
add esp, 0xc
cmp dword [eax + 0x14], ebx
jb 0x401301
mov eax, dword [eax]
mov ecx, dword [ebp - 0x234]
cmp dword [ebp - 0x220], ebx
jae 0x401315
lea ecx, [ebp - 0x234]
push eax
push ecx
lea eax, [ebp - 0x218]
push 0x4141d8
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [esi + 0x14], ebx
jb 0x401342
mov eax, dword [esi]
jmp 0x401344
mov eax, esi
mov ecx, dword [ebp - 0x234]
cmp dword [ebp - 0x220], ebx
jae 0x401358
lea ecx, [ebp - 0x234]
push 0x13880
push 0x13880
push eax
push ecx
call fcn.00406b20
add esp, 0x10
test eax, eax
je 0x4013b2
cmp dword [esi + 0x14], ebx
jb 0x401377
mov esi, dword [esi]
mov eax, dword [ebp - 0x234]
cmp dword [ebp - 0x220], ebx
jae 0x40138b
lea eax, [ebp - 0x234]
push 0x1d4c0
push 0x1d4c0
push esi
push eax
call fcn.00406b20
add esp, 0x10
test eax, eax
je 0x4013b2
mov edx, dword [ebp - 0x28c]
mov dword [edx + 0x70], 3
jmp 0x4013ca
mov edi, dword [ebp - 0x28c]
lea ecx, [ebp - 0x234]
mov dword [edi + 0x70], 2
call fcn.00401440
mov eax, dword [ebp - 0x28c]
mov esi, dword [eax + 0x70]
cmp dword [ebp - 0x258], ebx
jb 0x4013ea
mov ecx, dword [ebp - 0x26c]
push ecx
call fcn.00408b01
add esp, 4
xor edx, edx
mov dword [ebp - 0x258], 7
mov dword [ebp - 0x25c], 0
mov word [ebp - 0x26c], dx
cmp dword [ebp - 0x220], ebx
jb 0x40141e
mov eax, dword [ebp - 0x234]
push eax
call fcn.00408b01
add esp, 4
mov eax, esi
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.00408434
mov esp, ebp
pop ebp
ret 4