Function at 0x100b7cb0
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 0x101098a0
push 0x10090330
mov eax, dword fs:[0]
push eax
add esp, 0xfffffbfc
mov eax, dword [0x1010c070]
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.1008e420
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 0x100b7d8e
mov ecx, dword [ebp - 0x3ec]
mov dword [ecx + 4], 0x65
mov edx, dword [ebp - 0x3ec]
mov dword [edx + 8], 0
xor eax, eax
jmp 0x100b8121
cmp dword [ebp + 0x10], 0
ja 0x100b7d9a
cmp dword [ebp + 0x14], 0
jbe 0x100b7e11
xor eax, eax
mov word [ebp - 0x94], ax
push 0x76
push 0
lea ecx, [ebp - 0x92]
push ecx
call fcn.1008e420
add esp, 0xc
cmp dword [ebp + 0x14], 0
jne 0x100b7dd8
mov edx, dword [ebp + 0x10]
push edx
push 0x100e2d58
push 0x3c
lea eax, [ebp - 0x94]
push eax
call fcn.1006a470
add esp, 0x10
jmp 0x100b7df9
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0x100e2c68
push 0x3c
lea eax, [ebp - 0x94]
push eax
call fcn.1006a470
add esp, 0x14
push 0xffffffffffffffff
lea ecx, [ebp - 0x94]
push ecx
lea edx, [ebp - 0x1dc]
push edx
call fcn.1006a4a0
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 0x100b7e6b
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 0x100b80fd
cmp dword [ebp + 0xc], 0
je 0x100b7e94
mov edx, dword [ebp + 0xc]
push edx
call fcn.100a0914
add esp, 4
test eax, eax
jbe 0x100b7e94
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 0x100e2cd8
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x3fc], eax
cmp dword [ebp - 0x3fc], 0
jne 0x100b7ee8
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 0x100b80fd
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 0x100b7f40
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 0x100b80fd
xor edx, edx
mov word [ebp - 0x3e8], dx
push 0x208
push 0
lea eax, [ebp - 0x3e6]
push eax
call fcn.1008e420
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 0x100b7fdc
cmp dword [ebp - 0x3f4], 0xc8
je 0x100b8004
cmp dword [ebp - 0x3f4], 0xce
je 0x100b8004
cmp dword [ebp - 0x3f4], 0x12e
je 0x100b8004
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 0x100b80fd
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 0x100b803b
mov ecx, dword [ebp - 0x3ec]
mov edx, dword [ebp - 0x410]
mov dword [ecx + 0x48], edx
jmp 0x100b8048
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.1008e420
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 0x100b80a8
lea eax, [ebp - 0x114]
push eax
mov ecx, dword [ebp - 0x3ec]
add ecx, 0x30
call fcn.10001432
jmp 0x100b80b6
mov ecx, dword [ebp - 0x3ec]
add ecx, 0x30
call fcn.10005554
mov dword [ebp - 0x400], 1
mov dword [ebp - 4], 0xfffffffe
jmp 0x100b80fd
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.1008aeea
mov esp, ebp
pop ebp
ret 0x10