Function at 0x1400af880
Capabilities:
Encode data using xor

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x14018e080]
xor rax, rsp
mov qword [rbp + 0x37], rax
call fcn.1400b4640
cmp byte [0x141688330], 0
je 0x1400afc41
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0xa8], rsi
call fcn.1400b3320
cmp byte [0x141688342], 0
je 0x1400af8de
lea rcx, [rbp + 0x17]
call fcn.1400aaac0
lea rcx, [rbp + 0x17]
call fcn.14003d640
cmp byte [0x141688341], 0
je 0x1400af8f9
lea rcx, [rbp + 0x17]
call fcn.1400ad2a0
lea rcx, [rbp + 0x17]
call fcn.14003d640
movups xmm0, xmmword [0x140173a40]
xor r10d, r10d
cmp byte [0x140173a57], r10b
movups xmmword [rbp + 0x17], xmm0
movsd xmm0, qword [str.6_7___I_CWZXQQ]
movsd qword [rbp + 0x27], xmm0
je 0x1400afac4
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400afa81
movdqa xmm0, xmmword [0x140178560]
lea rcx, [rbp + 0x1b]
movdqa xmm5, xmmword [0x140178380]
mov edx, r10d
movdqa xmm4, xmmword [0x1401787a0]
movdqa xmmword [rbp + 7], xmm0
mov r8d, dword [rbp + 7]
movaps xmmword [rsp + 0x80], xmm6
movdqa xmm6, xmmword [0x140178410]
nop word [rax + rax]
movd xmm2, edx
lea eax, [rdx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 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 edx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140178520]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140178520]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edx, 0x18
jl 0x1400af970
movaps xmm6, xmmword [rsp + 0x80]
jmp 0x1400afac4
lea r9, [rbp + 0x17]
mov r8d, r10d
nop dword [rax + rax]
mov eax, 0x92492493
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 0x18
jl 0x1400afa90
lea rax, [rbp + 0x17]
mov qword [rbp + 7], rax
mov rax, qword [0x1416883c8]
cmp rax, qword [0x1416883d0]
je 0x1400afb1e
xorps xmm0, xmm0
lea rcx, [rbp + 0x17]
movups xmmword [rax], xmm0
mov qword [rax + 0x10], r10
mov r8, 0xffffffffffffffff
mov qword [rax + 0x18], r10
inc r8
cmp byte [rcx + r8], r10b
jne 0x1400afaf5
lea rdx, [rbp + 0x17]
mov rcx, rax
call fcn.140059080
mov rsi, qword [0x1416883c8]
add rsi, 0x20
mov qword [0x1416883c8], rsi
jmp 0x1400afb31
lea r8, [rbp + 7]
mov rdx, rax
call fcn.14008ab80
mov rsi, qword [0x1416883c8]
mov rbx, qword [0x1416883c0]
cmp rbx, rsi
je 0x1400afc31
mov qword [rsp + 0xb0], rdi
nop dword [rax]
mov eax, dword [0x140173a94]
lea rcx, [rbp + 7]
mov dword [rbp + 7], eax
movzx eax, word [0x140173a98]
xor byte [rbp + 8], 0x33
xor byte [rbp + 9], 0x34
xor byte [rbp + 0xa], 0x35
mov word [rbp + 0xb], ax
xor al, 0x36
xor byte [rbp + 0xc], 0x37
mov byte [rbp + 0xb], al
mov rax, 0xffffffffffffffff
mov byte [rbp + 7], 0x5b
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x1400afb90
mov rdi, qword [rbx + 0x18]
mov rcx, rbx
cmp rdi, 0xf
jbe 0x1400afba9
mov rcx, qword [rbx]
mov rdx, qword [rbx + 0x10]
lea r9, [rbp + 7]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call fcn.14005fae0
cmp rax, 0xffffffffffffffff
je 0x1400afbe6
mov rdx, rbx
cmp rdi, 0xf
jbe 0x1400afbd0
mov rdx, qword [rbx]
movaps xmm0, xmmword [0x140178680]
lea rcx, [rbp + 0x17]
movups xmmword [rbp + 0x17], xmm0
call fcn.1400511a0
jmp 0x1400afc1c
movzx eax, word [0x140173a70]
mov word [rbp - 9], ax
movzx eax, byte [reloc.WS2_32.dll_gethostbyname]
cmp rdi, 0xf
jbe 0x1400afc03
mov rdx, qword [rbx]
jmp 0x1400afc06
mov rdx, rbx
xor byte [rbp - 8], 0x33
lea rcx, [rbp - 9]
xor al, 0x34
mov byte [rbp - 9], 0x25
mov byte [rbp - 7], al
call fcn.140051030
add rbx, 0x20
cmp rbx, rsi
jne 0x1400afb50
mov rdi, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0xa8]
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1401487e0
add rsp, 0x90
pop rbp
ret