Function at 0x149c0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
cmp dword [ebp + 8], 0
je 0x14c05
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
jne 0x14c05
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x3c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp dword [ecx], 0x4550
jne 0x14c05
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x7c]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x78]
mov dword [ebp - 0x28], edx
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x14a1f
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], ecx
jmp 0x14a2f
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00014910
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x2c]
mov dword [ebp - 0xc], ecx
movzx edx, byte [ebp + 0x10]
test edx, edx
je 0x14a4b
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x30], ecx
jmp 0x14a5e
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00014910
mov dword [ebp - 0x30], eax
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], edx
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x14a7a
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x24]
mov dword [ebp - 0x34], edx
jmp 0x14a8d
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x24]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00014910
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
je 0x14aa9
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x38], eax
jmp 0x14abc
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x20]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00014910
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x38]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], 0
mov byte [ebp - 5], 1
mov dword [ebp - 0x10], 0
jmp 0x14ae2
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [eax + 0x18]
jae 0x14c05
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x24]
movzx ecx, word [eax + edx*2]
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + ecx*4]
cmp eax, dword [ebp - 0x28]
jb 0x14b22
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
movzx eax, word [edx + ecx*2]
mov ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
cmp dword [edx + eax*4], ecx
jb 0x14c00
movzx eax, byte [ebp - 5]
test eax, eax
je 0x14b55
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
jne 0x14b51
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + edx*4]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00014910
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
sub eax, dword [edx + ecx*4]
mov dword [ebp - 0x18], eax
mov byte [ebp - 5], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax*4]
add edx, dword [ebp - 0x18]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dl, byte [ecx]
mov byte [ebp - 0x41], dl
mov eax, dword [ebp - 0x3c]
cmp dl, byte [eax]
jne 0x14baa
cmp byte [ebp - 0x41], 0
je 0x14ba1
mov ecx, dword [ebp - 0x40]
mov dl, byte [ecx + 1]
mov byte [ebp - 0x42], dl
mov eax, dword [ebp - 0x3c]
cmp dl, byte [eax + 1]
jne 0x14baa
add dword [ebp - 0x40], 2
add dword [ebp - 0x3c], 2
cmp byte [ebp - 0x42], 0
jne 0x14b6d
mov dword [ebp - 0x48], 0
jmp 0x14bb2
sbb ecx, ecx
sbb ecx, 0xffffffff
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], edx
cmp dword [ebp - 0x4c], 0
jne 0x14c00
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x14bdb
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
movzx eax, word [edx + ecx*2]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0x50], edx
jmp 0x14bf8
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + edx*4]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00014910
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x50]
jmp 0x14c07
jmp 0x14ad9
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc