Function at 0x100b88e0
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 0x1010ac40
push 0x10090f70
mov eax, dword fs:[0]
push eax
add esp, 0xfffffbfc
mov eax, dword [0x1010e070]
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.1008f060
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 0x100b89be
mov ecx, dword [ebp - 0x3ec]
mov dword [ecx + 4], 0x65
mov edx, dword [ebp - 0x3ec]
mov dword [edx + 8], 0
xor eax, eax
jmp 0x100b8d51
cmp dword [ebp + 0x10], 0
ja 0x100b89ca
cmp dword [ebp + 0x14], 0
jbe 0x100b8a41
xor eax, eax
mov word [ebp - 0x94], ax
push 0x76
push 0
lea ecx, [ebp - 0x92]
push ecx
call fcn.1008f060
add esp, 0xc
cmp dword [ebp + 0x14], 0
jne 0x100b8a08
mov edx, dword [ebp + 0x10]
push edx
push 0x100e3d28
push 0x3c
lea eax, [ebp - 0x94]
push eax
call fcn.1006b0c0
add esp, 0x10
jmp 0x100b8a29
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0x100e3d50
push 0x3c
lea eax, [ebp - 0x94]
push eax
call fcn.1006b0c0
add esp, 0x14
push 0xffffffffffffffff
lea ecx, [ebp - 0x94]
push ecx
lea edx, [ebp - 0x1dc]
push edx
call fcn.1006b0f0
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 0x100b8a9b
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 0x100b8d2d
cmp dword [ebp + 0xc], 0
je 0x100b8ac4
mov edx, dword [ebp + 0xc]
push edx
call fcn.100a1544
add esp, 4
test eax, eax
jbe 0x100b8ac4
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 0x100e3ca8
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x3fc], eax
cmp dword [ebp - 0x3fc], 0
jne 0x100b8b18
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 0x100b8d2d
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 0x100b8b70
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 0x100b8d2d
xor edx, edx
mov word [ebp - 0x3e8], dx
push 0x208
push 0
lea eax, [ebp - 0x3e6]
push eax
call fcn.1008f060
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 0x100b8c0c
cmp dword [ebp - 0x3f4], 0xc8
je 0x100b8c34
cmp dword [ebp - 0x3f4], 0xce
je 0x100b8c34
cmp dword [ebp - 0x3f4], 0x12e
je 0x100b8c34
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 0x100b8d2d
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 0x100b8c6b
mov ecx, dword [ebp - 0x3ec]
mov edx, dword [ebp - 0x410]
mov dword [ecx + 0x48], edx
jmp 0x100b8c78
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.1008f060
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 0x100b8cd8
lea eax, [ebp - 0x114]
push eax
mov ecx, dword [ebp - 0x3ec]
add ecx, 0x30
call fcn.10001442
jmp 0x100b8ce6
mov ecx, dword [ebp - 0x3ec]
add ecx, 0x30
call fcn.10005569
mov dword [ebp - 0x400], 1
mov dword [ebp - 4], 0xfffffffe
jmp 0x100b8d2d
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.1008bb47
mov esp, ebp
pop ebp
ret 0x10