Function at 0x427750
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x48d620
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CFileFind::CFileFind
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x10]
push eax
mov dword [esp + 0x58], 0
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x10]
push 0x5c
mov byte [esp + 0x58], 1
mov esi, dword [ecx - 8]
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReverseFind
dec esi
cmp eax, esi
je 0x4277b5
push 0x4a1640
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_2
push 0x4a30d0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_2
mov edx, dword [esp + 0x10]
push 0
push edx
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CFileFind::FindFile
lea ecx, [esp + 0x18]
mov esi, eax
call sub.MFC42.DLL_CString::CString_3
push ecx
lea ecx, [esp + 0x60]
mov eax, esp
mov dword [esp + 0x60], esp
mov byte [esp + 0x58], 2
xor ebp, ebp
mov dword [eax], 1
lea eax, [esp + 0x20]
push eax
push ecx
call sub.MFC42.DLL_CTime::GetTickCount
mov ecx, eax
call fcn.00427990
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
test esi, esi
mov byte [esp + 0x54], 3
je 0x427932
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CFileFind::FindNextFileA
mov edx, dword [esp + 0x30]
push 0x10
lea ecx, [esp + 0x34]
mov edi, eax
call dword [edx + 0x40]
test eax, eax
jne 0x427914
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
jne 0x427914
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
push eax
call sub.MFC42.DLL_CFileFind::GetFileName
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x58], 4
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x20]
mov byte [esp + 0x54], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::MakeLower
lea ecx, [esp + 0x24]
push 4
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x4a12f0
push eax
call esi
add esp, 8
lea ecx, [esp + 0x24]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x427914
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x30]
push edx
inc ebp
call sub.MFC42.DLL_CFileFind::GetLastWriteTime
push ecx
mov ecx, dword [esp + 0x20]
mov eax, esp
mov dword [esp + 0x30], esp
mov dword [eax], ecx
lea ecx, [esp + 0x60]
call fcn.004279b0
test eax, eax
je 0x427914
mov edx, dword [esp + 0x5c]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x20], edx
call sub.MFC42.DLL_CFileFind::GetFilePath
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 5
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x28]
mov byte [esp + 0x54], 3
call sub.MFC42.DLL_CString::CString
test edi, edi
jne 0x427824
cmp ebp, 0x14
jle 0x427932
push edi
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x14]
mov byte [esp + 0x54], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x54], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x54], 0xffffffff
call fcn.0045d9c0
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x48
ret 4