Function at 0x14001a6e0
Capabilities:
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 - 0x27]
sub rsp, 0xa0
mov rax, qword [0x14002c298]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r13d, r9d
mov dword [rbp - 0x39], r9d
mov rdi, rdx
mov r15, rcx
lea rdx, [rbp - 0x21]
call fcn.14001fe70
mov rbx, rax
lea rdx, [rbp - 0x29]
mov rcx, rdi
call fcn.14001d14c
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x31]
call fcn.140019220
nop
mov rdx, qword [rbp - 0x29]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001a770
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [0x1400249b8]
nop
mov rdx, qword [rbp - 0x21]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001a79f
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [0x1400249b8]
xor r12d, r12d
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
xorps xmm1, xmm1
xor eax, eax
movups xmmword [rbp - 9], xmm1
movups xmmword [rbp + 7], xmm1
mov qword [rbp + 0x17], rax
xor r14d, r14d
lea eax, [r12 + 1]
cmp dword [0x14002d8c0], r12d
je 0x14001a7d7
cmp dword [r15 + 0x74], 0xa000000c
cmove r14d, eax
xor esi, esi
cmp dword [0x14002d8b0], esi
je 0x14001a7ed
cmp dword [r15 + 0x74], 0xa0000003
cmove rsi, rax
xor ebx, ebx
test r14, r14
jne 0x14001a807
test rsi, rsi
jne 0x14001a807
cmp dword [0x14002d790], r12d
mov eax, 0x2000080
je 0x14001a80c
mov eax, 0x2200080
and qword [rsp + 0x30], r12
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x100
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14001a8d3
and qword [rbp + 0x17], r12
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
mov rcx, qword [r15 + 0x78]
mov qword [rbp - 9], rcx
mov rcx, qword [r15 + 8]
mov qword [rbp - 1], rcx
mov rcx, qword [r15]
mov qword [rbp + 7], rcx
mov rcx, qword [r15 + 0x80]
mov qword [rbp + 0xf], rcx
mov dword [rsp + 0x20], 4
mov r9d, 0x28
lea r8, [rbp - 9]
lea rdx, [rbp - 0x19]
mov rcx, rax
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
nop dword [rax + rax]
mov r13d, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
or rdi, 0xffffffffffffffff
test r13d, r13d
jns 0x14001a914
mov ecx, r13d
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]
mov r13d, dword [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x7b
je 0x14001a91c
cmp eax, 2
je 0x14001a91c
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
inc ebx
mov r9d, ebx
mov r8d, r13d
mov edx, 0x2397
mov rcx, r15
call fcn.14000f774
test eax, eax
jne 0x14001a7ef
mov r12d, 1
jmp 0x14001a930
lea r9d, [rbx + 1]
xor r8d, r8d
mov edx, 0x2397
mov rcx, r15
call fcn.14000f774
cmp rdi, 0xffffffffffffffff
je 0x14001a946
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
nop
mov rdx, qword [rbp - 0x31]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14001a975
mov rcx, qword [rdx]
mov r8, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [r8 + 8]
call qword [0x1400249b8]
mov eax, r12d
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140001a50
mov rbx, qword [rsp + 0xf0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret