Function at 0x4e1400
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
cmp dword [ebp + 8], 0
jne 0x4e1416
mov eax, 0xfffffff9
jmp 0x4e1663
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
xor edx, edx
mov dx, word [ecx]
cmp edx, 0x5a4d
je 0x4e1434
or eax, 0xffffffff
jmp 0x4e1663
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
cmp dword [edx], 0x4550
je 0x4e1455
mov eax, 0xfffffffe
jmp 0x4e1663
push 4
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov cx, word [eax + 6]
push ecx
call fcn.004e8477
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4e147c
mov eax, 0xfffffffd
jmp 0x4e1663
push 4
mov edx, dword [ebp - 0x20]
xor eax, eax
mov ax, word [edx + 6]
push eax
call fcn.004e8477
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4e14a3
mov eax, 0xfffffffc
jmp 0x4e1663
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx + 0x14]
mov eax, dword [ebp - 0x20]
lea ecx, [eax + edx + 0x18]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], 0
jmp 0x4e14c8
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov cx, word [eax + 6]
cmp dword [ebp - 0x28], ecx
jge 0x4e14ff
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx*4], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x14]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0xc]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 0x14]
add eax, 0x28
mov dword [ebp - 0x14], eax
jmp 0x4e14bf
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x80]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx + 6]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.004e1110
add esp, 0xc
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x4e153f
mov eax, 0xfffffffb
jmp 0x4e1663
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x34]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call fcn.004e1ac0
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov cx, word [eax + 6]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004e16e0
add esp, 0x14
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x4e158c
mov eax, 0xfffffffa
jmp 0x4e1663
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x78]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov cx, word [eax + 6]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.004e1110
add esp, 0xc
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x4e15f8
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx + 6]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004e1b70
add esp, 0x10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4e15f6
mov eax, 0xfffffff7
jmp 0x4e1663
jmp 0x4e15ff
mov dword [ebp - 0x10], 0
cmp dword [ebp + 0xc], 0
je 0x4e160d
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
cmp dword [ebp + 0x10], 0
je 0x4e161b
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x20]
mov dword [edx], eax
cmp dword [ebp + 0x14], 0
je 0x4e1629
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x18]
mov dword [ecx], edx
cmp dword [ebp + 0x18], 0
je 0x4e1637
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
cmp dword [ebp + 0x1c], 0
je 0x4e1645
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x2c]
mov dword [edx], eax
cmp dword [ebp + 0x24], 0
je 0x4e1653
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
cmp dword [ebp + 0x20], 0
je 0x4e1661
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret