Function at 0x1400132bc
Capabilities:
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xb0
mov rax, qword [0x140023128]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r13, rdx
mov r12, rcx
mov eax, dword [0x1400245e8]
mov dword [rbp - 0x49], eax
mov eax, dword [0x140023140]
mov dword [rbp - 0x4d], eax
lea rdx, [rbp - 0x29]
call fcn.1400160ec
nop
and dword [rbp - 0x51], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
xorps xmm1, xmm1
xor eax, eax
movups xmmword [rbp - 0x11], xmm1
movups xmmword [rbp - 1], xmm1
mov qword [rbp + 0xf], rax
lea rdx, [rbp - 0x31]
mov rcx, r13
call fcn.1400160ec
nop
xor edx, edx
mov ebx, edx
mov edi, edx
mov esi, edx
mov qword [rbp - 0x39], rdx
cmp dword [0x140024680], edx
je 0x140013364
mov eax, 0xa000000c
cmp dword [r12 + 0x1c], eax
sete bl
cmp dword [r13 + 0x1c], eax
mov qword [rbp - 0x39], 1
je 0x140013364
mov qword [rbp - 0x39], rdx
mov qword [rbp - 0x41], rdx
cmp dword [0x140024670], edx
je 0x140013390
mov eax, 0xa0000003
cmp dword [r12 + 0x1c], eax
sete dil
cmp dword [r13 + 0x1c], eax
mov qword [rbp - 0x41], 1
je 0x140013390
mov qword [rbp - 0x41], rdx
or r14, 0xffffffffffffffff
mov r15d, edx
test edi, edi
jne 0x1400133a2
test ebx, ebx
lea eax, [rdi + 1]
je 0x1400133a7
mov eax, 2
cmp r15d, eax
jge 0x1400133fd
mov eax, r15d
neg eax
sbb ecx, ecx
and ecx, 0x200000
add ecx, 0x2000080
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 3]
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov r14, rax
inc r15d
cmp rax, 0xffffffffffffffff
mov edx, 0
je 0x140013397
cmp r14, 0xffffffffffffffff
je 0x140013472
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
xorps xmm1, xmm1
xor eax, eax
movups xmmword [rbp - 0x11], xmm1
movups xmmword [rbp - 1], xmm1
mov qword [rbp + 0xf], rax
mov dword [rsp + 0x20], 4
lea r9d, [rax + 0x28]
lea r8, [rbp - 0x11]
lea rdx, [rbp - 0x21]
mov rcx, r14
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
nop dword [rax + rax]
mov r15d, eax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
test r15d, r15d
jns 0x1400134be
mov ecx, r15d
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]
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 3
je 0x1400135d3
cmp eax, 0x7b
je 0x1400135da
cmp eax, 2
je 0x1400135da
inc esi
mov r9d, esi
mov r8d, dword [rbp - 0x4d]
mov edx, 0x2398
mov rcx, r13
call fcn.14000a814
xor edx, edx
test eax, eax
je 0x1400135ee
jmp 0x140013390
xor esi, esi
mov r14, qword [rbp - 0x41]
mov r15, qword [rbp - 0x39]
mov r12d, dword [rbp - 0x49]
test r15, r15
jne 0x1400134db
test r14, r14
mov eax, 0x2000080
je 0x1400134e0
mov eax, 0x2200080
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], eax
mov eax, 3
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8d, eax
mov edx, 0x100
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001359e
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
test r12d, r12d
jne 0x14001352c
movdqu xmmword [rbp - 0x11], xmm0
mov dword [rsp + 0x20], 4
mov r9d, 0x28
lea r8, [rbp - 0x11]
lea rdx, [rbp - 0x21]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
nop dword [rax + rax]
mov edi, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
or rbx, 0xffffffffffffffff
test edi, edi
jns 0x1400135d3
mov ecx, edi
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
nop dword [rax + rax]
mov edi, eax
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
cmp edi, 0x32
je 0x1400135d3
cmp edi, 6
je 0x1400135d3
cmp edi, 0x57
jne 0x14001359e
cmp qword [r13], 0
je 0x1400135d3
inc esi
mov r9d, esi
mov r8d, dword [rbp - 0x4d]
mov edx, 0x2398
mov rcx, r13
call fcn.14000a814
test eax, eax
jne 0x1400134cc
cmp rbx, 0xffffffffffffffff
je 0x1400135ee
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
jmp 0x1400135ee
mov ebx, 1
jmp 0x1400135f1
lea r9d, [rsi + 1]
xor r8d, r8d
mov edx, 0x2398
mov rcx, r12
call fcn.14000a814
mov ebx, dword [rbp - 0x51]
mov rdx, qword [rbp - 0x31]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140013621
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [0x14001d898]
nop
mov rdx, qword [rbp - 0x29]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140013650
mov rcx, qword [rdx]
mov r8, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [r8 + 8]
call qword [0x14001d898]
mov eax, ebx
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140001800
mov rbx, qword [rsp + 0x100]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret