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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6e4f80
push 0x694930
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 0x574acb
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 0x574afc
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 0x574b28
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 0x574b3e
mov dword [ebp - 0x50], eax
mov eax, dword [eax + 0x88]
jmp 0x574b41
mov eax, dword [eax + 0x78]
mov dword [ebp - 0x30], eax
cmp eax, edx
jne 0x574b64
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 0x574b9e
inc ecx
mov dword [ebp - 0x28], ecx
inc edx
mov dword [ebp - 0x38], edx
cmp edx, 0x100
jb 0x574b6d
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 0x574bd5
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 0x574c71
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 0x574c22
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 0x574c3f
xor ecx, ecx
mov cl, byte [esi]
movsx edx, byte [edi]
sub ecx, edx
je 0x574c52
mov byte [ebp - 0x58], 0
mov al, byte [ebp - 0x58]
test al, al
je 0x574c5d
mov byte [ebp - 0x48], 1
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 0x4c]
jmp 0x574c71
inc esi
mov dword [ebp - 0x5c], esi
inc edi
mov dword [ebp - 0x28], edi
inc eax
jmp 0x574c28
add ebx, 4
mov dword [ebp - 0x34], ebx
inc dword [ebp - 0x40]
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 0x4c]
jmp 0x574be0
mov al, byte [ebp - 0x48]
test al, al
jne 0x574c94
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