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

Disassembly:
push ebp
lea ebp, [esp - 0x84]
sub esp, 0x84
push 0xfffffffffffffffe
push 0x50a398
push 0x4b7620
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x52e144]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x80], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, dword [ebp + 0x8c]
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x4ab16c
xor esi, esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 4], esi
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x4ab165
mov eax, dword [edi + 0x3c]
add eax, edi
cmp dword [eax], 0x4550
jne 0x4ab165
mov ecx, 0x20b
cmp word [eax + 0x18], cx
jne 0x4ab116
mov ecx, dword [eax + 0x88]
mov edx, dword [eax + 0x8c]
jmp 0x4ab11c
mov ecx, dword [eax + 0x78]
mov edx, dword [eax + 0x7c]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x20], ecx
cmp ecx, esi
je 0x4ab165
mov dword [ebp - 0x1c], esi
mov ebx, dword [ebp + 0x90]
cmp ebx, 0x10000
jae 0x4ab142
mov dword [ebp - 0x1c], ebx
lea eax, [ebx - 1]
jmp 0x4ab200
xor edx, edx
mov dword [ebp - 0x30], edx
mov eax, ebx
mov dword [ebp - 0x24], eax
lea esp, [esp]
cmp byte [eax], 0
je 0x4ab173
inc eax
mov dword [ebp - 0x24], eax
inc edx
mov dword [ebp - 0x30], edx
cmp edx, 0x100
jb 0x4ab150
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x4ab28c
mov eax, dword [edi + ecx + 0x20]
add eax, edi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], esi
nop
mov edx, dword [ebp - 0x1c]
cmp edx, dword [edi + ecx + 0x18]
jae 0x4ab1da
mov esi, dword [eax]
add esi, edi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x24], ebx
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x4ab165
mov dword [ebp - 0x44], eax
cmp eax, dword [ebp - 0x30]
jae 0x4ab1bd
movsx ecx, byte [ebx]
movzx edx, byte [esi]
sub edx, ecx
jne 0x4ab1c3
inc esi
mov dword [ebp - 0x40], esi
inc ebx
mov dword [ebp - 0x24], ebx
inc eax
jmp 0x4ab1a0
mov al, 1
test al, al
jne 0x4ab1ec
add dword [ebp - 0x2c], 4
inc dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
xor esi, esi
mov ebx, dword [ebp + 0x90]
mov eax, dword [ebp - 0x2c]
jmp 0x4ab180
xor al, al
jne 0x4ab1f1
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x4ab28c
mov ecx, dword [ebp - 0x20]
xor esi, esi
mov eax, dword [edi + ecx + 0x24]
mov edx, dword [ebp - 0x1c]
lea eax, [eax + edx*2]
add eax, edi
movzx eax, word [eax]
mov dword [ebp - 0x1c], eax
mov edx, dword [edi + ecx + 0x1c]
lea eax, [edx + eax*4]
add eax, edi
mov eax, dword [eax]
add eax, edi
mov dword [ebp - 0x28], eax
lea edx, [edi + ecx]
cmp eax, edx
jb 0x4ab265
mov edx, dword [ebp - 0x34]
add edi, edx
add edi, ecx
cmp eax, edi
jae 0x4ab265
lea edx, [ebp]
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x4ab228
push 0x50e4dc
lea eax, [ebp]
push eax
call fcn.004b9929
add esp, 8
mov dword [ebp - 0x38], eax
cmp eax, esi
je 0x4ab251
mov byte [eax], 0
inc eax
mov dword [ebp - 0x38], eax
push eax
lea ecx, [ebp]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call fcn.004ab080
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0xfffffffe
jmp 0x4ab28c
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x80]
xor ecx, ebp
call fcn.004b6da3
add ebp, 0x84
mov esp, ebp
pop ebp
ret 8