Function at 0x14ca0
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 0x14ee5
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
jne 0x14ee5
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 0x14ee5
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 0x14cff
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], ecx
jmp 0x14d0f
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00014bf0
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 0x14d2b
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x30], ecx
jmp 0x14d3e
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00014bf0
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 0x14d5a
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x24]
mov dword [ebp - 0x34], edx
jmp 0x14d6d
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x24]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00014bf0
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 0x14d89
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x38], eax
jmp 0x14d9c
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x20]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00014bf0
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 0x14dc2
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 0x14ee5
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 0x14e02
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 0x14ee0
movzx eax, byte [ebp - 5]
test eax, eax
je 0x14e35
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
jne 0x14e31
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.00014bf0
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 0x14e8a
cmp byte [ebp - 0x41], 0
je 0x14e81
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 0x14e8a
add dword [ebp - 0x40], 2
add dword [ebp - 0x3c], 2
cmp byte [ebp - 0x42], 0
jne 0x14e4d
mov dword [ebp - 0x48], 0
jmp 0x14e92
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 0x14ee0
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x14ebb
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 0x14ed8
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.00014bf0
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x50]
jmp 0x14ee7
jmp 0x14db9
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10