Function at 0x140016c30
Capabilities:
Check internet connectivity via wininet
Encode data using xor

Disassembly:
sub rsp, 0x88
mov rax, qword [0x1400ac2c0]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x140016f50
mov eax, dword [0x14009d640]
xor ecx, ecx
cmp dword [0x1400ac318], 2
movups xmm3, xmmword [0x14009d618]
mov dword [rsp + 0x48], eax
movups xmm0, xmmword [0x14009d628]
movzx eax, word [0x14009d644]
movaps xmmword [rsp + 0x60], xmm7
movq xmm7, qword [0x14009d638]
movups xmmword [rsp + 0x20], xmm3
mov word [rsp + 0x4c], ax
movups xmmword [rsp + 0x30], xmm0
movq qword [rsp + 0x40], xmm7
jl 0x140016ed1
movdqa xmm4, xmmword [0x14009e430]
movdqa xmm2, xmmword [0x14009e350]
movdqa xmm5, xmmword [str.3333]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movaps xmmword [rsp + 0x70], xmm6
movdqa xmm6, xmmword [0x14009e400]
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movq xmm1, xmm3
movdqa xmm3, xmmword [0x14009e370]
paddw xmm2, xmm6
xorps xmm2, xmm1
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movq qword [rsp + 0x20], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
pshufhw xmm0, xmm3, 0xd8
movdqa xmm3, xmmword [0x14009e390]
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x28]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
paddw xmm2, xmm6
xorps xmm2, xmm0
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
movq qword [rsp + 0x28], xmm2
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
pshufhw xmm0, xmm3, 0xd8
movdqa xmm3, xmmword [0x14009e3b0]
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x30]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
paddw xmm2, xmm6
xorps xmm2, xmm0
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
movq qword [rsp + 0x30], xmm2
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
mov ecx, 0x14
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
pshufhw xmm0, xmm3, 0xd8
movdqa xmm3, xmmword [0x14009e3c0]
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x38]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
paddw xmm2, xmm6
xorps xmm2, xmm0
pmuldq xmm1, xmm4
movq qword [rsp + 0x38], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
pshufhw xmm0, xmm3, 0xd8
pshuflw xmm1, xmm0, 0xd8
movq xmm0, xmm7
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmm6
movaps xmm6, xmmword [rsp + 0x70]
xorps xmm2, xmm0
movq qword [rsp + 0x40], xmm2
movaps xmm7, xmmword [rsp + 0x60]
lea r8, [rsp + 0x20]
mov eax, ecx
lea r8, [r8 + rax*2]
nop dword [rax]
nop word [rax + rax]
mov eax, 0xa0a0a0a1
lea r8, [r8 + 2]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x33
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x34
xor word [r8 - 2], ax
cmp ecx, 0x17
jl 0x140016ef0
xor r8d, r8d
lea rcx, [rsp + 0x20]
mov edx, 1
call qword [sym.imp.WININET.dll_InternetCheckConnectionW]
test eax, eax
setne al
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140062690
add rsp, 0x88
ret
xor al, al
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140062690
add rsp, 0x88
ret