Function at 0x1400ce410
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.1400b6ba0
movups xmm0, xmmword [str.x_RSPEkoPT_SJb_o4v0__G]
mov qword [rbx + 0x1c0], rax
mov r8d, edi
cmp dword [0x1402567d0], 2
lea esi, [rdi + 5]
mov eax, dword [0x1401207e0]
lea r14d, [rdi + 0x1f]
movups xmm1, xmmword [0x1401207c8]
mov dword [rbp - 0x61], eax
movzx eax, word [0x1401207e4]
movups xmmword [rsp + 0x20], xmm0
mov word [rbp - 0x5d], ax
movsd xmm0, qword [0x1401207d8]
movsd qword [rbp - 0x69], xmm0
movups xmmword [rbp - 0x79], xmm1
jl 0x1400ce62b
movdqa xmm5, xmmword [0x140119390]
lea rcx, [rsp + 0x20]
movdqa xmm4, xmmword [0x14011b640]
movdqa xmm7, xmmword [str.8888]
movdqa xmm9, xmmword [str.11111111]
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
paddd xmm1, xmm2
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
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
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 0x1400ce530
cmp r8d, 0x17
jge 0x1400ce678
movsxd rax, r8d
lea r9, [rsp + 0x20]
lea r9, [r9 + rax*2]
nop word [rax + rax]
mov eax, 0x92492493
lea r9, [r9 + 2]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x38
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x31
xor word [r9 - 2], ax
cmp r8d, 0x17
jl 0x1400ce640
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [0x1402562d0]
call fcn.1400b7460
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 [0x1401207f8]
movups xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [0x140120808]
movups xmmword [rbp - 0x79], xmm1
movups xmmword [rbp - 0x69], xmm0
jl 0x1400ce7f3
movdqa xmm5, xmmword [0x140119390]
lea rcx, [rsp + 0x20]
movdqa xmm4, xmmword [0x14011b640]
mov edx, edi
movdqa xmm7, xmmword [str.8888]
movdqa xmm9, xmmword [str.11111111]
movd xmm6, esi
movd xmm8, r14d
nop word [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
paddd xmm1, xmm2
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
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
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 0x1400ce700
jmp 0x1400ce837
lea r9, [rsp + 0x20]
nop dword [rax + rax]
mov eax, 0x24924925
lea r9, [r9 + 2]
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movzx eax, ax
imul ecx, eax, 0x38
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x31
xor word [r9 - 2], ax
cmp r8d, 0x18
jl 0x1400ce800
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [0x1402562d0]
call fcn.1400b7460
movups xmm0, xmmword [0x140120818]
mov qword [rbx + 0x1f0], rax
mov ecx, edi
cmp dword [0x1402567d0], 2
movups xmm1, xmmword [0x140120828]
mov eax, dword [0x140120838]
movups xmmword [rsp + 0x20], xmm0
mov dword [rbp - 0x69], eax
movups xmmword [rbp - 0x79], xmm1
jl 0x1400ce9a6
movdqa xmm5, xmmword [0x140119390]
lea rdx, [rsp + 0x20]
movdqa xmm4, xmmword [0x14011b640]
movdqa xmm7, xmmword [str.8888]
movdqa xmm9, xmmword [str.11111111]
movd xmm6, esi
movd xmm8, r14d
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
paddd xmm1, xmm2
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
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
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 0x1400ce8b0
cmp ecx, 0x12
jge 0x1400ce9f3
movsxd rax, ecx
lea r8, [rsp + 0x20]
lea r8, [r8 + rax*2]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x92492493
lea r8, [r8 + 2]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x38
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x31
xor word [r8 - 2], ax
cmp ecx, 0x12
jl 0x1400ce9c0
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [0x1402562d0]
call fcn.1400b7460
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 0x1400cea8e
mov rdx, qword [rbp + 7]
mov rax, rcx
sub rdx, rcx
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x1400cea7d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400cead6
call fcn.1400e9750
xorps xmm0, xmm0
mov qword [rbp + 7], rdi
movdqu xmmword [rbp - 9], xmm0
mov rdx, qword [rbp - 0x39]
cmp rdx, 0x10
jb 0x1400ceac5
mov rcx, qword [rbp - 0x51]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ceac0
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400cead6
call fcn.1400e9750
mov rdi, qword [rsp + 0x128]
add rsp, 0x100
pop rbp
ret
call fcn.1400f040c
int3