Function at 0x496659
Capabilities:
Delete file

Disassembly:
mov eax, 0x4f76cc
call fcn.00475fe0
sub esp, 0x44
push ebx
push esi
push edi
lea ecx, [ebp - 0x48]
push dword [ebp + 8]
call fcn.00499525
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x2c], edi
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x48]
push eax
mov byte [ebp - 4], 1
call fcn.0049ae47
push dword [ebp + 0xc]
lea ecx, [ebp - 0x40]
call fcn.00499525
mov byte [ebp - 4], 2
mov dword [ebp - 0x28], edi
mov byte [ebp - 4], 3
mov dword [ebp - 0x10], edi
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x40]
push eax
mov byte [ebp - 4], 4
call fcn.0049ae47
lea ecx, [ebp - 0x40]
call fcn.0049acde
mov dword [ebp - 0x1c], edi
mov esi, 0x50229c
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x4966d5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x10], edi
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x28]
call fcn.0049adc9
test eax, eax
je 0x4968ba
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0x12c
jg 0x4968ba
push dword [ebp - 0x10]
lea ecx, [ebp - 0x50]
call fcn.0049a1a2
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 5
call fcn.0049ad31
mov dword [ebp - 0x30], eax
mov dword [ebp + 8], edi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
call fcn.0049acde
xor ebx, ebx
mov eax, dword [ebp + 8]
cmp eax, edi
je 0x496737
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp + 8], edi
lea eax, [ebp + 8]
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x2c]
call fcn.0049adc9
test eax, eax
je 0x496898
inc ebx
cmp ebx, 0x12c
jg 0x496898
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.0049a1a2
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 7
call fcn.0049ad31
mov edi, eax
cmp dword [ebp - 0x30], edi
je 0x496789
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 6
call fcn.0049a200
xor edi, edi
jmp 0x496727
push esi
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString_1
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x38]
push eax
mov byte [ebp - 4], 8
call fcn.0049a26e
push esi
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_1
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x50]
push eax
mov byte [ebp - 4], 9
call fcn.0049a26e
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
pop ecx
test eax, eax
push esi
je 0x496840
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString_1
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0xa
call fcn.0049a759
lea eax, [ebp + 0xc]
push eax
call dword [sym.imp.QQHelperDll.dll_int___cdecl_IsPathValid_class_CString__]
test eax, eax
pop ecx
je 0x496837
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString_1
push dword [ebp - 0x14]
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0xb
push dword [ebp - 0x18]
push edi
push 0x556ab0
push eax
call sub.MFC42.DLL_CString::Format
push dword [ebp - 0x20]
call fcn.00496914
add esp, 0x18
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 9
lea ecx, [ebp + 0xc]
jmp 0x49686d
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString_1
push edi
lea eax, [ebp - 0x24]
push 0x556a94
push eax
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::Format
push dword [ebp - 0x24]
call fcn.00496914
add esp, 0x10
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 6
call fcn.0049a200
xor edi, edi
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 5
cmp eax, edi
je 0x4968a9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 4
call fcn.0049a200
jmp 0x4966c5
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 3
cmp eax, edi
je 0x4968cb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 2
cmp eax, edi
je 0x4968dc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00499583
mov eax, dword [ebp - 0x2c]
and byte [ebp - 4], 0
cmp eax, edi
pop edi
pop esi
pop ebx
je 0x4968fc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00499583
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret