Function at 0x44016c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
push edx
pop ebx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov byte [ebp - 9], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
cmp ebx, 0x40
jl 0x44038a
mov eax, dword [ebp - 0x10]
cmp word [eax], 0x5a4d
jne 0x44038a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
push eax
pop edx
add edx, 0xf8
cmp ebx, edx
jl 0x44038a
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0x4550
jne 0x44038a
mov eax, dword [ebp - 0x14]
mov ax, word [eax + 0x16]
test ah, 0x20
jne 0x44038a
test al, 2
je 0x44038a
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x14]
cmp eax, 0xe0
jne 0x44038a
mov eax, dword [ebp - 0x14]
add eax, 0xf8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
push ebx
pop edx
mov eax, dword [ebp - 0x10]
call fcn.00440080
mov dword [edi], eax
cmp dword [edi], 0
je 0x44038a
push 0x40
push 0x1000
mov eax, dword [edi]
push eax
push 0
call fcn.004072dc
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
je 0x44038a
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x54]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
movzx edi, word [eax + 6]
dec edi
or edi, edi
jl 0x440274
inc edi
sub ebx, ebx
lea eax, [ebx + ebx*4]
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + eax*8 + 0x14]
or eax, eax
je 0x440270
cmp eax, dword [ebp - 0x1c]
jae 0x440270
mov dword [ebp - 0x1c], eax
inc ebx
dec edi
jne 0x44025a
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
call fcn.00402c14
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
add eax, dword [edx + 0x3c]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
add eax, 0xf8
mov dword [esi], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [eax + 0x38]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x54]
call fcn.0044006c
mov edx, dword [ebp + 0xc]
add eax, dword [edx]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
movzx edi, word [eax + 6]
dec edi
or edi, edi
jl 0x440386
inc edi
sub ebx, ebx
lea eax, [ebx + ebx*4]
mov edx, dword [esi]
mov eax, dword [edx + eax*8 + 0xc]
or eax, eax
je 0x4402e9
mov edx, dword [ebp + 0xc]
add eax, dword [edx]
mov dword [ebp - 0x20], eax
lea eax, [ebx + ebx*4]
mov edx, dword [esi]
cmp dword [edx + eax*8 + 0x10], 0
je 0x440362
lea eax, [ebx + ebx*4]
mov edx, dword [esi]
mov ecx, dword [edx + eax*8 + 0x10]
lea eax, [ebx + ebx*4]
mov edx, dword [esi]
mov eax, dword [edx + eax*8 + 0x14]
add eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x20]
call fcn.00402c14
lea eax, [ebx + ebx*4]
mov edx, dword [esi]
mov eax, dword [edx + eax*8 + 8]
lea edx, [ebx + ebx*4]
mov ecx, dword [esi]
cmp eax, dword [ecx + edx*8 + 0x10]
jae 0x440344
lea eax, [ebx + ebx*4]
mov edx, dword [esi]
mov eax, dword [edx + eax*8 + 0x10]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov edx, dword [edx + 0x38]
call fcn.0044006c
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
jmp 0x44037e
lea eax, [ebx + ebx*4]
mov edx, dword [esi]
mov eax, dword [edx + eax*8 + 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov edx, dword [edx + 0x38]
call fcn.0044006c
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
jmp 0x44037e
lea eax, [ebx + ebx*4]
mov edx, dword [esi]
mov eax, dword [edx + eax*8 + 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov edx, dword [edx + 0x38]
call fcn.0044006c
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
inc ebx
dec edi
jne 0x4402d4
mov byte [ebp - 9], 1
mov al, byte [ebp - 9]
pop edi
pop esi
pop ebx
push ebp
pop esp
pop ebp
ret 0xc