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

Disassembly:
push 0xffffffffffffffff
push 0x42ce58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x24]
push ebp
push esi
push edi
mov eax, dword [eax]
mov dword [esp + 0x14], ecx
mov esi, str.Cookie:
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x406f3e
test cl, cl
je 0x406f3a
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x406f3e
add eax, 2
add esi, 2
test cl, cl
jne 0x406f1a
xor eax, eax
jmp 0x406f43
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x406f68
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
add ecx, 0x68
mov dword [esp + 0x14], 2
call fcn.0040be10
test al, al
je 0x40716e
mov edi, dword [esp + 0x30]
mov esi, dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryA]
lea edx, [esp + 0xc]
xor ebp, ebp
mov eax, dword [edi]
push edx
push ebp
push eax
mov dword [esp + 0x18], ebp
call esi
test eax, eax
mov dword [esp + 0x10], eax
jne 0x40716e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x103
je 0x40716e
cmp eax, 0x7a
jne 0x406fc3
mov eax, dword [esp + 0xc]
push eax
call fcn.00412607
add esp, 4
lea ecx, [esp + 0xc]
mov ebp, eax
mov eax, dword [edi]
push ecx
push ebp
push eax
call esi
mov dword [esp + 0x10], eax
mov edi, dword [ebp + 0xc]
mov eax, edi
and eax, 0x100000
mov dword [esp + 0x1c], eax
je 0x40700f
mov edx, dword [esp + 0x30]
mov esi, str.Cookie:
mov eax, dword [edx]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x407002
test cl, cl
je 0x406ffe
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x407002
add eax, 2
add esi, 2
test cl, cl
jne 0x406fde
xor eax, eax
jmp 0x407007
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x407097
and edi, 0x200000
je 0x40704f
mov eax, dword [esp + 0x30]
mov esi, str.Visited:
mov eax, dword [eax]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x407046
test cl, cl
je 0x407042
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x407046
add eax, 2
add esi, 2
test cl, cl
jne 0x407022
xor eax, eax
jmp 0x40704b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x407097
mov eax, dword [esp + 0x30]
mov esi, 0x43da34
mov eax, dword [eax]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40707e
test cl, cl
je 0x40707a
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40707e
add eax, 2
add esi, 2
test cl, cl
jne 0x40705a
xor eax, eax
jmp 0x407083
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40710d
test edi, edi
jne 0x40710d
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x40710d
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
test eax, eax
jne 0x4070b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40710d
mov esi, dword [ebp + 0x1c]
mov ecx, dword [ebp + 4]
mov edi, dword [ebp + 0x18]
push ecx
shl esi, 0x10
lea ecx, [esp + 0x1c]
add esi, edi
call fcn.00425828
mov edi, dword [esp + 0x14]
lea edx, [esp + 0x18]
push esi
push edx
mov ecx, edi
mov dword [esp + 0x30], 0
call fcn.00402cb0
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0xffffffff
call fcn.004257ba
mov ecx, dword [edi + 0xa4]
mov eax, dword [edi + 0xa0]
add ecx, esi
inc eax
mov dword [edi + 0xa4], ecx
mov dword [edi + 0xa0], eax
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
push ebp
push ecx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
test eax, eax
jne 0x406fc3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x40715a
mov edx, dword [esp + 0xc]
push edx
push ebp
call fcn.004124cf
mov ecx, dword [esp + 0x18]
add esp, 8
mov ebp, eax
lea eax, [esp + 0xc]
push eax
push ebp
push ecx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
test eax, eax
jne 0x406fc3
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
push ebp
call fcn.00412487
add esp, 4
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 4