Function at 0x1401a1460
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x144269058]
xor rax, rsp
mov qword [rbp + 0x98], rax
mov r14, rcx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
mov rdi, qword [rcx]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x1401a1718
lea r13, [0x14034ace0]
lea r12, [0x1403ea418]
lea rsi, [rbx + 0x10]
mov rdx, rsi
lea rcx, [rbp + 0x78]
call fcn.14016c1f0
nop
lea rcx, [rbp + 0x78]
call fcn.14016c0d0
lea rcx, [rbp + 0x78]
cmp qword [rbp + 0x90], 0x10
cmovae rcx, qword [rbp + 0x78]
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp qword [rsi + 0x18], 0x10
jb 0x1401a1500
mov rsi, qword [rsi]
lea rax, [0x1403ea420]
mov qword [rsp + 0x30], rax
xor eax, eax
mov qword [rbp - 0x20], rax
mov qword [rbp + 8], rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x10], xmm0
or r15d, 1
mov dword [rsp + 0x20], r15d
mov qword [rbp - 0x28], r13
mov dword [rbp - 0x2c], 0x98
xor r8d, r8d
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x28]
call fcn.140007680
nop
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x30], r12
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea r8d, [rcx - 0xa8]
mov dword [rsp + rcx + 0x2c], r8d
lea rcx, [rsp + 0x38]
call fcn.14001bc50
nop
mov r9d, 0x40
lea r8d, [r9 - 0x1e]
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.140026870
test rax, rax
jne 0x1401a15bf
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
mov eax, 6
cmp qword [rsp + rcx + 0x78], 0
mov edx, 2
cmovne eax, edx
or eax, dword [rsp + rcx + 0x40]
and eax, 0x17
mov dword [rsp + rcx + 0x40], eax
and eax, dword [rsp + rcx + 0x44]
jne 0x1401a17e6
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x30], r12
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x2c], edx
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
test byte [rsp + rcx + 0x40], 6
je 0x1401a164a
mov qword [rsp + rcx + 0x30], r12
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x2c], edx
lea rcx, [rsp + 0x38]
call fcn.14001bd10
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x30], r13
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x2c], edx
lea rax, [0x14034ac78]
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x28]
call fcn.140304bd0
nop
jmp 0x1401a16ce
lea rdx, [r14 + 0x10]
mov r8d, 0x20
lea rcx, [rsp + 0x30]
call fcn.140007fc0
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
je 0x1401a174a
mov qword [rsp + rcx + 0x30], r12
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x2c], edx
lea rcx, [rsp + 0x38]
call fcn.14001bd10
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x30], r13
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x2c], edx
lea rax, [0x14034ac78]
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x28]
call fcn.140304bd0
nop
mov rdx, qword [rbp + 0x90]
cmp rdx, 0x10
jb 0x1401a170c
inc rdx
mov rcx, qword [rbp + 0x78]
cmp rdx, 0x1000
mov rax, rcx
jb 0x1401a1707
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401a17e0
call fcn.14030698c
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x1401a14c0
xor al, al
mov rcx, qword [rbp + 0x98]
xor rcx, rsp
call fcn.140306aa0
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov qword [rsp + rcx + 0x30], r12
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x2c], edx
lea rcx, [rsp + 0x38]
call fcn.14001bd10
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x30], r13
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x2c], edx
lea rax, [0x14034ac78]
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x28]
call fcn.140304bd0
nop
mov rdx, qword [rbp + 0x90]
cmp rdx, 0x10
jb 0x1401a17d9
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401a17d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401a17e0
call fcn.14030698c
mov al, 1
jmp 0x1401a171a
call fcn.14030d68c
nop
test al, 4
je 0x1401a17f3
lea rbx, str.ios_base::badbit_set
jmp 0x1401a1807
test dl, al
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rbp + 0x40]
call fcn.1400077f0
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x50]
call fcn.140003ae0
lea rdx, [0x1404e1ea8]
lea rcx, [rbp + 0x50]
call fcn.140307ca0
int3