Function at 0x48546b
Capabilities:
Delete file

Disassembly:
mov eax, 0x4e7147
call fcn.00471450
sub esp, 0x80
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x8c]
call sub.MFC42.DLL_CFile::CFile
xor ebx, ebx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::CString_4
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], ebx
push 0x550678
mov byte [ebp - 4], 2
call fcn.00487dce
lea ecx, [ebp - 0x28]
mov dword [esp], 0x4f423c
call sub.MFC42.DLL_CString::CString_1
cmp dword [ebp + 8], ebx
mov byte [ebp - 4], 3
jne 0x4854ba
push str.ADcrt4.0
jmp 0x4854bf
push str.dlg.0
lea ecx, [ebp - 0x28]
call fcn.00471418
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x4854d7
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___]
pop ecx
lea eax, [ebp - 0x28]
add esi, 0x34
push eax
lea eax, [ebp + 8]
push esi
push eax
mov dword [ebp - 0x64], esi
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push ebx
push 0x8040
push eax
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CFile::Open
lea ecx, [ebp + 8]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
cmp dword [ebp - 0x5c], ebx
je 0x485566
lea ecx, [ebp - 0x8c]
call sub.MFC42.DLL_CFile::GetLength
mov esi, eax
lea ecx, [ebp - 0x4c]
push esi
push esi
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea ecx, [ebp - 0x8c]
call sub.MFC42.DLL_CFile::Read
test eax, eax
je 0x485566
cmp esi, ebx
je 0x48555d
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x4c]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0xbc]
push esi
lea ecx, [ebp - 0x4c]
call sub.MFC42.DLL_CString::ReleaseBuffer
lea ecx, [ebp - 0x8c]
call sub.MFC42.DLL_CFile::Close
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], 5
mov dword [ebp - 0x18], ebx
mov esi, dword [ebp + 0xc]
mov byte [ebp - 4], 6
cmp esi, ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x50], ebx
je 0x485599
mov eax, dword [esi]
lea ecx, [ebp - 0x50]
push ecx
push esi
call dword [eax + 0x7c]
cmp dword [ebp - 0x50], ebx
mov dword [ebp - 0x44], ebx
jle 0x4858bf
push edi
mov edi, 0x502ce4
jmp 0x4855b0
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x4855c0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x20], ebx
mov eax, dword [esi]
lea ecx, [ebp - 0x20]
push ecx
push dword [ebp - 0x44]
push esi
call dword [eax + 0xac]
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x4858af
mov ecx, dword [eax]
lea edx, [ebp - 0x6c]
mov esi, 0x502cd8
push edx
push esi
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x40], ebx
cmp eax, ebx
je 0x4855ff
mov ecx, dword [eax]
lea edx, [ebp - 0x40]
push edx
push eax
call dword [ecx + 0x7c]
cmp dword [ebp - 0x40], ebx
mov dword [ebp - 0x2c], ebx
jle 0x4858af
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x48561b
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 dword [ebp - 0x2c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xac]
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x48564b
mov ecx, dword [eax]
lea edx, [ebp - 0x54]
push edx
push esi
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x6c]
je 0x48565b
mov eax, dword [ebp - 0x18]
inc dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [ebp - 0x40]
jl 0x48560e
jmp 0x4858af
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x70]
push edx
push edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x3c]
push edx
push edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov ecx, dword [ebp - 0x3c]
sub ecx, dword [ebp - 0x70]
cmp dword [ebp - 0x54], ebx
mov dword [ebp - 0x3c], ecx
jbe 0x485889
mov eax, dword [ebp - 0x18]
push ecx
push edi
push eax
mov edx, dword [eax]
call dword [edx + 0x18]
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 7
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x20]
lea edx, [ebp + 0xb]
mov esi, 0x502cf0
push edx
mov ecx, dword [eax]
push esi
push eax
mov byte [ebp - 4], 8
call dword [ecx + 0x70]
cmp byte [ebp + 0xb], bl
je 0x485867
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x4856ce
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
push edx
push esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x6c]
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x4856ec
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x10]
push edx
push esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x6c]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x38], ebx
cmp ecx, ebx
je 0x485711
mov eax, dword [ecx]
lea edx, [ebp - 0x38]
push edx
push ecx
call dword [eax + 0x7c]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], ebx
cmp eax, ebx
je 0x485730
mov ecx, dword [eax]
lea edx, [ebp - 0x34]
push edx
push eax
call dword [ecx + 0x7c]
cmp dword [ebp - 0x34], ebx
jg 0x485758
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
cmp ecx, ebx
mov byte [ebp - 4], 7
je 0x485741
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
mov byte [ebp - 4], 6
je 0x4858af
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4858af
xor esi, esi
cmp dword [ebp - 0x34], ebx
jle 0x485867
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x30]
push edx
push esi
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 9
call dword [ecx + 0xac]
mov eax, dword [ebp - 0x30]
cmp eax, ebx
jne 0x48578b
mov byte [ebp - 4], 8
jmp 0x48585d
mov ecx, dword [eax]
lea edx, [ebp - 0x78]
push edx
push 0x502d00
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x7c]
push edx
push 0x502d0c
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0xa
push eax
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x4857cc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x24]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x60]
test eax, eax
jne 0x48583b
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x74]
push edx
push 0x502d00
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x78]
jne 0x4857bc
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x58]
push edx
push 0x502d0c
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x58]
sub eax, dword [ebp - 0x7c]
mov dword [ebp - 0x58], eax
jne 0x48582c
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x38]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x7c]
jmp 0x48583b
mov ecx, dword [ebp - 0x24]
push eax
push 0x502d0c
push ecx
mov edx, dword [ecx]
call dword [edx + 0x18]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 9
cmp eax, ebx
je 0x48584c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 8
cmp eax, ebx
je 0x48585d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc esi
cmp esi, dword [ebp - 0x34]
jl 0x485763
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 7
cmp eax, ebx
je 0x485878
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 6
cmp eax, ebx
je 0x485889
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x38], ebx
ja 0x4858af
cmp dword [ebp - 0x3c], ebx
ja 0x4858af
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x2c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc4]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x40]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x7c]
inc dword [ebp - 0x44]
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x50]
jl 0x4855ad
pop edi
cmp dword [ebp - 0x5c], ebx
je 0x4858ec
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 0xc]
push dword [ebp - 0x64]
push eax
call sub.MFC42.DLL_operator_2
push dword [eax]
mov byte [ebp - 4], 0xb
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x60]
push edx
lea edx, [ebp - 0x48]
mov dword [ebp - 0x48], ebx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xb8]
push dword [ebp - 0x48]
lea ecx, [ebp - 0x68]
push dword [ebp - 0x60]
call fcn.0047113c
push dword [ebp - 0x60]
mov byte [ebp - 4], 0xc
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 0xc]
push dword [ebp - 0x64]
push eax
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push ebx
push 0x9002
push eax
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CFile::Open
lea ecx, [ebp + 0xc]
mov esi, eax
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString
cmp esi, ebx
je 0x485986
push dword [ebp - 0x48]
lea ecx, [ebp - 0x68]
push dword [ebp - 0x48]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea ecx, [ebp - 0x8c]
call sub.MFC42.DLL_CFile::Write
push ebx
lea ecx, [ebp - 0x14]
call fcn.00487de9
lea ecx, [ebp - 0x8c]
call sub.MFC42.DLL_CFile::Close
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x4859a3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x4859b4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x4859d1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.0047116c
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8