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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x7e4025
xor eax, eax
jmp 0x7e41ff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0x4550
je 0x7e4043
xor eax, eax
jmp 0x7e41ff
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 4]
cmp eax, 0x14c
jne 0x7e405f
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 0x14]
cmp eax, 0xe0
je 0x7e4066
xor eax, eax
jmp 0x7e41ff
mov eax, dword [ebp - 0x1c]
add eax, 0x78
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x7e407f
xor eax, eax
jmp 0x7e41ff
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
add ecx, dword [eax]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0
je 0x7e409c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x14], 0
jne 0x7e40a3
xor eax, eax
jmp 0x7e41ff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x18], ecx
or dword [ebp - 8], 0xffffffff
and dword [ebp - 0x20], 0
jmp 0x7e40dd
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
add eax, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
inc eax
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax + 0x18]
jae 0x7e41cf
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
add ecx, dword [eax]
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x24]
movsx eax, byte [eax]
test eax, eax
je 0x7e419c
mov eax, dword [ebp - 0x28]
movsx eax, byte [eax]
test eax, eax
je 0x7e419c
mov eax, dword [ebp - 0x24]
mov al, byte [eax]
mov byte [ebp - 0x29], al
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
mov al, byte [eax]
mov byte [ebp - 0x2a], al
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
movsx eax, byte [ebp - 0x29]
movsx ecx, byte [ebp - 0x2a]
cmp eax, ecx
jne 0x7e4145
jmp 0x7e40fd
movsx eax, byte [ebp - 0x29]
cmp eax, 0x41
jl 0x7e4161
movsx eax, byte [ebp - 0x29]
cmp eax, 0x5a
jg 0x7e4161
movsx eax, byte [ebp - 0x29]
or eax, 0x20
mov byte [ebp - 0x29], al
movsx eax, byte [ebp - 0x2a]
cmp eax, 0x41
jl 0x7e417d
movsx eax, byte [ebp - 0x2a]
cmp eax, 0x5a
jg 0x7e417d
movsx eax, byte [ebp - 0x2a]
or eax, 0x20
mov byte [ebp - 0x2a], al
movsx eax, byte [ebp - 0x29]
movsx ecx, byte [ebp - 0x2a]
cmp eax, ecx
jne 0x7e418e
jmp 0x7e40fd
mov dword [ebp - 0x30], 1
jmp 0x7e41b9
mov eax, dword [ebp - 0x24]
movsx eax, byte [eax]
mov ecx, dword [ebp - 0x28]
movsx ecx, byte [ecx]
cmp eax, ecx
je 0x7e41b5
mov dword [ebp - 0x30], 1
jmp 0x7e41b9
and dword [ebp - 0x30], 0
cmp dword [ebp - 0x30], 0
jne 0x7e41ca
mov eax, dword [ebp - 0x18]
movzx eax, word [eax]
mov dword [ebp - 8], eax
jmp 0x7e41cf
jmp 0x7e40c5
cmp dword [ebp - 8], 0xffffffff
jne 0x7e41d9
xor eax, eax
jmp 0x7e41ff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 0x14]
jbe 0x7e41e8
xor eax, eax
jmp 0x7e41ff
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x1c]
mov ecx, dword [ebp - 8]
lea eax, [eax + ecx*4]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax]
mov eax, edx
leave
ret