Function at 0x1400cd8d0
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, [0x1402552d0]
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.1400b6070
movups xmm0, xmmword [str.x_RSPEkoPT_SJb_o4v0__G]
mov qword [rbx + 0x1c0], rax
mov r8d, edi
cmp dword [0x1402557d0], 2
lea esi, [rdi + 4]
mov eax, dword [0x14011f7e0]
lea r14d, [rdi + 0x1f]
movups xmm1, xmmword [0x14011f7c8]
mov dword [rbp - 0x61], eax
movzx eax, word [0x14011f7e4]
movups xmmword [rsp + 0x20], xmm0
mov word [rbp - 0x5d], ax
movsd xmm0, qword [0x14011f7d8]
movsd qword [rbp - 0x69], xmm0
movups xmmword [rbp - 0x79], xmm1
jl 0x1400cdae3
movdqa xmm5, xmmword [0x140118390]
lea rcx, [rsp + 0x20]
movdqa xmm4, xmmword [0x1401194f0]
movdqa xmm7, xmmword [str.5555]
movdqa xmm9, xmmword [0x1401183c0]
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 0x1400cd9f0
cmp r8d, 0x17
jge 0x1400cdb25
movsxd rax, r8d
lea r9, [rsp + 0x20]
lea r9, [r9 + rax*2]
nop
mov eax, 0x4d4873ed
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x35
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x31
xor word [r9 - 2], ax
cmp r8d, 0x17
jl 0x1400cdaf0
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [0x1402552d0]
call fcn.1400b6930
movups xmm0, xmmword [str.x_RSPEktV_TcnS__l5q1_Hx_RSPEk]
mov qword [rbx + 0x1e8], rax
mov r8d, edi
cmp dword [0x1402557d0], 2
movups xmm1, xmmword [0x14011f7f8]
movups xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [0x14011f808]
movups xmmword [rbp - 0x79], xmm1
movups xmmword [rbp - 0x69], xmm0
jl 0x1400cdc9b
movdqa xmm5, xmmword [0x140118390]
lea rcx, [rsp + 0x20]
movdqa xmm4, xmmword [0x1401194f0]
mov edx, edi
movdqa xmm7, xmmword [str.5555]
movdqa xmm9, xmmword [0x1401183c0]
movd xmm6, esi
movd xmm8, r14d
nop dword [rax]
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
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 0x1400cdbb0
jmp 0x1400cdcd7
lea r9, [rsp + 0x20]
mov eax, 0x3521cfb3
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, 0x35
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x31
xor word [r9 - 2], ax
cmp r8d, 0x18
jl 0x1400cdca0
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [0x1402552d0]
call fcn.1400b6930
movups xmm0, xmmword [0x14011f818]
mov qword [rbx + 0x1f0], rax
mov ecx, edi
cmp dword [0x1402557d0], 2
movups xmm1, xmmword [0x14011f828]
mov eax, dword [0x14011f838]
movups xmmword [rsp + 0x20], xmm0
mov dword [rbp - 0x69], eax
movups xmmword [rbp - 0x79], xmm1
jl 0x1400cde3e
movdqa xmm5, xmmword [0x140118390]
lea rdx, [rsp + 0x20]
movdqa xmm4, xmmword [0x1401194f0]
movdqa xmm7, xmmword [str.5555]
movdqa xmm9, xmmword [0x1401183c0]
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
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 0x1400cdd50
cmp ecx, 0x12
jge 0x1400cde81
movsxd rax, ecx
lea r8, [rsp + 0x20]
lea r8, [r8 + rax*2]
nop word [rax + rax]
mov eax, 0x4d4873ed
lea r8, [r8 + 2]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x35
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x31
xor word [r8 - 2], ax
cmp ecx, 0x12
jl 0x1400cde50
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [0x1402552d0]
call fcn.1400b6930
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 0x1400cdf1c
mov rdx, qword [rbp + 7]
mov rax, rcx
sub rdx, rcx
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x1400cdf0b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400cdf64
call fcn.1400e8bd0
xorps xmm0, xmm0
mov qword [rbp + 7], rdi
movdqu xmmword [rbp - 9], xmm0
mov rdx, qword [rbp - 0x39]
cmp rdx, 0x10
jb 0x1400cdf53
mov rcx, qword [rbp - 0x51]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cdf4e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400cdf64
call fcn.1400e8bd0
mov rdi, qword [rsp + 0x128]
add rsp, 0x100
pop rbp
ret
call fcn.1400ef88c
int3