Function at 0x14000aff0
Capabilities:
Move file

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x278
mov rdi, rdx
mov r14, rcx
mov rax, qword [0x140045010]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rdx, [rsp + 0x30]
call fcn.14001c048
test eax, eax
jne 0x14000b283
movzx eax, word [rsp + 0x36]
and eax, 0xf000
cmp eax, 0x4000
jne 0x14000b0e7
mov rcx, r14
call fcn.14000fed0
test rax, rax
je 0x14000b23a
mov rbx, rax
mov rcx, rax
call fcn.14000ff70
test rax, rax
je 0x14000b1cd
mov rbp, rax
lea rsi, [0x14003d9ee]
lea r15, [0x14003d9ec]
lea r12, str._s__s
lea r13, [rsp + 0x60]
jmp 0x14000b0a4
mov rcx, rbx
call fcn.14000ff70
mov rbp, rax
test rax, rax
je 0x14000b1cd
mov rcx, rbp
mov rdx, rsi
call fcn.140021f34
test eax, eax
je 0x14000b090
mov rcx, rbp
mov rdx, r15
call fcn.140021f34
test eax, eax
je 0x14000b090
mov qword [rsp + 0x20], rbp
mov edx, 0x104
mov rcx, r13
mov r8, r12
mov r9, r14
call fcn.140004260
mov rcx, r13
mov rdx, rdi
call fcn.14000aff0
jmp 0x14000b090
lea rdx, [0x14003d264]
lea rbx, [rsp + 0x60]
mov rcx, rdi
mov r8, rbx
call fcn.140010130
mov rcx, rbx
call fcn.14001f614
test eax, eax
je 0x14000b159
call fcn.14001b914
cmp dword [rax], 2
je 0x14000b159
mov eax, dword [0x140048558]
mov ecx, dword [0x140045e44]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000b36b
call fcn.14001b914
mov r9d, dword [rax]
lea rcx, [0x140048348]
lea rdx, str.remove_recursive_on_reboot:_failed_to_remove_temporary_file:__S__err:__d
lea r8, [rsp + 0x60]
call fcn.14000ec80
mov rcx, r14
mov rdx, rbx
xor r8d, r8d
call fcn.14000abb0
test eax, eax
cmove r14, rbx
mov rcx, r14
xor edx, edx
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, eax
mov eax, dword [0x140048558]
mov ecx, dword [0x140045e44]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000b2a8
test esi, esi
lea rax, str.remove_recursive_on_reboot:_failed_to_schedule_OS_reboot_removal_of_file:__S
lea rdx, str.remove_recursive_on_reboot:_file_will_be_removed_on_OS_reboot:__S
cmove rdx, rax
lea rcx, [0x140048348]
mov r8, r14
call fcn.14000ec80
jmp 0x14000b283
mov rcx, rbx
call fcn.14000ff40
mov rcx, r14
mov edx, 0x180
call fcn.14001ed1c
mov rcx, r14
call fcn.14001f66c
test eax, eax
je 0x14000b283
mov esi, eax
mov eax, dword [0x140048558]
mov ecx, dword [0x140045e44]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000b2e9
call fcn.14001b914
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
lea rcx, [0x140048348]
lea rdx, str.remove_recursive_on_reboot:_unable_to_remove_directory:__S__rv:__d__err:__d
mov r8, r14
mov r9d, esi
jmp 0x14000b27e
mov eax, dword [0x140048558]
mov ecx, dword [0x140045e44]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000b32a
call fcn.14001b914
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
lea rcx, [0x140048348]
lea rdx, str.remove_recursive_on_reboot:_unable_to_open_directory:__S__rv:__d__err:__d
mov r8, r14
xor r9d, r9d
call fcn.14000ec80
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140023e80
nop
add rsp, 0x278
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x140048558]
call fcn.140013ec0
cmp dword [0x140048558], 0xffffffff
jne 0x14000b1a5
mov qword [0x140048348], 0
lea rcx, [0x14000ab80]
call fcn.140014078
lea rcx, [0x140048558]
call fcn.140013f28
jmp 0x14000b1a5
lea rcx, [0x140048558]
call fcn.140013ec0
cmp dword [0x140048558], 0xffffffff
jne 0x14000b219
mov qword [0x140048348], 0
lea rcx, [0x14000ab80]
call fcn.140014078
lea rcx, [0x140048558]
call fcn.140013f28
jmp 0x14000b219
lea rcx, [0x140048558]
call fcn.140013ec0
cmp dword [0x140048558], 0xffffffff
jne 0x14000b25f
mov qword [0x140048348], 0
lea rcx, [0x14000ab80]
call fcn.140014078
lea rcx, [0x140048558]
call fcn.140013f28
jmp 0x14000b25f
lea rcx, [0x140048558]
call fcn.140013ec0
cmp dword [0x140048558], 0xffffffff
jne 0x14000b139
mov qword [0x140048348], 0
lea rcx, [0x14000ab80]
call fcn.140014078
lea rcx, [0x140048558]
call fcn.140013f28
jmp 0x14000b139