Function at 0x10091c20
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 0x100de5b0
push 0x10078860
mov eax, dword fs:[0]
push eax
add esp, 0xfffffd94
mov eax, dword [0x100ea3e0]
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 0x10091cb3
xor eax, eax
jmp 0x10091e5b
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 0x10091ced
mov dword [ebp - 4], 0xfffffffe
jmp 0x10091e40
cmp dword [ebp + 0xc], 0
je 0x10091d10
mov eax, dword [ebp + 0xc]
push eax
call fcn.10070dbb
add esp, 4
test eax, eax
jbe 0x10091d10
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 str.Mozilla_5.0__compatible__MSIE_8.0__Windows_NT_6.1__QQPCMgr7.0_
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x10091d3c
mov dword [ebp - 4], 0xfffffffe
jmp 0x10091e40
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 0x10091d6c
mov dword [ebp - 4], 0xfffffffe
jmp 0x10091e40
mov word [ebp - 0x270], 0
push 0x208
push 0
lea ecx, [ebp - 0x26e]
push ecx
call fcn.10073a50
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 0x10091de7
cmp dword [ebp - 0x274], 0xc8
je 0x10091df0
mov dword [ebp - 4], 0xfffffffe
jmp 0x10091e40
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 0x10091e19
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 0x10091e40
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.10070dd1
mov esp, ebp
pop ebp
ret 8