Function at 0x491685
Capabilities:
Delete file

Disassembly:
mov eax, 0x4e8bec
call fcn.00471450
sub esp, 0x44
push ebx
push esi
push edi
lea ecx, [ebp - 0x48]
push dword [ebp + 8]
call fcn.00494636
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.00495f58
push dword [ebp + 0xc]
lea ecx, [ebp - 0x40]
call fcn.00494636
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.00495f58
lea ecx, [ebp - 0x40]
call fcn.00495def
mov dword [ebp - 0x1c], edi
mov esi, 0x4f423c
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x491701
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.00495eda
test eax, eax
je 0x4918e6
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0x12c
jg 0x4918e6
push dword [ebp - 0x10]
lea ecx, [ebp - 0x50]
call fcn.004952b3
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 5
call fcn.00495e42
mov dword [ebp - 0x30], eax
mov dword [ebp + 8], edi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
call fcn.00495def
xor ebx, ebx
mov eax, dword [ebp + 8]
cmp eax, edi
je 0x491763
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.00495eda
test eax, eax
je 0x4918c4
inc ebx
cmp ebx, 0x12c
jg 0x4918c4
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.004952b3
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 7
call fcn.00495e42
mov edi, eax
cmp dword [ebp - 0x30], edi
je 0x4917b5
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 6
call fcn.00495311
xor edi, edi
jmp 0x491753
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.0049537f
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.0049537f
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 0x49186c
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.0049586a
lea eax, [ebp + 0xc]
push eax
call dword [sym.imp.QQHelperDll.dll_int___cdecl_IsPathValid_class_CString__]
test eax, eax
pop ecx
je 0x491863
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 0x5516f8
push eax
call sub.MFC42.DLL_CString::Format
push dword [ebp - 0x20]
call fcn.00491940
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 0x491899
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString_1
push edi
lea eax, [ebp - 0x24]
push 0x5516dc
push eax
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::Format
push dword [ebp - 0x24]
call fcn.00491940
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.00495311
xor edi, edi
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 5
cmp eax, edi
je 0x4918d5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 4
call fcn.00495311
jmp 0x4916f1
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 3
cmp eax, edi
je 0x4918f7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 2
cmp eax, edi
je 0x491908
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00494694
mov eax, dword [ebp - 0x2c]
and byte [ebp - 4], 0
cmp eax, edi
pop edi
pop esi
pop ebx
je 0x491928
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00494694
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret