Function at 0x14001a31c
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 [0x14002c298]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r13, rdx
mov r12, rcx
mov eax, dword [0x14002d828]
mov dword [rbp - 0x49], eax
mov eax, dword [0x14002c2b0]
mov dword [rbp - 0x4d], eax
lea rdx, [rbp - 0x29]
call fcn.14001d14c
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.14001d14c
nop
xor edx, edx
mov ebx, edx
mov edi, edx
mov esi, edx
mov qword [rbp - 0x39], rdx
cmp dword [0x14002d8c0], edx
je 0x14001a3c4
mov eax, 0xa000000c
cmp dword [r12 + 0x1c], eax
sete bl
cmp dword [r13 + 0x1c], eax
mov qword [rbp - 0x39], 1
je 0x14001a3c4
mov qword [rbp - 0x39], rdx
mov qword [rbp - 0x41], rdx
cmp dword [0x14002d8b0], edx
je 0x14001a3f0
mov eax, 0xa0000003
cmp dword [r12 + 0x1c], eax
sete dil
cmp dword [r13 + 0x1c], eax
mov qword [rbp - 0x41], 1
je 0x14001a3f0
mov qword [rbp - 0x41], rdx
or r14, 0xffffffffffffffff
mov r15d, edx
test edi, edi
jne 0x14001a402
test ebx, ebx
lea eax, [rdi + 1]
je 0x14001a407
mov eax, 2
cmp r15d, eax
jge 0x14001a45d
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 0x14001a3f7
cmp r14, 0xffffffffffffffff
je 0x14001a4d2
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 0x14001a51e
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 0x14001a633
cmp eax, 0x7b
je 0x14001a63a
cmp eax, 2
je 0x14001a63a
inc esi
mov r9d, esi
mov r8d, dword [rbp - 0x4d]
mov edx, 0x2398
mov rcx, r13
call fcn.14000f800
xor edx, edx
test eax, eax
je 0x14001a64e
jmp 0x14001a3f0
xor esi, esi
mov r14, qword [rbp - 0x41]
mov r15, qword [rbp - 0x39]
mov r12d, dword [rbp - 0x49]
test r15, r15
jne 0x14001a53b
test r14, r14
mov eax, 0x2000080
je 0x14001a540
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 0x14001a5fe
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
test r12d, r12d
jne 0x14001a58c
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 0x14001a633
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 0x14001a633
cmp edi, 6
je 0x14001a633
cmp edi, 0x57
jne 0x14001a5fe
cmp qword [r13], 0
je 0x14001a633
inc esi
mov r9d, esi
mov r8d, dword [rbp - 0x4d]
mov edx, 0x2398
mov rcx, r13
call fcn.14000f800
test eax, eax
jne 0x14001a52c
cmp rbx, 0xffffffffffffffff
je 0x14001a64e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
jmp 0x14001a64e
mov ebx, 1
jmp 0x14001a651
lea r9d, [rsi + 1]
xor r8d, r8d
mov edx, 0x2398
mov rcx, r12
call fcn.14000f800
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 0x14001a681
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [0x1400249b8]
nop
mov rdx, qword [rbp - 0x29]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14001a6b0
mov rcx, qword [rdx]
mov r8, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [r8 + 8]
call qword [0x1400249b8]
mov eax, ebx
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140001a50
mov rbx, qword [rsp + 0x100]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret