Function at 0x6713e880
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6727caa5
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x674c412c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov ecx, ebx
call fcn.6713d2f0
test al, al
je 0x6713e8f9
push str.Empty_filename_passed_to_function
movaps xmm0, xmmword [0x6728ef30]
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x2c], 0x6728e624
movups xmmword [ebp - 0x3c], xmm0
call sym.Qt5Core.dll_public:_void___cdecl_QMessageLogger::warning_char_const__const
add esp, 8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [eax], 0x16
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.671129b0
xor ecx, ecx
mov dword [ebp - 4], 0
push 1
mov word [ebp - 0x24], cx
push ecx
push dword [ebp - 0x24]
mov ecx, eax
call sym.Qt5Core.dll_public:_int___thiscall_QString::indexOf_class_QChar__int__enum_Qt::CaseSensitivity_const
cmp eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
setne byte [ebp - 0xd]
or edi, 0xffffffff
mov eax, dword [eax]
test eax, eax
je 0x6713e94d
cmp eax, edi
je 0x6713e95c
mov eax, dword [ebp - 0x14]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x6713e95c
push 4
push 2
push dword [ebp - 0x14]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
cmp byte [ebp - 0xd], 0
je 0x6713e96c
push str.Broken_filename_passed_to_function
jmp 0x6713e8bb
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.6713d2f0
test al, al
jne 0x6713e8b6
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.671129b0
xor ecx, ecx
mov dword [ebp - 4], 1
push 1
mov word [ebp - 0x28], cx
push ecx
push dword [ebp - 0x28]
mov ecx, eax
call sym.Qt5Core.dll_public:_int___thiscall_QString::indexOf_class_QChar__int__enum_Qt::CaseSensitivity_const
cmp eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
setne byte [ebp - 0xd]
mov eax, dword [eax]
test eax, eax
je 0x6713e9d0
cmp eax, 0xffffffff
je 0x6713e9df
mov eax, dword [ebp - 0x18]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x6713e9df
push 4
push 2
push dword [ebp - 0x18]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
cmp byte [ebp - 0xd], 0
jne 0x6713e962
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.671129b0
mov ecx, eax
mov dword [ebp - 4], 2
call sym.Qt5Core.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
mov esi, eax
mov ecx, ebx
lea eax, [ebp - 0x1c]
push eax
call fcn.671129b0
mov ecx, eax
mov byte [ebp - 4], 3
call sym.Qt5Core.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
mov eax, dword [ebp - 0x1c]
setne bl
mov eax, dword [eax]
test eax, eax
je 0x6713ea46
cmp eax, 0xffffffff
je 0x6713ea55
mov eax, dword [ebp - 0x1c]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x6713ea55
push 4
push 2
push dword [ebp - 0x1c]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
test eax, eax
je 0x6713ea72
cmp eax, 0xffffffff
je 0x6713ea81
mov eax, dword [ebp - 0x20]
lock xadd dword [eax], edi
dec edi
setne al
test al, al
jne 0x6713ea81
push 4
push 2
push dword [ebp - 0x20]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
test bl, bl
jne 0x6713ea97
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov dword [ecx + 4], 2
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret