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

Disassembly:
push 0xffffffffffffffff
push 0x439298
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
mov ebp, ecx
mov eax, dword [ebx]
push esi
push edi
mov dword [esp + 0x20], ebp
mov esi, str.Cookie:
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40a2e3
test cl, cl
je 0x40a2dd
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40a2e3
add eax, 2
add esi, 2
test cl, cl
jne 0x40a2bd
xor edi, edi
xor eax, eax
jmp 0x40a2ea
sbb eax, eax
sbb eax, 0xffffffff
xor edi, edi
cmp eax, edi
jne 0x40a30b
lea eax, [esp + 0x24]
lea ecx, [ebp + 0x68]
push eax
mov dword [esp + 0x28], 4
call fcn.004111d0
test al, al
je 0x40a644
mov eax, dword [ebx]
mov esi, dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryA]
lea ecx, [esp + 0x10]
xor ebp, ebp
push ecx
push edi
push eax
mov dword [esp + 0x1c], edi
call esi
cmp eax, edi
mov dword [esp + 0x14], eax
jne 0x40a644
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x103
je 0x40a644
cmp eax, 0x7a
jne 0x40a362
mov edx, dword [esp + 0x10]
push edx
call fcn.0041a9bc
add esp, 4
lea ecx, [esp + 0x10]
mov ebp, eax
mov eax, dword [ebx]
push ecx
push ebp
push eax
call esi
mov dword [esp + 0x14], eax
push 0x51
call fcn.0041a9bc
mov ebx, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
mov dword [ebx + 0x34], edi
mov dword [ebx + 0x30], edi
mov dword [ebx + 0x4c], edi
mov dword [ebx + 0x2c], edi
mov dword [ebx + 0x28], edi
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x24], edi
mov dword [ebx + 0x20], edi
mov dword [ebx + 0x3c], edi
mov dword [ebx + 0x38], edi
mov edi, 0x4500e8
mov dword [ebx], 0x50
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebx + 0x50]
mov eax, ecx
mov esi, edi
mov edi, edx
mov dword [esp + 0x1c], ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebx + 0x40], edx
mov dword [ebx + 0x44], 1
test dword [ebp + 0xc], 0x100000
je 0x40a452
mov ecx, dword [esp + 0x48]
mov esi, str.Cookie:
mov eax, dword [ecx]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40a401
test cl, cl
je 0x40a3fd
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40a401
add eax, 2
add esi, 2
test cl, cl
jne 0x40a3dd
xor eax, eax
jmp 0x40a406
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40a452
mov eax, dword [ebp + 4]
lea ecx, [esp + 0x18]
push eax
call fcn.0042ff9f
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x44], 0
lea ecx, [edx + 0x68]
call fcn.00411610
test al, al
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 0xffffffff
sete bl
call fcn.0042ff31
test bl, bl
mov ebx, dword [esp + 0x1c]
jne 0x40a4e6
mov edi, dword [ebp + 0xc]
and edi, 0x200000
je 0x40a495
mov eax, dword [esp + 0x48]
mov esi, str.Visited:
mov eax, dword [eax]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40a48c
test cl, cl
je 0x40a488
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40a48c
add eax, 2
add esi, 2
test cl, cl
jne 0x40a468
xor eax, eax
jmp 0x40a491
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40a4e6
mov eax, dword [esp + 0x48]
mov esi, 0x4500e4
mov eax, dword [eax]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40a4c4
test cl, cl
je 0x40a4c0
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40a4c4
add eax, 2
add esi, 2
test cl, cl
jne 0x40a4a0
xor eax, eax
jmp 0x40a4c9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40a5da
test edi, edi
jne 0x40a5da
test dword [ebp + 0xc], 0x100000
jne 0x40a5da
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x30], 0xb
lea ecx, [edi + 0x68]
call fcn.004111d0
test al, al
je 0x40a55a
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [esp + 0x28]
call fcn.0042ff9f
lea edx, [esp + 0x24]
mov ecx, edi
push edx
mov dword [esp + 0x44], 1
call fcn.00401a10
lea ecx, [esp + 0x24]
mov dword [esp + 0x40], 0xffffffff
call fcn.0042ff31
mov eax, dword [ebp + 4]
push 0xfd4
mov dword [ebx + 4], eax
mov ecx, dword [ebp + 8]
mov dword [ebx + 8], ecx
mov edx, dword [ebp + 0xc]
or edx, 1
push ebx
mov dword [ebx + 0xc], edx
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.WININET.dll_SetUrlCacheEntryInfoA]
mov ecx, dword [ebp + 4]
push ecx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
test eax, eax
jne 0x40a573
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40a5da
mov esi, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 4]
shl esi, 0x10
add esi, ecx
push edx
lea ecx, [esp + 0x2c]
call fcn.0042ff9f
lea eax, [esp + 0x28]
push esi
push eax
mov ecx, edi
mov dword [esp + 0x48], 2
call fcn.00402ce0
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], 0xffffffff
call fcn.0042ff31
mov eax, dword [edi + 0xc4]
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], 0
inc eax
fild qword [esp + 0x30]
mov dword [edi + 0xc4], eax
fadd qword [edi + 0xc8]
fstp qword [edi + 0xc8]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
push ebp
push edx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
test eax, eax
jne 0x40a3c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x40a627
mov eax, dword [esp + 0x10]
push eax
push ebp
call fcn.0041a68d
mov edx, dword [esp + 0x1c]
add esp, 8
lea ecx, [esp + 0x10]
mov ebp, eax
push ecx
push ebp
push edx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
test eax, eax
jne 0x40a3c5
push ebx
call fcn.0042fc9b
mov eax, dword [esp + 0x18]
add esp, 4
push eax
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
push ebp
call fcn.0041a5a4
add esp, 4
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 4