Function at 0x100b7510
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 0x10107cb0
push 0x1008fba0
mov eax, dword fs:[0]
push eax
add esp, 0xfffffbfc
mov eax, dword [0x1010b070]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], 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 - 0x3ec], ecx
mov dword [ebp - 0x400], 0
mov dword [ebp - 0x3fc], 0
mov dword [ebp - 0x3f0], 0
mov ecx, 8
mov esi, str.Accept:___r_n_r_n
lea edi, [ebp - 0x1dc]
rep movsd dword es:[edi], dword [esi]
push 0xa8
push 0
lea eax, [ebp - 0x1bc]
push eax
call fcn.1008dc90
add esp, 0xc
mov dword [ebp - 0x404], 0
mov dword [ebp - 0x40c], 0
mov dword [ebp - 0x408], 0
mov dword [ebp - 0x410], 0
mov dword [ebp - 0x3f8], 4
cmp dword [ebp + 8], 0
jne 0x100b75ee
mov ecx, dword [ebp - 0x3ec]
mov dword [ecx + 4], 0x65
mov edx, dword [ebp - 0x3ec]
mov dword [edx + 8], 0
xor eax, eax
jmp 0x100b7981
cmp dword [ebp + 0x10], 0
ja 0x100b75fa
cmp dword [ebp + 0x14], 0
jbe 0x100b7671
xor eax, eax
mov word [ebp - 0x94], ax
push 0x76
push 0
lea ecx, [ebp - 0x92]
push ecx
call fcn.1008dc90
add esp, 0xc
cmp dword [ebp + 0x14], 0
jne 0x100b7638
mov edx, dword [ebp + 0x10]
push edx
push 0x100e1cc0
push 0x3c
lea eax, [ebp - 0x94]
push eax
call fcn.10069cf0
add esp, 0x10
jmp 0x100b7659
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0x100e1ce8
push 0x3c
lea eax, [ebp - 0x94]
push eax
call fcn.10069cf0
add esp, 0x14
push 0xffffffffffffffff
lea ecx, [ebp - 0x94]
push ecx
lea edx, [ebp - 0x1dc]
push edx
call fcn.10069d20
add esp, 0xc
mov eax, dword [ebp - 0x3ec]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x3ec]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x404]
push ecx
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
mov edx, dword [ebp - 0x404]
and edx, 0x20
je 0x100b76cb
mov eax, dword [ebp - 0x3ec]
mov dword [eax + 4], 0x66
mov ecx, dword [ebp - 0x3ec]
mov dword [ecx + 8], 0
mov dword [ebp - 4], 0xfffffffe
jmp 0x100b795d
cmp dword [ebp + 0xc], 0
je 0x100b76f4
mov edx, dword [ebp + 0xc]
push edx
call fcn.100a0174
add esp, 4
test eax, eax
jbe 0x100b76f4
mov dword [ebp - 0x40c], 3
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x408], eax
push 0
push 0
mov ecx, dword [ebp - 0x408]
push ecx
mov edx, dword [ebp - 0x40c]
push edx
push 0x100e1c40
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x3fc], eax
cmp dword [ebp - 0x3fc], 0
jne 0x100b7748
mov eax, dword [ebp - 0x3ec]
mov dword [eax + 4], 0x67
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x3ec]
mov dword [ecx + 8], eax
mov dword [ebp - 4], 0xfffffffe
jmp 0x100b795d
push 0
push 0x84004100
push 0xffffffffffffffff
lea edx, [ebp - 0x1dc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x3fc]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 0x3f0], eax
cmp dword [ebp - 0x3f0], 0
jne 0x100b77a0
mov edx, dword [ebp - 0x3ec]
mov dword [edx + 4], 0x68
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x3ec]
mov dword [ecx + 8], eax
mov dword [ebp - 4], 0xfffffffe
jmp 0x100b795d
xor edx, edx
mov word [ebp - 0x3e8], dx
push 0x208
push 0
lea eax, [ebp - 0x3e6]
push eax
call fcn.1008dc90
add esp, 0xc
mov dword [ebp - 0x414], 0x208
push 0
lea ecx, [ebp - 0x414]
push ecx
mov edx, dword [ebp - 0x3e8]
push edx
push 0x2f
mov eax, dword [ebp - 0x3f0]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov dword [ebp - 0x3f4], 0
push 0
lea ecx, [ebp - 0x3f8]
push ecx
lea edx, [ebp - 0x3f4]
push edx
push 0x20000013
mov eax, dword [ebp - 0x3f0]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x100b783c
cmp dword [ebp - 0x3f4], 0xc8
je 0x100b7864
cmp dword [ebp - 0x3f4], 0xce
je 0x100b7864
cmp dword [ebp - 0x3f4], 0x12e
je 0x100b7864
mov ecx, dword [ebp - 0x3ec]
mov dword [ecx + 4], 0x69
mov edx, dword [ebp - 0x3ec]
mov eax, dword [ebp - 0x3f4]
mov dword [edx + 8], eax
mov dword [ebp - 4], 0xfffffffe
jmp 0x100b795d
push 0
lea ecx, [ebp - 0x3f8]
push ecx
lea edx, [ebp - 0x410]
push edx
push 0x20000005
mov eax, dword [ebp - 0x3f0]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x100b789b
mov ecx, dword [ebp - 0x3ec]
mov edx, dword [ebp - 0x410]
mov dword [ecx + 0x48], edx
jmp 0x100b78a8
mov eax, dword [ebp - 0x3ec]
mov dword [eax + 0x48], 0xffffffff
xor ecx, ecx
mov word [ebp - 0x114], cx
push 0x7e
push 0
lea edx, [ebp - 0x112]
push edx
call fcn.1008dc90
add esp, 0xc
mov dword [ebp - 0x3f8], 0x80
push 0
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x114]
push ecx
push 0xb
mov edx, dword [ebp - 0x3f0]
push edx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x100b7908
lea eax, [ebp - 0x114]
push eax
mov ecx, dword [ebp - 0x3ec]
add ecx, 0x30
call fcn.10001442
jmp 0x100b7916
mov ecx, dword [ebp - 0x3ec]
add ecx, 0x30
call fcn.10005569
mov dword [ebp - 0x400], 1
mov dword [ebp - 4], 0xfffffffe
jmp 0x100b795d
mov eax, dword [ebp - 0x3ec]
mov ecx, dword [ebp - 0x3fc]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x3ec]
mov eax, dword [ebp - 0x3f0]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0x400]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1008a777
mov esp, ebp
pop ebp
ret 0x10