Function at 0x4b0144
Capabilities:
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b040e
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00423b5c
test al, al
jne 0x4b03f3
mov dword [ebp - 0x1c], 0x300000
mov esi, 0x244
push esi
call sub.rtl250.bpl__System_GetMemory_qi
pop ecx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4b03ec
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
mov eax, dword [ebp - 0xc]
call fcn.0040270c
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
call sub.wininet.dll_FindFirstUrlCacheEntryW
mov dword [ebp - 0x10], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x10], 0
jne 0x4b0209
cmp dword [ebp - 0x20], 0x7a
jne 0x4b0209
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.rtl250.bpl__System_ReallocMemory_qpvi
add esp, 8
mov dword [ebp - 0xc], eax
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
call sub.wininet.dll_FindFirstUrlCacheEntryW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4b03d4
xor eax, eax
push ebp
push 0x4b03cd
push dword fs:[eax]
mov dword fs:[eax], esp
or ebx, 0xffffffff
jmp 0x4b03ae
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
and eax, dword [ebp - 0x1c]
jne 0x4b035d
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 8]
call sub.rtl250.bpl__System__UStrFromPWChar_qqrr20System_UnicodeStringpb
mov eax, dword [ebp - 0x28]
mov dl, 1
call sub.rtl250.bpl__System_Sysutils_FileExists_qqrx20System_UnicodeStringo
test al, al
je 0x4b035d
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 8]
call sub.rtl250.bpl__System__UStrFromPWChar_qqrr20System_UnicodeStringpb
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.004aa93c
test al, al
jne 0x4b035d
push 1
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 8]
call sub.rtl250.bpl__System__UStrFromPWChar_qqrr20System_UnicodeStringpb
mov ecx, dword [ebp - 0x30]
mov dl, 1
mov eax, dword [0x4af9d8]
call fcn.004123d8
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax]
call dword [ebx + 0xa0]
test al, al
jne 0x4b02ca
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x18]
add eax, 0x30
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 4]
call sub.rtl250.bpl__System__UStrFromPWChar_qqrr20System_UnicodeStringpb
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 4]
call sub.rtl250.bpl__System__UStrFromPWChar_qqrr20System_UnicodeStringpb
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x34]
xor edx, edx
call sub.AxComponentsRTL.bpl__Axrtl_System_Win_Internet_Internet_UrlUnescape_qqrx20System_UnicodeStringui
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x18]
add eax, 0x28
call sub.rtl250.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 0x18]
call fcn.00412564
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x18]
add eax, 0x18
call sub.rtl250.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x18]
call fcn.00412564
mov eax, dword [ebp - 0x40]
call sub.AxComponentsRTL.bpl__Axrtl_System_Ioutils_TFileHelper_GetSize_qqrx20System_UnicodeString
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], edx
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x34], 1
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00423b5c
test al, al
jne 0x4b03b6
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_FindNextUrlCacheEntryW
mov ebx, eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x20], eax
test ebx, ebx
jne 0x4b03ae
cmp dword [ebp - 0x20], 0x7a
jne 0x4b03ae
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.rtl250.bpl__System_ReallocMemory_qpvi
add esp, 8
mov dword [ebp - 0xc], eax
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_FindNextUrlCacheEntryW
mov ebx, eax
test ebx, ebx
jne 0x4b0229
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b03d4
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_FindCloseUrlCache
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b03f3
mov eax, dword [ebp - 0xc]
push eax
call sub.rtl250.bpl__System_FreeMemory_qpv
pop ecx
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b0415
lea eax, [ebp - 0x40]
mov edx, 7
call sub.rtl250.bpl__System__UStrArrayClr_qqrpvi
ret