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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov rax, qword [0x1401e56c8]
xor rax, rsp
mov qword [rbp + 0x40], rax
movzx r14d, cl
xor edi, edi
mov dword [rsp + 0x38], edi
cmp byte [0x1401ec46a], dil
je 0x14009ad4c
movups xmm0, xmmword [str.__AF_r]
movups xmmword [rsp + 0x20], xmm0
mov eax, dword [0x1401c1498]
mov dword [rsp + 0x30], eax
movzx eax, word [0x1401c149c]
mov word [rsp + 0x34], ax
lea r15d, [rdi + 1]
lea r12d, [rdi + 0x1f]
mov esi, dword [reloc.WS2_32.dll_accept]
cmp byte [0x1401c149d], dil
je 0x14009a82f
mov r8d, edi
cmp esi, 2
jl 0x14009a7f3
movdqa xmm5, xmmword [0x1401c4b30]
movdqa xmm4, xmmword [0x1401c4d50]
movd xmm6, r15d
movdqa xmm7, xmmword [0x1401c4be0]
movd xmm8, r12d
movdqa xmm0, xmmword [0x1401c4d90]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x24]
mov edx, dword [rsp + 0x40]
nop dword [rax]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401c4d00]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401c4d00]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x14009a6f0
cmp r8d, 0x16
jge 0x14009a82f
movsxd rax, r8d
lea r9, [rsp + 0x20]
add r9, rax
nop
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x33
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x16
jl 0x14009a800
xor r8d, r8d
mov edx, r15d
lea rcx, [rsp + 0x20]
call qword [sym.imp.WININET.dll_InternetCheckConnectionA]
test eax, eax
je 0x14009a85b
lea r8, [0x1401ec8e0]
movzx edx, r14b
lea rcx, [0x1401e5760]
call fcn.1400a8020
movups xmm0, xmmword [str.__AF_r]
movups xmmword [rsp + 0x50], xmm0
mov eax, dword [0x1401c1498]
mov dword [rsp + 0x60], eax
movzx eax, word [0x1401c149c]
mov word [rsp + 0x64], ax
cmp byte [0x1401c149d], dil
je 0x14009aa0f
mov r8d, edi
cmp esi, 2
jl 0x14009a9d3
movdqa xmm5, xmmword [0x1401c4b30]
movdqa xmm4, xmmword [0x1401c4d50]
movd xmm6, r15d
movdqa xmm7, xmmword [0x1401c4be0]
movd xmm8, r12d
movdqa xmm0, xmmword [0x1401c4d90]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x54]
mov edx, dword [rsp + 0x40]
nop
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401c4d00]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401c4d00]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x14009a8d0
cmp r8d, 0x16
jge 0x14009aa0f
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x33
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x16
jl 0x14009a9e0
xor r8d, r8d
mov edx, r15d
lea rcx, [rsp + 0x50]
call qword [sym.imp.WININET.dll_InternetCheckConnectionA]
test eax, eax
je 0x14009acce
movzx eax, word [0x1401c151c]
mov word [rbp + 0x38], ax
cmp byte [0x1401c151d], dil
je 0x14009aa44
mov byte [rbp + 0x38], Ordinal_50
xor byte [rbp + 0x39], 0x34
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
lea rax, [rbp + 0x38]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], dil
jne 0x14009aa61
lea rdx, [rbp + 0x38]
lea rcx, [rbp - 0x70]
call fcn.140010900
nop
mov dword [rsp + 0x38], r15d
movups xmm0, xmmword [str.zZ_STLPUU]
movups xmmword [rsp + 0x20], xmm0
movzx eax, byte [0x1401c1518]
mov byte [rsp + 0x30], al
mov r8d, edi
cmp esi, 2
jl 0x14009abe3
movdqa xmm5, xmmword [0x1401c4b30]
movdqa xmm4, xmmword [0x1401c4d50]
movd xmm6, r15d
movdqa xmm7, xmmword [0x1401c4be0]
movd xmm8, r12d
movdqa xmm0, xmmword [0x1401c4d90]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x24]
mov edx, dword [rsp + 0x40]
nop dword [rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401c4d00]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401c4d00]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x14009aae0
cmp r8d, 0x11
jge 0x14009ac1f
movsxd rax, r8d
lea r9, [rsp + 0x20]
add r9, rax
nop
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x33
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x11
jl 0x14009abf0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], rdi
lea rax, [rsp + 0x20]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14009ac34
mov r8, rbx
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x70]
call fcn.140010900
lea rax, [rsp + 0x70]
mov qword [rsp + 0x68], rax
mov byte [rbp + 0x38], r14b
cmp byte [0x1401ec46a], 0
je 0x14009ad3e
lea r9, [rbp + 0x38]
lea r8, [rsp + 0x70]
lea rdx, [rbp - 0x30]
call fcn.1400a7540
xor r9d, r9d
mov r8, rax
lea rdx, [rbp - 0x50]
call fcn.14009bd20
nop
lea rcx, [rsp + 0x70]
call fcn.140010730
mov edi, 7
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rdx, qword [rbp - 0x70]
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae rcx, qword [rbp - 0x50]
mov r8, qword [rbp - 0x40]
cmp r8, qword [rbp - 0x60]
jne 0x14009acce
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14009acce
mov bl, 1
jmp 0x14009acd0
xor bl, bl
test dil, 2
je 0x14009ace3
and edi, 0xfffffffd
lea rcx, [rbp - 0x50]
call fcn.140010730
nop
test dil, 1
je 0x14009acf2
lea rcx, [rbp - 0x70]
call fcn.140010730
test bl, bl
je 0x14009ad00
xor al, al
mov byte [reloc.WS2_32.dll_accept], al
jmp 0x14009ad07
movzx eax, byte [reloc.WS2_32.dll_accept]
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.14015bde0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
movss xmm0, dword [0x1401c4780]
call fcn.1400cdb40
nop
movss xmm0, dword [0x1401c4780]
call fcn.1400cdb40
int3