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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48fc68
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4c7084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x8c], 0
je 0x425119
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [edi + 8], 0
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
jne 0x4251d6
mov eax, dword [edi + 0x60]
test eax, eax
je 0x425144
cmp eax, 1
je 0x425144
cmp eax, 3
jne 0x425157
push 0
push 0
push dword [edi + 0x64]
push eax
jmp 0x42514b
push 0
push 0
push 0
push eax
push dword [edi + 0x14]
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [edi + 8], eax
cmp dword [edi + 8], 0
je 0x425103
push 4
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x7530
push eax
mov eax, dword [edi + 8]
push 2
push eax
call esi
push 4
lea eax, [ebp - 0x14]
push eax
mov eax, dword [edi + 8]
push 5
push eax
call esi
push 4
lea eax, [ebp - 0x14]
push eax
mov eax, dword [edi + 8]
push 6
push eax
call esi
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 8
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
mov eax, dword [edi + 8]
push 0x32
push eax
mov dword [ebp - 0x20], 0
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
test eax, eax
je 0x4251d6
test byte [ebp - 0x24], 1
jne 0x4251d6
push 8
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 1
push eax
mov eax, dword [edi + 8]
push 0x32
push eax
call esi
cmp dword [edi + 0xc], 0
jne 0x425338
mov eax, dword [ebp + 8]
push 0
push 0x200
push 3
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [eax]
mov eax, dword [edi + 8]
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [edi + 0xc], eax
cmp dword [edi + 0xc], 0
je 0x425103
cmp dword [edi + 0x60], 3
jne 0x425260
mov eax, dword [edi + 0x68]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x42523a
push eax
lea ecx, [edi + 0x68]
call fcn.00408df0
push eax
mov eax, dword [edi + 0xc]
push 0x2b
push eax
call esi
push 0xffffffffffffffff
lea ecx, [edi + 0x68]
call fcn.00408d60
mov eax, dword [edi + 0x6c]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x425260
push eax
lea ecx, [edi + 0x6c]
call fcn.00408df0
push eax
mov eax, dword [edi + 0xc]
push 0x2c
push eax
call esi
push 0xffffffffffffffff
lea ecx, [edi + 0x6c]
call fcn.00408d60
cmp dword [edi + 0x5c], 0
jne 0x42526d
mov dword [edi + 0x74], 1
push 0
call dword [sym.imp.WININET.dll_InternetAttemptConnect]
test eax, eax
jne 0x425103
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], 0x20
call fcn.00408d30
mov dword [ebp - 4], 0
mov ecx, 1
mov esi, dword [ebp - 0x10]
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x400
or eax, ecx
jge 0x4252ba
push 0x400
lea ecx, [ebp - 0x10]
call fcn.0040a230
mov esi, dword [ebp - 0x10]
push 0
push 0x3ff
push esi
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedStateExW]
push dword [esi - 8]
mov ebx, eax
push esi
call fcn.0046af74
add esp, 8
test eax, eax
js 0x425351
cmp eax, dword [esi - 8]
jg 0x425351
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
test ebx, ebx
jne 0x425329
test byte [ebp - 0x18], 0x20
je 0x4252fb
lea esi, [ecx + 1]
jmp 0x425304
mov dword [edi + 4], 0xffffffff
xor esi, esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00408c20
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00408c20
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x80070057
call fcn.00401e50
int3