Function at 0x529f60
Capabilities:
Map section object
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
lea eax, [ebp - 0xc]
push ebx
push esi
push edi
push 0x60
push 1
push 1
push 0x80
push 0x100021
push ecx
push eax
call sym.SystemInformer.exe_PhCreateFile
mov ebx, eax
test ebx, ebx
js 0x52a0a4
mov esi, dword [ebp - 0xc]
lea eax, [ebp - 0x30]
push esi
push 0x1000000
push 0x10
push 0
push eax
push 0xd
lea eax, [ebp - 4]
mov dword [ebp - 0x30], 0x18
push eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0x20
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call dword [sym.imp.ntdll.dll_NtCreateSection]
push esi
mov ebx, eax
call dword [sym.imp.ntdll.dll_NtClose]
nop
test ebx, ebx
js 0x52a0a4
push 0x30
lea eax, [ebp - 0x60]
push 0
push eax
call fcn.00582250
add esp, 0xc
lea eax, [ebp - 0x60]
push 0
push 0x30
push eax
push 1
push dword [ebp - 4]
call dword [sym.imp.ntdll.dll_NtQuerySection]
mov ebx, eax
test ebx, ebx
js 0x52a027
cmp dword [ebp - 0x50], 2
jne 0x52a022
test dword ds:[ebp - 0x44], 0x2002
jne 0x52a03c
mov ebx, 0xc000036f
push dword [ebp - 4]
call dword [sym.imp.ntdll.dll_NtClose]
lfence
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10
push 0
push 2
lea eax, [ebp - 0x10]
mov dword [ebp - 8], 0
push eax
push 0
push 0
push 0
lea eax, [ebp - 8]
mov dword [ebp - 0x10], 0
push eax
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.ntdll.dll_NtMapViewOfSection]
push dword [ebp - 4]
mov ebx, eax
call dword [sym.imp.ntdll.dll_NtClose]
cmp ebx, 0x40000003
jne 0x52a087
mov ecx, dword ds:[ebp - 8]
call fcn.00529d00
mov ebx, eax
test ebx, ebx
js 0x52a090
mov edi, dword [ebp - 8]
jmp 0x52a09e
push dword [ebp - 8]
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
mov edi, dword [ebp - 0x18]
mov edi, edi
test ebx, ebx
jns 0x52a0b0
lfence
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, 0x5a4d
cmp word [edi], bx
je 0x52a0c5
mov ebx, 0xc000012f
jmp 0x52a144
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x52a13f
cmp eax, 0x7fffffff
jae 0x52a13f
add eax, edi
mov dword [ebp - 0xc], eax
cmp dword [eax], 0x4550
jne 0x52a13f
mov esi, edi
mov edx, eax
push ecx
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.00529740
mov ebx, eax
test ebx, ebx
js 0x52a144
lfence
mov edx, dword [ebp - 0xc]
push ecx
mov ecx, esi
call fcn.005299c0
mov ebx, eax
test ebx, ebx
js 0x52a144
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x28]
test eax, eax
jne 0x52a11c
mov ebx, 0xc0000139
jmp 0x52a144
mov edi, dword [ebp - 0x14]
xor ebx, ebx
push ebx
add esi, eax
push 1
push edi
mov ecx, esi
lfence
call dword [0x5a38f4]
call esi
test al, al
jne 0x52a191
mov ebx, 0xc0000142
jmp 0x52a144
mov ebx, 0xc000007b
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x52a191
lfence
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x52a191
cmp eax, 0x7fffffff
jae 0x52a191
cmp dword [eax + edi], 0x4550
jne 0x52a191
mov eax, dword [eax + edi + 0x28]
test eax, eax
je 0x52a191
push 0
lea esi, [eax + edi]
push 0
push edi
mov ecx, esi
lfence
call dword [0x5a38f4]
call esi
push edi
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret