Function at 0x6713d400
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6727c850
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
push ebx
push esi
push edi
mov eax, dword [0x674c412c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 8]
lea eax, [ebp - 0x58]
push eax
call fcn.6713a3d0
add esp, 8
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0
push ecx
mov ecx, eax
call fcn.671124e0
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QDir::toNativeSeparators_class_QString_const__
add esp, 8
mov eax, dword [ebp - 0x24]
or edi, 0xffffffff
mov eax, dword [eax]
test eax, eax
je 0x6713d47e
cmp eax, edi
je 0x6713d48d
mov eax, dword [ebp - 0x24]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x6713d48d
push 4
push 2
push dword [ebp - 0x24]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.670dbb50
lea eax, [ebp - 0x78]
push eax
call sym.Qt5Core.dll_public:_static_class_QOperatingSystemVersion___cdecl_QOperatingSystemVersion::current_void_
add esp, 4
mov ecx, dword [eax]
cmp ecx, dword [sym.Qt5Core.dll_class_QOperatingSystemVersion_const_QOperatingSystemVersion::Windows7]
jne 0x6713d637
push sym.Qt5Core.dll_class_QOperatingSystemVersion_const_QOperatingSystemVersion::Windows7
push eax
call sym.Qt5Core.dll_private:_static_int___cdecl_QOperatingSystemVersion::compare_class_QOperatingSystemVersion_const___class_QOperatingSystemVersion_const__
add esp, 8
test eax, eax
jle 0x6713d637
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0x80004005
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ebx
mov byte [ebp - 0x30], 1
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 5
push eax
push 0x67363200
push 0x17
push 0
push 0x67404c9c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
test ecx, ecx
je 0x6713d5e4
mov eax, dword [ecx]
push 0x80454
push ecx
call dword [eax + 0x14]
lea ecx, [ebp - 0x14]
call sym.Qt5Core.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
lea ecx, [ebp - 0x18]
push ecx
push 0x673630a4
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHCreateItemFromParsingName]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
test edx, edx
je 0x6713d632
push 0xc
call fcn.67267bfd
add esp, 4
mov dword [ebp - 0x28], eax
mov dword [eax], vtable.FileOperationProgressSink.0
mov dword [eax + 4], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
mov dword [eax + 8], 1
mov edx, dword [ebp - 0x10]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov ecx, dword [edx]
push edx
call dword [ecx + 0x48]
mov dword [ebp - 0x1c], eax
test eax, eax
js 0x6713d5e1
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0x1c], eax
test eax, eax
js 0x6713d5e1
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x68]
add eax, 4
push eax
call fcn.67112220
mov ecx, dword [ebp + 0xc]
push eax
call fcn.670f9e40
lea ecx, [ebp - 0x68]
call fcn.670dbb50
lea ecx, [ebp - 0x44]
call fcn.6713a010
jmp 0x6713d74e
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x20]
mov byte [ebp - 4], 6
test esi, esi
je 0x6713d5fe
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x6713d60b
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x6713d615
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x1c]
test eax, eax
jns 0x6713d62b
mov dword [ebx], eax
mov dword [ebx + 4], 2
xor bl, bl
jmp 0x6713d750
mov ecx, dword [ebp - 0x10]
jmp 0x6713d5e7
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
add ecx, 2
mov dword [ebp - 0x294], ecx
cmp ecx, 0x105
jle 0x6713d683
lea eax, [ecx + ecx]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, eax
add esp, 4
mov dword [ebp - 0x290], ecx
test ecx, ecx
jne 0x6713d672
call sym.Qt5Core.dll_void___cdecl_qBadAlloc_void_
mov ecx, dword [ebp - 0x290]
mov eax, dword [ebp - 0x294]
mov dword [ebp - 0x298], eax
mov eax, dword [ebp - 0x14]
jmp 0x6713d699
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x298], 0x105
mov dword [ebp - 0x290], ecx
mov edx, dword [eax + 0xc]
mov esi, dword [eax + 4]
add edx, eax
je 0x6713d6ba
lea eax, [esi + esi]
push eax
push edx
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov ecx, dword [ebp - 0x290]
mov eax, dword [eax + 4]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 0x290]
mov word [eax + ecx*2 + 2], dx
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x40], eax
mov eax, 0x654
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x36], edx
mov dword [ebp - 0x32], edx
mov dword [ebp - 0x2e], edx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je 0x6713d734
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x290]
mov dword [ecx + 4], 2
lea ecx, [ebp - 0x288]
cmp eax, ecx
je 0x6713d730
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor bl, bl
jmp 0x6713d750
mov eax, dword [ebp - 0x290]
lea ecx, [ebp - 0x288]
cmp eax, ecx
je 0x6713d74e
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov bl, 1
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
test eax, eax
je 0x6713d76d
cmp eax, 0xffffffff
je 0x6713d77c
mov ecx, dword [ebp - 0x14]
lock xadd dword [ecx], edi
dec edi
setne cl
test cl, cl
jne 0x6713d77c
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
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