Function at 0x140010a54
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 [0x140020208]
xor rax, rsp
mov qword [rbp + 0x1f], rax
xor r12d, r12d
mov rdi, rdx
mov r15, rcx
test rdx, rdx
je 0x140010d3e
cmp word [rdx], r12w
je 0x140010d3e
test rcx, rcx
je 0x140010d3e
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 rsi, rax
test rax, rax
jne 0x140010ae7
mov ebx, 0xc0000017
jmp 0x140010d24
mov rdx, rdi
mov rcx, rsi
call fcn.14000e648
mov ebx, eax
test eax, eax
jns 0x140010b0a
lea r9, str.AslStringDuplicate_failed___x_
mov r8d, 0x79
jmp 0x140010ce7
mov r8d, 0xc
lea rdx, str.SystemRoot_
mov rcx, rdi
call qword [sym.imp.msvcrt.dll__wcsnicmp]
nop dword [rax + rax]
test eax, eax
je 0x140010b75
xor r9d, r9d
lea rdx, [rbp - 0x59]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.ntdll.dll_RtlDosPathNameToNtPathName_U_WithStatus]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jns 0x140010b75
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], rdi
call fcn.14000c024
jmp 0x140010cfc
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 0x140010c0b
mov rax, qword [rbp - 0x61]
mov rcx, r12
mov qword [rsi + 8], rax
mov ebx, r12d
mov qword [rbp - 0x61], rcx
mov byte [rsi + 0x30], 1
jmp 0x140010c0f
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x140010c20
call qword [sym.imp.ntdll.dll_ZwClose]
nop dword [rax + rax]
test ebx, ebx
jns 0x140010c9c
cmp ebx, 0xc000003a
je 0x140010cfc
cmp ebx, 0xc0000034
je 0x140010cfc
cmp ebx, 0xc00000cc
je 0x140010cfc
lea eax, [rbx + 0x3fffffed]
cmp eax, 0x30
ja 0x140010c63
movabs rcx, 0x1000000008001
bt rcx, rax
jb 0x140010c81
cmp ebx, 0xc00000ba
je 0x140010c81
mov dword [rsp + 0x28], ebx
lea r9, str.RtlFileMapInitializeByFilePath_failed__S___x_
mov r8d, 0x9f
jmp 0x140010b5a
mov dword [rsp + 0x28], ebx
lea r9, str.RtlFileMapInitializeByFilePath_failed__S___x_
mov r8d, 0xa1
mov ecx, 3
jmp 0x140010b5f
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 [rsi + 8]
lea rdx, [rbp - 9]
call qword [sym.imp.ntdll.dll_ZwQueryInformationFile]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jns 0x140010d06
lea r9, str.NtQueryInformationFile_failed___x_
mov r8d, 0xb5
lea rdx, str.AslFileMappingCreate
mov dword [rsp + 0x20], eax
mov ecx, 1
call fcn.14000c024
mov rcx, rsi
call fcn.140010f10
jmp 0x140010d24
mov rax, qword [rbp + 0xf]
mov ebx, r12d
mov qword [rsi + 0x18], rax
mov rax, qword [rbp + 0xf]
neg rax
sbb ecx, ecx
neg ecx
inc ecx
mov dword [rsi + 0x38], ecx
mov qword [r15], rsi
cmp qword [rbp - 0x51], rdi
je 0x140010d3a
lea rcx, [rbp - 0x59]
call qword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
nop dword [rax + rax]
mov eax, ebx
jmp 0x140010d43
mov eax, 0xc000000d
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140015530
mov rbx, qword [rsp + 0x130]
add rsp, 0xf0
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret