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

Disassembly:
mov eax, 0x4f7530
call fcn.00475fe0
sub esp, 0x19c
push ebx
push esi
push edi
mov edi, ecx
push 0x5567f4
call fcn.00496914
xor ebx, ebx
pop ecx
cmp dword [ebp + 8], ebx
je 0x495cee
lea ecx, [ebp - 0x58]
call fcn.004973c1
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.004191a7
cmp dword [ebp - 0x34], ebx
je 0x495a76
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x4957a6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x34]
call fcn.004191a7
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 0x4957df
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 3
cmp ecx, ebx
je 0x4957d6
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 2
jmp 0x495a7d
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 0x49580a
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 0x495827
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x3c]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x18]
jmp 0x495841
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 0x49587f
push 0x50229c
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 0x5567d4
push eax
call sub.MFC42.DLL_CString::Format
push 0x5567c0
call fcn.00496914
add esp, 0x14
mov byte [ebp - 4], 4
lea ecx, [ebp + 8]
jmp 0x495a60
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x49588f
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 0x512304
mov ecx, dword [eax]
push eax
call dword [ecx + 0x6c]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x495a65
mov ecx, dword [eax]
push eax
call dword [ecx + 0x74]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x4958c2
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 0x4959ab
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString_4
lea eax, [ebp + 8]
mov byte [ebp - 4], 6
push eax
push 0x5122c4
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 0x49597d
push 1
lea eax, [ebp - 0x24]
push esi
push eax
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::Mid
push 0x502208
mov byte [ebp - 4], 8
push dword [ebp - 0x24]
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
je 0x495949
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
dec esi
jns 0x495911
jmp 0x49597d
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.004975cd
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 0x4958b2
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 0x555cdc
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 0x5567bc
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 0x495aa6
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 0x495a76
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x495a87
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x495a98
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
and byte [ebp - 4], 0
cmp eax, ebx
jmp 0x495cda
mov edi, 0x50229c
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
lea eax, [ebp - 0x17c]
push 0x555284
push eax
call esi
test eax, eax
je 0x495c48
lea eax, [ebp - 0x17c]
push 0x5567b8
push eax
call esi
test eax, eax
je 0x495c48
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 0x495b32
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 0x5567b4
push dword [ebp + 8]
call esi
pop ecx
test eax, eax
pop ecx
je 0x495b64
push 0x5567b0
push dword [ebp + 8]
call esi
pop ecx
test eax, eax
pop ecx
jne 0x495c30
mov eax, dword [ebp - 0x50]
xor esi, esi
test eax, eax
mov dword [ebp - 0x5c], eax
jle 0x495bb0
lea eax, [ebp - 0x60]
push esi
push eax
lea ecx, [ebp - 0x58]
call fcn.004973fe
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 0x495cff
inc esi
cmp esi, dword [ebp - 0x5c]
jl 0x495b70
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 0x5567a0
push eax
call sub.MFC42.DLL_CString::Format
push dword [ebp - 0x44]
call fcn.00496914
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 0x495aab
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 0x495caf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 2
test eax, eax
je 0x495cc0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
test eax, eax
je 0x495cd1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
and byte [ebp - 4], 0
test eax, eax
je 0x495ce2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00497437
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.004c7541
jmp 0x495c30