Function at 0x1400ceab0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x100
mov qword [rax + 8], rbx
lea rdx, [rbp - 0x59]
xor edi, edi
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], r14
mov rbx, rcx
movaps xmmword [rax - 0x18], xmm6
lea rcx, [0x1402562d0]
movaps xmmword [rax - 0x28], xmm7
xorps xmm0, xmm0
movaps xmmword [rax - 0x38], xmm8
lea r8d, [rdi + 1]
movaps xmmword [rax - 0x48], xmm9
mov qword [rbp - 0x59], rdi
mov qword [rbp - 0x51], rdi
mov qword [rbp - 0x41], rdi
mov qword [rbp - 0x39], select
mov dword [rbp - 0x29], 6
mov dword [rbp - 0x25], 3
mov qword [rbp - 0x21], 2
mov qword [rbp - 0x19], rdi
mov dword [rbp - 0x11], edi
movdqu xmmword [rbp - 9], xmm0
mov qword [rbp + 7], rdi
mov dword [rbp - 0x31], select
mov dword [rbp - 0x2d], 0x2bc
call fcn.1400b7250
movups xmm0, xmmword [str.x_RSPEkoPT_SJb_o4v0__G]
mov qword [rbx + 0x1c0], rax
mov r8d, edi
cmp dword [0x1402567d0], 2
lea esi, [rdi + 4]
mov eax, dword [0x1401207f0]
lea r14d, [rdi + 0x1f]
movups xmm1, xmmword [0x1401207d8]
mov dword [rbp - 0x61], eax
movzx eax, word [0x1401207f4]
movups xmmword [rsp + 0x20], xmm0
mov word [rbp - 0x5d], ax
movsd xmm0, qword [0x1401207e8]
movsd qword [rbp - 0x69], xmm0
movups xmmword [rbp - 0x79], xmm1
jl 0x1400cecc3
movdqa xmm5, xmmword [0x140119390]
lea rcx, [rsp + 0x20]
movdqa xmm4, xmmword [0x14011a4f0]
movdqa xmm7, xmmword [str.1111]
movdqa xmm9, xmmword [0x1401193c0]
movd xmm6, esi
movd xmm8, r14d
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add r8d, 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 [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
pxor xmm3, xmm0
movq qword [rcx - 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 [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp r8d, 0x10
jl 0x1400cebd0
cmp r8d, 0x17
jge 0x1400ced06
movsxd rax, r8d
lea r9, [rsp + 0x20]
lea r9, [r9 + rax*2]
nop
mov eax, 0x5397829d
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul ecx, eax, 0x31
add cx, r8w
inc r8d
xor word [r9 - 2], cx
cmp r8d, 0x17
jl 0x1400cecd0
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [0x1402562d0]
call fcn.1400b7b10
movups xmm0, xmmword [str.x_RSPEktV_TcnS__l5q1_Hx_RSPEk]
mov qword [rbx + 0x1e8], rax
mov r8d, edi
cmp dword [0x1402567d0], 2
movups xmm1, xmmword [0x140120808]
movups xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [0x140120818]
movups xmmword [rbp - 0x79], xmm1
movups xmmword [rbp - 0x69], xmm0
jl 0x1400cee7b
movdqa xmm5, xmmword [0x140119390]
lea rcx, [rsp + 0x20]
movdqa xmm4, xmmword [0x14011a4f0]
mov edx, edi
movdqa xmm7, xmmword [str.1111]
movdqa xmm9, xmmword [0x1401193c0]
movd xmm6, esi
movd xmm8, r14d
nop dword [rax]
nop dword [rax + rax]
movd xmm2, edx
lea eax, [rdx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add edx, 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 [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
pxor xmm3, xmm0
movq qword [rcx - 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 [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp edx, 0x18
jl 0x1400ced90
jmp 0x1400ceeaf
lea r9, [rsp + 0x20]
mov eax, 0x5397829d
lea r9, [r9 + 2]
mul r8d
mov eax, 1
shr edx, 4
sub ax, dx
movzx eax, ax
imul ecx, eax, 0x31
add cx, r8w
inc r8d
xor word [r9 - 2], cx
cmp r8d, 0x18
jl 0x1400cee80
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [0x1402562d0]
call fcn.1400b7b10
movups xmm0, xmmword [0x140120828]
mov qword [rbx + 0x1f0], rax
mov ecx, edi
cmp dword [0x1402567d0], 2
movups xmm1, xmmword [0x140120838]
mov eax, dword [0x140120848]
movups xmmword [rsp + 0x20], xmm0
mov dword [rbp - 0x69], eax
movups xmmword [rbp - 0x79], xmm1
jl 0x1400cf01e
movdqa xmm5, xmmword [0x140119390]
lea rdx, [rsp + 0x20]
movdqa xmm4, xmmword [0x14011a4f0]
movdqa xmm7, xmmword [str.1111]
movdqa xmm9, xmmword [0x1401193c0]
movd xmm6, esi
movd xmm8, r14d
nop dword [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, 0x10
jl 0x1400cef30
cmp ecx, 0x12
jge 0x1400cf062
movsxd rax, ecx
lea r8, [rsp + 0x20]
lea r8, [r8 + rax*2]
nop word [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, 0x12
jl 0x1400cf030
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [0x1402562d0]
call fcn.1400b7b10
mov rcx, qword [rbp - 9]
movaps xmm9, xmmword [rsp + 0xc0]
movaps xmm8, xmmword [rsp + 0xd0]
movaps xmm7, xmmword [rsp + 0xe0]
movaps xmm6, xmmword [rsp + 0xf0]
mov r14, qword [rsp + 0x120]
mov rsi, qword [rsp + 0x118]
mov qword [rbx + 0x208], rax
mov rbx, qword [rsp + 0x110]
test rcx, rcx
je 0x1400cf0fd
mov rdx, qword [rbp + 7]
mov rax, rcx
sub rdx, rcx
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x1400cf0ec
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400cf145
call fcn.1400e9d60
xorps xmm0, xmm0
mov qword [rbp + 7], rdi
movdqu xmmword [rbp - 9], xmm0
mov rdx, qword [rbp - 0x39]
cmp rdx, 0x10
jb 0x1400cf134
mov rcx, qword [rbp - 0x51]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cf12f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400cf145
call fcn.1400e9d60
mov rdi, qword [rsp + 0x128]
add rsp, 0x100
pop rbp
ret
call fcn.1400f0a1c
int3