Function at 0x140006d44
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 [0x140034680]
mov r14, rcx
xor r13d, r13d
jmp 0x140006d90
lea rcx, [rbx + 0x10]
mov rdx, r14
call sub.ntoskrnl.exe__wcsicmp
test eax, eax
je 0x14000701a
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140006d79
mov rcx, qword [0x1400346c0]
mov r15d, 0x88
mov edx, r15d
xor r8d, r8d
call fcn.140015584
mov rbx, rax
test rax, rax
jne 0x140006dc2
mov edi, 0xc000009a
lea edx, [rax + 0x11]
jmp 0x140007007
mov r8, r15
xor edx, edx
mov rcx, rbx
call fcn.140029dc0
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 0x140006dd8
mov r9, r14
lea r8, [0x14002ab20]
mov edx, pe_nt_image_headers64
lea rcx, [rbp - 0x30]
call fcn.140003ad0
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 0x140006e8d
mov qword [rsi], r13
mov edx, 0x12
jmp 0x140007007
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 0x140006ebd
mov edx, 0x13
jmp 0x140007007
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 0x140006f01
mov qword [r12], r13
mov edx, 0x14
jmp 0x140007007
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 0x140006f65
mov qword [rsi], r13
mov edx, 0x15
jmp 0x140007007
mov rcx, qword [rsi]
mov edx, 0x4d5a
movzx eax, word [rcx]
cmp ax, dx
je 0x140006f7f
mov edx, 0x5a4d
cmp ax, dx
jne 0x140006ffd
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140006ffd
mov qword [rbx + 0x78], rcx
mov edx, 0x10b
movzx eax, word [rcx + 0x18]
cmp ax, dx
jne 0x140006fab
mov eax, dword [rcx + 0x34]
mov r15d, 0x78
jmp 0x140006fb9
mov edx, 0x20b
cmp ax, dx
jne 0x140006ffd
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 0x140006ffd
mov edx, dword [rdx]
mov rcx, rbx
call fcn.140038658
mov qword [rbx + 0x80], rax
test rax, rax
jne 0x140006fea
lea edx, [rax + 0x17]
jmp 0x140007007
mov r8, rbx
lea rcx, [0x140034680]
xor edx, edx
call fcn.14000d52c
jmp 0x14000701a
mov edi, 0xc0000001
mov edx, 0x16
mov r9, r14
mov r8d, edi
mov ecx, 0xc1010457
call fcn.1400154cc
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