Function at 0x14000f970
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 rsi, rcx
mov rax, qword [0x14004c030]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rdx, [rsp + 0x30]
call fcn.14001cfa4
test eax, eax
je 0x14000f9ce
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140027f60
nop
add rsp, 0x278
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movzx eax, word [rsp + 0x36]
and eax, 0xf000
cmp eax, 0x4000
jne 0x14000fa5b
mov rcx, rsi
call fcn.140037230
mov rbx, rax
lea r14, [0x14004411e]
lea r15, [0x14004411c]
lea r12, str._s__s
lea r13, [rsp + 0x60]
mov rcx, rbx
call fcn.1400372d0
test rax, rax
je 0x14000fb1f
mov rbp, rax
mov rcx, rax
mov rdx, r14
call fcn.140023fec
test eax, eax
je 0x14000fa04
mov rcx, rbp
mov rdx, r15
call fcn.140023fec
test eax, eax
je 0x14000fa04
mov qword [rsp + 0x20], rbp
mov edx, 0x104
mov rcx, r13
mov r8, r12
mov r9, rsi
call fcn.140004090
mov rcx, r13
mov rdx, rdi
call fcn.14000f970
jmp 0x14000fa04
lea rdx, [0x14004391a]
lea rbx, [rsp + 0x60]
mov rcx, rdi
mov r8, rbx
call fcn.140037480
mov rcx, rbx
call fcn.14002104c
test eax, eax
je 0x14000fac6
call fcn.14001c8b0
cmp dword [rax], 2
je 0x14000fac6
mov eax, dword [0x14004fe88]
mov ecx, dword [0x14004cde8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000fc3a
call fcn.14001c8b0
mov r9d, dword [rax]
lea rdx, str.remove_recursive_on_reboot:_failed_to_remove_temporary_file:__S__err:__d
lea r8, [rsp + 0x60]
call fcn.1400137e0
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140004120
test eax, eax
cmove rsi, rbx
mov rcx, rsi
xor edx, edx
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [0x14004fe88]
mov edx, dword [0x14004cde8]
mov r8, qword gs:[0x58]
mov rdx, qword [r8 + rdx*8]
mov edx, dword [rdx + 4]
test eax, eax
je 0x14000fb89
cmp ecx, edx
jg 0x14000fba4
lea rdi, str.remove_recursive_on_reboot:_file_will_be_removed_on_OS_reboot:__S
jmp 0x14000fb94
mov rcx, rbx
call fcn.1400372a0
mov rcx, rsi
mov edx, 0x180
call fcn.1400207b0
mov rcx, rsi
call fcn.1400210a4
test eax, eax
je 0x14000f9a9
mov edi, eax
mov eax, dword [0x14004fe88]
mov ecx, dword [0x14004cde8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000fbb9
call fcn.14001c8b0
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
lea rdx, str.remove_recursive_on_reboot:_unable_to_remove_directory:__S__rv:__d__err:__d
mov r8, rsi
mov r9d, edi
call fcn.1400137e0
jmp 0x14000f9a9
cmp ecx, edx
jg 0x14000fbf6
lea rdi, str.remove_recursive_on_reboot:_failed_to_schedule_OS_reboot_removal_of_file:__S
mov rdx, rdi
mov r8, rsi
call fcn.1400137e0
jmp 0x14000f9a9
lea rcx, [0x14004fe88]
call fcn.140015660
lea rdi, str.remove_recursive_on_reboot:_file_will_be_removed_on_OS_reboot:__S
jmp 0x14000fc09
lea rcx, [0x14004fe88]
call fcn.140015660
cmp dword [0x14004fe88], 0xffffffff
jne 0x14000fb67
mov qword [0x14004fc78], 0
lea rcx, [0x140003af0]
call fcn.1400157f8
lea rcx, [0x14004fe88]
call fcn.1400156c8
jmp 0x14000fb67
lea rcx, [0x14004fe88]
call fcn.140015660
lea rdi, str.remove_recursive_on_reboot:_failed_to_schedule_OS_reboot_removal_of_file:__S
cmp dword [0x14004fe88], 0xffffffff
jne 0x14000fb94
mov qword [0x14004fc78], 0
lea rcx, [0x140003af0]
call fcn.1400157f8
lea rcx, [0x14004fe88]
call fcn.1400156c8
jmp 0x14000fb94
lea rcx, [0x14004fe88]
call fcn.140015660
cmp dword [0x14004fe88], 0xffffffff
jne 0x14000faad
mov qword [0x14004fc78], 0
lea rcx, [0x140003af0]
call fcn.1400157f8
lea rcx, [0x14004fe88]
call fcn.1400156c8
jmp 0x14000faad