Function at 0x474005
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 0x474025
xor eax, eax
jmp 0x4741ff
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 0x474043
xor eax, eax
jmp 0x4741ff
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 4]
cmp eax, 0x14c
jne 0x47405f
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 0x14]
cmp eax, 0xe0
je 0x474066
xor eax, eax
jmp 0x4741ff
mov eax, dword [ebp - 0x1c]
add eax, 0x78
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x47407f
xor eax, eax
jmp 0x4741ff
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 0x47409c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x14], 0
jne 0x4740a3
xor eax, eax
jmp 0x4741ff
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 0x4740dd
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 0x4741cf
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 0x47419c
mov eax, dword [ebp - 0x28]
movsx eax, byte [eax]
test eax, eax
je 0x47419c
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 0x474145
jmp 0x4740fd
movsx eax, byte [ebp - 0x29]
cmp eax, 0x41
jl 0x474161
movsx eax, byte [ebp - 0x29]
cmp eax, 0x5a
jg 0x474161
movsx eax, byte [ebp - 0x29]
or eax, 0x20
mov byte [ebp - 0x29], al
movsx eax, byte [ebp - 0x2a]
cmp eax, 0x41
jl 0x47417d
movsx eax, byte [ebp - 0x2a]
cmp eax, 0x5a
jg 0x47417d
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 0x47418e
jmp 0x4740fd
mov dword [ebp - 0x30], 1
jmp 0x4741b9
mov eax, dword [ebp - 0x24]
movsx eax, byte [eax]
mov ecx, dword [ebp - 0x28]
movsx ecx, byte [ecx]
cmp eax, ecx
je 0x4741b5
mov dword [ebp - 0x30], 1
jmp 0x4741b9
and dword [ebp - 0x30], 0
cmp dword [ebp - 0x30], 0
jne 0x4741ca
mov eax, dword [ebp - 0x18]
movzx eax, word [eax]
mov dword [ebp - 8], eax
jmp 0x4741cf
jmp 0x4740c5
cmp dword [ebp - 8], 0xffffffff
jne 0x4741d9
xor eax, eax
jmp 0x4741ff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 0x14]
jbe 0x4741e8
xor eax, eax
jmp 0x4741ff
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