Function at 0x100717c0
Capabilities:
Check http status code
Check internet connectivity via wininet
Create http request
Get http content length
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1008e2c0
push 0x1005f7d0
mov eax, dword fs:[0]
push eax
add esp, 0xfffffd94
mov eax, dword [0x10098428]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x24], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x27c], ecx
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x5c], 0
mov ecx, 8
mov esi, str.Accept:___r_n_r_n
lea edi, [ebp - 0x44]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 4
cmp dword [ebp + 8], 0
jne 0x10071853
xor eax, eax
jmp 0x100719fb
mov eax, dword [ebp - 0x27c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x27c]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x54]
push ecx
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
mov edx, dword [ebp - 0x54]
and edx, 0x20
je 0x1007188d
mov dword [ebp - 4], 0xfffffffe
jmp 0x100719e0
cmp dword [ebp + 0xc], 0
je 0x100718b0
mov eax, dword [ebp + 0xc]
push eax
call fcn.10053c3b
add esp, 4
test eax, eax
jbe 0x100718b0
mov dword [ebp - 0x1c], 3
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x20], ecx
push 0
push 0
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x1c]
push eax
push 0x10083850
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x100718dc
mov dword [ebp - 4], 0xfffffffe
jmp 0x100719e0
push 0
push 0x84000100
push 0xffffffffffffffff
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jne 0x1007190c
mov dword [ebp - 4], 0xfffffffe
jmp 0x100719e0
mov word [ebp - 0x270], 0
push 0x208
push 0
lea ecx, [ebp - 0x26e]
push ecx
call fcn.100541d0
add esp, 0xc
mov dword [ebp - 0x278], 0x208
push 0
lea edx, [ebp - 0x278]
push edx
mov eax, dword [ebp - 0x270]
push eax
push 0x2f
mov ecx, dword [ebp - 0x5c]
push ecx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov dword [ebp - 0x274], 0
push 0
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x274]
push eax
push 0x20000013
mov ecx, dword [ebp - 0x5c]
push ecx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x10071987
cmp dword [ebp - 0x274], 0xc8
je 0x10071990
mov dword [ebp - 4], 0xfffffffe
jmp 0x100719e0
push 0
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x4c]
push eax
push 0x20000005
mov ecx, dword [ebp - 0x5c]
push ecx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x100719b9
mov edx, dword [ebp - 0x27c]
mov eax, dword [ebp - 0x4c]
mov dword [edx + 0x28], eax
mov dword [ebp - 0x50], 1
mov dword [ebp - 4], 0xfffffffe
jmp 0x100719e0
mov ecx, dword [ebp - 0x27c]
mov edx, dword [ebp - 0x58]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x27c]
mov ecx, dword [ebp - 0x5c]
mov dword [eax + 8], ecx
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.10053c51
mov esp, ebp
pop ebp
ret 8