Function at 0x100011a9
Capabilities:
Query remote server for available data
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xc35c
call fcn.10016460
and byte [ebp - 0xc35c], 0
push ebx
push esi
push edi
mov ecx, 0x30d3
xor eax, eax
lea edi, [ebp - 0xc35b]
and dword [ebp - 8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 1
stosb byte es:[edi], al
pop eax
cmp dword [0x1002b060], eax
je 0x100013cb
mov edi, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, 0x3e5
push 0
lea eax, [ebp + 8]
push 0
push eax
push dword [edi + 0x428]
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x10001241
call esi
cmp eax, ebx
jne 0x100012bd
and dword [ebp - 4], 0
call esi
cmp eax, ebx
jne 0x100011f3
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x7d0
je 0x100011f3
push 0
lea eax, [ebp + 8]
push 0
push eax
push dword [edi + 0x428]
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
jmp 0x10001219
mov eax, dword [ebp + 8]
inc eax
push eax
call fcn.10016450
pop ecx
mov dword [ebp - 4], eax
lea ecx, [ebp - 0xc]
push ecx
push dword [ebp + 8]
push eax
push dword [edi + 0x428]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x10001273
call esi
cmp eax, ebx
jne 0x100012b4
call esi
cmp eax, ebx
je 0x1000126d
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
and byte [ecx + eax], 0
cmp dword [ebp - 0xc], 0xc350
jae 0x10001295
push eax
lea eax, [ebp - 0xc35c]
push eax
call fcn.10016370
pop ecx
pop ecx
push dword [ebp - 4]
call fcn.1001610a
mov eax, dword [ebp - 0xc]
pop ecx
mov ecx, dword [ebp - 8]
test eax, eax
lea ecx, [ecx + eax + 1]
mov dword [ebp - 8], ecx
je 0x100012bd
jmp 0x100011f3
push dword [ebp - 4]
call fcn.1001610a
pop ecx
push dword [edi + 0x428]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esi, dword [ebp - 8]
and dword [edi + 0x428], 0
push 0
lea eax, [ebp - 0xc35c]
push esi
push eax
call dword [0x1002af34]
mov ebx, eax
lea eax, [ebp - 0xc35c]
test eax, eax
je 0x10001382
lea eax, [ebp - 0xc35c]
push eax
call fcn.100162e0
test eax, eax
pop ecx
je 0x10001382
lea eax, [esi + esi + 2]
test ebx, ebx
push eax
je 0x10001333
call fcn.10016450
pop ecx
mov ebx, eax
push esi
push ebx
lea eax, [ebp - 0xc35c]
push esi
push eax
push 0
push 0xfde9
call dword [0x1002afd0]
and word [ebx + eax*2], 0
jmp 0x10001390
call fcn.10016450
mov ebx, eax
pop ecx
lea eax, [ebp - 0xc35c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.10016460
mov eax, esp
xor ecx, ecx
push esi
mov dword [ebp - 8], eax
mov word [eax], cx
push eax
lea eax, [ebp - 0xc35c]
push 0xffffffffffffffff
push eax
push ecx
push ecx
call dword [0x1002afd0]
push dword [ebp - 8]
push ebx
call fcn.100162ad
pop ecx
pop ecx
jmp 0x10001390
push 2
call fcn.10016450
mov ebx, eax
pop ecx
and word [ebx], 0
test edi, edi
je 0x100013c1
lea eax, [edi + 0x3e8]
push str.VALUE_CAPTION
push eax
call fcn.1001624e
pop ecx
test eax, eax
pop ecx
jne 0x100013c1
mov ecx, dword [edi + 0x834]
test ecx, ecx
je 0x100013c1
push ebx
push dword [edi + 0x424]
call fcn.1000c067
push ebx
call fcn.1001610a
pop ecx
push 1
pop eax
lea esp, [ebp - 0xc368]
pop edi
pop esi
pop ebx
leave
ret