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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cx, word [eax]
cmp ecx, 0x5a4d
je 0x46b577
xor eax, eax
jmp 0x46b78e
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx], 0x4550
je 0x46b595
xor eax, eax
jmp 0x46b78e
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov ax, word [edx + 0x14]
cmp eax, 0xe0
jne 0x46b5b6
mov ecx, dword [ebp - 0x2c]
xor edx, edx
mov dx, word [ecx + 0x18]
cmp edx, 0x10b
je 0x46b5bd
xor eax, eax
jmp 0x46b78e
mov eax, dword [ebp + 8]
mov dword [0x49fe08], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x78]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
add eax, dword [edx + 0x7c]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.0046b49b
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x46b606
xor eax, eax
jmp 0x46b78e
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0xc]
sub edx, dword [ecx + 0x14]
mov dword [ebp - 0x18], edx
mov eax, dword [0x49fe08]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.0046b51b
add esp, 0xc
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x78]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
jne 0x46b655
push 0x10
push 0
push 0x450cfc
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x46b78e
mov edx, dword [ebp - 8]
add edx, dword [ebp + 8]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x24]
add ecx, dword [ebp + 8]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x20]
add eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x1c]
add edx, dword [ebp + 8]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
shr ecx, 0x10
and ecx, 0xffff
and ecx, 0xffff
test ecx, ecx
je 0x46b73d
mov dword [ebp - 0x14], 0
jmp 0x46b6b4
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x14]
sub ecx, 1
cmp dword [ebp - 0x14], ecx
ja 0x46b73b
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x46b6d2
jmp 0x46b6ab
mov dword [ebp - 0x1c], 0
jmp 0x46b6e4
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x18]
sub eax, 1
cmp dword [ebp - 0x1c], eax
ja 0x46b736
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
xor eax, eax
mov ax, word [edx + ecx*2]
cmp eax, dword [ebp - 0x14]
jne 0x46b734
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + ecx*4]
add eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
jne 0x46b734
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx + eax*4]
add eax, dword [ebp + 8]
jmp 0x46b78e
jmp 0x46b6db
jmp 0x46b6ab
jmp 0x46b78c
mov dword [ebp - 0x14], 0
jmp 0x46b74f
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x14]
sub ecx, 1
cmp dword [ebp - 0x14], ecx
ja 0x46b78c
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x10]
add eax, dword [ebp - 0x14]
cmp dword [ebp - 0xc], eax
jne 0x46b78a
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
cmp dword [edx + ecx*4], 0
je 0x46b78a
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + eax*4]
shl edx, 6
mov eax, dword [ebp + 8]
add eax, edx
jmp 0x46b78e
jmp 0x46b746
xor eax, eax
mov esp, ebp
pop ebp
ret