Function at 0x14013ecf0
Capabilities:
Move file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
mov r14, r8
mov rbx, rdx
mov rdi, rcx
call fcn.14013dca0
test al, al
je 0x14013ed6f
lea rax, str.C:ciqt_main_1660099987651workqtqtbase_srccorelibioqfilesystemengine_win.cpp
mov dword [rbp - 0x28], 2
mov qword [rbp - 0x20], rax
lea rdx, str.Empty_filename_passed_to_function
lea rax, str.bool___cdecl_QFileSystemEngine::renameOverwriteFile_const_class_QFileSystemEntry__const_class_QFileSystemEntry__class_QSystemError__
mov dword [rbp - 0x24], 0x5eb
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x28]
lea rax, str.default
mov qword [rbp - 0x10], rax
call fcn.1401b6890
call fcn.1401c934c
mov dword [rax], 0x16
xor al, al
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rbp
ret
mov qword [rsp + 0x70], rsi
lea rdx, [rbp + 0x38]
mov rcx, rdi
mov qword [rsp + 0x78], r15
call fcn.140139f70
xor r15d, r15d
xor r8d, r8d
movzx edx, r15w
mov rcx, rax
lea r9d, [r15 + 1]
call fcn.140187b20
mov rcx, qword [rbp + 0x38]
cmp eax, 0xffffffff
setne sil
mov eax, dword [rcx]
test eax, eax
je 0x14013edbc
cmp eax, 0xffffffff
je 0x14013edca
sub eax, 1
mov dword [rcx], eax
jne 0x14013edca
mov rcx, qword [rbp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140143660
test sil, sil
je 0x14013eddb
mov dword [rbp - 0x24], 0x5eb
jmp 0x14013ee94
mov rcx, rbx
call fcn.14013dca0
test al, al
je 0x14013ee38
lea rax, str.C:ciqt_main_1660099987651workqtqtbase_srccorelibioqfilesystemengine_win.cpp
mov dword [rbp - 0x28], 2
mov qword [rbp - 0x20], rax
lea rdx, str.Empty_filename_passed_to_function
lea rax, str.bool___cdecl_QFileSystemEngine::renameOverwriteFile_const_class_QFileSystemEntry__const_class_QFileSystemEntry__class_QSystemError__
mov dword [rbp - 0x24], 0x5ec
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x28]
lea rax, str.default
mov qword [rbp - 0x10], rax
call fcn.1401b6890
call fcn.1401c934c
mov dword [rax], 0x16
xor al, al
jmp 0x14013ef8e
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.140139f70
mov r9d, 1
xor r8d, r8d
movzx edx, r15w
mov rcx, rax
call fcn.140187b20
mov rcx, qword [rbp + 0x38]
cmp eax, 0xffffffff
setne sil
mov eax, dword [rcx]
test eax, eax
je 0x14013ee7a
cmp eax, 0xffffffff
je 0x14013ee88
sub eax, 1
mov dword [rcx], eax
jne 0x14013ee88
mov rcx, qword [rbp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140143660
test sil, sil
je 0x14013eede
mov dword [rbp - 0x24], 0x5ec
lea rax, str.C:ciqt_main_1660099987651workqtqtbase_srccorelibioqfilesystemengine_win.cpp
mov dword [rbp - 0x28], 2
mov qword [rbp - 0x20], rax
lea rdx, str.Broken_filename_passed_to_function
lea rax, str.bool___cdecl_QFileSystemEngine::renameOverwriteFile_const_class_QFileSystemEntry__const_class_QFileSystemEntry__class_QSystemError__
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x28]
lea rax, str.default
mov qword [rbp - 0x10], rax
call fcn.1401b6890
call fcn.1401c934c
mov dword [rax], 0x16
xor al, al
jmp 0x14013ef8e
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.140139f70
mov rcx, rax
call fcn.140190810
lea rdx, [rbp + 0x38]
mov rcx, rdi
mov rbx, rax
call fcn.140139f70
mov rcx, rax
call fcn.140190810
mov rcx, rax
mov r8d, 1
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov rcx, qword [rbp + 0x38]
test eax, eax
setne bl
mov eax, dword [rcx]
test eax, eax
je 0x14013ef3a
cmp eax, 0xffffffff
je 0x14013ef48
sub eax, 1
mov dword [rcx], eax
jne 0x14013ef48
mov rcx, qword [rbp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140143660
mov rcx, qword [rbp - 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x14013ef62
cmp eax, 0xffffffff
je 0x14013ef70
sub eax, 1
mov dword [rcx], eax
jne 0x14013ef70
mov rcx, qword [rbp - 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140143660
test bl, bl
jne 0x14013ef8b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x38], eax
mov dword [rbp + 0x3c], 2
mov rcx, qword [rbp + 0x38]
mov qword [r14], rcx
movzx eax, bl
mov rsi, qword [rsp + 0x70]
mov r15, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rbp
ret