Function at 0x439f61
Capabilities:
Delete file

Disassembly:
mov eax, 0x4aa92c
call fcn.0044c320
sub esp, 0x58
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], ebx
call fcn.0044bdac
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CFile::CFile
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString_5
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x439f9e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x10]
push edi
push eax
call dword [sym.imp.BasicCtrlDll.dll_void___cdecl_CreateQQDataArray_struct_IQQDataArray___]
mov edi, dword [ebp + 8]
or dword [ebp - 0x1c], 0xffffffff
pop ecx
mov eax, dword [edi]
lea ecx, [ebp - 0x1c]
push ecx
push 0x4bf374
push edi
call dword [eax + 0x34]
push 0x4b8dfc
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_2
cmp dword [ebp - 0x1c], 0x3e7
mov byte [ebp - 4], 4
jae 0x439fe6
cmp dword [ebp - 0x1c], ebx
jbe 0x439fe6
push str.dlg.0
jmp 0x439feb
push str.ADcrt4.0
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x14]
lea eax, [esi + 0xd0]
push ecx
mov dword [ebp - 0x38], eax
push eax
lea eax, [ebp - 0x40]
push eax
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push ebx
push 0x8000
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CFile::Open
lea ecx, [ebp - 0x40]
mov dword [ebp + 8], eax
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
cmp dword [ebp + 8], ebx
je 0x43a089
lea ecx, [ebp - 0x50]
call sub.MFC42.DLL_CFile::GetLength
mov esi, eax
lea ecx, [ebp - 0x24]
push esi
push esi
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea ecx, [ebp - 0x50]
call sub.MFC42.DLL_CFile::Read
test eax, eax
je 0x43a089
cmp esi, ebx
je 0x43a068
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x24]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0xbc]
push esi
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::ReleaseBuffer
lea eax, [ebp - 0x64]
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
or dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x18], ebx
xor esi, esi
cmp dword [ebp - 0x5c], ebx
mov byte [ebp - 4], 6
jle 0x43a0db
cmp esi, 0x12c
jge 0x43a0db
mov eax, dword [ebp - 0x60]
lea ecx, [ebp - 0x18]
push dword [eax + esi*4]
call fcn.00461316
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x2c]
push edx
push 0x4bf374
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x1c]
je 0x43a24c
inc esi
cmp esi, dword [ebp - 0x5c]
jl 0x43a0a1
push edi
lea ecx, [ebp - 0x64]
push dword [ebp - 0x5c]
call sub.MFC42.DLL_CPtrArray::SetAtGrow
mov eax, dword [edi]
push edi
call dword [eax + 4]
cmp dword [ebp + 8], ebx
pop edi
je 0x43a123
lea ecx, [ebp - 0x50]
call sub.MFC42.DLL_CFile::Close
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push dword [ebp - 0x38]
push eax
call sub.MFC42.DLL_operator_2
push dword [eax]
mov byte [ebp - 4], 7
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], ebx
cmp eax, ebx
je 0x43a136
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.BasicCtrlDll.dll_long_int___cdecl_PtrArrayToQQArray_class_CPtrArray_const___struct_IQQDataArray___]
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.BasicCtrlDll.dll_long_int___cdecl_FreeQQPtrArray_class_CPtrArray__]
mov eax, dword [ebp - 0x10]
add esp, 0xc
lea edx, [ebp - 0x34]
mov ecx, dword [eax]
push edx
lea edx, [ebp - 0x20]
push edx
push eax
call dword [ecx + 0xb8]
push dword [ebp - 0x20]
lea ecx, [ebp - 0x3c]
push dword [ebp - 0x34]
call fcn.0044bdd0
push dword [ebp - 0x34]
mov byte [ebp - 4], 8
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push dword [ebp - 0x38]
push eax
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push ebx
push 0x9002
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CFile::Open
lea ecx, [ebp + 8]
mov esi, eax
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
cmp esi, ebx
je 0x43a1df
push dword [ebp - 0x20]
lea ecx, [ebp - 0x3c]
push dword [ebp - 0x20]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea ecx, [ebp - 0x50]
call sub.MFC42.DLL_CFile::Write
push ebx
lea ecx, [ebp - 0x10]
call fcn.00461316
lea ecx, [ebp - 0x50]
call sub.MFC42.DLL_CFile::Close
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x43a1fc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.0044c0dc
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CPtrArray::CPtrArray
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
pop esi
cmp eax, ebx
pop ebx
je 0x43a23e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
mov esi, 0x4bf438
push edx
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x34]
mov eax, dword [edi]
lea ecx, [ebp - 0x30]
push ecx
push esi
push edi
call dword [eax + 0x34]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
mov edx, dword [ecx]
push eax
push esi
push ecx
call dword [edx + 0x18]
jmp 0x43a0ed