Function at 0x48e389
Capabilities:
Delete file

Disassembly:
mov eax, 0x4f653c
call fcn.00475fe0
sub esp, 0x4c
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CFile::CFile
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x48e3ca
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 - 0x20], 0xffffffff
pop ecx
mov eax, dword [edi]
lea ecx, [ebp - 0x20]
push ecx
push 0x511f7c
push edi
call dword [eax + 0x34]
push 0x50229c
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString_1
cmp dword [ebp - 0x20], 0x3e7
mov byte [ebp - 4], 3
jae 0x48e412
cmp dword [ebp - 0x20], ebx
jbe 0x48e412
push str.dlg.0
jmp 0x48e417
push str.ADcrt4.0
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator
lea eax, [ebp - 0x18]
add esi, 0xa8
push eax
lea eax, [ebp - 0x48]
push esi
push eax
mov dword [ebp - 0x40], esi
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push ebx
push 0x8000
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CFile::Open
lea ecx, [ebp - 0x48]
mov dword [ebp + 8], eax
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
cmp dword [ebp + 8], ebx
je 0x48e49d
lea ecx, [ebp - 0x58]
call sub.MFC42.DLL_CFile::GetLength
mov esi, eax
lea ecx, [ebp - 0x2c]
push esi
push esi
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea ecx, [ebp - 0x58]
call sub.MFC42.DLL_CFile::Read
test eax, eax
je 0x48e49d
cmp esi, ebx
je 0x48e494
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x2c]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0xbc]
push esi
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CString::ReleaseBuffer
or dword [ebp - 0x3c], 0xffffffff
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 5
cmp eax, ebx
mov dword [ebp - 0x30], ebx
je 0x48e4c2
mov ecx, dword [eax]
lea edx, [ebp - 0x30]
push edx
push eax
call dword [ecx + 0x7c]
xor esi, esi
cmp dword [ebp - 0x30], ebx
jle 0x48e51a
cmp esi, 0x12c
jge 0x48e51a
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x48e4e1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push edx
push esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xac]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x48e514
mov ecx, dword [eax]
lea edx, [ebp - 0x3c]
push edx
push 0x511f7c
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x20]
je 0x48e6a4
inc esi
cmp esi, dword [ebp - 0x30]
jl 0x48e4c9
mov eax, dword [ebp - 0x10]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov eax, dword [edi]
lea ecx, [ebp - 0x24]
push ecx
push 0x512050
push edi
call dword [eax + 0x34]
mov dword [ebp - 0x1c], 1
cmp dword [ebp + 8], ebx
pop edi
je 0x48e570
lea ecx, [ebp - 0x58]
call sub.MFC42.DLL_CFile::Close
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 8]
push dword [ebp - 0x40]
push eax
call sub.MFC42.DLL_operator_2
push dword [eax]
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
push 0x50229c
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::CString_1
push dword [ebp - 0x1c]
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 7
push dword [ebp - 0x24]
push dword [ebp - 0x20]
push 0x555d2c
push eax
call sub.MFC42.DLL_CString::Format
push dword [ebp - 0x38]
call fcn.004921f5
mov eax, dword [ebp - 0x10]
add esp, 0x18
lea edx, [ebp - 0x34]
mov dword [ebp - 0x28], ebx
push edx
lea edx, [ebp - 0x28]
mov dword [ebp - 0x34], ebx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xb8]
push dword [ebp - 0x28]
lea ecx, [ebp - 0x44]
push dword [ebp - 0x34]
call fcn.00475cce
push dword [ebp - 0x34]
mov byte [ebp - 4], 8
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 8]
push dword [ebp - 0x40]
push eax
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push ebx
push 0x9002
push eax
lea ecx, [ebp - 0x58]
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 0x48e637
push dword [ebp - 0x28]
lea ecx, [ebp - 0x44]
push dword [ebp - 0x28]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea ecx, [ebp - 0x58]
call sub.MFC42.DLL_CFile::Write
push ebx
lea ecx, [ebp - 0x10]
call fcn.004acbcd
lea ecx, [ebp - 0x58]
call sub.MFC42.DLL_CFile::Close
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x48e660
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], bl
call fcn.00475cfe
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
pop esi
cmp eax, ebx
pop ebx
je 0x48e696
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 - 0x14]
lea edx, [ebp - 0x1c]
mov esi, 0x512050
push edx
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x34]
mov eax, dword [edi]
lea ecx, [ebp - 0x24]
push ecx
push esi
push edi
call dword [eax + 0x34]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov edx, dword [ecx]
push eax
push esi
push ecx
call dword [edx + 0x18]
jmp 0x48e53a