Function at 0x409dd0
Capabilities:
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4682d8
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x487304]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb0], ecx
mov ebx, dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryA]
lea eax, [ebp - 0xa8]
xor edi, edi
push eax
push edi
push edi
mov dword [ebp - 0xa8], edi
call ebx
test eax, eax
jne 0x409e30
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x409f35
push dword [ebp - 0xa8]
call fcn.004667d0
add esp, 4
mov esi, eax
lea eax, [ebp - 0xa8]
push eax
push esi
push 0
call ebx
mov ebx, eax
test ebx, ebx
jne 0x409e64
push 0x50
push esi
call fcn.004662e6
add esp, 8
xor edi, edi
jmp 0x409f35
push 0xffffffffffffffff
push dword [esi + 4]
lea ecx, [ebp - 0xa4]
call fcn.0042e46f
push 0
push 0x477cf4
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], 0
call fcn.0042e9e0
cmp eax, 0xffffffff
jne 0x409eb9
push 0x88
call fcn.00466317
add esp, 4
push 0x4000
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_OpenFile]
cmp eax, 0xffffffff
je 0x409eb9
add edi, dword [ebp - 0xa8]
push 0x50
push esi
call fcn.004662e6
add esp, 8
mov dword [ebp - 0xa8], 0
lea eax, [ebp - 0xa8]
push eax
push 0
push ebx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
test eax, eax
jne 0x409ef1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x40a02b
push dword [ebp - 0xa8]
call fcn.004667d0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
mov esi, eax
call fcn.0042e585
lea eax, [ebp - 0xa8]
push eax
push esi
push ebx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
test eax, eax
jne 0x409e64
push 0x50
push esi
call fcn.004662e6
add esp, 8
mov esi, dword [ebp - 0xb0]
push 0
push 0x48745c
push 0x487fb8
push 0
add esi, 0x14
push str.cache_usable
mov ecx, esi
call fcn.0043043c
push eax
call sub.VCRUNTIME140.dll___RTDynamicCast
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x40a07b
movd xmm0, edi
lea ecx, [ebp - 0x5c]
cvtdq2pd xmm0, xmm0
shr edi, 0x1f
addsd xmm0, qword [edi*8 + 0x47a3d0]
mulsd xmm0, qword [0x47a368]
movsd qword [ebp - 0xb4], xmm0
call fcn.0042e48f
movsd xmm0, qword [ebp - 0xb4]
lea eax, [ebp - 0x5c]
sub esp, 8
mov dword [ebp - 4], 1
movsd qword [esp], xmm0
push str._.1f
push eax
call fcn.0042eb1f
add esp, 0x10
mov ecx, esi
push 0
push 0x48745c
push 0x487fb8
push 0
push str.cache_enough
call fcn.0043043c
push eax
call sub.VCRUNTIME140.dll___RTDynamicCast
add esp, 0x14
mov ecx, esi
mov edi, eax
push 0
push 0x48745c
push 0x487fb8
push 0
push str.cache_notenough
call fcn.0043043c
push eax
call sub.VCRUNTIME140.dll___RTDynamicCast
movsd xmm0, qword [ebp - 0xb4]
add esp, 0x14
comisd xmm0, xmmword [0x47a378]
mov esi, eax
mov ecx, edi
mov eax, dword [edi]
jbe 0x40a042
push 0
call dword [eax + 0xcc]
push 1
jmp 0x40a04c
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], 0xffffffff
call fcn.0042e585
jmp 0x409f35
push 1
call dword [eax + 0xcc]
push 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xcc]
push 0x477d30
lea ecx, [ebp - 0x5c]
call fcn.0042e7d9
mov esi, dword [ebx]
lea ecx, [ebp - 0x5c]
call fcn.0042e701
push eax
mov ecx, ebx
call dword [esi + 0x2c]
lea ecx, [ebp - 0x5c]
call fcn.0042e585
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004662d8
mov esp, ebp
pop ebp
ret 4