Function at 0x1401008d4
Capabilities:
Move file

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xab8]
sub rsp, 0xb80
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x1401d4618]
xor rax, rsp
mov qword [rbp + 0xa70], rax
mov r15, r8
mov rbx, rdx
mov r14, rcx
mov rcx, rdx
call fcn.140010638
test al, al
je 0x140100c31
cmp qword [r15 + 0x10], 0
sete al
test al, al
jne 0x140100c31
mov dword [rsp + 0x40], 0xa
xor sil, sil
mov byte [rsp + 0x20], sil
mov r9, r15
mov r8, rbx
lea rdx, [rbp - 0x80]
mov rcx, r14
call fcn.1401004fc
nop
lea rcx, [r14 + 0x58]
call fcn.14004f104
xor edx, edx
mov rcx, rax
call fcn.14001f71c
cmp eax, 0x102
je 0x1401009a6
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, str.RobustFileOps::MoveFileToBackup:_Shutdown_event_set__abandoning_MoveFileEx_of_existing_fileToMoveToBackupPath___s__to_bakPath___s_.
mov edx, 0x9c
lea rcx, [rbp - 0x40]
call fcn.1400fd338
lea rdx, [0x1401e3810]
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
and dword [rsp + 0x48], 0
xor r13d, r13d
test sil, sil
jne 0x140100c23
inc r13d
mov dword [rsp + 0x4c], r13d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x80]
mov r8, rbx
lea rdx, str.RobustFileOps::MoveFileToBackup:_Moving_existing_fileToMoveToBackupPath___s__to_bakPath___s_:_Attempt__d_of__d.
mov ecx, 3
call fcn.1400ff440
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rdx, qword [rbp - 0x80]
cmp qword [rbx + 0x18], 8
jb 0x140100a05
mov rcx, qword [rbx]
jmp 0x140100a08
mov rcx, rbx
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x140100aaa
mov sil, 1
mov ecx, 0x50
call fcn.1400206a0
mov qword [rsp + 0x68], rax
test rax, rax
je 0x140100a43
lea r8, [rbp - 0x80]
mov rdx, rbx
mov rcx, rax
call fcn.1400ff870
nop
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x93
test rax, rax
je 0x140100a59
lock inc dword [rax + 8]
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.1401019c8
lea rcx, [r14 + 0x18]
mov r9b, byte [rsp + 0x44]
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x70]
call fcn.14002c1b8
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140100aa5
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140100aa5
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
jmp 0x140100b87
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x48], eax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x80]
mov r8, rbx
lea rdx, str.RobustFileOps::MoveFileToBackup:_MoveFileEx_failed_to_move_existing_fileToMoveToBackupPath___s__to_bakPath___s_:_LastError:__d
mov ecx, 3
call fcn.1400ff514
lea rdx, [rbp - 0x80]
mov rcx, r14
call fcn.140100394
test al, al
jne 0x140100b87
mov rcx, rbx
call fcn.140010638
test al, al
jne 0x140100b0f
mov r8, rbx
lea rdx, str.RobustFileOps::MoveFileToBackup:_File_at_fileToMoveToBackupPath___s__no_longer_exists__no_need_to_move_it_to_a_backup_location.
mov ecx, 3
call fcn.1400ff578
mov sil, 1
jmp 0x140100b87
lea rcx, [rbp - 0x80]
call fcn.140010638
test al, al
je 0x140100b6a
mov byte [rsp + 0x20], 1
mov r9, r15
mov r8, rbx
lea rdx, [rbp - 0x60]
mov rcx, r14
call fcn.1401004fc
mov rdi, rax
lea rax, [rbp - 0x80]
cmp rax, rdi
je 0x140100b5a
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x80]
call fcn.14000867c
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.14000841c
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x60]
call fcn.14000867c
jmp 0x140100b87
lea rcx, [r14 + 0x58]
call fcn.14004f104
mov edx, 0x1f4
mov rcx, rax
call fcn.14001f71c
cmp eax, 0x102
jne 0x140100b93
cmp r13d, dword [rsp + 0x40]
jae 0x140100bcb
jmp 0x1401009ae
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, str.RobustFileOps::MoveFileToBackup:_Shutdown_event_set__abandoning_MoveFileEx_of_existing_fileToMoveToBackupPath___s__to_bakPath___s___after_failure_
mov edx, 0x9c
lea rcx, [rbp + 0x350]
call fcn.1400fd4a0
lea rdx, [0x1401e3810]
lea rcx, [rbp + 0x350]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
test sil, sil
jne 0x140100c23
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, str.RobustFileOps::MoveFileToBackup:_FAILED__MoveFileEx_failed_to_move_existing_fileToMoveToBackupPath___s__to_bakPath___s_._All__d_of__d_attempts_exhausted_
mov r8d, dword [rsp + 0x48]
mov edx, LoadRegTypeLib
lea rcx, [rbp + 0x6e0]
call fcn.1400fd554
lea rdx, [0x1401e3810]
lea rcx, [rbp + 0x6e0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x80]
call fcn.14000867c
mov rcx, qword [rbp + 0xa70]
xor rcx, rsp
call fcn.140121d80
mov rbx, qword [rsp + 0xbd8]
add rsp, 0xb80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret