Function at 0x5291a0
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 [0x62e040]
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 0x529470
mov eax, dword ds:[edi + 0x3c]
test eax, eax
je 0x529470
cmp eax, 0x7fffffff
jae 0x529470
cmp dword ds:[edi + eax], 0x4550
lea ebx, [edi + eax]
jne 0x529470
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x529470
cmp dword [ebx + 0x7c], 0
je 0x529470
add eax, edi
mov esi, ecx
mov dword [esp + 0x10], eax
cmp esi, dword [eax + 0x18]
jae 0x5294cf
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 0x529273
test dl, dl
je 0x52926f
mov dl, byte ds:[ecx + 1]
cmp dl, byte [eax + 1]
jne 0x529273
add ecx, 2
add eax, 2
test dl, dl
jne 0x529250
xor eax, eax
jmp 0x529278
sbb eax, eax
or eax, 1
jmp 0x529280
test eax, eax
jne 0x5294cb
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 0x5294b1
mov eax, dword [ebx + 0x7c]
add eax, ecx
cmp esi, eax
jae 0x5294b1
xor eax, eax
push 0x206
lfence
push eax
mov word [esp + 0x140], ax
lea eax, [esp + 0x142]
push eax
call fcn.00582250
mov ecx, esi
add esp, 0xc
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5292e0
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 0x5294b1
xor eax, eax
push 0x206
push eax
mov word [esp + 0x348], ax
lea eax, [esp + 0x34a]
push eax
call fcn.00582250
mov edi, dword [esp + 0x30]
add esp, 0xc
test edi, edi
je 0x529388
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x529443
cmp edi, 0x208
ja 0x529443
push edi
lea eax, [esp + 0x344]
push ebx
push eax
call fcn.005823b0
add esp, 0xc
lea eax, [esp + 0x340]
push eax
call sym.SystemInformer.exe_PhLoadLibrary
mov edi, eax
test edi, edi
je 0x5294b1
push 0x103
lea eax, [esp + 0x35]
mov byte [esp + 0x34], 0
push 0
push eax
call fcn.00582250
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 0x529470
cmp byte [esp + 0x30], 0x23
jne 0x5294a2
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 0x5294a4
push dword [esp + 0x10]
xor edx, edx
call fcn.00528c80
mov esi, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x540]
xor ecx, esp
call fcn.005802ef
mov esp, ebp
pop ebp
ret 4
push 0x208
lea eax, [esp + 0x344]
push 0
push eax
call fcn.00582250
add esp, 0xc
test ebx, ebx
jne 0x52948b
mov edi, edi
call fcn.0058c1cc
mov dword [eax], 0x16
call fcn.0058c0eb
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x540]
xor ecx, esp
call fcn.005802ef
mov esp, ebp
pop ebp
ret 4
cmp edi, 0x208
jbe 0x529470
call fcn.0058c1cc
mov dword ds:[eax], 0x22
jmp 0x52946b
mov ecx, edi
lea edx, [esp + 0x30]
push 0
call fcn.00528c80
mov esi, eax
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x540]
xor ecx, esp
call fcn.005802ef
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esp + 0x1c]
push 0
mov ecx, edi
call fcn.00528c80
mov ecx, dword [esp + 0x54c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005802ef
mov esp, ebp
pop ebp
ret 4