Function at 0x140006cb4
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 [0x140033680]
mov r14, rcx
xor r13d, r13d
jmp 0x140006d00
lea rcx, [rbx + 0x10]
mov rdx, r14
call sub.ntoskrnl.exe__wcsicmp
test eax, eax
je 0x140006f96
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140006ce9
mov rcx, qword [0x1400336c0]
mov r15d, 0x88
mov edx, r15d
xor r8d, r8d
call fcn.1400152d4
mov rbx, rax
test rax, rax
jne 0x140006d32
mov edi, 0xc000009a
lea edx, [rax + 0x11]
jmp 0x140006f83
mov r8, r15
xor edx, edx
mov rcx, rbx
call fcn.140028e40
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 0x140006d48
mov rax, qword [0x140033158]
lea r8, [0x140029bb0]
mov r9, r14
mov qword [rsp + 0x20], rax
mov edx, 0x100
lea rcx, [rbp - 0x30]
call fcn.140003a40
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 0x140006e09
mov qword [rsi], r13
mov edx, 0x12
jmp 0x140006f83
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 0x140006e39
mov edx, 0x13
jmp 0x140006f83
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 0x140006e7d
mov qword [r12], r13
mov edx, 0x14
jmp 0x140006f83
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 0x140006ee1
mov qword [rsi], r13
mov edx, 0x15
jmp 0x140006f83
mov rcx, qword [rsi]
mov edx, 0x4d5a
movzx eax, word [rcx]
cmp ax, dx
je 0x140006efb
mov edx, 0x5a4d
cmp ax, dx
jne 0x140006f79
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140006f79
mov qword [rbx + 0x78], rcx
mov edx, 0x10b
movzx eax, word [rcx + 0x18]
cmp ax, dx
jne 0x140006f27
mov eax, dword [rcx + 0x34]
mov r15d, 0x78
jmp 0x140006f35
mov edx, 0x20b
cmp ax, dx
jne 0x140006f79
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 0x140006f79
mov edx, dword [rdx]
mov rcx, rbx
call fcn.140037658
mov qword [rbx + 0x80], rax
test rax, rax
jne 0x140006f66
lea edx, [rax + 0x17]
jmp 0x140006f83
mov r8, rbx
lea rcx, [0x140033680]
xor edx, edx
call fcn.14000d49c
jmp 0x140006f96
mov edi, 0xc0000001
mov edx, 0x16
mov r9, r14
mov r8d, edi
mov ecx, 0xc1010457
call fcn.14001521c
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