Function at 0x18018c1d0
Capabilities:
Move file

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp + 0x2f], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov r12, r8
mov r14, rdx
mov rsi, rcx
call fcn.18018a580
test al, al
je 0x18018c246
mov qword [rbp - 0x51], 2
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x49], xmm0
lea rax, [0x1802fa000]
mov qword [rbp - 0x39], rax
lea rcx, [rbp - 0x51]
lea rdx, str.Empty_filename_passed_to_function
call sym.Qt5Core.dll_public:_void___cdecl_QMessageLogger::warning_char_const____ptr64_const___ptr64
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0x16
xor al, al
jmp 0x18018c44d
lea rdx, [rbp + 0x7f]
mov rcx, rsi
call fcn.180158900
nop
xor ebx, ebx
lea r9d, [rbx + 1]
xor r8d, r8d
movzx edx, bx
mov rcx, rax
call sym.Qt5Core.dll_public:_int___cdecl_QString::indexOf_class_QChar__int__enum_Qt::CaseSensitivity_const___ptr64
cmp eax, 0xffffffff
setne r15b
mov rax, qword [rbp + 0x7f]
mov ecx, dword [rax]
lea edi, [rbx - 1]
test ecx, ecx
je 0x18018c28e
cmp ecx, edi
je 0x18018c2a0
mov ecx, edi
mov rax, qword [rbp + 0x7f]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x18018c2a0
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp + 0x7f]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
test r15b, r15b
je 0x18018c2d0
mov qword [rbp - 0x31], 2
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x29], xmm0
lea rax, [0x1802fa000]
mov qword [rbp - 0x19], rax
lea rdx, str.Broken_filename_passed_to_function
lea rcx, [rbp - 0x31]
jmp 0x18018c22e
mov rcx, r14
call fcn.18018a580
test al, al
je 0x18018c300
mov qword [rbp - 0x11], 2
xorps xmm0, xmm0
movdqu xmmword [rbp - 9], xmm0
lea rax, [0x1802fa000]
mov qword [rbp + 7], rax
lea rcx, [rbp - 0x11]
jmp 0x18018c227
lea rdx, [rbp - 0x69]
mov rcx, r14
call fcn.180158900
nop
mov r9d, 1
xor r8d, r8d
movzx edx, bx
mov rcx, rax
call sym.Qt5Core.dll_public:_int___cdecl_QString::indexOf_class_QChar__int__enum_Qt::CaseSensitivity_const___ptr64
cmp eax, 0xffffffff
setne r15b
mov rax, qword [rbp - 0x69]
mov ecx, dword [rax]
test ecx, ecx
je 0x18018c346
cmp ecx, 0xffffffff
je 0x18018c358
mov ecx, edi
mov rax, qword [rbp - 0x69]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x18018c358
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp - 0x69]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
test r15b, r15b
je 0x18018c388
mov qword [rbp + 0xf], 2
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x17], xmm0
lea rax, [0x1802fa000]
mov qword [rbp + 0x27], rax
lea rdx, str.Broken_filename_passed_to_function
lea rcx, [rbp + 0xf]
jmp 0x18018c22e
lea rdx, [rbp - 0x59]
mov rcx, r14
call fcn.180158900
nop
mov rcx, rax
call sym.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov rbx, rax
lea rdx, [rbp - 0x61]
mov rcx, rsi
call fcn.180158900
nop
mov rcx, rax
call sym.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov r8d, 1
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne bl
mov rax, qword [rbp - 0x61]
mov ecx, dword [rax]
test ecx, ecx
je 0x18018c3ea
cmp ecx, 0xffffffff
je 0x18018c3fd
mov ecx, edi
mov rax, qword [rbp - 0x61]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x18018c3fd
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp - 0x61]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
nop
mov rax, qword [rbp - 0x59]
mov ecx, dword [rax]
test ecx, ecx
je 0x18018c419
cmp ecx, 0xffffffff
je 0x18018c42b
mov rax, qword [rbp - 0x59]
lock xadd dword [rax], edi
cmp edi, 1
jne 0x18018c42b
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp - 0x59]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
test bl, bl
jne 0x18018c44a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x7f], eax
mov dword [rbp + 0x83], 2
mov rcx, qword [rbp + 0x7f]
mov qword [r12], rcx
movzx eax, bl
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret