Function at 0x4440ba
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request
Parse url
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505667
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1d1c
call fcn.004e07c0
mov eax, dword [0x547240]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x24]
mov dword [ebp - 0x1cdc], eax
mov eax, dword [ebp + 0xc]
mov ebx, ecx
mov ecx, dword [ebp + 0x10]
push eax
mov dword [ebp - 0x1ce8], ecx
mov ecx, dword [ebp + 0x20]
lea eax, [ebp - 0x1094]
push 0x400
push eax
mov dword [ebp - 0x1cd8], ecx
call fcn.004e3228
add esp, 0xc
and dword [ebp - 0x1ce0], 0
push 0x3c
lea eax, [ebp - 0x1d2c]
push 0
push eax
call fcn.004de430
lea eax, [ebp - 0x129c]
mov dword [ebp - 0x1d28], eax
lea eax, [ebp - 0x14a4]
mov dword [ebp - 0x1d1c], eax
lea eax, [ebp - 0x18b4]
mov dword [ebp - 0x1d10], eax
lea eax, [ebp - 0x1cc4]
mov dword [ebp - 0x1d08], eax
lea eax, [ebp - 0x1abc]
mov dword [ebp - 0x1d00], eax
lea eax, [ebp - 0x16ac]
mov dword [ebp - 0x1cf8], eax
mov eax, 0x104
add esp, 0xc
mov dword [ebp - 0x1d0c], eax
mov dword [ebp - 0x1cfc], eax
mov dword [ebp - 0x1d24], eax
mov dword [ebp - 0x1d04], eax
mov dword [ebp - 0x1d18], eax
mov dword [ebp - 0x1cf4], eax
lea eax, [ebp - 0x1d2c]
push eax
push 0
push 0
lea eax, [ebp - 0x1094]
push eax
mov dword [ebp - 0x1d2c], 0x3c
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x444577
push 0
call dword [sym.imp.WININET.dll_InternetAttemptConnect]
test eax, eax
jne 0x444577
and dword [ebp - 4], eax
mov eax, dword [ebx + 0x6a8]
test eax, eax
je 0x44421d
add eax, 4
push eax
call fcn.004df380
pop ecx
test eax, eax
je 0x44421d
mov eax, dword [ebx + 0x6a8]
push 0
push 0
add eax, 4
push eax
push 3
jmp 0x444224
xor eax, eax
push eax
push eax
push eax
push 1
push dword [ebp - 0x1cdc]
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi], eax
test eax, eax
je 0x444577
push 0
push 4
lea ecx, [ebp - 0x1cc8]
push ecx
push 2
push eax
mov dword [ebp - 0x1cc8], 0x7530
call dword [sym.imp.WININET.dll_InternetSetOptionExW]
push 0
push 4
lea eax, [ebp - 0x1cc8]
push eax
push 5
push dword [esi]
call dword [sym.imp.WININET.dll_InternetSetOptionExW]
push 0
push 4
lea eax, [ebp - 0x1cc8]
push eax
push 6
push dword [esi]
call dword [sym.imp.WININET.dll_InternetSetOptionExW]
push ebx
push 0
push 3
push dword [ebp - 0x1d08]
push dword [ebp - 0x1d10]
push dword [ebp - 0x1d14]
push dword [ebp - 0x1d1c]
push dword [esi]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ecx, dword [ebp - 0x1cd8]
mov dword [ecx], eax
test eax, eax
je 0x444577
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x894], ax
lea eax, [ebp - 0x892]
push eax
call fcn.004de430
push dword [ebp - 0x1d00]
lea eax, [ebp - 0x894]
push 0x400
push eax
call fcn.004e3228
push dword [ebp - 0x1cf8]
lea eax, [ebp - 0x894]
push 0x400
push eax
call fcn.004e474f
add esp, 0x24
push ebx
push 0x84280000
xor eax, eax
lea ecx, [ebp - 0x1cf0]
push ecx
push eax
push eax
mov dword [ebp - 0x1cec], eax
lea eax, [ebp - 0x894]
push eax
push dword [ebp - 0x1ce8]
mov eax, dword [ebp - 0x1cd8]
push dword [eax]
mov dword [ebp - 0x1cf0], 0x517aa8
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [edi], eax
test eax, eax
je 0x444577
mov eax, dword [ebx + 0x6a8]
test eax, eax
je 0x444466
add eax, 0x20c
push eax
call fcn.004df380
pop ecx
test eax, eax
je 0x444466
mov eax, dword [ebx + 0x6a8]
add eax, 0x20c
push eax
call fcn.004df380
inc eax
mov dword [ebp - 0x1cc8], eax
mov eax, dword [ebx + 0x6a8]
add eax, 0x414
push eax
call fcn.004df380
inc eax
mov dword [ebp - 0x1cd4], eax
mov eax, dword [ebp - 0x1cc8]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004dc6d3
add esp, 0xc
mov dword [ebp - 0x1cd0], eax
mov eax, dword [ebp - 0x1cd4]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004dc6d3
mov dword [ebp - 0x1ccc], eax
mov eax, dword [ebp - 0x1cc8]
pop ecx
add eax, eax
push eax
mov eax, dword [ebx + 0x6a8]
add eax, 0x20c
push eax
push dword [ebp - 0x1cd0]
call fcn.004ddd50
mov eax, dword [ebp - 0x1cd4]
add eax, eax
push eax
mov eax, dword [ebx + 0x6a8]
add eax, 0x414
push eax
push dword [ebp - 0x1ccc]
call fcn.004ddd50
add esp, 0x18
push dword [ebp - 0x1cc8]
push dword [ebp - 0x1cd0]
push 0x2b
push dword [edi]
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push dword [ebp - 0x1cd4]
push dword [ebp - 0x1ccc]
push 0x2c
push dword [edi]
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push dword [ebp - 0x1cd0]
call fcn.004de5b0
push dword [ebp - 0x1ccc]
call fcn.004de5b0
pop ecx
pop ecx
push SysReAllocStringLen
push 0x517a8c
call fcn.004df380
pop ecx
push eax
push 0x517a8c
push dword [edi]
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
test eax, eax
je 0x444577
mov ecx, dword [ebp + 0x14]
xor eax, eax
cmp ecx, eax
ja 0x44449e
cmp dword [ebp + 0x18], ecx
jbe 0x44453f
push 0x7e
push eax
lea eax, [ebp - 0x92]
xor ecx, ecx
push eax
mov word [ebp - 0x94], cx
call fcn.004de430
mov eax, dword [ebp + 0x14]
add esp, 0xc
cmp dword [ebp + 0x18], eax
jbe 0x444502
push dword [ebp + 0x18]
push eax
lea eax, [ebp - 0x94]
push str.Range:_bytes_d__d
push eax
call fcn.00443fc4
add esp, 0x10
jmp 0x444517
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004dea60
leave
ret 0x20
push eax
lea eax, [ebp - 0x94]
push str.Range:_bytes_d_
push eax
call fcn.00443fc4
add esp, 0xc
lea eax, [ebp - 0x94]
push 0x10000000
push eax
call fcn.004df380
pop ecx
push eax
lea eax, [ebp - 0x94]
push eax
push dword [edi]
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
test eax, eax
je 0x444577
xor eax, eax
push eax
push eax
push eax
push eax
push dword [edi]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x444577
push dword [edi]
mov ecx, ebx
call fcn.00445be4
cmp eax, 0x12d
je 0x444582
cmp eax, 0x12e
je 0x444582
cmp eax, 0x12c
jae 0x444577
mov dword [ebp - 0x1ce0], 1
mov eax, dword [ebp - 0x1ce0]
jmp 0x4444e6
and dword [ebp - 0x1ccc], 0
lea eax, [ebp - 0x1ccc]
push eax
lea eax, [ebp - 0x1ce4]
push eax
lea eax, [ebp - 0x1094]
push eax
push 0x21
push dword [edi]
mov dword [ebp - 0x1ce4], 0x800
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
push edi
push dword [ebp - 0x1cd8]
mov ecx, ebx
push esi
call fcn.00445ba3
or dword [ebp - 4], 0xffffffff
jmp 0x44412b