Function at 0x437771
Capabilities:
Delete file

Disassembly:
mov eax, 0x4aa366
call fcn.0044c320
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 sub.MFC42.DLL_CString::CString_5
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 2
call fcn.0044bdac
push 0x4b8dfc
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString_2
cmp dword [ebp + 8], ebx
mov byte [ebp - 4], 4
jne 0x4377c3
push str.ADcrt4.0
jmp 0x4377c8
push str.dlg.0
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::operator
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x4377e0
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_2
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 0x43788a
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 0x43788a
cmp esi, ebx
je 0x437866
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.00461316
push edi
lea ecx, [ebp - 0x90]
call sub.MFC42.DLL_CFile::Close
lea ecx, [ebp - 0xb4]
call fcn.0044bdac
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 0x437ca5
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0x2c]
mov edi, dword [eax + ecx*4]
lea ecx, [ebp - 0x98]
push ecx
push 0x4bf208
mov eax, dword [edi]
push edi
call dword [eax + 0x34]
cmp dword [ebp - 0xc4], ebx
mov dword [ebp - 0x24], ebx
jle 0x437c93
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0x24]
lea edx, [ebp - 0x54]
mov eax, dword [eax + ecx*4]
push edx
push 0x4bf208
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 0x437954
inc dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0xc4]
jl 0x437918
jmp 0x437c93
mov eax, dword [edi]
lea ecx, [ebp - 0xa0]
push ecx
push 0x4bf214
push edi
call dword [eax + 0x34]
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x3c]
push edx
push 0x4bf214
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 0x437c70
mov eax, dword [ebp - 0x34]
push ecx
push 0x4bf214
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 fcn.0044bdac
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 fcn.0044bdac
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 0x4bf220
push edi
mov byte [ebp - 4], 0xd
call dword [eax + 0x70]
cmp byte [ebp + 0xb], bl
je 0x437c08
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x437a02
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 0x4bf220
push edi
call dword [eax + 0x6c]
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x437a21
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 0x4bf220
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 0x437add
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 sub.MFC42.DLL_CPtrArray::CPtrArray
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 0xa
cmp eax, ebx
je 0x437aa0
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 sub.MFC42.DLL_CPtrArray::CPtrArray
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 7
cmp eax, ebx
je 0x437c93
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x437c93
cmp dword [ebp - 0x64], ebx
mov dword [ebp - 0x28], ebx
jle 0x437c08
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.00461316
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x9c]
push edx
push 0x4bf230
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0xb8]
push edx
push 0x4bf23c
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 0x437b4b
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 0x437bd7
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x94]
push edx
push 0x4bf230
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x94]
cmp eax, dword [ebp - 0x9c]
jne 0x437b3b
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x44]
push edx
push 0x4bf23c
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 0x437bc8
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 0x437bd7
mov ecx, dword [ebp - 0x14]
push eax
push 0x4bf23c
push ecx
mov edx, dword [ecx]
call dword [edx + 0x18]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x10
cmp eax, ebx
je 0x437be8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 0xd
cmp eax, ebx
je 0x437bf9
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 0x437ae9
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 sub.MFC42.DLL_CPtrArray::CPtrArray
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 0xa
cmp eax, ebx
je 0x437c3c
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 sub.MFC42.DLL_CPtrArray::CPtrArray
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 7
cmp eax, ebx
je 0x437c70
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x18], ebx
ja 0x437c93
cmp dword [ebp - 0x3c], ebx
ja 0x437c93
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 0x4378eb
cmp dword [ebp - 0x50], ebx
je 0x437cd2
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 8]
push dword [ebp - 0x48]
push eax
call sub.MFC42.DLL_operator_2
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 0x437ce5
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 fcn.0044bdd0
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_2
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 0x437d90
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.00461316
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 sub.MFC42.DLL_CPtrArray::CPtrArray
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 sub.MFC42.DLL_CPtrArray::CPtrArray
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x437df4
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.0044c0dc
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8