Function at 0x14000b390
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 [0x140049030]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rdx, [rsp + 0x30]
call fcn.14001b4a4
test eax, eax
jne 0x14000b4ce
movzx eax, word [rsp + 0x36]
and eax, 0xf000
cmp eax, 0x4000
je 0x14000b4f3
lea rdx, [0x140040c40]
lea rbx, [rsp + 0x60]
mov rcx, rdi
mov r8, rbx
call fcn.140035a60
mov rcx, rbx
call fcn.14001f54c
test eax, eax
je 0x14000b454
call fcn.14001adb0
cmp dword [rax], 2
je 0x14000b454
mov eax, dword [0x14004c1c8]
mov ecx, dword [0x140049f80]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000b64b
call fcn.14001adb0
mov r9d, dword [rax]
lea rcx, [0x14004bfb8]
lea rdx, str.remove_recursive_on_reboot:_failed_to_remove_temporary_file:__S__err:__d
lea r8, [rsp + 0x60]
call fcn.1400117c0
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.14000add0
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 [0x14004c1c8]
mov edx, dword [0x140049f80]
mov r8, qword gs:[0x58]
mov rdx, qword [r8 + rdx*8]
mov edx, dword [rdx + 4]
test eax, eax
je 0x14000b4ad
cmp ecx, edx
jg 0x14000b5ee
lea rdi, str.remove_recursive_on_reboot:_file_will_be_removed_on_OS_reboot:__S
jmp 0x14000b4bc
cmp ecx, edx
jg 0x14000b603
lea rdi, str.remove_recursive_on_reboot:_failed_to_schedule_OS_reboot_removal_of_file:__S
lea rcx, [0x14004bfb8]
mov rdx, rdi
mov r8, rsi
call fcn.1400117c0
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140026460
nop
add rsp, 0x278
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rsi
call fcn.140035810
mov rbx, rax
mov rcx, rax
call fcn.1400358b0
test rax, rax
je 0x14000b579
mov rbp, rax
lea r14, [0x14004141c]
lea r15, [0x14004141a]
lea r12, str._s__s
lea r13, [rsp + 0x60]
mov rcx, rbp
mov rdx, r14
call fcn.1400224ec
test eax, eax
je 0x14000b569
mov rcx, rbp
mov rdx, r15
call fcn.1400224ec
test eax, eax
je 0x14000b569
mov qword [rsp + 0x20], rbp
mov edx, 0x104
mov rcx, r13
mov r8, r12
mov r9, rsi
call fcn.140004870
mov rcx, r13
mov rdx, rdi
call fcn.14000b390
mov rcx, rbx
call fcn.1400358b0
mov rbp, rax
test rax, rax
jne 0x14000b528
mov rcx, rbx
call fcn.140035880
mov rcx, rsi
mov edx, 0x180
call fcn.14001ecb0
mov rcx, rsi
call fcn.14001f5a4
test eax, eax
je 0x14000b4ce
mov edi, eax
mov eax, dword [0x14004c1c8]
mov ecx, dword [0x140049f80]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000b68c
call fcn.14001adb0
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
lea rcx, [0x14004bfb8]
lea rdx, str.remove_recursive_on_reboot:_unable_to_remove_directory:__S__rv:__d__err:__d
mov r8, rsi
mov r9d, edi
call fcn.1400117c0
jmp 0x14000b4ce
lea rcx, [0x14004c1c8]
call fcn.140013b60
lea rdi, str.remove_recursive_on_reboot:_file_will_be_removed_on_OS_reboot:__S
jmp 0x14000b616
lea rcx, [0x14004c1c8]
call fcn.140013b60
lea rdi, str.remove_recursive_on_reboot:_failed_to_schedule_OS_reboot_removal_of_file:__S
cmp dword [0x14004c1c8], 0xffffffff
jne 0x14000b4bc
mov qword [0x14004bfb8], 0
lea rcx, [0x14000ada0]
call fcn.140013cf8
lea rcx, [0x14004c1c8]
call fcn.140013bc8
jmp 0x14000b4bc
lea rcx, [0x14004c1c8]
call fcn.140013b60
cmp dword [0x14004c1c8], 0xffffffff
jne 0x14000b434
mov qword [0x14004bfb8], 0
lea rcx, [0x14000ada0]
call fcn.140013cf8
lea rcx, [0x14004c1c8]
call fcn.140013bc8
jmp 0x14000b434
lea rcx, [0x14004c1c8]
call fcn.140013b60
cmp dword [0x14004c1c8], 0xffffffff
jne 0x14000b5c5
mov qword [0x14004bfb8], 0
lea rcx, [0x14000ada0]
call fcn.140013cf8
lea rcx, [0x14004c1c8]
call fcn.140013bc8
jmp 0x14000b5c5