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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x544
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 0x540], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], edx
movzx ecx, word [ebp + 8]
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x5282d0
mov eax, dword ds:[edi + 0x3c]
test eax, eax
je 0x5282d0
cmp eax, 0x7fffffff
jae 0x5282d0
cmp dword ds:[edi + eax], 0x4550
lea ebx, [edi + eax]
jne 0x5282d0
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x5282d0
cmp dword [ebx + 0x7c], 0
je 0x5282d0
add eax, edi
mov esi, ecx
mov dword [esp + 0x10], eax
cmp esi, dword [eax + 0x18]
jae 0x52832f
lfence
mov ecx, dword [eax + 0x1c]
add ecx, edi
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x20]
add ecx, edi
mov dword [esp + 0x2c], ecx
mov ecx, edx
lea eax, [eax + esi*4]
mov eax, dword [eax + edi]
add eax, edi
mov edi, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x5280d3
test dl, dl
je 0x5280cf
mov dl, byte ds:[ecx + 1]
cmp dl, byte [eax + 1]
jne 0x5280d3
add ecx, 2
add eax, 2
test dl, dl
jne 0x5280b0
xor eax, eax
jmp 0x5280d8
sbb eax, eax
or eax, 1
jmp 0x5280e0
test eax, eax
jne 0x52832b
mov eax, dword [esp + 0x2c]
lfence
mov ecx, dword [esp + 0x10]
movzx eax, word [eax + esi*2]
mov esi, dword [esp + 0x24]
mov esi, dword [esi + eax*4]
add esi, edi
cmp esi, ecx
jb 0x528311
mov eax, dword [ebx + 0x7c]
add eax, ecx
cmp esi, eax
jae 0x528311
xor eax, eax
push 0x206
lfence
push eax
mov word [esp + 0x140], ax
lea eax, [esp + 0x142]
push eax
call fcn.00580b30
mov ecx, esi
add esp, 0xc
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x528140
lea eax, [esp + 0x138]
sub ecx, edx
push eax
push ecx
push esi
call sym.SystemInformer.exe_PhZeroExtendToUtf16Buffer
lea eax, [esp + 0x138]
push eax
call sym.SystemInformer.exe_PhCountStringZ
add eax, eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x138]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x28]
push eax
push 0x2e
lea eax, [esp + 0x1c]
push eax
call sym.SystemInformer.exe_PhSplitStringRefAtChar
test al, al
je 0x528311
xor eax, eax
push 0x206
push eax
mov word [esp + 0x348], ax
lea eax, [esp + 0x34a]
push eax
call fcn.00580b30
mov edi, dword [esp + 0x30]
add esp, 0xc
test edi, edi
je 0x5281e8
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x5282a3
cmp edi, 0x208
ja 0x5282a3
push edi
lea eax, [esp + 0x344]
push ebx
push eax
call fcn.00580c90
add esp, 0xc
lea eax, [esp + 0x340]
push eax
call sym.SystemInformer.exe_PhLoadLibrary
mov edi, eax
test edi, edi
je 0x528311
push 0x103
lea eax, [esp + 0x35]
mov byte [esp + 0x34], 0
push 0
push eax
call fcn.00580b30
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
add esp, 0xc
mov dword [esp + 0x10], 0
push esi
push ebx
push eax
push 0x104
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.ntdll.dll_RtlUnicodeToUTF8N]
nop
test eax, eax
js 0x5282d0
cmp byte [esp + 0x30], 0x23
jne 0x528302
lea eax, [esp + 0x10]
add ebx, 2
push eax
push 0xa
lea eax, [esp + 0x24]
mov dword [esp + 0x28], ebx
sub esi, 2
push eax
mov dword [esp + 0x28], esi
call sym.SystemInformer.exe_PhStringToInteger64
mov ecx, edi
test al, al
je 0x528304
push dword [esp + 0x10]
xor edx, edx
call fcn.00527ae0
mov esi, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x540]
xor ecx, esp
call fcn.0057e94f
mov esp, ebp
pop ebp
ret 4
push 0x208
lea eax, [esp + 0x344]
push 0
push eax
call fcn.00580b30
add esp, 0xc
test ebx, ebx
jne 0x5282eb
mov edi, edi
call fcn.0058acbb
mov dword [eax], 0x16
call fcn.0058abda
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x540]
xor ecx, esp
call fcn.0057e94f
mov esp, ebp
pop ebp
ret 4
cmp edi, 0x208
jbe 0x5282d0
call fcn.0058acbb
mov dword ds:[eax], 0x22
jmp 0x5282cb
mov ecx, edi
lea edx, [esp + 0x30]
push 0
call fcn.00527ae0
mov esi, eax
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x540]
xor ecx, esp
call fcn.0057e94f
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esp + 0x1c]
push 0
mov ecx, edi
call fcn.00527ae0
mov ecx, dword [esp + 0x54c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0057e94f
mov esp, ebp
pop ebp
ret 4