Function at 0x458fe4
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x458fec
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45938b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x459369
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4193bc]
call fcn.004036cc
mov dword [ebp - 0xc], eax
mov ecx, dword [0x45cd08]
mov dl, 1
mov eax, dword [0x455f3c]
call fcn.00455fec
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
mov edx, 0x4593a4
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x45913a
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x1c]
mov edx, ebx
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
mov edx, 0x4593bc
call fcn.00404754
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f0]
call fcn.004350f0
mov eax, dword [0x45b090]
mov eax, dword [eax]
call fcn.00454794
lea ecx, [ebp - 0x10]
mov edx, ebx
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x10]
call fcn.00408b00
test al, al
je 0x459132
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x10]
call fcn.00408c38
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.004083f4
mov eax, dword [ebp - 0x20]
mov edx, 0x4593d0
call fcn.0040484c
je 0x459132
mov eax, dword [ebp - 0x10]
call fcn.00408b34
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
mov edx, 0x4593e0
call fcn.00404754
mov eax, dword [ebp - 0x28]
call fcn.00404900
push eax
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [ebp - 0x10]
call fcn.00408b00
test al, al
je 0x459132
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
mov edx, 0x4593f4
call fcn.00404754
mov eax, dword [ebp - 0x2c]
call fcn.00404900
push eax
call sub.kernel32.dll_OutputDebugStringA
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.00458b8c
inc ebx
dec esi
jne 0x459060
mov ecx, dword [ebp - 0xc]
mov edx, 0x459408
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x4591c4
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x14]
mov edx, ebx
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x14]
call fcn.00458b18
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x14]
call fcn.004044e8
lea eax, [ebp - 0x34]
mov ecx, dword [ebp - 0x14]
mov edx, 0x4593bc
call fcn.00404754
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f0]
call fcn.004350f0
mov eax, dword [0x45b090]
mov eax, dword [eax]
call fcn.00454794
mov eax, dword [ebp - 0x14]
call fcn.00408b10
test al, al
je 0x4591c0
mov eax, dword [ebp - 0x14]
call fcn.00458a68
inc ebx
dec esi
jne 0x45915c
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x45941c
mov edx, 0x45942c
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx]
cmp dword [ebp - 0x10], 0
je 0x4592e3
mov bl, 1
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x10]
call fcn.004085dc
mov eax, dword [ebp - 0x38]
mov edx, 0x45943c
call fcn.0040484c
jne 0x45923c
push 0x24
push 0
lea eax, [ebp - 0x3c]
push eax
mov ecx, 0x459448
mov edx, 0x45942c
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi]
mov eax, dword [ebp - 0x3c]
call fcn.00404900
mov edx, eax
mov ecx, 0x459450
mov eax, dword [0x45b090]
mov eax, dword [eax]
call fcn.00454ad0
cmp eax, 7
jne 0x45923c
xor ebx, ebx
test bl, bl
je 0x4592e3
mov dl, 1
mov eax, dword [0x456e2c]
call fcn.00456ea8
mov ebx, eax
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x459464
mov edx, 0x45942c
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi]
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x10]
call fcn.004085dc
mov eax, dword [ebp - 0x40]
mov edx, 0x459474
call fcn.004084bc
test eax, eax
jne 0x459293
mov edx, 0x80000001
mov eax, ebx
call fcn.00456f48
jmp 0x4592bb
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 0x10]
call fcn.004085dc
mov eax, dword [ebp - 0x44]
mov edx, 0x459490
call fcn.004084bc
test eax, eax
jne 0x4592bb
mov edx, 0x80000002
mov eax, ebx
call fcn.00456f48
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x4594ac
mov edx, 0x45942c
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.00456f8c
mov eax, ebx
call fcn.004036fc
lea eax, [ebp - 0x48]
mov ecx, 0x4594bc
mov edx, dword [0x45cd04]
call fcn.00404754
mov eax, dword [ebp - 0x48]
call fcn.00458f24
lea eax, [ebp - 0x4c]
mov ecx, 0x4594cc
mov edx, dword [0x45cd04]
call fcn.00404754
mov eax, dword [ebp - 0x4c]
call fcn.00458f24
lea eax, [ebp - 0x50]
mov ecx, 0x4594d8
mov edx, dword [0x45cd04]
call fcn.00404754
mov eax, dword [ebp - 0x50]
call fcn.00408b00
test al, al
je 0x459353
lea eax, [ebp - 0x54]
mov ecx, 0x4594d8
mov edx, dword [0x45cd04]
call fcn.00404754
mov eax, dword [ebp - 0x54]
call fcn.00408b34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459370
mov eax, dword [ebp - 8]
call fcn.004036fc
ret