Function at 0x140154ad0
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 [0x1414b0148]
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 0x140154d88
lea r13, [0x1402facc0]
lea r12, [0x1403970e8]
lea rsi, [rbx + 0x10]
mov rdx, rsi
lea rcx, [rbp + 0x78]
call fcn.140121c10
nop
lea rcx, [rbp + 0x78]
call fcn.140121af0
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 0x140154b70
mov rsi, qword [rsi]
lea rax, [0x1403970f0]
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.140007600
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.1400241c0
nop
mov r9d, 0x40
lea r8d, [r9 - 0x1e]
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.1400253a0
test rax, rax
jne 0x140154c2f
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 0x140154e56
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 0x140154cba
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.140024570
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, [0x1402fac58]
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x28]
call fcn.1402b6500
nop
jmp 0x140154d3e
lea rdx, [r14 + 0x10]
mov r8d, 0x20
lea rcx, [rsp + 0x30]
call fcn.140007f40
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 0x140154dba
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.140024570
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, [0x1402fac58]
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x28]
call fcn.1402b6500
nop
mov rdx, qword [rbp + 0x90]
cmp rdx, 0x10
jb 0x140154d7c
inc rdx
mov rcx, qword [rbp + 0x78]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140154d77
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140154e50
call fcn.1402b82bc
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x140154b30
xor al, al
mov rcx, qword [rbp + 0x98]
xor rcx, rsp
call fcn.1402b83d0
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.140024570
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, [0x1402fac58]
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x28]
call fcn.1402b6500
nop
mov rdx, qword [rbp + 0x90]
cmp rdx, 0x10
jb 0x140154e49
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140154e44
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140154e50
call fcn.1402b82bc
mov al, 1
jmp 0x140154d8a
call fcn.1402befbc
nop
test al, 4
je 0x140154e63
lea rbx, str.ios_base::badbit_set
jmp 0x140154e77
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.140007770
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x50]
call fcn.140003a60
lea rdx, [0x1404826f0]
lea rcx, [rbp + 0x50]
call fcn.1402b95d0
int3