Function at 0x140015e74
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 [0x140379a08]
xor rax, rsp
mov qword [rbp - 8], rax
xor r12d, r12d
mov rdi, rdx
mov r14, rcx
test rdx, rdx
je 0x140137caf
cmp word [rdx], r12w
je 0x140137caf
test rcx, rcx
je 0x140137caf
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 0x140137bd4
mov rdx, rdi
mov rcx, rax
call fcn.1400160f4
mov ebx, eax
test eax, eax
js 0x140137bde
lea r8d, [r12 + 0xc]
mov rcx, rdi
lea rdx, [0x1402fda68]
call sub.api_ms_win_crt_private_l1_1_0.dll__o__wcsnicmp
test eax, eax
je 0x140015f52
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 0x140137c15
lea rdx, [rbp - 0x40]
lea rcx, [rsi + 8]
call fcn.14001601c
mov ebx, eax
test eax, eax
js 0x140137c6d
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 0x140137bed
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 0x140137ca1
cmp qword [rbp - 0x38], rdi
je 0x140015feb
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.1400a2260
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 0x140015fd5
lea r9, str.AslStringDuplicate_failed___x_
mov r8d, Ordinal_126
jmp 0x140137bfa
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.140013f14
nop
jmp 0x140015fcc
mov dword [rsp + 0x28], eax
lea r9, str.RtlDosPathNameToNtPathName_U_WithStatus_failed_for__S___x_
mov r8d, DllRegisterServer
jmp 0x140137c39
mov dword [rsp + 0x28], ebx
lea r9, str.RtlFileMapInitializeByFilePath_failed__S___x_
mov r8d, reloc.dwmapi.dll_Ordinal_159
mov ecx, 1
jmp 0x140137c56
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.140013f14
nop
jmp 0x140015fcc
mov ecx, ebx
call fcn.1402a4d6c
test eax, eax
jne 0x140015fcc
lea eax, [rbx + 0x3fffffed]
cmp eax, 0x30
ja 0x140137c97
movabs rcx, 0x1000000008001
bt rcx, rax
jb 0x140137c40
cmp ebx, 0xc00000ba
je 0x140137c40
jmp 0x140137c28
mov rcx, rsi
call fcn.140013de4
nop
jmp 0x140015fd5
mov eax, 0xc000000d
jmp 0x140015fed