Function at 0x494ba0
Capabilities:
Delete directory
Delete internet cache
Enumerate internet cache
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dd830
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x828
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push eax
mov dword [ebp - 0x14], 0xa000
call fcn.004948e0
mov ecx, dword [ebp - 0x14]
mov dword [ebp + 0xc], eax
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 8
test esi, esi
je 0x494de2
mov ecx, 0x2800
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x14]
push eax
push esi
push str.cookie:
mov dword [esi], edx
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryA]
mov ebx, eax
test ebx, ebx
je 0x494c86
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 0x34]
mov eax, dword [esi + 0x30]
push ecx
push edx
push eax
call fcn.00465cd0
add esp, 0xc
test eax, eax
je 0x494c58
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.WININET.dll_DeleteUrlCacheEntryA]
push ecx
call edi
test eax, eax
jne 0x494c58
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x494c58
mov edx, dword [esi + 4]
push 0
push edx
call dword [sym.imp.WININET.dll_UnlockUrlCacheEntryFileA]
mov eax, dword [esi + 4]
push eax
call edi
mov ecx, 0x2800
xor eax, eax
mov edi, esi
mov dword [ebp - 0x14], 0xa000
lea edx, [ebp - 0x14]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x14]
push edx
push esi
push ebx
mov dword [esi], ecx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
test eax, eax
jne 0x494c13
push ebx
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
push esi
call fcn.004d7f79
mov eax, dword [ebp + 0xc]
add esp, 4
test eax, eax
jne 0x494de2
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x62a]
mov word [ebp - 0x62c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
mov esi, 0x5f0318
push esi
call edi
add esp, 4
test eax, eax
jne 0x494ce8
xor ebx, ebx
lea eax, [ebp - 0x62c]
push ebx
push 0x21
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x494cea
lea esi, [ebp - 0x62c]
jmp 0x494cea
xor ebx, ebx
push esi
call edi
add esp, 4
test eax, eax
jbe 0x494d4d
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x832]
mov word [ebp - 0x834], bx
rep stosd dword es:[edi], eax
push str._.txt
push esi
push 0x4f67b8
lea ecx, [ebp - 0x834]
push 0x104
push ecx
stosw word es:[edi], ax
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea edx, [ebp - 0x834]
push ebx
push edx
mov dword [ebp - 4], ebx
call fcn.00435a00
add esp, 0x1c
jmp 0x494d46
mov dword [ebp - 4], 0xffffffff
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x21a]
mov word [ebp - 0x21c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x422]
mov word [ebp - 0x424], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
lea eax, [ebp - 0x21c]
push 0x103
push eax
mov ecx, 0x511800
call fcn.0040b0f0
lea ecx, [ebp - 0x21c]
push str.Sessions
push ecx
push 0x4f59b8
lea edx, [ebp - 0x424]
push 0x103
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
cmp word [ebp - 0x424], bx
je 0x494de2
push ebx
push ebx
lea eax, [ebp - 0x424]
push ebx
push eax
call fcn.00491e30
add esp, 0x10
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret