Function at 0x1401043f8
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 [0x140198858]
xor rax, rsp
mov qword [rbp + 0xa70], rax
mov r15, r8
mov rbx, rdx
mov r14, rcx
mov rcx, rdx
call fcn.14002a2a4
test al, al
je 0x140104754
cmp qword [r15 + 0x10], 0
sete al
test al, al
jne 0x140104754
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.140104020
nop
lea rcx, [r14 + 0x58]
call fcn.14013c468
xor edx, edx
mov rcx, rax
call fcn.140020d80
cmp eax, 0x102
je 0x1401044ca
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.140100be4
lea rdx, [0x1401e5908]
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
xor r13d, r13d
test sil, sil
jne 0x140104746
inc r13d
mov dword [rsp + 0x48], r13d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
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.140102f2c
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rdx, qword [rbp - 0x80]
cmp qword [rbx + 0x18], 8
jb 0x140104524
mov rcx, qword [rbx]
jmp 0x140104527
mov rcx, rbx
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x1401045c9
mov sil, 1
mov ecx, 0x50
call fcn.140022308
mov qword [rsp + 0x68], rax
test rax, rax
je 0x140104562
lea r8, [rbp - 0x80]
mov rdx, rbx
mov rcx, rax
call fcn.140103324
nop
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x93
test rax, rax
je 0x140104578
lock inc dword [rax + 8]
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.140105610
lea rcx, [r14 + 0x18]
mov r9b, byte [rsp + 0x44]
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x70]
call fcn.140029c94
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1401045c4
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1401045c4
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
jmp 0x1401046a6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x4c], eax
lea rax, [rsp + 0x4c]
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.140103000
lea rdx, [rbp - 0x80]
mov rcx, r14
call fcn.140103eb8
test al, al
jne 0x1401046a6
mov rcx, rbx
call fcn.14002a2a4
test al, al
jne 0x14010462e
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.140103064
mov sil, 1
jmp 0x1401046a6
lea rcx, [rbp - 0x80]
call fcn.14002a2a4
test al, al
je 0x140104689
mov byte [rsp + 0x20], 1
mov r9, r15
mov r8, rbx
lea rdx, [rbp - 0x60]
mov rcx, r14
call fcn.140104020
mov rdi, rax
lea rax, [rbp - 0x80]
cmp rax, rdi
je 0x140104679
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x80]
call fcn.140007eb8
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.140007c60
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x60]
call fcn.140007eb8
jmp 0x1401046a6
lea rcx, [r14 + 0x58]
call fcn.14013c468
mov edx, 0x1f4
mov rcx, rax
call fcn.140020d80
cmp eax, 0x102
jne 0x1401046b2
cmp r13d, dword [rsp + 0x40]
jae 0x1401046ea
jmp 0x1401044cd
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.140100d4c
lea rdx, [0x1401e5908]
lea rcx, [rbp + 0x350]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
test sil, sil
jne 0x140104746
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
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 edx, 0xa0
lea rcx, [rbp + 0x6e0]
call fcn.140100e00
lea rdx, [0x1401e5908]
lea rcx, [rbp + 0x6e0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x80]
call fcn.140007eb8
mov rcx, qword [rbp + 0xa70]
xor rcx, rsp
call fcn.140022430
mov rbx, qword [rsp + 0xbd8]
add rsp, 0xb80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret