Function at 0x1400c82d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rdx, qword [rcx + 0x288]
mov qword [rsp + 0x130], rbx
mov rbx, rcx
test rdx, rdx
je 0x1400c8316
mov r8d, dword [rcx + 0x290]
test r8d, r8d
je 0x1400c8316
xor r9d, r9d
lea rcx, [0x140247d00]
call fcn.1400aa610
jmp 0x1400c833f
cmp dword [rcx + 0x260], 0
jne 0x1400c8346
lea rdx, [rcx + 0x240]
cmp qword [rdx + 0x18], 8
jb 0x1400c8330
mov rdx, qword [rdx]
xor r8d, r8d
lea rcx, [0x140247d00]
call fcn.1400aa800
mov qword [rbx + 0x268], rax
xor edi, edi
mov qword [rsp + 0x40], socket
xorps xmm0, xmm0
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x28], rdi
lea rcx, [0x140247d00]
mov qword [rsp + 0x38], rdi
lea r8d, [rdi + 1]
mov dword [rsp + 0x50], 6
mov dword [rsp + 0x54], 3
mov qword [rsp + 0x58], 2
mov qword [rsp + 0x60], rdi
mov dword [rsp + 0x68], edi
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rdi
mov dword [rsp + 0x48], select
mov dword [rsp + 0x4c], 0x190
call fcn.1400a9f40
mov qword [rbx + 0x2c8], rax
cmp dword [rbx + 0x260], edi
je 0x1400c85dc
cmp dword [0x140248200], 2
mov ecx, edi
movups xmm0, xmmword [str.x_RSPEkyZNRJXwR_]
movups xmm1, xmmword [0x1401134c0]
movzx eax, word [0x1401134f0]
movups xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x30], ax
movups xmm0, xmmword [0x1401134d0]
movups xmmword [rbp - 0x60], xmm1
movups xmm1, xmmword [0x1401134e0]
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm1
jl 0x1400c8580
movdqa xmm5, xmmword [0x14010c2c0]
lea rdx, [rbp - 0x70]
movdqa xmm4, xmmword [0x14010e1a0]
mov eax, 4
movaps xmmword [rsp + 0x110], xmm6
movaps xmmword [rsp + 0x100], xmm7
movdqa xmm7, xmmword [0x14010e180]
movaps xmmword [rsp + 0xf0], xmm8
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [rsp + 0xe0], xmm9
movdqa xmm9, xmmword [0x140110dc0]
movd xmm8, eax
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 0x10]
paddd xmm2, xmm5
add ecx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
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
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
pxor xmm3, xmm0
movq qword [rdx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
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
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rdx - 8], xmm3
cmp ecx, 0x20
jl 0x1400c8470
movaps xmm9, xmmword [rsp + 0xe0]
movaps xmm8, xmmword [rsp + 0xf0]
movaps xmm7, xmmword [rsp + 0x100]
movaps xmm6, xmmword [rsp + 0x110]
cmp ecx, 0x21
jge 0x1400c85c2
movsxd rax, ecx
lea r8, [rbp - 0x70]
lea r8, [r8 + rax*2]
nop dword [rax + rax]
mov eax, 0x5397829d
lea r8, [r8 + 2]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul edx, eax, 0x31
add dx, cx
inc ecx
xor word [r8 - 2], dx
cmp ecx, 0x21
jl 0x1400c8590
xor r8d, r8d
lea rdx, [rbp - 0x70]
lea rcx, [0x140247d00]
call fcn.1400aa800
mov qword [rbx + 0x270], rax
mov rcx, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x130]
test rcx, rcx
je 0x1400c862c
mov rdx, qword [rbp - 0x80]
mov rax, rcx
sub rdx, rcx
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x1400c861a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c8676
call fcn.1400dcd18
xorps xmm0, xmm0
mov qword [rbp - 0x80], rdi
movdqu xmmword [rsp + 0x70], xmm0
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x1400c8665
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c8660
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c8676
call fcn.1400dcd18
mov rdi, qword [rsp + 0x138]
add rsp, 0x120
pop rbp
ret
call fcn.1400e39cc
int3