Function at 0x48a061
Capabilities:
Delete file
Set file attributes

Disassembly:
mov eax, 0x4db1d4
call fcn.0046fad0
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x38]
call fcn.004cb69a
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0xd]
push ecx
push str.nCount
mov eax, dword [esi]
push esi
mov byte [ebp - 4], 1
call dword [eax + 0x70]
cmp byte [ebp - 0xd], bl
je 0x48a20a
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x48a0b5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.BasicCtrlDll.dll_void___cdecl_CreateQQDataArray_struct_IQQDataArray___]
mov eax, dword [ebp - 0x14]
pop ecx
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x18]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xb8]
push dword [ebp - 0x18]
lea ecx, [ebp - 0x20]
push dword [ebp - 0x1c]
call fcn.0046f7c8
push dword [ebp - 0x1c]
mov byte [ebp - 4], 2
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov esi, str.ADgif4.0
lea ecx, [ebp + 8]
push esi
call sub.MFC42.DLL_CString::CString_5
lea eax, [ebp + 8]
add edi, 0x14c
push eax
lea eax, [ebp - 0x24]
push edi
push eax
mov byte [ebp - 4], 3
call sub.MFC42.DLL_operator_2
push dword [eax]
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
push esi
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString_5
lea eax, [ebp + 8]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x24]
push edi
push eax
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push 0x80
push eax
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
push esi
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString_5
lea eax, [ebp + 8]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x24]
push edi
push eax
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push ebx
push 0x9002
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CStdioFile::Open
lea ecx, [ebp - 0x24]
mov esi, eax
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
cmp esi, ebx
je 0x48a1f6
push dword [ebp - 0x18]
lea ecx, [ebp - 0x20]
push dword [ebp - 0x18]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CStdioFile::Write
push ebx
lea ecx, [ebp - 0x14]
call fcn.004a2b09
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CStdioFile::Close
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x48a21a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CStdioFile::CStdioFile
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4