Function at 0x14000d630
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 [0x140048030]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rdx, [rsp + 0x30]
call fcn.14001af34
test eax, eax
je 0x14000d68e
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140025ef0
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 0x14000d71b
mov rcx, rsi
call fcn.1400352a0
mov rbx, rax
lea r14, [0x140040574]
lea r15, [0x140040572]
lea r12, str._s__s
lea r13, [rsp + 0x60]
mov rcx, rbx
call fcn.140035340
test rax, rax
je 0x14000d7df
mov rbp, rax
mov rcx, rax
mov rdx, r14
call fcn.140021f7c
test eax, eax
je 0x14000d6c4
mov rcx, rbp
mov rdx, r15
call fcn.140021f7c
test eax, eax
je 0x14000d6c4
mov qword [rsp + 0x20], rbp
mov edx, 0x104
mov rcx, r13
mov r8, r12
mov r9, rsi
call fcn.140003ff0
mov rcx, r13
mov rdx, rdi
call fcn.14000d630
jmp 0x14000d6c4
lea rdx, [0x14003fd98]
lea rbx, [rsp + 0x60]
mov rcx, rdi
mov r8, rbx
call fcn.1400354f0
mov rcx, rbx
call fcn.14001efdc
test eax, eax
je 0x14000d786
call fcn.14001a840
cmp dword [rax], 2
je 0x14000d786
mov eax, dword [0x14004be88]
mov ecx, dword [0x140048de8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000d8fa
call fcn.14001a840
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.1400128e0
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140004080
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 [0x14004be88]
mov edx, dword [0x140048de8]
mov r8, qword gs:[0x58]
mov rdx, qword [r8 + rdx*8]
mov edx, dword [rdx + 4]
test eax, eax
je 0x14000d849
cmp ecx, edx
jg 0x14000d864
lea rdi, str.remove_recursive_on_reboot:_file_will_be_removed_on_OS_reboot:__S
jmp 0x14000d854
mov rcx, rbx
call fcn.140035310
mov rcx, rsi
mov edx, 0x180
call fcn.14001e740
mov rcx, rsi
call fcn.14001f034
test eax, eax
je 0x14000d669
mov edi, eax
mov eax, dword [0x14004be88]
mov ecx, dword [0x140048de8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000d879
call fcn.14001a840
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.1400128e0
jmp 0x14000d669
cmp ecx, edx
jg 0x14000d8b6
lea rdi, str.remove_recursive_on_reboot:_failed_to_schedule_OS_reboot_removal_of_file:__S
mov rdx, rdi
mov r8, rsi
call fcn.1400128e0
jmp 0x14000d669
lea rcx, [0x14004be88]
call fcn.1400135f0
lea rdi, str.remove_recursive_on_reboot:_file_will_be_removed_on_OS_reboot:__S
jmp 0x14000d8c9
lea rcx, [0x14004be88]
call fcn.1400135f0
cmp dword [0x14004be88], 0xffffffff
jne 0x14000d827
mov qword [0x14004bc78], 0
lea rcx, [0x140003a50]
call fcn.140013788
lea rcx, [0x14004be88]
call fcn.140013658
jmp 0x14000d827
lea rcx, [0x14004be88]
call fcn.1400135f0
lea rdi, str.remove_recursive_on_reboot:_failed_to_schedule_OS_reboot_removal_of_file:__S
cmp dword [0x14004be88], 0xffffffff
jne 0x14000d854
mov qword [0x14004bc78], 0
lea rcx, [0x140003a50]
call fcn.140013788
lea rcx, [0x14004be88]
call fcn.140013658
jmp 0x14000d854
lea rcx, [0x14004be88]
call fcn.1400135f0
cmp dword [0x14004be88], 0xffffffff
jne 0x14000d76d
mov qword [0x14004bc78], 0
lea rcx, [0x140003a50]
call fcn.140013788
lea rcx, [0x14004be88]
call fcn.140013658
jmp 0x14000d76d