Function at 0x4012d0
Capabilities:
Delete file
Move file

Disassembly:
jmp 0x42d460
push 0xffffffffffffffff
push 0x46f619
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
lea eax, [esp + 0x14]
push edi
push eax
mov esi, ecx
call dword [sym.imp.QtCore4.dll_public:_static_class_QDir___cdecl_QDir::temp_void_]
lea ecx, [esp + 0x30]
xor ebp, ebp
push ecx
mov dword [esp + 0x50], ebp
call dword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QCoreApplication::organizationName_void_]
add esp, 8
mov edi, eax
lea edx, [esp + 0x28]
push edx
mov ecx, esi
mov byte [esp + 0x4c], 1
call fcn.004011a4
push edi
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x54], 2
call fcn.0040294b
add esp, 0xc
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 4
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x48], 5
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QDir::cd_class_QString_const__]
test al, al
je 0x42d7a7
push ecx
mov eax, esp
mov dword [esp + 0x3c], esp
push ecx
mov dword [eax], 0xffffffff
mov eax, esp
lea edx, [esp + 0x1c]
mov dword [esp + 0x40], esp
push edx
lea ecx, [esp + 0x24]
mov dword [eax], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_class_QStringList___thiscall_QDir::entryList_class_QFlags_enum_QDir::Filter___class_QFlags_enum_QDir::SortFlag__]
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 6
call dword [sym.imp.QtCore4.dll_public:_int___thiscall_QListData::size_void_const]
test eax, eax
jle 0x42d769
mov edi, dword [sym.imp.QtCore4.dll_public:_void___thiscall_QChar::constructor_char_]
nop
push 0x4a26dc
lea ecx, [esp + 0x28]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
mov ecx, dword [esp + 0x14]
push 1
mov byte [esp + 0x4c], 7
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::operator__int_const]
test al, al
je 0x42d5b2
lea ecx, [esp + 0x14]
call dword [sym.imp.QtCore4.dll_public:_void_____thiscall_QListData::begin_void_const]
lea ecx, [esp + 0x14]
mov ebx, eax
call dword [sym.imp.QtCore4.dll_public:_struct_QListData::Data____thiscall_QListData::detach2_void_]
push ebx
lea ecx, [esp + 0x18]
mov esi, eax
call dword [sym.imp.QtCore4.dll_public:_void_____thiscall_QListData::end_void_const]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.QtCore4.dll_public:_void_____thiscall_QListData::begin_void_const]
push eax
lea ecx, [esp + 0x20]
call fcn.00401f1e
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::deref_void_]
test al, al
jne 0x42d5b2
push esi
lea ecx, [esp + 0x18]
call fcn.004010e1
push 1
lea eax, [esp + 0x28]
push eax
push ebp
lea ecx, [esp + 0x20]
call dword [sym.imp.QtCore4.dll_public:_void_____thiscall_QListData::at_int_const]
mov ecx, eax
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QString::startsWith_class_QString_const___enum_Qt::CaseSensitivity_const]
test al, al
lea ecx, [esp + 0x24]
sete bl
mov byte [esp + 0x48], 6
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
test bl, bl
je 0x42d754
mov ecx, dword [esp + 0x14]
push 1
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::operator__int_const]
test al, al
je 0x42d646
lea ecx, [esp + 0x14]
call dword [sym.imp.QtCore4.dll_public:_void_____thiscall_QListData::begin_void_const]
lea ecx, [esp + 0x14]
mov ebx, eax
call dword [sym.imp.QtCore4.dll_public:_struct_QListData::Data____thiscall_QListData::detach2_void_]
push ebx
lea ecx, [esp + 0x18]
mov esi, eax
call dword [sym.imp.QtCore4.dll_public:_void_____thiscall_QListData::end_void_const]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.QtCore4.dll_public:_void_____thiscall_QListData::begin_void_const]
push eax
lea ecx, [esp + 0x20]
call fcn.00401f1e
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::deref_void_]
test al, al
jne 0x42d646
push esi
lea ecx, [esp + 0x18]
call fcn.004010e1
push ebp
lea ecx, [esp + 0x18]
call dword [sym.imp.QtCore4.dll_public:_void_____thiscall_QListData::at_int_const]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QDir::remove_class_QString_const__]
test al, al
jne 0x42d754
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x1c]
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QDir::path_void_]
mov esi, eax
lea edx, [esp + 0x12]
push edx
mov byte [esp + 0x4c], 8
call dword [sym.imp.QtCore4.dll_public:_static_class_QChar___cdecl_QDir::separator_void_]
movzx eax, word [eax]
push eax
lea ecx, [esp + 0x3c]
push esi
push ecx
call fcn.00402482
add esp, 0x10
mov esi, eax
mov ecx, dword [esp + 0x14]
push 1
mov byte [esp + 0x4c], 9
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::operator__int_const]
test al, al
je 0x42d6b7
lea ecx, [esp + 0x14]
call fcn.0040216c
push ebp
lea ecx, [esp + 0x18]
call dword [sym.imp.QtCore4.dll_public:_void_____thiscall_QListData::at_int_const]
push eax
lea edx, [esp + 0x34]
push esi
push edx
call fcn.0040294b
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x4c], 0xa
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 0xc
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x34]
mov byte [esp + 0x48], 0xd
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x38]
mov byte [esp + 0x48], 0xe
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x5c
call edi
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x2f
call edi
lea ecx, [esp + 0x28]
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::replace_class_QChar__class_QChar__enum_Qt::CaseSensitivity_]
push 4
push 0
lea ecx, [esp + 0x24]
call dword [sym.imp.QtCore4.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48], 6
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x14]
add ebp, 1
call dword [sym.imp.QtCore4.dll_public:_int___thiscall_QListData::size_void_const]
cmp ebp, eax
jl 0x42d540
lea ecx, [esp + 0x18]
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QDir::cdUp_void_]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QDir::rmpath_class_QString_const__const]
mov ecx, dword [esp + 0x14]
test ecx, ecx
mov byte [esp + 0x48], 5
je 0x42d7a7
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::deref_void_]
test al, al
jne 0x42d7a7
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x18]
call fcn.004010e1
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x18]
mov dword [esp + 0x48], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QDir::destructor_void_]
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x3c
ret