Function at 0x100b5ec0
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a4520
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x10206370]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], ecx
mov byte [ebp - 0x11], 1
mov dword [ebp - 4], 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 0x1c]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x28]
cmp dword [edx + 4], 0
je 0x100b5f24
mov eax, dword [ebp - 0x28]
cmp dword [eax + 4], 0xffffffff
jne 0x100b5f39
mov dword [ebp - 0x1c], 0x101c6940
push 0x101f1634
lea ecx, [ebp - 0x1c]
push ecx
call fcn.101840c8
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x2c], 0
je 0x100b5f5a
cmp dword [ebp - 0x2c], 1
je 0x100b5fa1
cmp dword [ebp - 0x2c], 2
je 0x100b5fe2
jmp 0x100b6021
cmp dword [ebp + 0xc], 0
je 0x100b5f68
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
jmp 0x100b5f6f
mov dword [ebp - 0x30], 0x15
push 0
push 0x8000000
push 1
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
movzx eax, word [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 8], eax
jmp 0x100b6021
cmp dword [ebp + 0xc], 0
je 0x100b5faf
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x34], edx
jmp 0x100b5fb6
mov dword [ebp - 0x34], 0x50
push 0
push 0
push 3
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
movzx edx, word [ebp - 0x34]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 8], eax
jmp 0x100b6021
cmp dword [ebp + 0xc], 0
je 0x100b5ff0
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x38], edx
jmp 0x100b5ff7
mov dword [ebp - 0x38], 0x1bb
push 0
push 0
push 3
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
movzx edx, word [ebp - 0x38]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x28]
cmp dword [edx + 8], 0
je 0x100b6033
mov eax, dword [ebp - 0x28]
cmp dword [eax + 8], 0xffffffff
jne 0x100b6048
mov dword [ebp - 0x20], 0x101c6958
push 0x101f1634
lea ecx, [ebp - 0x20]
push ecx
call fcn.101840c8
push 0
call dword [sym.imp.WININET.dll_InternetAttemptConnect]
test eax, eax
je 0x100b6069
mov dword [ebp - 0x24], 0x101c696c
push 0x101f1634
lea edx, [ebp - 0x24]
push edx
call fcn.101840c8
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x10
call fcn.100b80b0
cmp dword [ebp + 0xc], 0
jne 0x100b60c5
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x3c], ecx
cmp dword [ebp - 0x3c], 0
je 0x100b6098
cmp dword [ebp - 0x3c], 1
je 0x100b60a7
cmp dword [ebp - 0x3c], 2
je 0x100b60b6
jmp 0x100b60c3
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x80], 0x15
jmp 0x100b60c3
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x80], 0x50
jmp 0x100b60c3
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x80], 0x1bb
jmp 0x100b60d1
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0x80], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp + 0x18]
mov dword [ecx + 0x84], edx
cmp dword [ebp + 0x10], 0
je 0x100b60f2
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x2c
call fcn.100b80b0
cmp dword [ebp + 0x14], 0
je 0x100b6107
mov ecx, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp - 0x28]
add ecx, 0x48
call fcn.100b80b0
mov ecx, dword [ebp - 0x28]
call fcn.100b6880
jmp 0x100b61e3
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18