Function at 0x1400cdd70
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x28]
sub rsp, 0x120
mov rdx, qword [rcx + 0x288]
mov qword [rax + 8], rbx
mov rbx, rcx
mov qword [rax + 0x10], rsi
test rdx, rdx
je 0x1400cddb7
mov r8d, dword [rcx + 0x290]
test r8d, r8d
je 0x1400cddb7
xor r9d, r9d
lea rcx, [0x14024ddc0]
call fcn.1400b0420
jmp 0x1400cdde0
cmp dword [rcx + 0x260], 0
jne 0x1400cdde7
lea rdx, [rcx + 0x240]
cmp qword [rdx + 0x18], 8
jb 0x1400cddd1
mov rdx, qword [rdx]
xor r8d, r8d
lea rcx, [0x14024ddc0]
call fcn.1400b0610
mov qword [rbx + 0x268], rax
xor edi, edi
mov qword [rsp + 0x40], select
xorps xmm0, xmm0
mov qword [rsp + 0x20], rdi
mov esi, 1
mov qword [rsp + 0x28], rdi
mov r8d, esi
mov qword [rsp + 0x38], rdi
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x50], 6
lea rcx, [0x14024ddc0]
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.1400afd50
mov qword [rbx + 0x2c8], rax
cmp dword [rbx + 0x260], edi
je 0x1400ce07a
cmp dword [0x14024e2c0], 2
mov ecx, edi
movups xmm0, xmmword [str.x_RSPEkyZNRJXwR_]
movups xmm1, xmmword [0x140119a00]
movzx eax, word [0x140119a30]
movups xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x30], ax
movups xmm0, xmmword [0x140119a10]
movups xmmword [rbp - 0x60], xmm1
movups xmm1, xmmword [0x140119a20]
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm1
jl 0x1400ce020
movdqa xmm5, xmmword [0x140112370]
lea rdx, [rbp - 0x70]
movdqa xmm4, xmmword [0x1401123c0]
mov eax, 0x1f
movaps xmmword [rsp + 0x110], xmm6
movaps xmmword [rsp + 0x100], xmm7
movdqa xmm7, xmmword [0x140112390]
movaps xmmword [rsp + 0xf0], xmm8
movaps xmmword [rsp + 0xe0], xmm9
movdqa xmm9, xmmword [0x140117260]
movd xmm8, eax
movd xmm6, esi
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 0x1400cdf10
movaps xmm9, xmmword [rsp + 0xe0]
movaps xmm8, xmmword [rsp + 0xf0]
movaps xmm7, xmmword [rsp + 0x100]
movaps xmm6, xmmword [rsp + 0x110]
cmp ecx, 0x21
jge 0x1400ce060
movsxd rax, ecx
lea r8, [rbp - 0x70]
lea r8, [r8 + rax*2]
nop dword [rax + rax]
mov eax, 0x94f2095
lea r8, [r8 + 2]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x37
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x31
xor word [r8 - 2], ax
cmp ecx, 0x21
jl 0x1400ce030
xor r8d, r8d
lea rdx, [rbp - 0x70]
lea rcx, [0x14024ddc0]
call fcn.1400b0610
mov qword [rbx + 0x270], rax
mov rcx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x138]
mov rbx, qword [rsp + 0x130]
test rcx, rcx
je 0x1400ce0d2
mov rdx, qword [rbp - 0x80]
mov rax, rcx
sub rdx, rcx
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x1400ce0c0
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ce11c
call fcn.1400e2868
xorps xmm0, xmm0
mov qword [rbp - 0x80], rdi
movdqu xmmword [rsp + 0x70], xmm0
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x1400ce10b
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ce106
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ce11c
call fcn.1400e2868
mov rdi, qword [rsp + 0x140]
add rsp, 0x120
pop rbp
ret
call fcn.1400e951c
int3