Function at 0x49b1b1
Capabilities:
Delete file

Disassembly:
mov eax, 0x50cd1f
call fcn.00484660
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_5
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], ebx
push 0x51a314
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString_3
cmp dword [ebp + 8], ebx
mov byte [ebp - 4], 3
jne 0x49b1f4
push str.ADcrt4.0
jmp 0x49b1f9
push str.dlg.0
lea ecx, [ebp - 0x28]
call fcn.004845fe
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x49b211
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 0x49b2a0
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 0x49b2a0
cmp esi, ebx
je 0x49b297
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 0x49b2d3
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 0x49b5f9
push edi
mov edi, 0x52b80c
jmp 0x49b2ea
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x49b2fa
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 0x49b5e9
mov ecx, dword [eax]
lea edx, [ebp - 0x6c]
mov esi, 0x52b800
push edx
push esi
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x40], ebx
cmp eax, ebx
je 0x49b339
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 0x49b5e9
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x49b355
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 0x49b385
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 0x49b395
mov eax, dword [ebp - 0x18]
inc dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [ebp - 0x40]
jl 0x49b348
jmp 0x49b5e9
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 0x49b5c3
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, 0x52b818
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 0x49b5a1
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x49b408
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 0x49b426
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 0x49b44b
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 0x49b46a
mov ecx, dword [eax]
lea edx, [ebp - 0x34]
push edx
push eax
call dword [ecx + 0x7c]
cmp dword [ebp - 0x34], ebx
jg 0x49b492
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
cmp ecx, ebx
mov byte [ebp - 4], 7
je 0x49b47b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
mov byte [ebp - 4], 6
je 0x49b5e9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x49b5e9
xor esi, esi
cmp dword [ebp - 0x34], ebx
jle 0x49b5a1
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 0x49b4c5
mov byte [ebp - 4], 8
jmp 0x49b597
mov ecx, dword [eax]
lea edx, [ebp - 0x78]
push edx
push 0x52b828
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x7c]
push edx
push 0x52b834
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 0x49b506
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 0x49b575
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x74]
push edx
push 0x52b828
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x78]
jne 0x49b4f6
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x58]
push edx
push 0x52b834
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 0x49b566
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 0x49b575
mov ecx, dword [ebp - 0x24]
push eax
push 0x52b834
push ecx
mov edx, dword [ecx]
call dword [edx + 0x18]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 9
cmp eax, ebx
je 0x49b586
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 8
cmp eax, ebx
je 0x49b597
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc esi
cmp esi, dword [ebp - 0x34]
jl 0x49b49d
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 7
cmp eax, ebx
je 0x49b5b2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 6
cmp eax, ebx
je 0x49b5c3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x38], ebx
ja 0x49b5e9
cmp dword [ebp - 0x3c], ebx
ja 0x49b5e9
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 0x49b2e7
pop edi
cmp dword [ebp - 0x5c], ebx
je 0x49b626
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 sub.MFC42.DLL_CString::CString_1
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 0x49b6c0
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.004c0d1c
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 0x49b6dd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x49b6ee
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 0x49b70b
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.0048433a
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8