Function at 0x535440
Capabilities:
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ac760
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x62cf50]
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 - 0x30], eax
test eax, eax
jne 0x5354a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x103
je 0x53566a
mov edi, dword [ebp - 0x14]
push edi
mov dword [ebp - 0x40], edi
call fcn.00406b90
mov esi, eax
add esp, 4
test esi, esi
je 0x53565c
lea eax, [ebp - 0x14]
push eax
push esi
push 0
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
mov ecx, eax
mov dword [ebp - 0x30], ecx
nop
mov eax, edi
mov dword [ebp - 0x14], eax
test dword [esi + 0xc], 0x100000
je 0x5355fe
mov edx, dword [esi + 4]
test edx, edx
je 0x5355fe
mov ecx, edx
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x535506
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00409db0
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x2c]
mov edi, dword [ebp + 0x18]
mov ecx, edx
sub ecx, dword [ebp + 0x18]
cmp dword [ebp - 0x18], 8
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], edx
cmp word [eax + edx*2 - 2], 0x2f
lea eax, [ecx - 1]
cmovne eax, ecx
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
cmp edx, dword [ebp - 0x3c]
jb 0x5356a2
mov edx, eax
lea ecx, [edx + 2]
mov dword [ebp - 0x38], ecx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x535567
sub edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
sub ecx, dword [ebp - 0x3c]
sar edx, 1
cmp ecx, edi
mov dword [ebp - 0x44], edx
cmovb edi, ecx
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x38], edi
cmovae ecx, dword [ebp - 0x2c]
cmp edx, edi
mov dword [ebp - 0x34], ecx
cmovb edi, edx
test edi, edi
je 0x5355c4
mov ecx, dword [ebp - 0x3c]
add ecx, ecx
sub ecx, eax
add ecx, dword [ebp - 0x34]
mov dword [ebp - 0x34], ecx
nop dword [eax]
mov cx, word [ecx + eax]
cmp cx, word [eax]
jne 0x5355d6
mov ecx, dword [ebp - 0x34]
add eax, 2
sub edi, 1
jne 0x5355b0
cmp dword [ebp - 0x38], edx
jb 0x5355d6
ja 0x5355d6
push dword [esi + 4]
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
mov ebx, eax
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x5355f1
lea ecx, [eax + 1]
push ecx
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
call fcn.0040a5e0
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 0
test ebx, ebx
je 0x53561e
lea eax, [ebp - 0x14]
push eax
push esi
push ecx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
mov ecx, dword [ebp - 0x30]
mov ebx, eax
test ebx, ebx
jne 0x5354d0
mov eax, dword [ebp - 0x14]
cmp eax, edi
jbe 0x535647
push eax
mov edi, eax
push esi
mov dword [ebp - 0x40], edi
call fcn.00579a1c
mov esi, eax
add esp, 8
test esi, esi
je 0x53565c
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 0x30]
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
mov ebx, eax
test ebx, ebx
je 0x535653
mov ecx, dword [ebp - 0x30]
jmp 0x5354d0
push esi
call fcn.0040a1b5
add esp, 4
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x53566a
push eax
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 4], 3
cmp eax, 8
jb 0x535686
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.0040a5e0
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.004016cd
mov esp, ebp
pop ebp
ret
call fcn.0047f6b0
int3