Function at 0x404410
Capabilities:
Delete file
Get common file path
Set file attributes

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x115]
mov byte [esp + 0x114], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
xor esi, esi
stosb byte es:[edi], al
push esi
lea eax, [esp + 0x14]
push 0x1a
push eax
push esi
call ebx
test eax, eax
je 0x404668
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4045a9
lea eax, [esp + ecx + 0xf]
mov cl, byte [esp + ecx + 0xf]
cmp cl, 0x5c
jne 0x404489
mov byte [eax], 0
mov edi, str.Opera_SoftwareOpera_Stable
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x21c]
mov ecx, ebp
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
je 0x4045b6
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x118]
push str._sCookies
push ecx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
add esp, 0xc
lea edx, [esp + 0x114]
push 0
push edx
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esp + 0x114]
push eax
call ebp
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x404524
push str.D:WorkHPServiceShangHaiToasterIECacheFile.cpp
push 0x30e
call ebx
push eax
call fcn.004048b0
add esp, 0xc
lea ecx, [esp + 0x10]
lea edx, [esp + 0x114]
push ecx
push str._sCookies_journal
push edx
call esi
add esp, 0xc
lea eax, [esp + 0x114]
push 0
push eax
call edi
lea ecx, [esp + 0x114]
push ecx
call ebp
test eax, eax
jne 0x40456a
push str.D:WorkHPServiceShangHaiToasterIECacheFile.cpp
push 0x314
call ebx
push eax
call fcn.004048b0
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x114]
push edx
push str._sLocal_Storage
push eax
call esi
lea ecx, [esp + 0x120]
push 0
push ecx
call fcn.00402d70
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4045a9
push str.D:WorkHPServiceShangHaiToasterIECacheFile.cpp
push 0x31a
push esi
call fcn.004048b0
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
lea edx, [esp + 0x10]
push 0
push edx
call fcn.00402d70
mov esi, eax
add esp, 8
test esi, esi
je 0x4045de
push str.D:WorkHPServiceShangHaiToasterIECacheFile.cpp
push 0x322
push esi
call fcn.004048b0
add esp, 0xc
push 0
lea eax, [esp + 0x14]
push 0x1c
push eax
push 0
call ebx
test eax, eax
je 0x40468c
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4045a9
lea eax, [esp + ecx + 0xf]
mov cl, byte [esp + ecx + 0xf]
cmp cl, 0x5c
jne 0x404613
mov byte [eax], 0
mov edi, str.Opera_SoftwareOpera_StableCache
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00402d70
mov esi, eax
add esp, 8
test esi, esi
je 0x4045a9
push str.D:WorkHPServiceShangHaiToasterIECacheFile.cpp
push 0x333
jmp 0x4045a0
push str.D:WorkHPServiceShangHaiToasterIECacheFile.cpp
push 0x2ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004048b0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
push str.D:WorkHPServiceShangHaiToasterIECacheFile.cpp
push 0x327
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004048b0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret