Function at 0x442545
Capabilities:
Delete file

Disassembly:
mov eax, 0x4b95a2
call fcn.00458b70
sub esp, 0xc0
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x90]
call sub.MFC42.DLL_CFile::CFile
xor ebx, ebx
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], ebx
call fcn.0045842e
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CPtrArray::CPtrArray
push 0x4c7fc0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString_5
cmp dword [ebp + 8], ebx
mov byte [ebp - 4], 4
jne 0x442597
push str.ADcrt4.0
jmp 0x44259c
push str.dlg.0
lea ecx, [ebp - 0x20]
call fcn.00458a46
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x4425b4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.BasicCtrlDll.dll_void___cdecl_CreateQQDataArray_struct_IQQDataArray___]
pop ecx
lea eax, [ebp - 0x20]
add esi, 0x34
push eax
lea eax, [ebp + 8]
push esi
push eax
mov dword [ebp - 0x48], esi
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push ebx
push 0x8040
push eax
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CFile::Open
lea ecx, [ebp + 8]
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
cmp dword [ebp - 0x50], ebx
je 0x44265e
lea ecx, [ebp - 0x90]
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 - 0x90]
call sub.MFC42.DLL_CFile::Read
test eax, eax
je 0x44265e
cmp esi, ebx
je 0x44263a
mov eax, dword [ebp - 0x10]
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 - 0xcc]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.BasicCtrlDll.dll_long_int___cdecl_QQArrayToPtrArray_struct_IQQDataArray___class_CPtrArray__]
pop ecx
pop ecx
push ebx
lea ecx, [ebp - 0x10]
call fcn.0043613f
push edi
lea ecx, [ebp - 0x90]
call sub.MFC42.DLL_CFile::Close
lea ecx, [ebp - 0xb4]
call sub.MFC42.DLL_CPtrArray::CPtrArray
mov eax, dword [sym.imp.QQBaseClassInDll.dll_const_CQQDataArrayHelper::vftable]
mov byte [ebp - 4], 6
mov dword [ebp - 0xb4], eax
mov esi, dword [sym.imp.BasicCtrlDll.dll_long_int___cdecl_FreeQQPtrArray_class_CPtrArray__]
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 7
push eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x18], ebx
call esi
lea eax, [ebp - 0xb4]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.BasicCtrlDll.dll_long_int___cdecl_QQArrayToPtrArray_struct_IQQDataArray___class_CPtrArray__]
add esp, 0xc
cmp dword [ebp - 0xac], ebx
mov dword [ebp - 0x2c], ebx
jle 0x442a79
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0x2c]
mov edi, dword [eax + ecx*4]
lea ecx, [ebp - 0x98]
push ecx
push 0x4cede8
mov eax, dword [edi]
push edi
call dword [eax + 0x34]
cmp dword [ebp - 0xc4], ebx
mov dword [ebp - 0x24], ebx
jle 0x442a67
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0x24]
lea edx, [ebp - 0x54]
mov eax, dword [eax + ecx*4]
push edx
push 0x4cede8
push eax
mov ecx, dword [eax]
mov dword [ebp - 0x34], eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x98]
je 0x442728
inc dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0xc4]
jl 0x4426ec
jmp 0x442a67
mov eax, dword [edi]
lea ecx, [ebp - 0xa0]
push ecx
push 0x4cedf4
push edi
call dword [eax + 0x34]
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x3c]
push edx
push 0x4cedf4
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov ecx, dword [ebp - 0x3c]
sub ecx, dword [ebp - 0xa0]
cmp dword [ebp - 0x54], ebx
mov dword [ebp - 0x3c], ecx
jbe 0x442a44
mov eax, dword [ebp - 0x34]
push ecx
push 0x4cedf4
push eax
mov edx, dword [eax]
call dword [edx + 0x18]
mov dword [ebp - 0x1c], ebx
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CPtrArray::CPtrArray
mov eax, dword [sym.imp.QQBaseClassInDll.dll_const_CQQDataArrayHelper::vftable]
mov byte [ebp - 4], 9
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 0xa
mov dword [ebp + 0xc], ebx
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CPtrArray::CPtrArray
mov eax, dword [sym.imp.QQBaseClassInDll.dll_const_CQQDataArrayHelper::vftable]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x80], eax
mov eax, dword [edi]
lea ecx, [ebp + 0xb]
push ecx
push 0x4cee00
push edi
mov byte [ebp - 4], 0xd
call dword [eax + 0x70]
cmp byte [ebp + 0xb], bl
je 0x4429dc
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x4427d6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x1c], ebx
mov eax, dword [edi]
lea ecx, [ebp - 0x1c]
push ecx
push 0x4cee00
push edi
call dword [eax + 0x6c]
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x4427f5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp + 0xc], ebx
mov eax, dword [ebp - 0x34]
lea edx, [ebp + 0xc]
push edx
push 0x4cee00
mov ecx, dword [eax]
push eax
call dword [ecx + 0x6c]
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x6c]
push eax
call esi
lea eax, [ebp - 0x6c]
push eax
push edi
mov edi, dword [sym.imp.BasicCtrlDll.dll_long_int___cdecl_QQArrayToPtrArray_struct_IQQDataArray___class_CPtrArray__]
call edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x80]
push eax
call esi
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x18]
call edi
mov eax, dword [ebp - 0x78]
add esp, 0x18
cmp dword [ebp - 0x64], ebx
mov dword [ebp - 0x18], eax
jg 0x4428b1
mov eax, dword [sym.imp.QQBaseClassInDll.dll_const_CQQDataArrayHelper::vftable]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 0xe
push eax
call esi
pop ecx
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x80]
call fcn.0045857e
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 0xa
cmp eax, ebx
je 0x442874
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [sym.imp.QQBaseClassInDll.dll_const_CQQDataArrayHelper::vftable]
mov byte [ebp - 4], 8
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0xf
push eax
call esi
pop ecx
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x6c]
call fcn.0045857e
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 7
cmp eax, ebx
je 0x442a67
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x442a67
cmp dword [ebp - 0x64], ebx
mov dword [ebp - 0x28], ebx
jle 0x4429dc
mov dword [ebp - 0x40], ebx
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 0x10
push dword [eax + ecx*4]
lea ecx, [ebp - 0x40]
call fcn.0043613f
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x9c]
push edx
push 0x4cee10
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0xb8]
push edx
push 0x4cee1c
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 0x11
push eax
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x44291f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x60]
test eax, eax
jne 0x4429ab
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x94]
push edx
push 0x4cee10
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x94]
cmp eax, dword [ebp - 0x9c]
jne 0x44290f
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x44]
push edx
push 0x4cee1c
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0xb8]
mov dword [ebp - 0x44], eax
jne 0x44299c
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x80]
push eax
call esi
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x18]
call edi
mov eax, dword [ebp - 0x78]
add esp, 0xc
mov dword [ebp - 0x18], eax
jmp 0x4429ab
mov ecx, dword [ebp - 0x14]
push eax
push 0x4cee1c
push ecx
mov edx, dword [ecx]
call dword [edx + 0x18]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x10
cmp eax, ebx
je 0x4429bc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 0xd
cmp eax, ebx
je 0x4429cd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x64]
jl 0x4428bd
mov eax, dword [sym.imp.QQBaseClassInDll.dll_const_CQQDataArrayHelper::vftable]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 0x12
push eax
call esi
pop ecx
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x80]
call fcn.0045857e
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 0xa
cmp eax, ebx
je 0x442a10
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [sym.imp.QQBaseClassInDll.dll_const_CQQDataArrayHelper::vftable]
mov byte [ebp - 4], 8
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0x13
push eax
call esi
pop ecx
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x6c]
call fcn.0045857e
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 7
cmp eax, ebx
je 0x442a44
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x18], ebx
ja 0x442a67
cmp dword [ebp - 0x3c], ebx
ja 0x442a67
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 1
lea ecx, [ebp - 0xcc]
push dword [ebp - 0x24]
call sub.MFC42.DLL_CPtrArray::RemoveAt
inc dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0xac]
jl 0x4426bf
cmp dword [ebp - 0x50], ebx
je 0x442aa6
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], 0x14
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x30], ebx
cmp eax, ebx
je 0x442ab9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.BasicCtrlDll.dll_long_int___cdecl_PtrArrayToQQArray_class_CPtrArray_const___struct_IQQDataArray___]
mov eax, dword [ebp - 0x10]
pop ecx
pop ecx
lea edx, [ebp - 0x58]
mov ecx, dword [eax]
push edx
lea edx, [ebp - 0x30]
push edx
push eax
call dword [ecx + 0xb8]
push dword [ebp - 0x30]
lea ecx, [ebp - 0x4c]
push dword [ebp - 0x58]
call sub.MFC42.DLL_CString::CString_3
push dword [ebp - 0x58]
mov byte [ebp - 4], 0x15
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 - 0x90]
mov byte [ebp - 4], 0x16
call sub.MFC42.DLL_CFile::Open
lea ecx, [ebp + 8]
mov edi, eax
mov byte [ebp - 4], 0x15
call sub.MFC42.DLL_CString::CString
cmp edi, ebx
pop edi
je 0x442b64
push dword [ebp - 0x30]
lea ecx, [ebp - 0x4c]
push dword [ebp - 0x30]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea ecx, [ebp - 0x90]
call sub.MFC42.DLL_CFile::Write
push ebx
lea ecx, [ebp - 0x10]
call fcn.0043613f
lea ecx, [ebp - 0x90]
call sub.MFC42.DLL_CFile::Close
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
mov eax, dword [sym.imp.QQBaseClassInDll.dll_const_CQQDataArrayHelper::vftable]
mov byte [ebp - 4], 4
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 0x17
push eax
call esi
pop ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb4]
call fcn.0045857e
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 2
call fcn.0045857e
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x442bc8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.004587c4
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8