Function at 0x4452d6
Capabilities:
Delete file

Disassembly:
mov eax, 0x4b9c28
call fcn.00458b70
sub esp, 0x84
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x90]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CPtrArray::CPtrArray
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CFile::CFile
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.0045842e
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x34]
push ecx
push 0x4cef5c
mov eax, dword [edi]
mov byte [ebp - 4], 3
or dword [ebp - 0x34], 0xffffffff
push edi
call dword [eax + 0x34]
push 0x4c7fc0
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString_5
cmp dword [ebp - 0x34], 0x3e7
mov byte [ebp - 4], 4
jae 0x445348
cmp dword [ebp - 0x34], ebx
jbe 0x445348
push str.dlg.0
jmp 0x44534d
push str.ADcrt4.0
lea ecx, [ebp - 0x20]
call fcn.00458a46
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x445365
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.BasicCtrlDll.dll_void___cdecl_CreateQQDataArray_struct_IQQDataArray___]
pop ecx
lea eax, [esi + 0xd0]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x48], eax
push ecx
push eax
lea eax, [ebp + 8]
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push ebx
push 0x8000
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CFile::Open
lea ecx, [ebp + 8]
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
cmp dword [ebp - 0x44], ebx
je 0x445409
lea ecx, [ebp - 0x68]
call sub.MFC42.DLL_CFile::GetLength
mov esi, eax
lea ecx, [ebp - 0x38]
push esi
push esi
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea ecx, [ebp - 0x68]
call sub.MFC42.DLL_CFile::Read
test eax, eax
je 0x445409
cmp esi, ebx
je 0x4453e5
mov eax, dword [ebp - 0x18]
push dword [ebp - 0x38]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0xbc]
push esi
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::ReleaseBuffer
lea eax, [ebp - 0x90]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.BasicCtrlDll.dll_long_int___cdecl_QQArrayToPtrArray_struct_IQQDataArray___class_CPtrArray__]
pop ecx
pop ecx
push ebx
lea ecx, [ebp - 0x18]
call fcn.0043613f
or dword [ebp - 0x54], 0xffffffff
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x24], ebx
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CPtrArray::CPtrArray
mov eax, dword [sym.imp.QQBaseClassInDll.dll_const_CQQDataArrayHelper::vftable]
mov byte [ebp - 4], 7
mov dword [ebp - 0x7c], eax
mov eax, dword [edi]
lea ecx, [ebp - 0x40]
mov esi, str.dwClickCount
push ecx
push esi
push edi
mov byte [ebp - 4], 8
call dword [eax + 0x34]
mov eax, dword [ebp - 0x88]
mov dword [ebp + 8], ebx
cmp eax, ebx
mov dword [ebp - 0x2c], eax
jle 0x445499
mov eax, dword [ebp + 8]
cmp eax, 0x12c
jge 0x445499
mov ecx, dword [ebp - 0x8c]
push dword [ecx + eax*4]
lea ecx, [ebp - 0x24]
call fcn.0043613f
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x54]
push edx
push 0x4cef5c
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x34]
je 0x4456ea
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x2c]
jl 0x445455
lea eax, [ebp + 8]
push eax
call dword [sym.imp.BasicCtrlDll.dll_void___cdecl_CreateQQData_struct_IQQData___]
mov eax, dword [edi]
or dword [ebp - 0x14], 0xffffffff
pop ecx
mov dword [ebp - 0x2c], ebx
lea ecx, [ebp - 0x14]
push ecx
push 0x4cef5c
push edi
call dword [eax + 0x34]
mov eax, dword [edi]
lea ecx, [ebp - 0x2c]
push ecx
push esi
push edi
call dword [eax + 0x34]
mov eax, dword [ebp + 8]
push dword [ebp - 0x14]
mov ecx, dword [eax]
push 0x4cef5c
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp + 8]
push ebx
push str.dwPlayCount
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x1c]
push edx
push str.arClickUinArray
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 0xc
call dword [ecx + 0x64]
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x10]
push dword [edx + 0xcc]
mov ecx, dword [eax]
push str.dwClickUin
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x2c]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push dword [ebp + 8]
lea ecx, [ebp - 0x90]
push dword [ebp - 0x88]
call sub.MFC42.DLL_CPtrArray::SetAtGrow
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 8
cmp eax, ebx
je 0x44555d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x44], ebx
je 0x445592
lea ecx, [ebp - 0x68]
call sub.MFC42.DLL_CFile::Close
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 8]
push dword [ebp - 0x48]
push eax
call sub.MFC42.DLL_operator_1
push dword [eax]
mov byte [ebp - 4], 0xd
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], ebx
cmp eax, ebx
je 0x4455a5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.BasicCtrlDll.dll_long_int___cdecl_PtrArrayToQQArray_class_CPtrArray_const___struct_IQQDataArray___]
mov esi, dword [sym.imp.BasicCtrlDll.dll_long_int___cdecl_FreeQQPtrArray_class_CPtrArray__]
lea eax, [ebp - 0x90]
push eax
call esi
mov eax, dword [ebp - 0x18]
add esp, 0xc
lea edx, [ebp - 0x58]
mov ecx, dword [eax]
push edx
lea edx, [ebp - 0x28]
push edx
push eax
call dword [ecx + 0xb8]
push dword [ebp - 0x28]
lea ecx, [ebp - 0x4c]
push dword [ebp - 0x58]
call sub.MFC42.DLL_CString::CString_3
push dword [ebp - 0x58]
mov byte [ebp - 4], 0xe
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 8]
push dword [ebp - 0x48]
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push ebx
push 0x9002
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CFile::Open
lea ecx, [ebp + 8]
mov edi, eax
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString
cmp edi, ebx
je 0x445656
push dword [ebp - 0x28]
lea ecx, [ebp - 0x4c]
push dword [ebp - 0x28]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea ecx, [ebp - 0x68]
call sub.MFC42.DLL_CFile::Write
push ebx
lea ecx, [ebp - 0x18]
call fcn.0043613f
lea ecx, [ebp - 0x68]
call sub.MFC42.DLL_CFile::Close
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
mov eax, dword [sym.imp.QQBaseClassInDll.dll_const_CQQDataArrayHelper::vftable]
mov byte [ebp - 4], 6
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 0x10
push eax
call esi
pop ecx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x7c]
call fcn.0045857e
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x445696
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 1
call fcn.004587c4
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], bl
call fcn.0045857e
mov eax, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
pop edi
pop esi
cmp eax, ebx
pop ebx
je 0x4456dc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x24]
lea edx, [ebp + 0xb]
mov edi, str.arClickUinArray
push edx
mov ecx, dword [eax]
push edi
push eax
mov byte [ebp - 4], 9
call dword [ecx + 0x70]
cmp byte [ebp + 0xb], bl
je 0x445803
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x44571d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x1c]
push edx
push edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x6c]
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.BasicCtrlDll.dll_long_int___cdecl_FreeQQPtrArray_class_CPtrArray__]
lea eax, [ebp - 0x7c]
push eax
push edi
call dword [sym.imp.BasicCtrlDll.dll_long_int___cdecl_QQArrayToPtrArray_struct_IQQDataArray___class_CPtrArray__]
add esp, 0xc
cmp dword [ebp - 0x74], ebx
mov dword [ebp - 0x10], ebx
mov edi, str.dwClickUin
jle 0x4457a3
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 0xa
push dword [eax + ecx*4]
lea ecx, [ebp - 0x14]
call fcn.0043613f
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x50]
push edx
push edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x50]
cmp eax, dword [ecx + 0xcc]
je 0x4457d8
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 9
cmp eax, ebx
je 0x445798
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x74]
jl 0x445753
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x10]
push dword [edx + 0xcc]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x40]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
jmp 0x445866
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x30]
push edx
push esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x14]
add eax, dword [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov edx, dword [ecx]
push eax
push esi
push ecx
call dword [edx + 0x18]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 9
jmp 0x445862
cmp dword [ebp - 0x30], 0xc7
jae 0x44586c
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x14]
push edx
push edi
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 0xb
call dword [ecx + 0x64]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x10]
push dword [edx + 0xcc]
mov ecx, dword [eax]
push str.dwClickUin
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x40]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 9
cmp eax, ebx
je 0x44586c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 8
jmp 0x445553