Function at 0x50efa0
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x565360
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5c7cec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
push 0
push 0
mov dword [ebp - 0x14], 0
mov ebx, 1
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x50f004
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x103
je 0x50f1c7
mov esi, dword [ebp - 0x14]
push esi
mov dword [ebp - 0x40], esi
call fcn.00406939
mov edi, eax
add esp, 4
test edi, edi
je 0x50f1b9
lea eax, [ebp - 0x14]
push eax
push edi
push 0
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
mov ecx, eax
mov dword [ebp - 0x34], ecx
nop
mov eax, esi
mov dword [ebp - 0x14], eax
test dword [edi + 0xc], 0x100000
je 0x50f15b
mov edx, dword [edi + 4]
test edx, edx
je 0x50f15b
mov ecx, edx
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x50f066
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00408740
mov eax, dword [ebp - 0x1c]
mov ecx, eax
sub ecx, dword [ebp + 0x18]
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
lea edx, [ecx - 1]
mov byte [ebp - 4], 1
cmp word [eax + esi*2 - 2], 0x2f
mov esi, dword [ebp + 0x18]
cmovne edx, ecx
mov dword [ebp - 0x3c], edx
test edx, edx
js 0x50f146
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
cmp dword [ebp - 0x30], edx
jb 0x50f1eb
mov edx, eax
lea ecx, [edx + 2]
mov dword [ebp - 0x38], ecx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x50f0d2
sub edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
sub dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x2c]
sar edx, 1
cmp dword [ebp - 0x30], esi
mov dword [ebp - 0x44], edx
cmovb esi, dword [ebp - 0x30]
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x30], esi
cmovae ecx, dword [ebp - 0x2c]
cmp edx, esi
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x3c]
cmovb esi, edx
test esi, esi
je 0x50f134
add ecx, ecx
sub ecx, eax
add ecx, dword [ebp - 0x38]
mov dword [ebp - 0x38], ecx
nop dword [eax]
mov cx, word [ecx + eax]
cmp cx, word [eax]
jne 0x50f146
mov ecx, dword [ebp - 0x38]
add eax, 2
sub esi, 1
jne 0x50f120
cmp dword [ebp - 0x30], edx
jb 0x50f146
ja 0x50f146
push dword [edi + 4]
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
mov ebx, eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00408e50
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x34]
test ebx, ebx
je 0x50f17b
lea eax, [ebp - 0x14]
push eax
push edi
push ecx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
mov ecx, dword [ebp - 0x34]
mov ebx, eax
test ebx, ebx
jne 0x50f030
mov eax, dword [ebp - 0x14]
cmp eax, esi
jbe 0x50f1a4
push eax
mov esi, eax
push edi
mov dword [ebp - 0x40], esi
call fcn.00536992
mov edi, eax
add esp, 8
test edi, edi
je 0x50f1b9
lea eax, [ebp - 0x14]
push eax
push edi
push dword [ebp - 0x34]
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
mov ebx, eax
test ebx, ebx
je 0x50f1b0
mov ecx, dword [ebp - 0x34]
jmp 0x50f030
push edi
call fcn.004097f9
add esp, 4
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x50f1c7
push eax
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
lea ecx, [ebp + 8]
call fcn.00408e50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040154f
mov esp, ebp
pop ebp
ret
call fcn.00472980
int3