Function at 0x14001ca28
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xf0
mov rax, qword [0x14002c298]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rbx, rcx
and dword [rbp - 0x69], 0
xor esi, esi
test rdx, rdx
je 0x14001ca71
mov rcx, qword [rdx]
sub rcx, 0x18
call fcn.140002c2c
lea rcx, [rax + 0x18]
mov qword [rbp - 0x51], rcx
lea edi, [rsi + 1]
jmp 0x14001ca83
lea rdx, [rbp - 0x59]
call fcn.14001fd18
nop
mov edi, 2
mov rcx, qword [rax]
mov dword [rbp - 0x69], edi
add rcx, 0xffffffffffffffe8
call fcn.140002c2c
add rax, 0x18
mov qword [rbp - 0x61], rax
test dil, 2
je 0x14001cad5
and edi, 0xfffffffd
mov dword [rbp - 0x69], edi
mov rdx, qword [rbp - 0x59]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001cad2
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [0x1400249b8]
mov edi, dword [rbp - 0x69]
test dil, 1
je 0x14001cb0a
mov rdx, qword [rbp - 0x51]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001cb0a
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [0x1400249b8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
xorps xmm1, xmm1
xor eax, eax
movups xmmword [rbp - 0x11], xmm1
movups xmmword [rbp - 1], xmm1
movups xmmword [rbp + 0xf], xmm1
mov qword [rbp + 0x1f], rax
and qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80
lea r8d, [rax + 1]
mov rcx, qword [rbp - 0x61]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14001cca6
mov dword [rsp + 0x20], 0x22
mov r9d, 0x38
lea r8, [rbp - 0x11]
lea rdx, [rbp - 0x49]
mov rcx, rax
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
nop dword [rax + rax]
test eax, eax
js 0x14001cbbe
mov rcx, qword [rbp - 0x11]
mov qword [rbx + 0x78], rcx
mov rax, qword [rbp - 9]
mov qword [rbx + 8], rax
mov rax, qword [rbp - 1]
mov qword [rbx], rax
mov rax, qword [rbp + 7]
mov qword [rbx + 0x80], rax
mov eax, dword [rbp + 0x1f]
mov dword [rbx + 0x70], eax
mov rax, qword [rbp + 0x17]
jmp 0x14001cc56
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x39], xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], rax
mov dword [rsp + 0x20], 4
lea r9d, [rax + 0x28]
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x49]
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
nop dword [rax + rax]
test eax, eax
js 0x14001cc64
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x27], xmm0
mov qword [rbp + 0x37], rax
mov dword [rsp + 0x20], 5
lea r9d, [rax + 0x18]
lea r8, [rbp + 0x27]
lea rdx, [rbp - 0x49]
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
nop dword [rax + rax]
test eax, eax
js 0x14001cc64
mov rax, qword [rbp - 0x39]
mov qword [rbx + 0x78], rax
mov rax, qword [rbp - 0x31]
mov qword [rbx + 8], rax
mov rax, qword [rbp - 0x29]
mov qword [rbx], rax
mov rax, qword [rbp - 0x21]
mov qword [rbx + 0x80], rax
mov eax, dword [rbp - 0x19]
mov dword [rbx + 0x70], eax
mov rax, qword [rbp + 0x2f]
mov qword [rbx + 0x88], rax
mov esi, 1
jmp 0x14001cc96
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
nop dword [rax + rax]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
cmp dword [0x14002d804], 0
je 0x14001cc96
mov rdx, rbx
mov ecx, 0x23a8
call fcn.140018b5c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
nop
mov rdx, qword [rbp - 0x61]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14001ccd5
mov rcx, qword [rdx]
mov r8, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [r8 + 8]
call qword [0x1400249b8]
mov eax, esi
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140001a50
mov rbx, qword [rsp + 0x120]
add rsp, 0xf0
pop rdi
pop rsi
pop rbp
ret