Function at 0x140006ec8
Capabilities:
Get file attributes
Map section object
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xf8]
sub rsp, 0x1d0
mov rbx, qword [0x140052018]
mov r14, rcx
xor r13d, r13d
jmp 0x140006f14
lea rcx, [rbx + 0x10]
mov rdx, r14
call sub.ntoskrnl.exe__wcsicmp
test eax, eax
je 0x1400071c0
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140006efd
mov rcx, qword [0x140052050]
mov r15d, 0x88
mov edx, r15d
xor r8d, r8d
call fcn.140014c70
mov rbx, rax
test rax, rax
jne 0x140006f46
mov edi, 0xc000009a
lea edx, [rax + 0x11]
jmp 0x1400071ad
mov r8, r15
xor edx, edx
mov rcx, rbx
call fcn.140027ec0
mov rdx, rbx
mov rcx, r14
sub rdx, r14
movzx eax, word [rcx]
mov word [rdx + rcx + 0x10], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x140006f5c
mov rax, qword [0x140035158]
lea r8, [0x140028ae0]
mov r9, r14
mov qword [rsp + 0x20], rax
mov edx, pe_nt_image_headers64
lea rcx, [rbp - 0x30]
call fcn.1400038d4
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov dword [rsp + 0x50], r13d
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], r13
lea rsi, [rbx + 0x50]
mov dword [rsp + 0x40], 0x60
lea r9, [rsp + 0x70]
mov dword [rsp + 0x38], 1
lea r8, [rbp - 0x68]
mov dword [rsp + 0x30], 7
xorps xmm0, xmm0
mov dword [rsp + 0x28], r13d
mov edx, 0x120089
mov rcx, rsi
mov qword [rsp + 0x20], r13
mov dword [rbp - 0x68], 0x30
mov qword [rbp - 0x60], r13
mov dword [rbp - 0x50], 0x40
mov qword [rbp - 0x58], rax
movdqu xmmword [rbp - 0x48], xmm0
call qword [sym.imp.ntoskrnl.exe_ZwCreateFile]
mov edi, eax
test eax, eax
jns 0x14000701d
mov qword [rsi], r13
mov edx, 0x12
jmp 0x1400071ad
lfence
mov rcx, qword [rsi]
lea r8, [rbp - 0x80]
mov r9d, 0x18
mov dword [rsp + 0x20], 5
lea rdx, [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
mov edi, eax
test eax, eax
jns 0x140007050
mov edx, 0x13
jmp 0x1400071ad
lfence
mov rax, qword [rsi]
lea r12, [rbx + 0x58]
mov qword [rsp + 0x30], rax
lea r9, [rbp - 0x78]
xor r8d, r8d
mov dword [rsp + 0x28], 0x4000000
mov rcx, r12
mov dword [rsp + 0x20], 2
lea edx, [r8 + 5]
call qword [sym.imp.ntoskrnl.exe_ZwCreateSection]
mov edi, eax
test eax, eax
jns 0x140007097
mov qword [r12], r13
mov edx, 0x14
jmp 0x1400071ad
lfence
mov dword [rsp + 0x48], 2
lea rsi, [rbx + 0x70]
mov dword [rsp + 0x40], r13d
xor r9d, r9d
mov qword [rsi], r13
mov r8, rsi
mov rax, qword [rbp - 0x78]
or rdx, 0xffffffffffffffff
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x108]
mov rcx, qword [r12]
mov dword [rsp + 0x38], 2
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
call qword [sym.imp.ntoskrnl.exe_ZwMapViewOfSection]
mov edi, eax
test eax, eax
jns 0x1400070fe
mov qword [rsi], r13
mov edx, 0x15
jmp 0x1400071ad
lfence
mov rcx, qword [rsi]
mov edx, 0x4d5a
movzx eax, word [rcx]
cmp ax, dx
je 0x14000711f
mov edx, 0x5a4d
cmp ax, dx
jne 0x1400071a3
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400071a3
mov qword [rbx + 0x78], rcx
mov edx, 0x10b
movzx eax, word [rcx + 0x18]
cmp ax, dx
jne 0x14000714b
mov eax, dword [rcx + 0x34]
mov r15d, 0x78
jmp 0x140007159
mov edx, 0x20b
cmp ax, dx
jne 0x1400071a3
mov rax, qword [rcx + 0x30]
mov qword [rbx + 0x60], rax
lea rdx, [rcx + r15]
mov eax, dword [rcx + 0x50]
mov r8, rbx
mov dword [rbx + 0x68], eax
test rdx, rdx
je 0x1400071a3
lfence
mov edx, dword [rdx]
mov rcx, rbx
call fcn.14005665c
mov qword [rbx + 0x80], rax
test rax, rax
jne 0x14000718d
lea edx, [rax + 0x17]
jmp 0x1400071ad
lfence
mov r8, rbx
lea rcx, [0x140052018]
xor edx, edx
call fcn.14000c8ec
jmp 0x1400071c0
mov edi, 0xc0000001
mov edx, 0x16
mov r9, r14
mov r8d, edi
mov ecx, 0xc1010457
call fcn.140014bb8
mov rbx, r13
lea r11, [rsp + 0x1d0]
mov rax, rbx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret