Function at 0x10011840
Capabilities:
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1011a26b
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x10165034]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push esi
push edi
mov eax, dword [0x10165034]
xor eax, esp
push eax
lea eax, [esp + 0x100]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x50], 0
cmp eax, 1
jne 0x100118a0
mov ebx, str.cookie:
jmp 0x100118ab
cmp eax, 2
mov ebx, str.visited:
cmovne ebx, edx
lea eax, [esp + 0x50]
push eax
push 0
push 0
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
mov esi, 0xa
nop
push dword [esp + 0x50]
call dword [sym.imp.MSVCR120.dll_malloc]
add esp, 4
mov edi, eax
lea eax, [esp + 0x50]
push eax
push edi
push ebx
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x10011924
test esi, esi
je 0x10011904
test edi, edi
je 0x100118f8
push edi
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
xor edi, edi
dec esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x100118c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov esi, eax
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
cmp esi, 0x103
sete al
jmp 0x10011cf2
mov ecx, dword [esp + 0x50]
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x50]
push ecx
push edi
push eax
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
test eax, eax
jne 0x10011983
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x10011c7d
mov eax, dword [esp + 0x50]
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.MSVCR120.dll_malloc]
mov esi, dword [esp + 0x18]
add esp, 4
mov edi, eax
lea eax, [esp + 0x50]
push eax
push edi
push esi
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
test eax, eax
je 0x10011cb0
xor eax, eax
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], 0
mov word [esp + 0x54], ax
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], eax
mov word [esp + 0x6c], ax
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], eax
mov word [esp + 0x84], ax
mov dword [esp + 0xb0], 7
mov dword [esp + 0xac], eax
mov word [esp + 0x9c], ax
mov dword [esp + 0xc8], 7
mov dword [esp + 0xc4], eax
mov word [esp + 0xb4], ax
mov dword [esp + 0xe0], 7
mov dword [esp + 0xdc], eax
mov word [esp + 0xcc], ax
mov dword [esp + 0x108], eax
lea ecx, [esp + 0x38]
push dword [edi + 0x34]
push dword [edi + 0x30]
call fcn.10011790
mov esi, eax
add esp, 8
lea eax, [esp + 0xcc]
cmp eax, esi
je 0x10011acf
cmp dword [esp + 0xe0], 8
jb 0x10011a56
push dword [esp + 0xcc]
call ebx
add esp, 4
xor eax, eax
mov dword [esp + 0xe0], 7
mov dword [esp + 0xdc], 0
mov word [esp + 0xcc], ax
cmp dword [esi + 0x14], 8
jae 0x10011a99
mov eax, dword [esi + 0x10]
inc eax
je 0x10011aa8
add eax, eax
push eax
lea eax, [esp + 0xd0]
push esi
push eax
call dword [sym.imp.MSVCR120.dll_memmove]
add esp, 0xc
jmp 0x10011aa8
mov eax, dword [esi]
mov dword [esp + 0xcc], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [esp + 0xdc], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0xe0], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [esp + 0x4c], 8
jb 0x10011adf
push dword [esp + 0x38]
call ebx
add esp, 4
mov edx, dword [edi + 4]
test edx, edx
jne 0x10011aef
mov edx, 0x1012b158
xor ecx, ecx
jmp 0x10011b0f
cmp word [edx], 0
jne 0x10011af9
xor ecx, ecx
jmp 0x10011b0f
mov ecx, edx
lea esi, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10011b00
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x5c]
call fcn.10002100
push 8
push 0
push str.https:__
lea ecx, [esp + 0x60]
call fcn.10007090
cmp eax, 0xffffffff
jne 0x10011b69
push 7
push 0
push str.http:__
lea ecx, [esp + 0x60]
call fcn.10007090
cmp eax, 0xffffffff
jne 0x10011b69
lea ecx, [esp + 0x54]
mov dword [esp + 0x108], 0xffffffff
call fcn.10005780
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
jmp 0x10011932
push 1
push 0
push 0x1012b180
lea ecx, [esp + 0x60]
call fcn.10007090
push 0xffffffffffffffff
inc eax
lea ecx, [esp + 0x58]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.1000e200
mov esi, eax
lea eax, [esp + 0x54]
cmp eax, esi
je 0x10011c0b
cmp dword [esp + 0x68], 8
jb 0x10011ba7
push dword [esp + 0x54]
call ebx
add esp, 4
xor eax, eax
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], 0
mov word [esp + 0x54], ax
cmp dword [esi + 0x14], 8
jae 0x10011bde
mov eax, dword [esi + 0x10]
inc eax
je 0x10011bea
add eax, eax
push eax
lea eax, [esp + 0x58]
push esi
push eax
call dword [sym.imp.MSVCR120.dll_memmove]
add esp, 0xc
jmp 0x10011bea
mov eax, dword [esi]
mov dword [esp + 0x54], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x68], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [esp + 0x34], 8
jb 0x10011c1b
push dword [esp + 0x20]
call ebx
add esp, 4
mov edx, dword [edi + 8]
xor eax, eax
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
test edx, edx
jne 0x10011c42
mov edx, 0x1012b184
xor ecx, ecx
jmp 0x10011c5f
cmp word [edx], ax
jne 0x10011c4b
xor ecx, ecx
jmp 0x10011c5f
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10011c50
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x74]
call fcn.10002100
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x54]
push eax
call fcn.10006f30
jmp 0x10011b48
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0x103
je 0x10011caa
call ebx
push eax
push 0x1012b100
push 1
push 0x6a
push 0x1012b120
push 0x1012b144
call fcn.1010d8f0
add esp, 0x18
mov esi, dword [esp + 0x14]
jmp 0x10011cb6
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
je 0x10011cc4
push edi
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
push esi
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
test eax, eax
jne 0x10011cf0
call ebx
push eax
push 0x1012b188
push 1
push 0x85
push 0x1012b1a8
push str.CIE::ParseHistory
call fcn.1010d8f0
add esp, 0x18
mov al, 1
mov ecx, dword [esp + 0x100]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.101176fb
mov esp, ebp
pop ebp
ret 4