Function at 0x10007ac0
Capabilities:
Delete file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x10063365
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1009b004]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x50]
lea ecx, [esp + 0x20]
push ebx
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDir::constructor_class_QString_const__]
push ecx
mov eax, esp
mov dword [esp + 0x4c], 0
push 0x6007
lea ecx, [esp + 0x28]
mov dword [eax], 0xffffffff
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QList_class_QFileInfo____thiscall_QDir::entryInfoList_class_QFlags_enum_QDir::Filter___class_QFlags_enum_QDir::SortFlag__]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x48], 1
mov ecx, dword [eax]
cmp ecx, 1
je 0x10007b3f
test ecx, ecx
je 0x10007b3f
push dword [eax + 4]
lea ecx, [esp + 0x18]
call fcn.10006da0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
add ecx, 4
lea esi, [eax + ecx*4]
mov ecx, dword [eax]
cmp ecx, 1
je 0x10007b63
test ecx, ecx
je 0x10007b63
push dword [eax + 4]
lea ecx, [esp + 0x18]
call fcn.10006da0
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0xc]
mov ebp, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QFileInfo::destructor_void_]
add edi, 4
lea edi, [eax + edi*4]
cmp esi, edi
je 0x10007c57
mov ebx, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QFileInfo::constructor_class_QFileInfo_const__]
push esi
lea ecx, [esp + 0x20]
call ebx
lea eax, [esp + 0x18]
mov byte [esp + 0x48], 2
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QFileInfo::absoluteFilePath_void_]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48], 3
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QFileInfo::isDir_void_const]
test al, al
je 0x10007bbb
lea eax, [esp + 0x18]
push eax
call fcn.10007ac0
add esp, 4
push 4
push 0
lea ecx, [esp + 0x20]
call dword [sym.imp.Qt5Core.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
lea ecx, [esp + 0x2c]
lea eax, [esp + 0x28]
push eax
push 0
push 0
push 0
setne byte [esp + 0x34]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const__]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug___thiscall_QMessageLogger::debug_void_]
push dword [esp + 0x24]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c], 4
push ecx
push str.MoveFileEx
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___class_QString_const__]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___bool_]
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 2
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48], 1
call ebp
add esi, 4
cmp esi, edi
jne 0x10007b80
mov ebx, dword [esp + 0x50]
push 4
push 0
mov ecx, ebx
call dword [sym.imp.Qt5Core.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
lea ecx, [esp + 0x2c]
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 0
setne byte [esp + 0x38]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const__]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug___thiscall_QMessageLogger::debug_void_]
push dword [esp + 0x28]
mov ecx, eax
mov byte [esp + 0x4c], 5
push ebx
push str.MoveFileEx
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___class_QString_const__]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___bool_]
lea ecx, [esp + 0x24]
mov byte [esp + 0x48], 1
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
mov edi, dword [esp + 0x14]
mov byte [esp + 0x48], 0
mov eax, dword [edi]
test eax, eax
je 0x10007cea
cmp eax, 0xffffffff
je 0x10007d15
or eax, 0xffffffff
lock xadd dword [edi], eax
setne al
test al, al
jne 0x10007d15
mov edi, dword [esp + 0x14]
mov esi, dword [edi + 0xc]
mov ebx, dword [edi + 8]
add esi, 4
add ebx, 4
lea esi, [edi + esi*4]
lea ebx, [edi + ebx*4]
cmp ebx, esi
je 0x10007d0b
sub esi, 4
mov ecx, esi
call ebp
cmp esi, ebx
jne 0x10007d00
push edi
call dword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data__]
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x48], 0xffffffff
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDir::destructor_void_]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret