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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65fef8
push 0x617770
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 4
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.kernel32.dll_IsBadReadPtr]
test eax, eax
je 0x54f30b
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x3c], edi
cmp word [edi], 0x5a4d
je 0x54f33c
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi + 0x3c]
add eax, edi
mov dword [ebp - 0x44], eax
cmp dword [eax], 0x4550
je 0x54f368
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [ebp - 0x30], edx
cmp word [eax + 0x18], 0x20b
jne 0x54f37e
mov dword [ebp - 0x50], eax
mov eax, dword [eax + 0x88]
jmp 0x54f381
mov eax, dword [eax + 0x78]
mov dword [ebp - 0x30], eax
cmp eax, edx
jne 0x54f3a4
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [ebp - 0x38], edx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x28], ecx
cmp byte [ecx], 0
je 0x54f3de
inc ecx
mov dword [ebp - 0x28], ecx
inc edx
mov dword [ebp - 0x38], edx
cmp edx, 0x100
jb 0x54f3ad
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea esi, [eax + edi]
mov dword [ebp - 0x4c], esi
mov ebx, dword [esi + 0x20]
add ebx, edi
mov dword [ebp - 0x34], ebx
push 4
push ebx
call dword [sym.imp.kernel32.dll_IsBadReadPtr]
test eax, eax
je 0x54f415
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov byte [ebp - 0x48], 0
mov dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x40]
cmp eax, dword [esi + 0x18]
jae 0x54f4b1
mov esi, dword [ebx]
add esi, edi
mov dword [ebp - 0x5c], esi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x28], edi
push 4
push esi
call dword [sym.imp.kernel32.dll_IsBadReadPtr]
test eax, eax
je 0x54f462
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov byte [ebp - 0x58], 1
xor eax, eax
mov dword [ebp - 0x54], eax
cmp eax, dword [ebp - 0x38]
jae 0x54f47f
xor ecx, ecx
mov cl, byte [esi]
movsx edx, byte [edi]
sub ecx, edx
je 0x54f492
mov byte [ebp - 0x58], 0
mov al, byte [ebp - 0x58]
test al, al
je 0x54f49d
mov byte [ebp - 0x48], 1
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 0x4c]
jmp 0x54f4b1
inc esi
mov dword [ebp - 0x5c], esi
inc edi
mov dword [ebp - 0x28], edi
inc eax
jmp 0x54f468
add ebx, 4
mov dword [ebp - 0x34], ebx
inc dword [ebp - 0x40]
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 0x4c]
jmp 0x54f420
mov al, byte [ebp - 0x48]
test al, al
jne 0x54f4d4
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi + 0x24]
add eax, edi
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x40]
lea ecx, [eax + ecx*2]
mov dword [ebp - 0x2c], ecx
mov eax, dword [esi + 0x1c]
add eax, edi
mov dword [ebp - 0x24], eax
xor edx, edx
mov dx, word [ecx]
lea eax, [eax + edx*4]
mov dword [ebp - 0x24], eax
mov eax, dword [eax]
add eax, edi
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8