Function at 0x140015914
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 [0x140387a48]
xor rax, rsp
mov qword [rbp - 8], rax
xor r12d, r12d
mov rdi, rdx
mov r14, rcx
test rdx, rdx
je 0x14014bdd1
cmp word [rdx], r12w
je 0x14014bdd1
test rcx, rcx
je 0x14014bdd1
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 0x14014bcf6
mov rdx, rdi
mov rcx, rax
call fcn.140015b94
mov ebx, eax
test eax, eax
js 0x14014bd00
lea r8d, [r12 + 0xc]
mov rcx, rdi
lea rdx, [0x14030ab28]
call sub.api_ms_win_crt_private_l1_1_0.dll__o__wcsnicmp
test eax, eax
je 0x1400159f2
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 0x14014bd37
lea rdx, [rbp - 0x40]
lea rcx, [rsi + 8]
call fcn.140015abc
mov ebx, eax
test eax, eax
js 0x14014bd8f
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 0x14014bd0f
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 0x14014bdc3
cmp qword [rbp - 0x38], rdi
je 0x140015a8b
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.1400a15a0
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 0x140015a75
lea r9, str.AslStringDuplicate_failed___x_
mov r8d, Ordinal_126
jmp 0x14014bd1c
lea r9, str.NtQueryInformationFile_failed___x_
mov r8d, reloc.SHELL32.dll_SHGetNewLinkInfoW
lea rdx, str.AslFileMappingCreate
mov dword [rsp + 0x20], eax
mov ecx, 1
call fcn.1400139b4
nop
jmp 0x140015a6c
mov dword [rsp + 0x28], eax
lea r9, str.RtlDosPathNameToNtPathName_U_WithStatus_failed_for__S___x_
mov r8d, DllRegisterServer
jmp 0x14014bd5b
mov dword [rsp + 0x28], ebx
lea r9, str.RtlFileMapInitializeByFilePath_failed__S___x_
mov r8d, reloc.dwmapi.dll_Ordinal_159
mov ecx, 1
jmp 0x14014bd78
mov dword [rsp + 0x28], ebx
lea r9, str.RtlFileMapInitializeByFilePath_failed__S___x_
mov r8d, Ordinal_165
mov ecx, 3
lea rdx, str.AslFileMappingCreate
mov qword [rsp + 0x20], rdi
call fcn.1400139b4
nop
jmp 0x140015a6c
mov ecx, ebx
call fcn.1402b16fc
test eax, eax
jne 0x140015a6c
lea eax, [rbx + 0x3fffffed]
cmp eax, 0x30
ja 0x14014bdb9
movabs rcx, 0x1000000008001
bt rcx, rax
jb 0x14014bd62
cmp ebx, 0xc00000ba
je 0x14014bd62
jmp 0x14014bd4a
mov rcx, rsi
call fcn.140013884
nop
jmp 0x140015a75
mov eax, 0xc000000d
jmp 0x140015a8d