Function at 0x18001033c
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1800b2220]
xor rax, rsp
mov qword [rbp - 8], rax
xor r12d, r12d
mov rdi, rdx
mov r14, rcx
test rdx, rdx
je 0x1800303e3
cmp word [rdx], r12w
je 0x1800303e3
test rcx, rcx
je 0x1800303e3
mov qword [rcx], r12
lea rcx, [rbp - 0x40]
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
je 0x180030308
mov rdx, rdi
mov rcx, rax
call fcn.18000eaac
mov ebx, eax
test eax, eax
js 0x180030312
lea r8d, [r12 + 0xc]
mov rcx, rdi
lea rdx, [0x180085728]
call sub.ntdll.dll__wcsnicmp
test eax, eax
je 0x18001041a
xor r9d, r9d
lea rdx, [rbp - 0x40]
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
js 0x180030349
lea rdx, [rbp - 0x40]
lea rcx, [rsi + 8]
call fcn.1800104e4
mov ebx, eax
test eax, eax
js 0x1800303a1
xor eax, eax
mov dword [rsp + 0x20], 5
xorps xmm0, xmm0
mov qword [rbp - 0x10], rax
xorps xmm1, xmm1
lea r8, [rbp - 0x20]
movups xmmword [rbp - 0x30], xmm0
lea r9d, [rax + 0x18]
movups xmmword [rbp - 0x20], xmm1
mov rcx, qword [rsi + 8]
lea rdx, [rbp - 0x30]
call qword [sym.imp.ntdll.dll_ZwQueryInformationFile]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x180030321
mov rax, qword [rbp - 0x18]
mov ebx, r12d
mov qword [rsi + 0x18], rax
mov rax, qword [rbp - 0x18]
neg rax
sbb ecx, ecx
neg ecx
inc ecx
mov dword [rsi + 0x38], ecx
mov qword [r14], rsi
mov rsi, r12
test rsi, rsi
jne 0x1800303d5
cmp qword [rbp - 0x38], rdi
je 0x1800104b3
lea rcx, [rbp - 0x40]
call qword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.180024680
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov ebx, 0xc0000017
jmp 0x18001049d
lea r9, [0x18008d7d0]
mov r8d, 0x79
jmp 0x18003032e
lea r9, str.NtQueryInformationFile_failed___x_
mov r8d, 0xb5
lea rdx, str.AslFileMappingCreate
mov dword [rsp + 0x20], eax
mov ecx, 1
call fcn.18001188c
nop
jmp 0x180010494
mov dword [rsp + 0x28], eax
lea r9, str.RtlDosPathNameToNtPathName_U_WithStatus_failed_for__S___x_
mov r8d, 0x92
jmp 0x18003036d
mov dword [rsp + 0x28], ebx
lea r9, str.RtlFileMapInitializeByFilePath_failed__S___x_
mov r8d, 0x9f
mov ecx, 1
jmp 0x18003038a
mov dword [rsp + 0x28], ebx
lea r9, str.RtlFileMapInitializeByFilePath_failed__S___x_
mov r8d, 0xa1
mov ecx, 3
lea rdx, str.AslFileMappingCreate
mov qword [rsp + 0x20], rdi
call fcn.18001188c
nop
jmp 0x180010494
mov ecx, ebx
call fcn.180070810
test eax, eax
jne 0x180010494
lea eax, [rbx + 0x3fffffed]
cmp eax, 0x30
ja 0x1800303cb
movabs rcx, 0x1000000008001
bt rcx, rax
jb 0x180030374
cmp ebx, 0xc00000ba
je 0x180030374
jmp 0x18003035c
mov rcx, rsi
call fcn.18001175c
nop
jmp 0x18001049d
mov eax, 0xc000000d
jmp 0x1800104b5