Function at 0x5294e0
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
mov esi, ecx
mov dword [esp + 0x18], edx
movzx ecx, word [ebp + 8]
mov eax, 0x5a4d
push edi
cmp word [esi], ax
jne 0x5297b0
mov eax, dword ds:[esi + 0x3c]
test eax, eax
je 0x5297b0
cmp eax, 0x7fffffff
jae 0x5297b0
cmp dword ds:[esi + eax], 0x4550
lea ebx, [esi + eax]
jne 0x5297b0
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x5297b0
cmp dword [ebx + 0x7c], 0
je 0x5297b0
add eax, esi
mov edi, ecx
mov dword [esp + 0x10], eax
cmp edi, dword [eax + 0x18]
jae 0x52980f
lfence
mov ecx, dword [eax + 0x1c]
add ecx, esi
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x20]
add ecx, esi
mov dword [esp + 0x2c], ecx
mov ecx, edx
lea eax, [eax + edi*4]
mov eax, dword [eax + esi]
add eax, esi
nop
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x5295b3
test dl, dl
je 0x5295af
mov dl, byte ds:[ecx + 1]
cmp dl, byte [eax + 1]
jne 0x5295b3
add ecx, 2
add eax, 2
test dl, dl
jne 0x529590
xor eax, eax
jmp 0x5295b8
sbb eax, eax
or eax, 1
nop dword [eax + eax]
test eax, eax
jne 0x52980b
mov eax, dword [esp + 0x2c]
lfence
mov ecx, dword [esp + 0x10]
movzx eax, word [eax + edi*2]
mov edi, dword [esp + 0x24]
mov edi, dword [edi + eax*4]
add edi, esi
cmp edi, ecx
jb 0x5297f1
mov eax, dword [ebx + 0x7c]
add eax, ecx
cmp edi, eax
jae 0x5297f1
xor eax, eax
push 0x206
lfence
push eax
mov word [esp + 0x348], ax
lea eax, [esp + 0x34a]
push eax
call fcn.005861b0
mov esi, edi
add esp, 0xc
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x529620
lea eax, [esp + 0x340]
sub esi, ecx
push eax
push esi
push edi
call sym.SystemInformer.exe_Ordinal_1461
lea eax, ds:[esi + esi]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x340]
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_Ordinal_1446
test al, al
je 0x5297f1
xor eax, eax
push 0x206
push eax
mov word [esp + 0x140], ax
lea eax, [esp + 0x142]
push eax
call fcn.005861b0
mov esi, dword [esp + 0x30]
add esp, 0xc
test esi, esi
je 0x5296c8
mov ebx, dword ds:[esp + 0x28]
test ebx, ebx
je 0x529783
cmp esi, 0x208
ja 0x529783
push esi
lea eax, [esp + 0x13c]
push ebx
push eax
call fcn.00586310
add esp, 0xc
lea eax, [esp + 0x138]
push eax
call sym.SystemInformer.exe_Ordinal_1677
mov esi, eax
test esi, esi
je 0x5297f1
push 0x103
lea eax, [esp + 0x35]
mov byte [esp + 0x34], 0
push 0
push eax
call fcn.005861b0
mov edi, dword [esp + 0x28]
lea eax, [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
add esp, 0xc
mov dword [esp + 0x10], 0
push edi
push ebx
push eax
push 0x104
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.ntdll.dll_RtlUnicodeToUTF8N]
nop
test eax, eax
js 0x5297b0
cmp byte [esp + 0x30], 0x23
jne 0x5297e2
lea eax, [esp + 0x10]
add ebx, 2
push eax
push 0xa
lea eax, [esp + 0x24]
mov dword [esp + 0x28], ebx
sub edi, 2
push eax
mov dword [esp + 0x28], edi
call sym.SystemInformer.exe_Ordinal_1451
mov ecx, esi
test al, al
je 0x5297e4
push dword [esp + 0x10]
xor edx, edx
call fcn.00528e80
mov edi, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x540]
xor ecx, esp
call fcn.00583f7f
mov esp, ebp
pop ebp
ret 4
push 0x208
lea eax, [esp + 0x13c]
push 0
push eax
call fcn.005861b0
add esp, 0xc
test ebx, ebx
jne 0x5297cb
nop
call fcn.0059066b
mov dword [eax], 0x16
call fcn.005904ed
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x540]
xor ecx, esp
call fcn.00583f7f
mov esp, ebp
pop ebp
ret 4
cmp esi, 0x208
jbe 0x5297b0
call fcn.0059066b
mov dword ds:[eax], 0x22
jmp 0x5297ab
mov ecx, esi
lea edx, [esp + 0x30]
push 0
call fcn.00528e80
mov edi, eax
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x540]
xor ecx, esp
call fcn.00583f7f
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esp + 0x1c]
push 0
mov ecx, esi
call fcn.00528e80
mov ecx, dword [esp + 0x54c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00583f7f
mov esp, ebp
pop ebp
ret 4