Function at 0x1001be40
Capabilities:
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015352b
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x101ac034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xd4], ecx
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xd4]
cmp dword [eax + 4], 1
jne 0x1001bea7
mov dword [ebp - 0xc4], str.cookie:
jmp 0x1001bebd
mov ecx, dword [ebp - 0xd4]
cmp dword [ecx + 4], 2
jne 0x1001bebd
mov dword [ebp - 0xc4], str.visited:
lea edx, [ebp - 0xb4]
push edx
push 0
push 0
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xc0], 0xa
cmp dword [ebp - 0xb8], 0
je 0x1001bf01
mov eax, dword [ebp - 0xb8]
push eax
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
mov dword [ebp - 0xb8], 0
mov ecx, dword [ebp - 0xb4]
push ecx
call dword [sym.imp.MSVCR120.dll_malloc]
add esp, 4
mov dword [ebp - 0xb8], eax
lea edx, [ebp - 0xb4]
push edx
mov eax, dword [ebp - 0xb8]
push eax
mov ecx, dword [ebp - 0xc4]
push ecx
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0
jne 0x1001bf4a
cmp dword [ebp - 0xc0], 0
jne 0x1001bf4c
jmp 0x1001bf73
mov edx, dword [ebp - 0xc0]
sub edx, 1
mov dword [ebp - 0xc0], edx
cmp dword [ebp - 0xbc], 0
jne 0x1001bf73
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x1001bede
cmp dword [ebp - 0xbc], 0
jne 0x1001bfc5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xb8], 0
je 0x1001bfab
mov eax, dword [ebp - 0xb8]
push eax
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
mov dword [ebp - 0xb8], 0
cmp dword [ebp - 0xdc], 0x103
jne 0x1001bfbe
mov al, 1
jmp 0x1001c29c
xor al, al
jmp 0x1001c29c
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0xd0], ecx
mov dword [ebp - 0xe4], 0
mov edx, 1
test edx, edx
je 0x1001c241
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xb4], eax
lea ecx, [ebp - 0xb4]
push ecx
mov edx, dword [ebp - 0xb8]
push edx
mov eax, dword [ebp - 0xbc]
push eax
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
test eax, eax
jne 0x1001c0c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1001c08d
cmp dword [ebp - 0xb8], 0
je 0x1001c045
mov ecx, dword [ebp - 0xb8]
push ecx
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
mov dword [ebp - 0xb8], 0
mov edx, dword [ebp - 0xb4]
push edx
call dword [sym.imp.MSVCR120.dll_malloc]
add esp, 4
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xd0], eax
lea ecx, [ebp - 0xb4]
push ecx
mov edx, dword [ebp - 0xb8]
push edx
mov eax, dword [ebp - 0xbc]
push eax
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
test eax, eax
jne 0x1001c08b
jmp 0x1001c241
jmp 0x1001c0c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x103
jne 0x1001c0a1
jmp 0x1001c241
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x10166338
push 1
push 0x75
push 0x10166358
push 0x1016637c
call fcn.10145f00
add esp, 0x18
jmp 0x1001c241
lea ecx, [ebp - 0xb0]
call fcn.10009800
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx + 0x34]
push edx
mov eax, dword [ecx + 0x30]
push eax
lea ecx, [ebp - 0xfc]
push ecx
call fcn.1001bda0
add esp, 0xc
mov dword [ebp - 0xe0], eax
mov edx, dword [ebp - 0xe0]
push edx
lea ecx, [ebp - 0x38]
call fcn.10003480
lea ecx, [ebp - 0xfc]
call fcn.10003e00
mov eax, dword [ebp - 0xb8]
cmp dword [eax + 4], 0
jne 0x1001c12f
mov dword [ebp - 0xc8], 0x10166390
jmp 0x1001c13e
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx + 4]
mov dword [ebp - 0xc8], edx
mov eax, dword [ebp - 0xc8]
push eax
lea ecx, [ebp - 0xb0]
call fcn.10007da0
push 0
push str.https:__
lea ecx, [ebp - 0xb0]
call fcn.1000ae10
cmp eax, 0xffffffff
jne 0x1001c195
push 0
push str.http:__
lea ecx, [ebp - 0xb0]
call fcn.1000ae10
cmp eax, 0xffffffff
jne 0x1001c195
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb0]
call fcn.100098a0
jmp 0x1001bfdb
push 0xffffffffffffffff
push 0
push 0x101663b8
lea ecx, [ebp - 0xb0]
call fcn.1000ae10
add eax, 1
push eax
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0xb0]
call fcn.10018a50
mov dword [ebp - 0xd8], eax
mov edx, dword [ebp - 0xd8]
push edx
lea ecx, [ebp - 0xb0]
call fcn.10003480
lea ecx, [ebp - 0x114]
call fcn.10003e00
mov eax, dword [ebp - 0xb8]
cmp dword [eax + 8], 0
jne 0x1001c1fa
mov dword [ebp - 0xcc], 0x101663bc
jmp 0x1001c209
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx + 8]
mov dword [ebp - 0xcc], edx
mov eax, dword [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x98]
call fcn.10007da0
lea ecx, [ebp - 0xb0]
push ecx
mov ecx, dword [ebp + 8]
call fcn.1000b0d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb0]
call fcn.100098a0
jmp 0x1001bfdb
cmp dword [ebp - 0xb8], 0
je 0x1001c264
mov edx, dword [ebp - 0xb8]
push edx
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
mov dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0xbc]
push eax
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
test eax, eax
jne 0x1001c29a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x101663c0
push 1
push 0x8f
push 0x101663e0
push str.CIE::ParseHistory
call fcn.10145f00
add esp, 0x18
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101506bb
mov esp, ebp
pop ebp
ret 4