Function at 0x4d641c
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 0x4d6907
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 0x4d6670
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
and eax, 1
cmp eax, 1
jne 0x4d6670
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx + 4]
call fcn.00404c18
mov edx, dword [ebp - 0x10]
mov eax, 0x4d6920
call fcn.00405024
test eax, eax
jle 0x4d6670
mov ecx, dword [0x5812e0]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x10]
mov eax, 0x4d6930
call fcn.004d4684
test al, al
jne 0x4d6670
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], 0xb
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004d01a4
add eax, 0x13
mov edx, 0x4d6940
call fcn.00404a74
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004d01a4
add eax, 0x17
mov edx, 0x4d6950
call fcn.00404a74
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004d01a4
add eax, 0x1b
mov edx, 0x4d6964
call fcn.00404a74
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004d01a4
add eax, 0x1f
mov edx, 0x4d6930
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 0x4d665c
xor eax, eax
push ebp
push 0x4d663e
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 0x4d665c
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 0x4d68e3
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 0x4d68d0
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 0x4d68c8
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
and eax, 1
cmp eax, 1
jne 0x4d68c8
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx + 4]
call fcn.00404c18
mov edx, dword [ebp - 0x10]
mov eax, 0x4d6920
call fcn.00405024
test eax, eax
jle 0x4d68c8
mov ecx, dword [0x5812e0]
mov ecx, dword [ecx]
mov eax, 0x4d6930
mov edx, dword [ebp - 0x10]
call fcn.004d4684
test al, al
jne 0x4d68c8
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], 0xb
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004d01a4
add eax, 0x13
mov edx, 0x4d6940
call fcn.00404a74
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004d01a4
add eax, 0x17
mov edx, 0x4d6950
call fcn.00404a74
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004d01a4
add eax, 0x1b
mov edx, 0x4d6964
call fcn.00404a74
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004d01a4
add eax, 0x1f
mov edx, 0x4d6930
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
inc dword [ebp - 0x28]
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 0x4d68b7
xor eax, eax
push ebp
push 0x4d689c
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 0x4d68b7
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 0x4d68e3
cmp dword [ebp - 0x24], 0x57
jne 0x4d6678
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 0x4d690e
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404a44
ret