Function at 0x14013ea30
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 0x14013eaaf
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::renameFile_const_class_QFileSystemEntry__const_class_QFileSystemEntry__class_QSystemError__
mov dword [rbp - 0x24], 0x5d9
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 0x14013eafc
cmp eax, 0xffffffff
je 0x14013eb0a
sub eax, 1
mov dword [rcx], eax
jne 0x14013eb0a
mov rcx, qword [rbp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140143660
test sil, sil
je 0x14013eb1b
mov dword [rbp - 0x24], 0x5d9
jmp 0x14013ebd4
mov rcx, rbx
call fcn.14013dca0
test al, al
je 0x14013eb78
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::renameFile_const_class_QFileSystemEntry__const_class_QFileSystemEntry__class_QSystemError__
mov dword [rbp - 0x24], 0x5da
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 0x14013ecc8
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 0x14013ebba
cmp eax, 0xffffffff
je 0x14013ebc8
sub eax, 1
mov dword [rcx], eax
jne 0x14013ebc8
mov rcx, qword [rbp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140143660
test sil, sil
je 0x14013ec1e
mov dword [rbp - 0x24], 0x5da
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::renameFile_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 0x14013ecc8
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 rdx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileW]
mov rcx, qword [rbp + 0x38]
test eax, eax
setne bl
mov eax, dword [rcx]
test eax, eax
je 0x14013ec74
cmp eax, 0xffffffff
je 0x14013ec82
sub eax, 1
mov dword [rcx], eax
jne 0x14013ec82
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 0x14013ec9c
cmp eax, 0xffffffff
je 0x14013ecaa
sub eax, 1
mov dword [rcx], eax
jne 0x14013ecaa
mov rcx, qword [rbp - 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140143660
test bl, bl
jne 0x14013ecc5
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