Function at 0x4d5b4c
Capabilities:
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe8c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4d603a
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x20]
push eax
push 0
push 0
call sub.wininet.dll_FindFirstUrlCacheEntryA
mov eax, dword [ebp - 0x20]
call fcn.004027dc
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0
call sub.wininet.dll_FindFirstUrlCacheEntryA
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4d5da0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
and eax, 1
cmp eax, 1
jne 0x4d5da0
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx + 4]
call fcn.00404c18
mov edx, dword [ebp - 0x10]
mov eax, 0x4d6050
call fcn.00405024
test eax, eax
jne 0x4d5da0
mov ecx, dword [0x5812e0]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x10]
mov eax, 0x4d6060
call fcn.004d4684
test al, al
jne 0x4d5da0
mov eax, dword [ebp - 0xc]
call fcn.004d0190
mov ebx, eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004d01a4
mov byte [eax + 0x12], 1
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004d01a4
mov edx, dword [0x580bb0]
mov dl, byte [edx + 0x14]
mov byte [eax + 0xc], dl
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004d01a4
mov dword [eax + 0xe], 0xa
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004d01a4
add eax, 0x13
mov edx, 0x4d6070
call fcn.00404a74
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004d01a4
add eax, 0x17
mov edx, 0x4d6080
call fcn.00404a74
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004d01a4
add eax, 0x1b
mov edx, 0x4d6094
call fcn.00404a74
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004d01a4
add eax, 0x1f
mov edx, 0x4d6060
call fcn.00404a74
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004d01a4
add eax, 0x23
mov edx, dword [ebp - 0x10]
call fcn.00404a74
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004d01a4
add eax, 0x2f
mov edx, dword [ebp - 0x18]
mov edx, dword [edx + 8]
call fcn.00404c18
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx + 8]
call fcn.00404c18
mov eax, dword [ebp - 0x14]
call fcn.004099b4
test al, al
je 0x4d5d8c
xor eax, eax
push ebp
push 0x4d5d6e
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x174]
call fcn.00402f40
mov edx, 1
lea eax, [ebp - 0x174]
call fcn.004035ec
call fcn.00402944
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004d01a4
add eax, 0x4b
push eax
lea eax, [ebp - 0x174]
call fcn.0040328c
call fcn.00402944
pop edx
mov dword [edx], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004d01a4
mov eax, dword [eax + 0x4b]
mov edx, dword [0x581294]
add dword [edx], eax
lea eax, [ebp - 0x174]
call fcn.004030b0
call fcn.00402944
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d5d8c
inc dword [ebp - 0x28]
mov eax, dword [ebp - 4]
push eax
xor ecx, ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 8]
call fcn.004d4158
mov eax, dword [ebp - 0x18]
call fcn.004027fc
mov eax, dword [0x580cd8]
cmp byte [eax], 2
je 0x4d6016
mov eax, dword [0x581040]
mov eax, dword [eax]
call fcn.0048d8b8
xor eax, eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 0
mov eax, dword [ebp - 0x1c]
push eax
call sub.wininet.dll_FindNextUrlCacheEntryA
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x24], eax
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x7a
jne 0x4d6003
mov eax, dword [ebp - 0x20]
call fcn.004027dc
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.wininet.dll_FindNextUrlCacheEntryA
test eax, eax
je 0x4d5ffb
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
and eax, 1
cmp eax, 1
jne 0x4d5ffb
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx + 4]
call fcn.00404c18
mov edx, dword [ebp - 0x10]
mov eax, 0x4d6050
call fcn.00405024
test eax, eax
jne 0x4d5ffb
mov ecx, dword [0x5812e0]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x10]
mov eax, 0x4d6060
call fcn.004d4684
test al, al
jne 0x4d5ffb
mov eax, dword [ebp - 0xc]
call fcn.004d0190
mov ebx, eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004d01a4
mov byte [eax + 0x12], 1
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004d01a4
mov edx, dword [0x580bb0]
mov dl, byte [edx + 0x14]
mov byte [eax + 0xc], dl
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004d01a4
mov dword [eax + 0xe], 0xa
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004d01a4
add eax, 0x13
mov edx, 0x4d6070
call fcn.00404a74
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004d01a4
add eax, 0x17
mov edx, 0x4d6080
call fcn.00404a74
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004d01a4
add eax, 0x1b
mov edx, 0x4d6094
call fcn.00404a74
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004d01a4
add eax, 0x1f
mov edx, 0x4d6060
call fcn.00404a74
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004d01a4
add eax, 0x23
mov edx, dword [ebp - 0x10]
call fcn.00404a74
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004d01a4
add eax, 0x2f
mov edx, dword [ebp - 0x18]
mov edx, dword [edx + 8]
call fcn.00404c18
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx + 8]
call fcn.00404c18
mov eax, dword [ebp - 0x14]
call fcn.004099b4
test al, al
je 0x4d5fe7
xor eax, eax
push ebp
push 0x4d5fc9
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x174]
call fcn.00402f40
mov edx, 1
lea eax, [ebp - 0x174]
call fcn.004035ec
call fcn.00402944
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004d01a4
add eax, 0x4b
push eax
lea eax, [ebp - 0x174]
call fcn.0040328c
call fcn.00402944
pop edx
mov dword [edx], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004d01a4
mov eax, dword [eax + 0x4b]
mov edx, dword [0x581294]
add dword [edx], eax
lea eax, [ebp - 0x174]
call fcn.004030b0
call fcn.00402944
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d5fe7
inc dword [ebp - 0x28]
mov eax, dword [ebp - 4]
push eax
xor ecx, ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 8]
call fcn.004d4158
mov eax, dword [ebp - 0x18]
call fcn.004027fc
cmp dword [ebp - 0x24], 0x103
je 0x4d6016
cmp dword [ebp - 0x24], 0x57
jne 0x4d5da8
mov eax, dword [ebp - 0x1c]
push eax
call sub.wininet.dll_FindCloseUrlCache
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d6041
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404a44
ret