Function at 0x4810ef
Capabilities:
Delete file

Disassembly:
mov eax, 0x4d9d33
call fcn.0046fad0
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 0x4e51ec
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString_1
cmp dword [ebp + 8], ebx
mov byte [ebp - 4], 3
jne 0x481132
push str.ADcrt4.0
jmp 0x481137
push str.dlg.0
lea ecx, [ebp - 0x28]
call fcn.0046fa9e
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x48114f
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 0x4811de
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 0x4811de
cmp esi, ebx
je 0x4811d5
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 0x481211
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 0x481537
push edi
mov edi, 0x4f29fc
jmp 0x481228
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x481238
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 0x481527
mov ecx, dword [eax]
lea edx, [ebp - 0x6c]
mov esi, 0x4f29f0
push edx
push esi
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x40], ebx
cmp eax, ebx
je 0x481277
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 0x481527
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x481293
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 0x4812c3
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 0x4812d3
mov eax, dword [ebp - 0x18]
inc dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [ebp - 0x40]
jl 0x481286
jmp 0x481527
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 0x481501
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, 0x4f2a08
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 0x4814df
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x481346
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 0x481364
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 0x481389
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 0x4813a8
mov ecx, dword [eax]
lea edx, [ebp - 0x34]
push edx
push eax
call dword [ecx + 0x7c]
cmp dword [ebp - 0x34], ebx
jg 0x4813d0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
cmp ecx, ebx
mov byte [ebp - 4], 7
je 0x4813b9
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
mov byte [ebp - 4], 6
je 0x481527
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x481527
xor esi, esi
cmp dword [ebp - 0x34], ebx
jle 0x4814df
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 0x481403
mov byte [ebp - 4], 8
jmp 0x4814d5
mov ecx, dword [eax]
lea edx, [ebp - 0x78]
push edx
push 0x4f2a18
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x7c]
push edx
push 0x4f2a24
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 0x481444
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 0x4814b3
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x74]
push edx
push 0x4f2a18
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x78]
jne 0x481434
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x58]
push edx
push 0x4f2a24
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 0x4814a4
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 0x4814b3
mov ecx, dword [ebp - 0x24]
push eax
push 0x4f2a24
push ecx
mov edx, dword [ecx]
call dword [edx + 0x18]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 9
cmp eax, ebx
je 0x4814c4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 8
cmp eax, ebx
je 0x4814d5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc esi
cmp esi, dword [ebp - 0x34]
jl 0x4813db
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 7
cmp eax, ebx
je 0x4814f0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 6
cmp eax, ebx
je 0x481501
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x38], ebx
ja 0x481527
cmp dword [ebp - 0x3c], ebx
ja 0x481527
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 0x481225
pop edi
cmp dword [ebp - 0x5c], ebx
je 0x481564
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.0046f7c8
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 0x4815fe
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.004a2b09
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 0x48161b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x48162c
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 0x481649
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.0046f7f8
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8