Function at 0x1400141f0
Capabilities:
Move file
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x290
mov rax, qword [0x14009c020]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov r14, rcx
lea rcx, str._Replace_after_restart_n
call fcn.14000bc30
mov rax, qword [r14 + 0x228]
mov rdi, qword [rax]
cmp rdi, rax
je 0x14001443c
lea r15, [0x14008d480]
nop word [rax + rax]
mov rax, qword [rdi + 0x40]
mov rbx, qword [rax]
cmp rbx, rax
je 0x1400143d6
movzx eax, word [rbx + 0x18]
cmp ax, 0x2b
je 0x14001430b
cmp ax, 0x30
je 0x14001430b
cmp ax, 0x2d
jne 0x1400143c9
mov rax, qword [rbx + 0x20]
mov rcx, r15
test rax, rax
cmovne rcx, rax
mov edx, 0x2000
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x1400142c2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbx + 0x20]
mov rdx, r15
test rcx, rcx
cmovne rdx, rcx
mov r8d, eax
lea rcx, str.SetFileAttributes_FILE_ATTRIBUTE_NOT_CONTENT_INDEXED__s_failed__d
call fcn.14000b8f0
mov rax, qword [rbx + 0x20]
mov rcx, r15
test rax, rax
cmovne rcx, rax
xor edx, edx
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ebp, eax
mov rcx, qword [rbx + 0x20]
mov rsi, r15
test rcx, rcx
cmovne rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9, rsi
mov r8d, eax
mov edx, ebp
lea rcx, str.Delete_File__d__d__s_n
call fcn.14000bc30
jmp 0x1400143c9
lea rdx, [rbx + 0x20]
lea rcx, [rsp + 0x20]
call fcn.140006c70
nop
lea rdx, str..upd
lea rcx, [rsp + 0x20]
call fcn.140007130
mov rax, qword [rbx + 0x20]
mov rcx, r15
test rax, rax
cmovne rcx, rax
mov edx, 0x2000
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x14001436b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbx + 0x20]
mov rdx, r15
test rcx, rcx
cmovne rdx, rcx
mov r8d, eax
lea rcx, str.SetFileAttributes_FILE_ATTRIBUTE_NOT_CONTENT_INDEXED__s_failed__d
call fcn.14000b8f0
mov rax, qword [rbx + 0x20]
mov rdx, r15
test rax, rax
cmovne rdx, rax
mov rcx, r15
mov rax, qword [rsp + 0x20]
test rax, rax
cmovne rcx, rax
mov r8d, 5
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ebp, eax
mov rcx, qword [rbx + 0x20]
mov rsi, r15
test rcx, rcx
cmovne rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9, rsi
mov r8d, eax
mov edx, ebp
lea rcx, str.Move_Reboot__d__d__s_n
call fcn.14000bc30
nop
lea rcx, [rsp + 0x20]
call fcn.140006d00
mov rbx, qword [rbx]
cmp rbx, qword [rdi + 0x40]
jne 0x140014260
mov rax, qword [rdi + 0x10]
cmp byte [rax + 0x19], 0
je 0x140014408
mov rax, qword [rdi + 8]
cmp byte [rax + 0x19], 0
jne 0x140014403
nop word [rax + rax]
cmp rdi, qword [rax + 0x10]
jne 0x140014403
mov rdi, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1400143f0
mov rdi, rax
jmp 0x14001442f
mov rdi, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x14001442f
nop dword [rax]
nop dword [rax + rax]
mov rdi, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x140014420
cmp rdi, qword [r14 + 0x228]
jne 0x140014250
xor eax, eax
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140048410
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret