Function at 0x14000e018
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r15
lea rbp, [rsp - 0x2f]
sub rsp, 0xf0
mov rax, qword [0x1400277a0]
xor rax, rsp
mov qword [rbp + 0x1f], rax
xor r12d, r12d
mov rsi, rdx
mov r15, rcx
test rdx, rdx
je 0x14000e306
cmp word [rdx], r12w
je 0x14000e306
test rcx, rcx
je 0x14000e306
mov qword [rcx], r12
lea rcx, [rbp - 0x59]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
nop dword [rax + rax]
mov rax, qword gs:[0x60]
lea edx, [r12 + 8]
lea r8d, [r12 + 0x50]
mov rcx, qword [rax + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x14000e0ab
mov ebx, 0xc0000017
jmp 0x14000e2ec
mov rdx, rsi
mov rcx, rdi
call fcn.14000bd94
mov ebx, eax
test eax, eax
jns 0x14000e0e3
lea r9, str.AslStringDuplicate_failed___x_
mov r8d, 0x79
lea rdx, str.AslFileMappingCreate
mov dword [rsp + 0x20], eax
mov ecx, 1
call fcn.14000ac0c
jmp 0x14000e2df
mov r8d, 0xc
lea rdx, str.SystemRoot_
mov rcx, rsi
call sub.api_ms_win_crt_private_l1_1_0.dll__o__wcsnicmp
test eax, eax
je 0x14000e147
xor r9d, r9d
lea rdx, [rbp - 0x59]
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.ntdll.dll_RtlDosPathNameToNtPathName_U_WithStatus]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jns 0x14000e147
mov dword [rsp + 0x28], eax
lea r9, str.RtlDosPathNameToNtPathName_U_WithStatus_failed_for__S___x_
mov r8d, 0x92
mov ecx, 1
lea rdx, str.AslFileMappingCreate
mov qword [rsp + 0x20], rsi
call fcn.14000ac0c
jmp 0x14000e2df
mov dword [rsp + 0x50], r12d
lea rax, [rbp - 0x59]
mov qword [rsp + 0x48], r12
lea r9, [rbp - 0x19]
mov dword [rsp + 0x40], 0x60
lea r8, [rbp - 0x49]
mov dword [rsp + 0x38], 1
lea rcx, [rbp - 0x61]
xorps xmm0, xmm0
mov dword [rsp + 0x30], 5
mov dword [rsp + 0x28], 0x80
mov edx, 0x80100080
mov qword [rsp + 0x20], r12
mov qword [rbp - 0x49], 0x30
mov qword [rbp - 0x31], 0x40
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 0x61], r12
mov qword [rbp - 0x41], r12
mov qword [rbp - 0x39], rax
movdqu xmmword [rbp - 0x29], xmm0
call qword [sym.imp.ntdll.dll_ZwCreateFile]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x14000e1dd
mov rax, qword [rbp - 0x61]
mov rcx, r12
mov qword [rdi + 8], rax
mov ebx, r12d
mov qword [rbp - 0x61], rcx
mov byte [rdi + 0x30], 1
jmp 0x14000e1e1
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x14000e1f2
call qword [sym.imp.ntdll.dll_ZwClose]
nop dword [rax + rax]
test ebx, ebx
jns 0x14000e26e
cmp ebx, 0xc000003a
je 0x14000e2df
cmp ebx, 0xc0000034
je 0x14000e2df
cmp ebx, 0xc00000cc
je 0x14000e2df
lea eax, [rbx + 0x3fffffed]
cmp eax, 0x30
ja 0x14000e235
movabs rcx, 0x1000000008001
bt rcx, rax
jb 0x14000e253
cmp ebx, 0xc00000ba
je 0x14000e253
mov dword [rsp + 0x28], ebx
lea r9, str.RtlFileMapInitializeByFilePath_failed__S___x_
mov r8d, 0x9f
jmp 0x14000e12c
mov dword [rsp + 0x28], ebx
lea r9, str.RtlFileMapInitializeByFilePath_failed__S___x_
mov r8d, 0xa1
mov ecx, 3
jmp 0x14000e131
xor eax, eax
mov dword [rsp + 0x20], 5
xorps xmm0, xmm0
mov qword [rbp + 0x17], rax
xorps xmm1, xmm1
lea r8, [rbp + 7]
movups xmmword [rbp - 9], xmm0
lea r9d, [rax + 0x18]
movups xmmword [rbp + 7], xmm1
mov rcx, qword [rdi + 8]
lea rdx, [rbp - 9]
call qword [sym.imp.ntdll.dll_ZwQueryInformationFile]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jns 0x14000e2be
lea r9, str.NtQueryInformationFile_failed___x_
mov r8d, 0xb5
jmp 0x14000e0c9
mov rax, qword [rbp + 0xf]
mov ebx, r12d
mov qword [rdi + 0x18], rax
mov rax, qword [rbp + 0xf]
neg rax
sbb ecx, ecx
neg ecx
inc ecx
mov dword [rdi + 0x38], ecx
mov qword [r15], rdi
mov rdi, r12
test rdi, rdi
je 0x14000e2ec
mov rcx, rdi
call fcn.14000e4d8
cmp qword [rbp - 0x51], rsi
je 0x14000e302
lea rcx, [rbp - 0x59]
call qword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
nop dword [rax + rax]
mov eax, ebx
jmp 0x14000e30b
mov eax, 0xc000000d
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1400199f0
mov rbx, qword [rsp + 0x130]
add rsp, 0xf0
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret