Function at 0x14001fcdc
Capabilities:
Encode data using xor

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
lea rbp, [rsp + 0x20]
mov qword [rbp + 0xb8], rbx
mov r12d, r9d
movaps xmmword [rbp + 0x60], xmm6
mov rbx, rcx
movaps xmmword [rbp + 0x50], xmm7
lea rcx, [0x14034b0dc]
movaps xmmword [rbp + 0x40], xmm8
mov r14, rdx
movaps xmmword [rbp + 0x30], xmm9
movsxd rdi, r8d
call fcn.140026484
cmp edi, 3
jl 0x140020062
mov rax, qword [rbx + 0x38]
mov esi, 2
mov rcx, rbx
movss xmm7, dword [rax]
movss xmm8, dword [rax + 4]
test byte [rbx + 0x30], sil
je 0x14001ffe9
mov eax, r12d
lea edx, [rdi*8 - 6]
and eax, 0xffffff
add edx, edi
mov dword [rbp + 8], eax
lea eax, [rdi + rdi]
mov r8d, eax
mov dword [rbp + 0xc], eax
call fcn.1400188ec
mov r12d, dword [rbx + 0x48]
mov dword [rbp + 0xc0], r12d
mov rax, qword [rbx + 0x58]
lea edx, [r12 + rsi*2]
lea ecx, [rdx - 2]
inc esi
mov dword [rax], r12d
mov rax, qword [rbx + 0x58]
mov dword [rax + 4], ecx
mov rax, qword [rbx + 0x58]
mov dword [rax + 8], edx
add qword [rbx + 0x58], 0xc
cmp esi, edi
jl 0x14001fd84
mov rax, rdi
shl rax, 3
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x14001fdc5
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400264d0
movss xmm6, dword [0x14002be58]
lea r13d, [rdi - 1]
sub rsp, rcx
mov dword [rbp], r13d
xor r15d, r15d
mov ecx, r13d
mov qword [rbp + 0x18], r15
lea r13, [rdi*8 - 8]
mov esi, r15d
mov ebx, r15d
lea r12, [rsp + 0x20]
mov r15, r14
mov qword [rbp + 0x20], r12
movsxd rax, ecx
mov rdx, r15
lea rcx, [rbp + 0x10]
lea r8, [r14 + rax*8]
call fcn.14001f358
movaps xmm1, xmm6
lea rcx, [rbp + 0x10]
call fcn.14001f02c
movaps xmm1, xmm0
lea rcx, [rbp + 0x10]
call fcn.14001f26c
movss xmm1, dword [rbp + 0x10]
mov ecx, esi
xorps xmm1, xmmword [0x14002bfc0]
inc esi
movss xmm0, dword [rbp + 0x14]
add r15, 8
movss dword [r12 + r13 + 4], xmm1
movss dword [r12 + r13], xmm0
mov r13, rbx
add rbx, 8
cmp esi, edi
jl 0x14001fe08
movss xmm9, dword [0x14002be04]
mov rax, r12
mov rbx, qword [rbp + 0xb0]
sub rax, r14
mov r15, qword [rbp + 0x18]
mov r12d, dword [rbp + 0xc0]
mov r13d, dword [rbp]
mov rsi, qword [rbp + 0x20]
mov qword [rbp + 0x10], rax
lea r8, [rax + r14]
movsxd rax, r13d
lea rcx, [rbp + 0x20]
lea rdx, [rsi + rax*8]
call fcn.14001f3b0
mov rdx, rax
lea rcx, [rbp]
movaps xmm2, xmm9
call fcn.14001f408
movss xmm1, dword [rbp + 4]
movss xmm0, dword [rbp]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x14002bd94]
jbe 0x14001fef0
movaps xmm0, xmm6
lea rcx, [rbp]
divss xmm0, xmm1
movss xmm1, dword [0x14002bee4]
minss xmm1, xmm0
call fcn.14001f26c
movaps xmm1, xmm9
lea rcx, [rbp]
call fcn.14001f26c
lea r8, [rbp]
mov rdx, r14
lea rcx, [rbp + 0x18]
call fcn.14001f358
mov rcx, qword [rbx + 0x50]
lea r8, [rbp]
mov rdx, r14
movsd xmm0, qword [rax]
movsd qword [rcx], xmm0
mov rax, qword [rbx + 0x50]
mov ecx, dword [rbp + 0xc8]
movss dword [rax + 8], xmm7
movss dword [rax + 0xc], xmm8
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x10], ecx
lea rcx, [rbp + 0x28]
call fcn.14001f3b0
mov rcx, qword [rbx + 0x50]
lea edx, [r13*2]
lea r9d, [r15 + r15]
lea r10d, [r9 + r12]
movsd xmm0, qword [rax]
lea r11d, [r12 + 1]
movsd qword [rcx + 0x14], xmm0
lea r8d, [rdx + r11]
mov rax, qword [rbx + 0x50]
mov ecx, dword [rbp + 8]
movss dword [rax + 0x1c], xmm7
movss dword [rax + 0x20], xmm8
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x24], ecx
lea ecx, [rdx + r12]
mov rax, qword [rbx + 0x58]
add qword [rbx + 0x50], 0x28
mov dword [rax], r10d
mov rax, qword [rbx + 0x58]
mov dword [rax + 4], ecx
mov ecx, 8
mov rax, qword [rbx + 0x58]
mov dword [rcx + rax], r8d
add rcx, 4
cmp rcx, 0x10
jl 0x14001ffa0
mov rax, qword [rbx + 0x58]
lea ecx, [r9 + r11]
mov r13d, r15d
add r14, 8
inc r15d
mov dword [rax + 0x10], ecx
mov rax, qword [rbx + 0x58]
mov dword [rax + 0x14], r10d
add qword [rbx + 0x58], 0x18
mov rax, qword [rbp + 0x10]
cmp r15d, edi
jl 0x14001fe91
mov eax, dword [rbp + 0xc]
add dword [rbx + 0x48], eax
jmp 0x140020062
lea eax, [rdi - 2]
mov r8d, edi
lea edx, [rax + rax*2]
call fcn.1400188ec
mov rcx, rdi
test edi, edi
je 0x140020031
mov rax, qword [rbx + 0x50]
movsd xmm0, qword [r14]
lea r14, [r14 + 8]
movsd qword [rax], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 8], xmm7
movss dword [rax + 0xc], xmm8
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x10], r12d
add qword [rbx + 0x50], 0x14
sub rcx, 1
jne 0x14001fffe
mov rcx, qword [rbx + 0x58]
mov eax, dword [rbx + 0x48]
mov dword [rcx], eax
mov rax, qword [rbx + 0x58]
mov ecx, dword [rbx + 0x48]
dec ecx
add ecx, esi
mov dword [rax + 4], ecx
mov rax, qword [rbx + 0x58]
mov ecx, dword [rbx + 0x48]
add ecx, esi
inc esi
mov dword [rax + 8], ecx
add qword [rbx + 0x58], 0xc
cmp esi, edi
jl 0x140020031
add dword [rbx + 0x48], edi
mov rbx, qword [rbp + 0xb8]
movaps xmm6, xmmword [rbp + 0x60]
movaps xmm7, xmmword [rbp + 0x50]
movaps xmm8, xmmword [rbp + 0x40]
movaps xmm9, xmmword [rbp + 0x30]
lea rsp, [rbp + 0x70]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret