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

Disassembly:
sub esp, 0x208
push ebx
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x111]
mov byte [esp + 0x110], 0
mov byte [esp + 0xc], 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 + 0xd]
xor esi, esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push esi
lea eax, [esp + 0x114]
push 0x1a
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x4040c8
lea edi, [esp + 0x110]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x404098
lea eax, [esp + ecx + 0x10f]
mov cl, byte [esp + ecx + 0x10f]
cmp cl, 0x5c
jne 0x403f02
mov byte [eax], 0
mov edi, str.SogouExplorerWebkitDefault
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x110]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
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 eax, dword [esp + 0x218]
mov ecx, ebx
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
je 0x4040a4
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [esp + 0x110]
push ebp
push eax
lea ecx, [esp + 0x14]
push str._sCookies
push ecx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
add esp, 0xc
lea edx, [esp + 0x10]
push 0
push edx
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esp + 0x10]
push eax
call ebp
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x403f9b
push str.D:WorkHPServiceShangHaiToasterIECacheFile.cpp
push 0x26c
call ebx
push eax
call fcn.004048b0
add esp, 0xc
lea ecx, [esp + 0x114]
lea edx, [esp + 0x10]
push ecx
push str._sCookies_journal
push edx
call esi
add esp, 0xc
lea eax, [esp + 0x10]
push 0
push eax
call edi
lea ecx, [esp + 0x10]
push ecx
call ebp
test eax, eax
jne 0x403fdb
push str.D:WorkHPServiceShangHaiToasterIECacheFile.cpp
push 0x272
call ebx
push eax
call fcn.004048b0
add esp, 0xc
lea edx, [esp + 0x114]
lea eax, [esp + 0x10]
push edx
push str._sExtension_Cookies
push eax
call esi
add esp, 0xc
lea ecx, [esp + 0x10]
push 0
push ecx
call edi
lea edx, [esp + 0x10]
push edx
call ebp
test eax, eax
jne 0x40401b
push str.D:WorkHPServiceShangHaiToasterIECacheFile.cpp
push 0x278
call ebx
push eax
call fcn.004048b0
add esp, 0xc
lea eax, [esp + 0x114]
lea ecx, [esp + 0x10]
push eax
push str._sExtension_Cookies_journal
push ecx
call esi
add esp, 0xc
lea edx, [esp + 0x10]
push 0
push edx
call edi
lea eax, [esp + 0x10]
push eax
call ebp
test eax, eax
pop ebp
jne 0x40405c
push str.D:WorkHPServiceShangHaiToasterIECacheFile.cpp
push 0x27e
call ebx
push eax
call fcn.004048b0
add esp, 0xc
lea ecx, [esp + 0x110]
lea edx, [esp + 0xc]
push ecx
push str._sLocal_Storage
push edx
call esi
lea eax, [esp + 0x18]
push 0
push eax
call fcn.00402d70
mov esi, eax
add esp, 0x14
test esi, esi
je 0x404098
push str.D:WorkHPServiceShangHaiToasterIECacheFile.cpp
push 0x284
push esi
call fcn.004048b0
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x208
ret
lea ecx, [esp + 0x110]
push 0
push ecx
call fcn.00402d70
mov esi, eax
add esp, 8
test esi, esi
je 0x404098
push str.D:WorkHPServiceShangHaiToasterIECacheFile.cpp
push 0x28c
jmp 0x40408f
push str.D:WorkHPServiceShangHaiToasterIECacheFile.cpp
push 0x25d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004048b0
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0x208
ret