Function at 0x14000b3c0
Capabilities:
Move file

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x278
mov r13, rdx
mov r14, rcx
mov rax, qword [0x140047010]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rdx, [rsp + 0x30]
call fcn.14001bb88
test eax, eax
jne 0x14000b4ff
movzx eax, word [rsp + 0x36]
and eax, 0xf000
cmp eax, 0x4000
je 0x14000b524
lea rdx, [0x14003f32a]
lea rbx, [rsp + 0x60]
mov rcx, r13
mov r8, rbx
call fcn.140035850
mov rcx, rbx
call fcn.14001fc88
test eax, eax
je 0x14000b484
call fcn.14001b454
cmp dword [rax], 2
je 0x14000b484
mov eax, dword [0x14004a098]
mov ecx, dword [0x140047e4c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000b67c
call fcn.14001b454
mov r9d, dword [rax]
lea rcx, [0x140049e88]
lea rdx, str.remove_recursive_on_reboot:_failed_to_remove_temporary_file:__S__err:__d
lea r8, [rsp + 0x60]
call fcn.1400116a0
mov rcx, r14
mov rdx, rbx
xor r8d, r8d
call fcn.14000ae00
test eax, eax
cmove r14, rbx
mov rcx, r14
xor edx, edx
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [0x14004a098]
mov edx, dword [0x140047e4c]
mov rbp, qword gs:[0x58]
mov rdx, qword [rbp + rdx*8]
mov edx, dword [rdx + 4]
test eax, eax
je 0x14000b4de
cmp ecx, edx
jg 0x14000b61f
lea rsi, str.remove_recursive_on_reboot:_file_will_be_removed_on_OS_reboot:__S
jmp 0x14000b4ed
cmp ecx, edx
jg 0x14000b634
lea rsi, str.remove_recursive_on_reboot:_failed_to_schedule_OS_reboot_removal_of_file:__S
lea rcx, [0x140049e88]
mov rdx, rsi
mov r8, r14
call fcn.1400116a0
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400246e0
nop
add rsp, 0x278
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, r14
call fcn.140035600
mov rbx, rax
mov rcx, rax
call fcn.1400356a0
test rax, rax
je 0x14000b5aa
mov rbp, rax
lea rsi, [0x14003fb06]
lea r15, [0x14003fb04]
lea r12, str._s__s
lea rdi, [rsp + 0x60]
mov rcx, rbp
mov rdx, rsi
call fcn.140022964
test eax, eax
je 0x14000b59a
mov rcx, rbp
mov rdx, r15
call fcn.140022964
test eax, eax
je 0x14000b59a
mov qword [rsp + 0x20], rbp
mov edx, 0x104
mov rcx, rdi
mov r8, r12
mov r9, r14
call fcn.140004870
mov rcx, rdi
mov rdx, r13
call fcn.14000b3c0
mov rcx, rbx
call fcn.1400356a0
mov rbp, rax
test rax, rax
jne 0x14000b559
mov rcx, rbx
call fcn.140035670
mov rcx, r14
mov edx, 0x180
call fcn.14001f3f8
mov rcx, r14
call fcn.14001fce0
test eax, eax
je 0x14000b4ff
mov esi, eax
mov eax, dword [0x14004a098]
mov ecx, dword [0x140047e4c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000b6bd
call fcn.14001b454
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
lea rcx, [0x140049e88]
lea rdx, str.remove_recursive_on_reboot:_unable_to_remove_directory:__S__rv:__d__err:__d
mov r8, r14
mov r9d, esi
call fcn.1400116a0
jmp 0x14000b4ff
lea rcx, [0x14004a098]
call fcn.140013b60
lea rsi, str.remove_recursive_on_reboot:_file_will_be_removed_on_OS_reboot:__S
jmp 0x14000b647
lea rcx, [0x14004a098]
call fcn.140013b60
lea rsi, str.remove_recursive_on_reboot:_failed_to_schedule_OS_reboot_removal_of_file:__S
cmp dword [0x14004a098], 0xffffffff
jne 0x14000b4ed
mov qword [0x140049e88], 0
lea rcx, [0x14000add0]
call fcn.140013d18
lea rcx, [0x14004a098]
call fcn.140013bc8
jmp 0x14000b4ed
lea rcx, [0x14004a098]
call fcn.140013b60
cmp dword [0x14004a098], 0xffffffff
jne 0x14000b464
mov qword [0x140049e88], 0
lea rcx, [0x14000add0]
call fcn.140013d18
lea rcx, [0x14004a098]
call fcn.140013bc8
jmp 0x14000b464
lea rcx, [0x14004a098]
call fcn.140013b60
cmp dword [0x14004a098], 0xffffffff
jne 0x14000b5f6
mov qword [0x140049e88], 0
lea rcx, [0x14000add0]
call fcn.140013d18
lea rcx, [0x14004a098]
call fcn.140013bc8
jmp 0x14000b5f6