Function at 0x525ba0
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 0x525e70
mov eax, dword ds:[edi + 0x3c]
test eax, eax
je 0x525e70
cmp eax, 0x7fffffff
jae 0x525e70
cmp dword ds:[edi + eax], 0x4550
lea ebx, [edi + eax]
jne 0x525e70
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x525e70
cmp dword [ebx + 0x7c], 0
je 0x525e70
add eax, edi
mov esi, ecx
mov dword [esp + 0x10], eax
cmp esi, dword [eax + 0x18]
jae 0x525ecf
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 0x525c73
test dl, dl
je 0x525c6f
mov dl, byte ds:[ecx + 1]
cmp dl, byte [eax + 1]
jne 0x525c73
add ecx, 2
add eax, 2
test dl, dl
jne 0x525c50
xor eax, eax
jmp 0x525c78
sbb eax, eax
or eax, 1
jmp 0x525c80
test eax, eax
jne 0x525ecb
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 0x525eb1
mov eax, dword [ebx + 0x7c]
add eax, ecx
cmp esi, eax
jae 0x525eb1
xor eax, eax
push 0x206
lfence
push eax
mov word [esp + 0x140], ax
lea eax, [esp + 0x142]
push eax
call fcn.00581cf0
mov ecx, esi
add esp, 0xc
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x525ce0
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 0x525eb1
xor eax, eax
push 0x206
push eax
mov word [esp + 0x348], ax
lea eax, [esp + 0x34a]
push eax
call fcn.00581cf0
mov edi, dword [esp + 0x30]
add esp, 0xc
test edi, edi
je 0x525d88
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x525e43
cmp edi, 0x208
ja 0x525e43
push edi
lea eax, [esp + 0x344]
push ebx
push eax
call fcn.005831c0
add esp, 0xc
lea eax, [esp + 0x340]
push eax
call sym.SystemInformer.exe_PhLoadLibrary
mov edi, eax
test edi, edi
je 0x525eb1
push 0x103
lea eax, [esp + 0x35]
mov byte [esp + 0x34], 0
push 0
push eax
call fcn.00581cf0
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 0x525e70
cmp byte [esp + 0x30], 0x23
jne 0x525ea2
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 0x525ea4
push dword [esp + 0x10]
xor edx, edx
call fcn.00525660
mov esi, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x540]
xor ecx, esp
call fcn.0057fcaf
mov esp, ebp
pop ebp
ret 4
push 0x208
lea eax, [esp + 0x344]
push 0
push eax
call fcn.00581cf0
add esp, 0xc
test ebx, ebx
jne 0x525e8b
mov edi, edi
call fcn.0058a6a7
mov dword [eax], 0x16
call fcn.0058a5c6
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x540]
xor ecx, esp
call fcn.0057fcaf
mov esp, ebp
pop ebp
ret 4
cmp edi, 0x208
jbe 0x525e70
call fcn.0058a6a7
mov dword ds:[eax], 0x22
jmp 0x525e6b
mov ecx, edi
lea edx, [esp + 0x30]
push 0
call fcn.00525660
mov esi, eax
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x540]
xor ecx, esp
call fcn.0057fcaf
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esp + 0x1c]
push 0
mov ecx, edi
call fcn.00525660
mov ecx, dword [esp + 0x54c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0057fcaf
mov esp, ebp
pop ebp
ret 4