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 [0x140048010]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rdx, [rsp + 0x30]
call fcn.14001bd28
test eax, eax
jne 0x14000b4ff
movzx eax, word [rsp + 0x36]
and eax, 0xf000
cmp eax, 0x4000
je 0x14000b524
lea rdx, [0x14004030e]
lea rbx, [rsp + 0x60]
mov rcx, r13
mov r8, rbx
call fcn.140035da0
mov rcx, rbx
call fcn.14001fe28
test eax, eax
je 0x14000b484
call fcn.14001b5f4
cmp dword [rax], 2
je 0x14000b484
mov eax, dword [0x14004b098]
mov ecx, dword [0x140048e4c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000b67c
call fcn.14001b5f4
mov r9d, dword [rax]
lea rcx, [0x14004ae88]
lea rdx, str.remove_recursive_on_reboot:_failed_to_remove_temporary_file:__S__err:__d
lea r8, [rsp + 0x60]
call fcn.140011840
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 [0x14004b098]
mov edx, dword [0x140048e4c]
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, [0x14004ae88]
mov rdx, rsi
mov r8, r14
call fcn.140011840
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140024a50
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.140035b50
mov rbx, rax
mov rcx, rax
call fcn.140035bf0
test rax, rax
je 0x14000b5aa
mov rbp, rax
lea rsi, [0x140040aea]
lea r15, [0x140040ae8]
lea r12, str._s__s
lea rdi, [rsp + 0x60]
mov rcx, rbp
mov rdx, rsi
call fcn.140022cd4
test eax, eax
je 0x14000b59a
mov rcx, rbp
mov rdx, r15
call fcn.140022cd4
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.140035bf0
mov rbp, rax
test rax, rax
jne 0x14000b559
mov rcx, rbx
call fcn.140035bc0
mov rcx, r14
mov edx, 0x180
call fcn.14001f598
mov rcx, r14
call fcn.14001fe80
test eax, eax
je 0x14000b4ff
mov esi, eax
mov eax, dword [0x14004b098]
mov ecx, dword [0x140048e4c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000b6bd
call fcn.14001b5f4
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
lea rcx, [0x14004ae88]
lea rdx, str.remove_recursive_on_reboot:_unable_to_remove_directory:__S__rv:__d__err:__d
mov r8, r14
mov r9d, esi
call fcn.140011840
jmp 0x14000b4ff
lea rcx, [0x14004b098]
call fcn.140013d00
lea rsi, str.remove_recursive_on_reboot:_file_will_be_removed_on_OS_reboot:__S
jmp 0x14000b647
lea rcx, [0x14004b098]
call fcn.140013d00
lea rsi, str.remove_recursive_on_reboot:_failed_to_schedule_OS_reboot_removal_of_file:__S
cmp dword [0x14004b098], 0xffffffff
jne 0x14000b4ed
mov qword [0x14004ae88], 0
lea rcx, [0x14000add0]
call fcn.140013eb8
lea rcx, [0x14004b098]
call fcn.140013d68
jmp 0x14000b4ed
lea rcx, [0x14004b098]
call fcn.140013d00
cmp dword [0x14004b098], 0xffffffff
jne 0x14000b464
mov qword [0x14004ae88], 0
lea rcx, [0x14000add0]
call fcn.140013eb8
lea rcx, [0x14004b098]
call fcn.140013d68
jmp 0x14000b464
lea rcx, [0x14004b098]
call fcn.140013d00
cmp dword [0x14004b098], 0xffffffff
jne 0x14000b5f6
mov qword [0x14004ae88], 0
lea rcx, [0x14000add0]
call fcn.140013eb8
lea rcx, [0x14004b098]
call fcn.140013d68
jmp 0x14000b5f6