Function at 0x409470
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4132b1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0x10000000
push ecx
lea eax, [esp + 0x248]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov dword [esp + 0x244], 1
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.00409380
mov ecx, dword [esp + 0x240]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edx, dword [esp + 0x240]
and al, 0xfe
push eax
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [esp + 0x240]
lea ecx, [esp + 0x1c]
push eax
xor edi, edi
call sub.MFC42.DLL_CString::CString_2
push edi
mov byte [esp + 0x23c], 2
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
je 0x409544
lea ecx, [esp + 0x1c]
mov byte [esp + 0x238], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x240]
mov byte [esp + 0x238], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x244]
mov dword [esp + 0x238], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x40977e
lea ecx, [esp + 0x10]
push ecx
push 0x415330
push 1
push 0
push 0x415320
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x409726
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x20]
push ecx
push 0x415340
mov edx, dword [eax]
push eax
call dword [edx]
test eax, eax
jne 0x409726
lea edx, [esp + 0x240]
lea ecx, [esp + 0x18]
push edx
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x240]
lea eax, [esp + 0x28]
push 0x104
push eax
push 0xffffffffffffffff
push ecx
mov bl, 3
push 0
push 0
mov byte [esp + 0x250], bl
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x28]
push 2
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x14]
test eax, eax
jl 0x409715
mov edx, dword [esp + 0x10]
push 2
push 0
push 0x400
mov ebp, dword [edx]
push 0x400
lea ecx, [esp + 0x250]
call sub.MFC42.DLL_CString::GetBuffer
push eax
mov eax, dword [esp + 0x20]
push eax
call dword [ebp + 0xc]
mov ecx, dword [esp + 0x240]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x240]
push eax
push 0x5c
call sub.MFC42.DLL_CString::ReverseFind
inc eax
lea edx, [esp + 0x18]
push eax
push edx
lea ecx, [esp + 0x24c]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x244]
mov byte [esp + 0x23c], 4
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x238], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x240]
call sub.MFC42.DLL_CString::MakeUpper
push str.IEXPLORE.EXE
lea ecx, [esp + 0x18]
call fcn.00412376
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x240]
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
push eax
push ecx
call ebp
add esp, 8
lea ecx, [esp + 0x14]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4096de
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x44]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x28]
push 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [esp + 0x18]
mov edi, 1
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x80000000
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.00409380
jmp 0x409715
push str..URL
lea ecx, [esp + 0x244]
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
jne 0x40970a
mov eax, dword [esp + 0x240]
push 0x41a6e8
push eax
call ebp
add esp, 8
test eax, eax
jne 0x409715
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x18]
mov byte [esp + 0x238], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x20]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x238], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x240]
mov byte [esp + 0x238], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x244]
mov dword [esp + 0x238], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, edi
mov ecx, dword [esp + 0x230]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x22c
ret 8