Function at 0x49f194
Capabilities:
Delete file

Disassembly:
mov eax, 0x50d61c
call fcn.00484660
sub esp, 0x60
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CFile::CFile
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_5
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x24]
push ecx
push 0x52b9b4
mov eax, dword [edi]
mov byte [ebp - 4], 2
or dword [ebp - 0x24], 0xffffffff
push edi
call dword [eax + 0x34]
push 0x51a314
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString_3
cmp dword [ebp - 0x24], 0x3e7
mov byte [ebp - 4], 3
jae 0x49f1f7
cmp dword [ebp - 0x24], ebx
jbe 0x49f1f7
push str.dlg.0
jmp 0x49f1fc
push str.ADcrt4.0
lea ecx, [ebp - 0x20]
call fcn.004845fe
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x49f214
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, [esi + 0xa8]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x58], eax
push ecx
push eax
lea eax, [ebp + 8]
push eax
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push ebx
push 0x8000
push eax
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CFile::Open
lea ecx, [ebp + 8]
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
cmp dword [ebp - 0x50], ebx
je 0x49f29d
lea ecx, [ebp - 0x6c]
call sub.MFC42.DLL_CFile::GetLength
mov esi, eax
lea ecx, [ebp - 0x3c]
push esi
push esi
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea ecx, [ebp - 0x6c]
call sub.MFC42.DLL_CFile::Read
test eax, eax
je 0x49f29d
cmp esi, ebx
je 0x49f294
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x3c]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0xbc]
push esi
lea ecx, [ebp - 0x3c]
call sub.MFC42.DLL_CString::ReleaseBuffer
or dword [ebp - 0x48], 0xffffffff
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x14], ebx
mov eax, dword [edi]
lea ecx, [ebp - 0x30]
mov esi, 0x52bab0
push ecx
push esi
push edi
mov byte [ebp - 4], 5
call dword [eax + 0x34]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x40], ebx
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x7c]
cmp dword [ebp - 0x40], ebx
mov dword [ebp + 8], ebx
jle 0x49f335
mov eax, dword [ebp - 0x14]
cmp dword [ebp + 8], 0x12c
jge 0x49f335
cmp eax, ebx
je 0x49f2f2
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 dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xac]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x49f32a
mov ecx, dword [eax]
lea edx, [ebp - 0x48]
push edx
push 0x52b9b4
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x24]
je 0x49f540
mov eax, dword [ebp - 0x14]
inc dword [ebp + 8]
mov ecx, dword [ebp + 8]
cmp ecx, dword [ebp - 0x40]
jl 0x49f2dc
mov dword [ebp + 8], ebx
lea eax, [ebp + 8]
mov byte [ebp - 4], 0xb
push eax
call dword [sym.imp.BasicCtrlDll.dll_void___cdecl_CreateQQData_struct_IQQData___]
mov eax, dword [edi]
or dword [ebp - 0x1c], 0xffffffff
pop ecx
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x1c]
push ecx
push 0x52b9b4
push edi
call dword [eax + 0x34]
mov eax, dword [edi]
lea ecx, [ebp - 0x18]
push ecx
push esi
push edi
call dword [eax + 0x34]
mov eax, dword [ebp + 8]
push dword [ebp - 0x1c]
mov ecx, dword [eax]
push 0x52b9b4
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp + 8]
push ebx
push 0x52ba88
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov dword [ebp - 0x44], ebx
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x44]
push edx
push str.arClickUinArray
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 0xc
call dword [ecx + 0x64]
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x28]
push edx
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0xd
call dword [ecx + 0x58]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x28]
push dword [edx + 0xa4]
mov ecx, dword [eax]
push str.dwClickUin
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x28]
push dword [ebp - 0x18]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x5c]
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 0xc
cmp eax, ebx
je 0x49f3f6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 0xb
cmp eax, ebx
je 0x49f407
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x49f418
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x50], ebx
je 0x49f44d
lea ecx, [ebp - 0x6c]
call sub.MFC42.DLL_CFile::Close
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 8]
push dword [ebp - 0x58]
push eax
call sub.MFC42.DLL_operator_2
push dword [eax]
mov byte [ebp - 4], 0xe
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x54]
push edx
lea edx, [ebp - 0x38]
mov dword [ebp - 0x38], ebx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xb8]
push dword [ebp - 0x38]
lea ecx, [ebp - 0x5c]
push dword [ebp - 0x54]
call sub.MFC42.DLL_CString::CString_1
push dword [ebp - 0x54]
mov byte [ebp - 4], 0xf
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 8]
push dword [ebp - 0x58]
push eax
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push ebx
push 0x9002
push eax
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CFile::Open
lea ecx, [ebp + 8]
mov esi, eax
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString
cmp esi, ebx
je 0x49f4de
push dword [ebp - 0x38]
lea ecx, [ebp - 0x5c]
push dword [ebp - 0x38]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea ecx, [ebp - 0x6c]
call sub.MFC42.DLL_CFile::Write
push ebx
lea ecx, [ebp - 0x10]
call fcn.004c0d1c
lea ecx, [ebp - 0x6c]
call sub.MFC42.DLL_CFile::Close
lea ecx, [ebp - 0x5c]
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 0x49f4fb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], bl
call fcn.0048433a
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
pop edi
pop esi
cmp eax, ebx
pop ebx
je 0x49f532
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x14]
lea edx, [ebp + 0xb]
mov edi, str.arClickUinArray
push edx
mov ecx, dword [eax]
push edi
push eax
mov byte [ebp - 4], 6
call dword [ecx + 0x70]
cmp byte [ebp + 0xb], bl
je 0x49f669
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x49f573
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push edx
push edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x6c]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x44], ebx
cmp eax, ebx
je 0x49f598
mov ecx, dword [eax]
lea edx, [ebp - 0x44]
push edx
push eax
call dword [ecx + 0x7c]
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x44], ebx
mov dword [ebp - 0x28], ebx
mov edi, str.dwClickUin
jle 0x49f601
mov dword [ebp - 0x1c], ebx
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
mov byte [ebp - 4], 7
push dword [ebp - 0x28]
push eax
call dword [ecx + 0xac]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
jne 0x49f5c9
mov byte [ebp - 4], 6
jmp 0x49f5f3
mov ecx, dword [eax]
lea edx, [ebp - 0x4c]
push edx
push edi
push eax
call dword [ecx + 0x34]
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ecx + 0xa4]
je 0x49f63e
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 6
cmp eax, ebx
je 0x49f5f3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x44]
mov eax, dword [ebp - 0x18]
jl 0x49f5a5
mov dword [ebp - 0x28], ebx
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
push eax
mov byte [ebp - 4], 8
call dword [ecx + 0x58]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x28]
push dword [edx + 0xa4]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x28]
push dword [ebp - 0x30]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 6
jmp 0x49f6d7
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x2c]
push edx
push esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov edx, dword [ecx]
push eax
push esi
push ecx
call dword [edx + 0x18]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 6
jmp 0x49f6d7
cmp dword [ebp - 0x2c], 0xc7
jae 0x49f6e1
mov dword [ebp - 0x44], ebx
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x44]
push edx
push edi
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 9
call dword [ecx + 0x64]
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x28]
push edx
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0xa
call dword [ecx + 0x58]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x28]
push dword [edx + 0xa4]
mov ecx, dword [eax]
push str.dwClickUin
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x28]
push dword [ebp - 0x30]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 9
cmp eax, ebx
je 0x49f6d0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 6
cmp eax, ebx
je 0x49f6e1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 5
jmp 0x49f40e