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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4deff0
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.00495f40
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 0x496446
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 0x4962f6
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 0x34]
mov eax, dword [esi + 0x30]
push ecx
push edx
push eax
call fcn.00495f90
add esp, 0xc
test eax, eax
je 0x4962c8
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.WININET.dll_DeleteUrlCacheEntryA]
push ecx
call edi
test eax, eax
jne 0x4962c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x4962c8
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 0x496283
push ebx
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
push esi
call fcn.004d9644
mov eax, dword [ebp + 0xc]
add esp, 4
test eax, eax
jne 0x496446
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x62a]
mov word [ebp - 0x62c], 0
rep stosd dword es:[edi], eax
xor ebx, ebx
mov esi, 0x5f4318
cmp word [0x5f4318], bx
stosw word es:[edi], ax
jne 0x49634f
push ebx
lea eax, [ebp - 0x62c]
push 0x21
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x49634f
lea esi, [ebp - 0x62c]
cmp esi, ebx
je 0x4963b1
cmp word [esi], bx
je 0x4963b1
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 0x4f8944
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.00433910
add esp, 0x1c
jmp 0x4963aa
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, 0x514ff8
call fcn.00407f50
lea ecx, [ebp - 0x21c]
push str.Sessions
push ecx
push 0x4f7858
lea edx, [ebp - 0x424]
push 0x103
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
cmp word [ebp - 0x424], bx
je 0x496446
push ebx
push ebx
lea eax, [ebp - 0x424]
push ebx
push eax
call fcn.004936c0
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