Function at 0x14022d960
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 [0x144db4000]
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 0x14022dc18
lea r13, [0x1403dad00]
lea r12, [0x14050d088]
lea rsi, [rbx + 0x10]
mov rdx, rsi
lea rcx, [rbp + 0x78]
call fcn.1401f3a20
nop
lea rcx, [rbp + 0x78]
call fcn.1401f3900
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 0x14022da00
mov rsi, qword [rsi]
lea rax, [0x14050d090]
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.140007720
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.140025d50
nop
mov r9d, 0x40
lea r8d, [r9 - 0x1e]
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.14003c310
test rax, rax
jne 0x14022dabf
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 0x14022dce6
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 0x14022db4a
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.140025e10
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, [0x1403dac98]
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x28]
call fcn.140392318
nop
jmp 0x14022dbce
lea rdx, [r14 + 0x10]
mov r8d, 0x20
lea rcx, [rsp + 0x30]
call fcn.140008090
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 0x14022dc4a
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.140025e10
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, [0x1403dac98]
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x28]
call fcn.140392318
nop
mov rdx, qword [rbp + 0x90]
cmp rdx, 0x10
jb 0x14022dc0c
inc rdx
mov rcx, qword [rbp + 0x78]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14022dc07
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14022dce0
call fcn.1403940dc
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14022d9c0
xor al, al
mov rcx, qword [rbp + 0x98]
xor rcx, rsp
call fcn.1403941f0
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.140025e10
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, [0x1403dac98]
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x28]
call fcn.140392318
nop
mov rdx, qword [rbp + 0x90]
cmp rdx, 0x10
jb 0x14022dcd9
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14022dcd4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14022dce0
call fcn.1403940dc
mov al, 1
jmp 0x14022dc1a
call fcn.14039b04c
nop
test al, 4
je 0x14022dcf3
lea rbx, str.ios_base::badbit_set
jmp 0x14022dd07
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.140007890
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x50]
call fcn.140003bf0
lea rdx, [0x14061c318]
lea rcx, [rbp + 0x50]
call fcn.1403953f0
int3