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

Disassembly:
push 0xffffffffffffffff
push 0x4287d7
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 + 0x28], esp
push eax
mov dword [esp + 0x244], 1
call fcn.0041ecc8
mov ecx, esi
call fcn.00408390
mov ecx, dword [esp + 0x240]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edx, dword [esp + 0x240]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
and al, 0xfe
push eax
push edx
call ebp
lea eax, [esp + 0x240]
lea ecx, [esp + 0x20]
push eax
xor edi, edi
call fcn.0041ecc8
lea ecx, [esp + 0x240]
mov byte [esp + 0x238], 2
push ecx
lea ecx, [esp + 0x20]
call fcn.0041ecc8
push edi
mov byte [esp + 0x23c], 3
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
je 0x408580
lea ecx, [esp + 0x1c]
mov byte [esp + 0x238], 2
call fcn.0041ef53
lea ecx, [esp + 0x20]
mov byte [esp + 0x238], 1
call fcn.0041ef53
lea ecx, [esp + 0x240]
mov byte [esp + 0x238], 0
call fcn.0041ef53
lea ecx, [esp + 0x244]
mov dword [esp + 0x238], 0xffffffff
call fcn.0041ef53
xor eax, eax
jmp 0x408830
lea edx, [esp + 0x18]
push edx
push 0x42a4e0
push 1
push 0
push 0x42a4d0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x4087c7
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x24]
push edx
push 0x42a4f0
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jne 0x4087c7
lea eax, [esp + 0x240]
lea ecx, [esp + 0x10]
push eax
call fcn.0041ecc8
mov edx, dword [esp + 0x240]
lea ecx, [esp + 0x28]
push 0x104
push ecx
push 0xffffffffffffffff
push edx
push 0
push 0
mov byte [esp + 0x250], 4
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x28]
push 2
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
jl 0x4087b6
mov eax, dword [esp + 0x18]
push 2
push 0
push 0x400
mov ebx, dword [eax]
push 0x400
lea ecx, [esp + 0x250]
call fcn.0041f383
mov ecx, dword [esp + 0x24]
push eax
push ecx
call dword [ebx + 0xc]
mov edx, dword [esp + 0x240]
lea ecx, [esp + 0x240]
mov eax, dword [edx - 8]
push eax
push 0x5c
call fcn.0041e156
inc eax
lea ecx, [esp + 0x244]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0041dfcc
push eax
lea ecx, [esp + 0x244]
mov byte [esp + 0x23c], 5
call fcn.0041f08c
lea ecx, [esp + 0x14]
mov byte [esp + 0x238], 4
call fcn.0041ef53
lea ecx, [esp + 0x240]
call fcn.0041f41a
push str.IEXPLORE.EXE
lea ecx, [esp + 0x18]
call fcn.0041f013
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x240]
push ecx
push edx
call fcn.0040ef2e
add esp, 8
lea ecx, [esp + 0x14]
test eax, eax
sete bl
call fcn.0041ef53
test bl, bl
je 0x408716
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 0x40]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x28]
push 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [esp + 0x10]
mov edi, 1
push edi
push eax
call ebp
push 0x80000000
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.0041ecc8
mov ecx, esi
call fcn.00408390
jmp 0x4087b6
push str..URL
lea ecx, [esp + 0x244]
call fcn.0041e178
cmp eax, 0xffffffff
jne 0x4087ab
mov eax, dword [esp + 0x240]
push 0x438170
push eax
call fcn.0040ef2e
add esp, 8
test eax, eax
je 0x4087ab
push 0x2e
lea ecx, [esp + 0x244]
call fcn.0041e156
lea ecx, [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x248]
call fcn.0041dfa9
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], 6
call fcn.0041f08c
lea ecx, [esp + 0x14]
mov byte [esp + 0x238], 4
call fcn.0041ef53
lea ecx, [esp + 0x10]
call fcn.0041f42c
push 0x4330dc
lea ecx, [esp + 0x14]
call fcn.0041e178
cmp eax, 0xffffffff
je 0x4087b6
mov edx, dword [esp + 0x1c]
push edx
jmp 0x4087b0
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x10]
mov byte [esp + 0x238], 3
call fcn.0041ef53
mov eax, dword [esp + 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
push eax
mov edx, dword [eax]
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x238], 2
call fcn.0041ef53
lea ecx, [esp + 0x20]
mov byte [esp + 0x238], 1
call fcn.0041ef53
lea ecx, [esp + 0x240]
mov byte [esp + 0x238], 0
call fcn.0041ef53
lea ecx, [esp + 0x244]
mov dword [esp + 0x238], 0xffffffff
call fcn.0041ef53
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