Function at 0x411430
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c62f3
mov eax, dword fs:[0]
push eax
mov eax, 0x1094
call fcn.004aa1a0
mov eax, dword [0x4fad60]
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 dword [ebp - 0x10a0], 0x503bc8
call fcn.00410410
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, 7
xor eax, eax
mov dword [0x503bc8], 0x4e3e74
mov dword [0x505bfc], edi
mov dword [0x505bf8], ebx
mov word [0x505be8], ax
mov eax, 1
xor ecx, ecx
mov dword [0x503bcc], eax
mov dword [0x503bd0], eax
mov dword [0x503bd4], eax
mov dword [0x503bd8], 0x19000
mov dword [ebp - 0x1050], edi
mov dword [ebp - 0x1054], ebx
mov word [ebp - 0x1064], cx
xor edx, edx
mov dword [ebp - 0x1018], edi
mov dword [ebp - 0x101c], ebx
mov word [ebp - 0x102c], dx
lea ecx, [ebp - 0x102c]
mov byte [ebp - 4], 3
call fcn.0044ee20
push 0x800
lea eax, [ebp - 0x1010]
push ebx
push eax
call fcn.00497ad0
mov eax, dword [ebp - 0x102c]
add esp, 0xc
cmp dword [ebp - 0x1018], 8
jae 0x41151a
lea eax, [ebp - 0x102c]
mov ecx, dword [ebp - 0x101c]
lea edx, [ecx + ecx]
push edx
push eax
lea eax, [ebp - 0x1010]
push eax
call fcn.00498770
add esp, 0xc
lea ecx, [ebp - 0x1010]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor edx, edx
push 0xc
mov eax, str.Piencsys.err
lea esi, [ebp - 0x1080]
mov dword [ebp - 0x106c], edi
mov dword [ebp - 0x1070], ebx
mov word [ebp - 0x1080], dx
call fcn.00403e70
mov byte [ebp - 4], 4
xor eax, eax
mov word [ebp - 0x1048], ax
lea eax, [ebp - 0x1010]
mov dword [ebp - 0x1034], edi
mov dword [ebp - 0x1038], ebx
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x411590
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x1010]
lea esi, [ebp - 0x1048]
call fcn.00403e70
mov ecx, esi
push ecx
lea edx, [ebp - 0x1080]
lea ecx, [ebp - 0x109c]
mov byte [ebp - 4], 5
call fcn.0044e150
add esp, 4
mov edi, eax
lea esi, [ebp - 0x1064]
mov byte [ebp - 4], 6
call fcn.00409010
mov esi, 8
cmp dword [ebp - 0x1088], esi
jb 0x4115f9
mov edx, dword [ebp - 0x109c]
push edx
call fcn.00490a16
add esp, 4
xor eax, eax
mov edi, 7
mov dword [ebp - 0x1088], edi
mov dword [ebp - 0x108c], ebx
mov word [ebp - 0x109c], ax
cmp dword [ebp - 0x1034], esi
jb 0x41162a
mov ecx, dword [ebp - 0x1048]
push ecx
call fcn.00490a16
add esp, 4
xor edx, edx
mov dword [ebp - 0x1034], edi
mov dword [ebp - 0x1038], ebx
mov word [ebp - 0x1048], dx
cmp dword [ebp - 0x106c], esi
jb 0x411656
mov eax, dword [ebp - 0x1080]
push eax
call fcn.00490a16
add esp, 4
mov eax, dword [ebp - 0x1064]
cmp dword [ebp - 0x1050], esi
jae 0x41166a
lea eax, [ebp - 0x1064]
push eax
push 0x800
push 0x504bdc
call fcn.0049205c
add esp, 0xc
cmp dword [ebp - 0x1018], esi
jb 0x411694
mov ecx, dword [ebp - 0x102c]
push ecx
call fcn.00490a16
add esp, 4
xor edx, edx
mov dword [ebp - 0x1018], edi
mov dword [ebp - 0x101c], ebx
mov word [ebp - 0x102c], dx
cmp dword [ebp - 0x1050], esi
jb 0x4116c0
mov eax, dword [ebp - 0x1064]
push eax
call fcn.00490a16
add esp, 4
mov eax, 0x503bc8
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.00490a21
mov esp, ebp
pop ebp
ret