Function at 0x10091250
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 0x100e0cd0
push 0x10079920
mov eax, dword fs:[0]
push eax
add esp, 0xfffffd94
mov eax, dword [0x100ed3e0]
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 0x100912e3
xor eax, eax
jmp 0x1009148b
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 0x1009131d
mov dword [ebp - 4], 0xfffffffe
jmp 0x10091470
cmp dword [ebp + 0xc], 0
je 0x10091340
mov eax, dword [ebp + 0xc]
push eax
call fcn.10071ffb
add esp, 4
test eax, eax
jbe 0x10091340
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 0x100cdb78
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x1009136c
mov dword [ebp - 4], 0xfffffffe
jmp 0x10091470
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 0x1009139c
mov dword [ebp - 4], 0xfffffffe
jmp 0x10091470
mov word [ebp - 0x270], 0
push 0x208
push 0
lea ecx, [ebp - 0x26e]
push ecx
call fcn.10071b30
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 0x10091417
cmp dword [ebp - 0x274], 0xc8
je 0x10091420
mov dword [ebp - 4], 0xfffffffe
jmp 0x10091470
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 0x10091449
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 0x10091470
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.10071b1a
mov esp, ebp
pop ebp
ret 8