Function at 0x411a90
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x437680
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov esi, ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x54], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x54], 1
call sub.MFC42.DLL_CFileFind::CFileFind
lea ebp, [esi + 0xa0]
push 0xffffffffffffffff
push 0
mov ecx, ebp
mov byte [esp + 0x5c], 2
call sub.MFC42.DLL_CStringArray::SetSize
push 1
push 0x5c
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x20]
push 1
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x5c], 3
call sub.MFC42.DLL_CString::Right
mov ecx, dword [esp + 0x14]
mov eax, dword [eax]
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
push ecx
push eax
call esi
add esp, 8
lea ecx, [esp + 0x20]
test eax, eax
setne bl
call fcn.00434eae
lea ecx, [esp + 0x14]
mov byte [esp + 0x54], 2
call fcn.00434eae
test bl, bl
je 0x411b46
push 0x44a16c
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CString::operator_1
push 0x44a228
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [esp + 0x5c]
push 0
push edx
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CFileFind::FindFile
mov edi, eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
test edi, edi
je 0x411cce
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CFileFind::FindNextFileA
lea ecx, [esp + 0x20]
mov edi, eax
push ecx
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CFileFind::GetFilePath
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x58], 4
call fcn.00434ed8
lea ecx, [esp + 0x20]
mov byte [esp + 0x54], 2
call fcn.00434eae
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x30]
push edx
call sub.MFC42.DLL_CFileFind::GetLastWriteTime
mov eax, dword [esp + 0x30]
push 0x10
lea ecx, [esp + 0x34]
call dword [eax + 0x40]
test eax, eax
jne 0x411cc6
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
jne 0x411cc6
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CFileFind::GetFilePath
lea edx, [esp + 0x14]
push 3
push edx
mov ecx, eax
mov byte [esp + 0x5c], 5
call sub.MFC42.DLL_CString::Right
lea ecx, [esp + 0x24]
mov byte [esp + 0x54], 7
call fcn.00434eae
push 0x44b820
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [eax]
mov byte [esp + 0x54], 8
push eax
mov eax, dword [esp + 0x18]
push eax
call esi
add esp, 8
test eax, eax
je 0x411c66
push 0x44b81c
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call esi
add esp, 8
lea ecx, [esp + 0x28]
test eax, eax
sete bl
call fcn.00434eae
test bl, bl
je 0x411c68
mov bl, 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x54], 7
call fcn.00434eae
test bl, bl
je 0x411cb8
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov edx, eax
sub edx, ebx
cmp edx, 0x69780
jle 0x411ca2
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x10]
push ecx
push eax
mov ecx, ebp
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x1c]
cmp eax, 0x278d00
jle 0x411cb8
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x14]
mov byte [esp + 0x54], 2
call fcn.00434eae
test edi, edi
jne 0x411b7c
lea ecx, [esp + 0x30]
mov byte [esp + 0x54], 1
call fcn.00435130
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], 0
call fcn.00434eae
lea ecx, [esp + 0x5c]
mov dword [esp + 0x54], 0xffffffff
call fcn.00434eae
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret 4