Function at 0x14018e538
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 [0x140334860]
xor rax, rsp
mov qword [rbp + 0xa70], rax
mov r15, r8
mov rbx, rdx
mov r14, rcx
mov rcx, rdx
call fcn.140178794
test al, al
je 0x14018e894
cmp qword [r15 + 0x10], 0
sete al
test al, al
jne 0x14018e894
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.14018e160
nop
lea rcx, [r14 + 0x58]
call fcn.1401d47f4
xor edx, edx
mov rcx, rax
call fcn.14018f1cc
cmp eax, 0x102
je 0x14018e60a
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.140189e90
lea rdx, [0x140294a58]
lea rcx, [rbp - 0x40]
call fcn.1401377ec
int3
xor r13d, r13d
test sil, sil
jne 0x14018e886
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.14018c964
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rdx, qword [rbp - 0x80]
cmp qword [rbx + 0x18], 8
jb 0x14018e664
mov rcx, qword [rbx]
jmp 0x14018e667
mov rcx, rbx
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x14018e709
mov sil, 1
mov ecx, 0x50
call fcn.14000e5ac
mov qword [rsp + 0x68], rax
test rax, rax
je 0x14018e6a2
lea r8, [rbp - 0x80]
mov rdx, rbx
mov rcx, rax
call fcn.14018d1c0
nop
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x93
test rax, rax
je 0x14018e6b8
lock inc dword [rax + 8]
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.14018fbdc
lea rcx, [r14 + 0x18]
mov r9b, byte [rsp + 0x44]
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x70]
call fcn.14018cc64
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14018e704
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14018e704
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
jmp 0x14018e7e6
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.14018ca38
lea rdx, [rbp - 0x80]
mov rcx, r14
call fcn.14018df48
test al, al
jne 0x14018e7e6
mov rcx, rbx
call fcn.140178794
test al, al
jne 0x14018e76e
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.14018ca9c
mov sil, 1
jmp 0x14018e7e6
lea rcx, [rbp - 0x80]
call fcn.140178794
test al, al
je 0x14018e7c9
mov byte [rsp + 0x20], 1
mov r9, r15
mov r8, rbx
lea rdx, [rbp - 0x60]
mov rcx, r14
call fcn.14018e160
mov rdi, rax
lea rax, [rbp - 0x80]
cmp rax, rdi
je 0x14018e7b9
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x80]
call fcn.14000b190
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.14000ae7c
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x60]
call fcn.14000b190
jmp 0x14018e7e6
lea rcx, [r14 + 0x58]
call fcn.1401d47f4
mov edx, 0x1f4
mov rcx, rax
call fcn.14018f1cc
cmp eax, 0x102
jne 0x14018e7f2
cmp r13d, dword [rsp + 0x40]
jae 0x14018e82a
jmp 0x14018e60d
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.140189ff8
lea rdx, [0x140294a58]
lea rcx, [rbp + 0x350]
call fcn.1401377ec
int3
test sil, sil
jne 0x14018e886
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.14018a0ac
lea rdx, [0x140294a58]
lea rcx, [rbp + 0x6e0]
call fcn.1401377ec
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x80]
call fcn.14000b190
mov rcx, qword [rbp + 0xa70]
xor rcx, rsp
call fcn.140135130
mov rbx, qword [rsp + 0xbd8]
add rsp, 0xb80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret