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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xc84018
push 0xbe2b14
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ecx
sub esp, 0x5c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
jmp 0x458590
and dword [ebp - 0x20], 0
and dword [ebp - 0x1c], 0
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x45879a
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
cmp dword [eax], 0x4550
jne 0x45879a
and dword [ebp - 0x30], 0
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x28]
movzx eax, word [eax + 0x18]
cmp eax, 0x20b
jne 0x458604
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x88]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x8c]
mov dword [ebp - 0x2c], eax
jmp 0x458616
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x78]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x7c]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x30], 0
je 0x45879a
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x40], eax
and dword [ebp - 0x3c], 0
cmp dword [ebp + 0xc], 0x10000
jae 0x458648
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
jmp 0x458777
and dword [ebp - 0x50], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
movsx eax, byte [eax]
test eax, eax
je 0x458685
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x100
jb 0x458683
and dword [ebp - 0x68], 0
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x68]
jmp 0x4587f8
jmp 0x458652
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x4c], ecx
and byte [ebp - 0x54], 0
and dword [ebp - 0x3c], 0
jmp 0x4586a2
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [eax + 0x18]
jae 0x45873e
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp + 8]
add ecx, dword [eax]
mov dword [ebp - 0x60], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
push 4
push dword [ebp - 0x60]
call dword [sym.imp.kernel32.dll_IsBadReadPtr]
test eax, eax
je 0x4586e1
and dword [ebp - 0x6c], 0
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x6c]
jmp 0x4587f8
mov byte [ebp - 0x5c], 1
and dword [ebp - 0x58], 0
jmp 0x4586f2
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x50]
jae 0x458722
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
mov ecx, dword [ebp - 0x44]
movsx ecx, byte [ecx]
sub eax, ecx
test eax, eax
je 0x458712
and byte [ebp - 0x5c], 0
jmp 0x458722
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
jmp 0x4586eb
movzx eax, byte [ebp - 0x5c]
test eax, eax
je 0x458730
mov byte [ebp - 0x54], 1
jmp 0x45873e
mov eax, dword [ebp - 0x4c]
add eax, 4
mov dword [ebp - 0x4c], eax
jmp 0x45869b
movzx eax, byte [ebp - 0x54]
test eax, eax
jne 0x458756
and dword [ebp - 0x70], 0
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x70]
jmp 0x4587f8
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x48]
lea eax, [ecx + eax*2]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
movzx eax, word [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp + 8]
add ecx, dword [eax]
mov dword [ebp - 0x20], ecx
or dword [ebp - 4], 0xffffffff
jmp 0x4587a0
jmp 0x4587f5
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 8