Function at 0x408d60
Capabilities:
Delete file
Get file attributes
Resolve function by parsing pe exports
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x413238
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov esi, ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x58], 1
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x34]
mov byte [esp + 0x58], 2
call fcn.0041230a
lea eax, [esp + 0x60]
lea ecx, [esp + 0x18]
push eax
mov byte [esp + 0x5c], 3
call sub.MFC42.DLL_CString::CString_2
push 0x4189c0
lea ecx, [esp + 0x20]
mov byte [esp + 0x5c], 4
call fcn.00412376
lea ecx, [esp + 0x14]
push 1
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x60], 5
call sub.MFC42.DLL_CString::Right
mov edx, dword [esp + 0x1c]
mov eax, dword [eax]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 0x14]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 4
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x408e67
push 0x4189c0
lea ecx, [esp + 0x20]
call fcn.00412376
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x18]
push eax
mov byte [esp + 0x5c], 6
call fcn.0041235e
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 4
call sub.MFC42.DLL_CString::CString
push 0x4189c0
lea ecx, [esp + 0x20]
call fcn.00412376
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 7
push ecx
lea ecx, [esp + 0x64]
call fcn.0041235e
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 4
call sub.MFC42.DLL_CString::CString
push 0x4189b4
lea ecx, [esp + 0x20]
call fcn.00412376
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x18]
push edx
mov byte [esp + 0x5c], 8
call fcn.0041235e
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x18]
push 0
push eax
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x40909c
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov bl, 9
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CFileFind::FindNextFileA
mov edx, dword [esp + 0x34]
push 0x10
lea ecx, [esp + 0x38]
mov dword [esp + 0x2c], eax
call dword [edx + 0x40]
test eax, eax
jne 0x409090
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
jne 0x409090
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x34]
push eax
call sub.MFC42.DLL_CFileFind::GetFileTitle
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], bl
push ecx
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CFileFind::GetFilePath
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 0xa
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], bl
call sub.MFC42.DLL_CString::CString
push ecx
lea edx, [esp + 0x68]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
mov byte [esp + 0x64], 0xb
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x60], bl
call fcn.00409470
test eax, eax
je 0x408fa4
push 0x10000000
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
mov dword [esi + 0x10], 1
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.00409380
mov eax, dword [esp + 0x10]
push eax
call ebp
mov ecx, dword [esp + 0x10]
and al, 0xfe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov edx, dword [esp + 0x10]
push edx
jmp 0x409080
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x409042
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, esi
call fcn.0040eb90
push 0x5c
lea ecx, [esp + 0x18]
mov byte [esp + 0x5c], 0xc
call sub.MFC42.DLL_CString::ReverseFind
lea edx, [esp + 0x24]
push eax
push edx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x5c], 0xd
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x24]
mov byte [esp + 0x58], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::MakeUpper
push 0x4181e4
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
jne 0x409033
push 0x4189b0
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
jne 0x409033
mov eax, dword [esp + 0x10]
push eax
call edi
lea ecx, [esp + 0x14]
mov byte [esp + 0x58], bl
call sub.MFC42.DLL_CString::CString
jmp 0x409082
push 0x418998
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
jne 0x40907b
push 0x418988
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
jne 0x40907b
push 0x418978
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
je 0x409082
mov ecx, dword [esp + 0x10]
push ecx
call edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x408ebc
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CFileFind::Close
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4090ee
mov edx, dword [esp + 0x70]
lea ecx, [esi + 0x44]
push edx
call fcn.00402b00
push eax
push ecx
lea eax, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x78], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x78], esp
push edx
mov byte [esp + 0x6c], 0xe
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x68], 4
call fcn.00409150
lea ecx, [esp + 0x18]
mov byte [esp + 0x58], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x58], 2
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [esp + 0x10]
mov byte [esp + 0x58], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x60]
mov byte [esp + 0x58], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x64]
mov dword [esp + 0x58], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x4c
ret 0x14