Function at 0x4a49a4
Capabilities:
Delete file

Disassembly:
mov eax, 0x50e208
call fcn.00484660
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [ebp + 8], ebx
mov dword [ebp - 4], ebx
je 0x4a4b00
lea ecx, [ebp - 0x38]
call fcn.004840b8
push ebx
lea ecx, [ebp - 0x38]
push dword [ebp + 0xc]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
jne 0x4a49ef
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CFileFind::CFileFind
jmp 0x4a4b63
mov dword [ebp - 0x10], ebx
push dword [esi + 0x3c]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push eax
push dword [ebp + 0xc]
call fcn.004a79b0
add esp, 0xc
cmp eax, ebx
je 0x4a4ae4
cmp dword [ebp - 0x10], ebx
je 0x4a4ae4
push edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp - 0x10]
mov ecx, esi
call fcn.004a5522
test byte [esi + 0xd4], 1
je 0x4a4a8c
mov dword [ebp + 8], ebx
lea eax, [ebp + 8]
mov byte [ebp - 4], 3
push eax
call dword [sym.imp.BasicCtrlDll.dll_void___cdecl_CreateQQData_struct_IQQData___]
mov eax, dword [ebp + 8]
pop ecx
cmp eax, ebx
je 0x4a4a58
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp + 8], ebx
mov eax, dword [esi + 0x48]
lea ecx, [ebp + 8]
push ecx
push dword [ebp - 0x10]
push eax
call fcn.004a4cf2
add esp, 0xc
lea edi, [esi + 0x50]
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.0042e98f
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x4a4aa1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4a4aa1
lea edi, [esi + 0x50]
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call fcn.0042e98f
or dword [esi + 0xd4], 1
push dword [edi]
call fcn.004a8955
pop ecx
mov dword [ebp - 0x18], ebx
mov eax, dword [esi + 0x38]
lea edx, [ebp - 0x18]
push edx
push 0x51abd8
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 4
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov ecx, esi
call fcn.004a40d6
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 2
cmp eax, ebx
pop edi
je 0x4a4ae4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x4a4af5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CFileFind::CFileFind
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.QQHelperDll.dll_class_CTime___cdecl_ToolTOC::GetLoginServerTime_void_]
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 5
push eax
call dword [sym.imp.BasicCtrlDll.dll_void___cdecl_CreateQQData_struct_IQQData___]
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
push dword [ebp - 0x1c]
mov ecx, dword [eax]
push 0x52bd2c
push eax
call dword [ecx + 0x18]
push dword [ebp - 0x14]
mov ecx, esi
call fcn.004a5d2a
test eax, eax
je 0x4a4b47
push 2
mov ecx, esi
call fcn.004a489a
jmp 0x4a4b53
cmp dword [esi + 0x50], ebx
je 0x4a4b53
mov ecx, esi
call fcn.004a521c
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x4a4b63
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8