Function at 0x48ab6d
Capabilities:
Delete file

Disassembly:
mov eax, 0x4f5d33
call fcn.00475fe0
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 0x555b2c
mov byte [ebp - 4], 2
call fcn.0048d4d0
lea ecx, [ebp - 0x28]
mov dword [esp], 0x50229c
call sub.MFC42.DLL_CString::CString_1
cmp dword [ebp + 8], ebx
mov byte [ebp - 4], 3
jne 0x48abbc
push str.ADcrt4.0
jmp 0x48abc1
push str.dlg.0
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::operator
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x48abd9
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 0x48ac68
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 0x48ac68
cmp esi, ebx
je 0x48ac5f
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 0x48ac9b
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 0x48afc1
push edi
mov edi, 0x511e14
jmp 0x48acb2
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x48acc2
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 0x48afb1
mov ecx, dword [eax]
lea edx, [ebp - 0x6c]
mov esi, 0x511e08
push edx
push esi
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x40], ebx
cmp eax, ebx
je 0x48ad01
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 0x48afb1
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x48ad1d
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 0x48ad4d
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 0x48ad5d
mov eax, dword [ebp - 0x18]
inc dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [ebp - 0x40]
jl 0x48ad10
jmp 0x48afb1
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 0x48af8b
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, 0x511e20
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 0x48af69
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x48add0
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 0x48adee
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 0x48ae13
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 0x48ae32
mov ecx, dword [eax]
lea edx, [ebp - 0x34]
push edx
push eax
call dword [ecx + 0x7c]
cmp dword [ebp - 0x34], ebx
jg 0x48ae5a
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
cmp ecx, ebx
mov byte [ebp - 4], 7
je 0x48ae43
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
mov byte [ebp - 4], 6
je 0x48afb1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x48afb1
xor esi, esi
cmp dword [ebp - 0x34], ebx
jle 0x48af69
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 0x48ae8d
mov byte [ebp - 4], 8
jmp 0x48af5f
mov ecx, dword [eax]
lea edx, [ebp - 0x78]
push edx
push 0x511e30
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x7c]
push edx
push 0x511e3c
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 0x48aece
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 0x48af3d
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x74]
push edx
push 0x511e30
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x78]
jne 0x48aebe
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x58]
push edx
push 0x511e3c
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 0x48af2e
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 0x48af3d
mov ecx, dword [ebp - 0x24]
push eax
push 0x511e3c
push ecx
mov edx, dword [ecx]
call dword [edx + 0x18]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 9
cmp eax, ebx
je 0x48af4e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 8
cmp eax, ebx
je 0x48af5f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc esi
cmp esi, dword [ebp - 0x34]
jl 0x48ae65
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 7
cmp eax, ebx
je 0x48af7a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 6
cmp eax, ebx
je 0x48af8b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x38], ebx
ja 0x48afb1
cmp dword [ebp - 0x3c], ebx
ja 0x48afb1
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 0x48acaf
pop edi
cmp dword [ebp - 0x5c], ebx
je 0x48afee
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.00475cce
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 0x48b088
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.004acbcd
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 0x48b0a5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x48b0b6
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 0x48b0d3
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.00475cfe
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8