Function at 0x490759
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
mov eax, 0x4e8a50
call fcn.00471450
sub esp, 0x19c
push ebx
push esi
push edi
mov edi, ecx
push 0x55143c
call fcn.00491940
xor ebx, ebx
pop ecx
cmp dword [ebp + 8], ebx
je 0x490d1a
lea ecx, [ebp - 0x58]
call fcn.004923f0
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 2
mov dword [ebp - 0x10], ebx
mov eax, dword [edi + 0x38]
mov byte [ebp - 4], 3
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call fcn.00418ac1
cmp dword [ebp - 0x34], ebx
je 0x490aa2
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x4907d2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x34]
call fcn.00418ac1
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
cmp eax, ebx
jne 0x49080b
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 3
cmp ecx, ebx
je 0x490802
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 2
jmp 0x490aa9
and byte [ebp - 0x15], 0
lea edx, [ebp - 0x15]
mov esi, str.dwLastCleanTime
mov dword [ebp - 0x40], ebx
mov ecx, dword [eax]
push edx
push esi
push eax
call dword [ecx + 0x70]
cmp byte [ebp - 0x15], 4
jne 0x490836
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x40]
push edx
push esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
lea eax, [ebp - 0x3c]
push eax
call sub.MFC42.DLL_CTime::GetTickCount
cmp dword [ebp - 0x40], ebx
jne 0x490853
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x3c]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x18]
jmp 0x49086d
push dword [ebp - 0x40]
push dword [ebp - 0x3c]
call dword [sym.imp.MSVCRT.dll_difftime]
pop ecx
pop ecx
call sub.MSVCRT.dll__ftol
cmp eax, 0x278d00
jge 0x4908ab
push 0x4f423c
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString_1
push dword [ebp - 0x3c]
lea eax, [ebp + 8]
mov byte [ebp - 4], 5
push dword [ebp - 0x40]
push 0x55141c
push eax
call sub.MFC42.DLL_CString::Format
push 0x551408
call fcn.00491940
add esp, 0x14
mov byte [ebp - 4], 4
lea ecx, [ebp + 8]
jmp 0x490a8c
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x4908bb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x14]
push edx
push 0x5031d4
mov ecx, dword [eax]
push eax
call dword [ecx + 0x6c]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x490a91
mov ecx, dword [eax]
push eax
call dword [ecx + 0x74]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x4908ee
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x1c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x60]
test eax, eax
jne 0x4909d7
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString_4
lea eax, [ebp + 8]
mov byte [ebp - 4], 6
push eax
push 0x503194
push dword [ebp - 0x1c]
call dword [sym.imp.BasicCtrlDll.dll_long_int___cdecl_GetQQDataStr_struct_IQQData___char_const___class_CString__]
add esp, 0xc
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 7
mov ebx, dword [eax - 8]
lea esi, [ebx - 1]
test esi, esi
jl 0x4909a9
push 1
lea eax, [ebp - 0x24]
push esi
push eax
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::Mid
push 0x4f41a8
mov byte [ebp - 4], 8
push dword [ebp - 0x24]
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
je 0x490975
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
dec esi
jns 0x49093d
jmp 0x4909a9
inc esi
push ebx
lea eax, [ebp - 0x28]
push esi
push eax
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x50]
call fcn.00492714
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
xor ebx, ebx
jmp 0x4908de
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CString::CString_4
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString_4
push 0x550828
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString_5
lea eax, [ebp + 8]
add edi, 0x68
push eax
lea eax, [ebp - 0x28]
push edi
push eax
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x2c]
push 0x551404
push eax
lea eax, [ebp + 8]
push eax
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x1a8]
push eax
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x28], eax
jne 0x490ad2
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x490aa2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x490ab3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x490ac4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
and byte [ebp - 4], 0
cmp eax, ebx
jmp 0x490d06
mov edi, 0x4f423c
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
lea eax, [ebp - 0x17c]
push 0x54fe1c
push eax
call esi
test eax, eax
je 0x490c74
lea eax, [ebp - 0x17c]
push 0x551400
push eax
call esi
test eax, eax
je 0x490c74
lea eax, [ebp - 0x17c]
lea ecx, [ebp - 0x20]
push eax
call sub.MFC42.DLL_CString::CString_1
push edi
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString_1
push 0x2e
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::ReverseFind
test eax, eax
jl 0x490b5e
inc eax
lea ecx, [ebp - 0x20]
push eax
lea eax, [ebp - 0x64]
push eax
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x11
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::MakeLower
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x5513fc
push dword [ebp + 8]
call esi
pop ecx
test eax, eax
pop ecx
je 0x490b90
push 0x5513f8
push dword [ebp + 8]
call esi
pop ecx
test eax, eax
pop ecx
jne 0x490c5c
mov eax, dword [ebp - 0x50]
xor esi, esi
test eax, eax
mov dword [ebp - 0x5c], eax
jle 0x490bdc
lea eax, [ebp - 0x60]
push esi
push eax
lea ecx, [ebp - 0x58]
call fcn.0049242d
push dword [eax]
mov byte [ebp - 4], 0x12
push dword [ebp - 0x20]
call dword [sym.imp.MSVCRT.dll__mbscmp]
mov ebx, eax
pop ecx
neg ebx
pop ecx
mov byte [ebp - 4], 0x10
sbb bl, bl
lea ecx, [ebp - 0x60]
inc bl
call sub.MFC42.DLL_CString::CString
test bl, bl
jne 0x490d2b
inc esi
cmp esi, dword [ebp - 0x5c]
jl 0x490b9c
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString_4
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x68]
push eax
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x14
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x13
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
lea ecx, [ebp - 0x44]
call sub.MFC42.DLL_CString::CString_1
push dword [ebp - 0x24]
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0x15
push 0x5513e8
push eax
call sub.MFC42.DLL_CString::Format
push dword [ebp - 0x44]
call fcn.00491940
add esp, 0x10
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x1a8]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x490ad7
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp + 8]
push eax
call sub.MFC42.DLL_CTime::GetTickCount
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x3c], eax
push eax
mov edx, dword [ecx]
push str.dwLastCleanTime
push ecx
call dword [edx + 0x18]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 3
test eax, eax
je 0x490cdb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 2
test eax, eax
je 0x490cec
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
test eax, eax
je 0x490cfd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
and byte [ebp - 4], 0
test eax, eax
je 0x490d0e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00492466
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
push 1
push esi
lea ecx, [ebp - 0x58]
call fcn.004c2140
jmp 0x490c5c