Function at 0x48a005
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 0x48a025
xor eax, eax
jmp 0x48a1ff
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 0x48a043
xor eax, eax
jmp 0x48a1ff
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 4]
cmp eax, 0x14c
jne 0x48a05f
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 0x14]
cmp eax, 0xe0
je 0x48a066
xor eax, eax
jmp 0x48a1ff
mov eax, dword [ebp - 0x1c]
add eax, 0x78
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x48a07f
xor eax, eax
jmp 0x48a1ff
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 0x48a09c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x14], 0
jne 0x48a0a3
xor eax, eax
jmp 0x48a1ff
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 0x48a0dd
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 0x48a1cf
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 0x48a19c
mov eax, dword [ebp - 0x28]
movsx eax, byte [eax]
test eax, eax
je 0x48a19c
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 0x48a145
jmp 0x48a0fd
movsx eax, byte [ebp - 0x29]
cmp eax, 0x41
jl 0x48a161
movsx eax, byte [ebp - 0x29]
cmp eax, 0x5a
jg 0x48a161
movsx eax, byte [ebp - 0x29]
or eax, 0x20
mov byte [ebp - 0x29], al
movsx eax, byte [ebp - 0x2a]
cmp eax, 0x41
jl 0x48a17d
movsx eax, byte [ebp - 0x2a]
cmp eax, 0x5a
jg 0x48a17d
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 0x48a18e
jmp 0x48a0fd
mov dword [ebp - 0x30], 1
jmp 0x48a1b9
mov eax, dword [ebp - 0x24]
movsx eax, byte [eax]
mov ecx, dword [ebp - 0x28]
movsx ecx, byte [ecx]
cmp eax, ecx
je 0x48a1b5
mov dword [ebp - 0x30], 1
jmp 0x48a1b9
and dword [ebp - 0x30], 0
cmp dword [ebp - 0x30], 0
jne 0x48a1ca
mov eax, dword [ebp - 0x18]
movzx eax, word [eax]
mov dword [ebp - 8], eax
jmp 0x48a1cf
jmp 0x48a0c5
cmp dword [ebp - 8], 0xffffffff
jne 0x48a1d9
xor eax, eax
jmp 0x48a1ff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 0x14]
jbe 0x48a1e8
xor eax, eax
jmp 0x48a1ff
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