Function at 0x4559ba
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
cmp dword [ebp + 0x14], 8
jg 0x455b5f
mov dword [ebp - 0x18], 0x64
push 0x279
push 0x465bd2
push dword [ebp - 0x18]
push 0x465bb6
push 0x46a454
call fcn.00451a80
add esp, 0x14
push 0x46a454
call sub.kernel32.dll_OutputDebugStringA
push dword [ebp - 0x18]
call fcn.004519ff
pop ecx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x455a1d
mov dword [0x46a450], 0xc000f101
xor eax, eax
jmp 0x455bc4
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov dword [edx], ecx
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10], 0xffffffff
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], 2
mov edx, dword [ebp - 0x10]
xor ecx, ecx
mov dword [edx + 0x38], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], 2
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x24], 2
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x20], 0x4e20
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x14], 1
mov edx, dword [ebp - 0x10]
add edx, 0x28
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp - 0x14]
mov byte [ecx], 2
mov eax, dword [ebp - 0x14]
mov byte [eax + 1], 0x21
mov edx, dword [ebp + 0xc]
and edx, 0xff00
sar edx, 8
mov ecx, dword [ebp - 0x14]
mov byte [ecx + 2], dl
mov al, byte [ebp + 0xc]
and al, 0xff
mov edx, dword [ebp - 0x14]
mov byte [edx + 3], al
mov cl, byte [ebp + 0x14]
mov eax, dword [ebp - 0x14]
mov byte [eax + 4], cl
mov edx, dword [ebp - 0x14]
mov byte [edx + 5], 0
mov ecx, dword [ebp - 0x14]
mov byte [ecx + 6], 1
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x60], edx
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x40], 2
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x4c], 2
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x48], 0x4e20
mov ecx, dword [ebp - 0x10]
xor eax, eax
mov dword [ecx + 0x3c], eax
mov edx, dword [ebp - 0x10]
add edx, 0x50
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp - 0x14]
mov byte [ecx], 2
push dword [ebp - 0x10]
call fcn.00455274
pop ecx
push dword [ebp - 0x10]
call fcn.00455267
pop ecx
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.00455302
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x455b31
push dword [ebp - 0x10]
call fcn.00451a1b
pop ecx
xor eax, eax
jmp 0x455bc4
mov edx, dword [ebp - 0x10]
add edx, 0x50
mov dword [ebp - 0x14], edx
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x14]
add ecx, 2
push ecx
push dword [ebp + 0x10]
call fcn.0045197a
add esp, 0xc
push dword [ebp - 0x10]
call fcn.00451a1b
pop ecx
mov eax, dword [ebp - 4]
jmp 0x455bc4
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0xc], edx
cmp dword [ebp + 0x14], 0
jle 0x455bbf
cmp dword [ebp + 0x14], 8
jg 0x455b79
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 8], ecx
jmp 0x455b80
mov dword [ebp - 8], 8
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004559ba
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x455ba1
xor eax, eax
jmp 0x455bc4
mov edx, dword [ebp - 8]
add dword [ebp - 0xc], edx
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 8]
mov dword [ebp + 0xc], ecx
mov eax, dword [ebp + 0x14]
sub eax, dword [ebp - 8]
mov dword [ebp + 0x14], eax
cmp dword [ebp + 0x14], 0
jg 0x455b6b
mov eax, 1
mov esp, ebp
pop ebp
ret