Function at 0x14021f280
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r12
push r14
push r15
sub rsp, 0x30
mov eax, dword [rcx]
lea r9, [rdx - 0x1c]
mov r15, r8
movaps xmmword [rsp + 0x20], xmm6
movss xmm6, dword [0x140437d70]
mov r8d, eax
sar r8d, 1
mov r10, rdx
sar eax, 2
mov r14, rcx
movsxd r12, eax
movsxd rdi, r8d
lea rax, [r12 + rdi]
lea rbx, [r15 + rax*4]
mov rax, qword [rcx + 8]
lea r9, [r9 + rdi*4]
mov rdx, rbx
lea rcx, [rax + r12*4]
nop dword [rax + rax]
movss xmm1, dword [r9 + 8]
sub rdx, 0x10
mulss xmm1, dword [rcx + 0xc]
movss xmm0, dword [r9]
mulss xmm0, dword [rcx + 8]
xorps xmm1, xmm6
subss xmm1, xmm0
movss dword [rdx], xmm1
movss xmm1, dword [r9]
mulss xmm1, dword [rcx + 0xc]
movss xmm0, dword [r9 + 8]
mulss xmm0, dword [rcx + 8]
subss xmm1, xmm0
movss dword [rdx + 4], xmm1
movss xmm1, dword [r9 + 0x18]
mulss xmm1, dword [rcx + 4]
movss xmm0, dword [r9 + 0x10]
mulss xmm0, dword [rcx]
xorps xmm1, xmm6
subss xmm1, xmm0
movss dword [rdx + 8], xmm1
movss xmm1, dword [rcx + 4]
movss xmm0, dword [r9 + 0x18]
mulss xmm1, dword [r9 + 0x10]
sub r9, 0x20
mulss xmm0, dword [rcx]
add rcx, 0x10
subss xmm1, xmm0
movss dword [rdx + 0xc], xmm1
cmp r9, r10
jae 0x14021f2e0
mov rax, qword [r14 + 8]
lea rcx, [r10 - 0x20]
lea rcx, [rcx + rdi*4]
mov r9, rbx
lea rdx, [rax + r12*4]
nop word [rax + rax]
movss xmm1, dword [rcx + 0x18]
sub rdx, 0x10
movss xmm0, dword [rcx + 0x10]
mulss xmm0, dword [rdx + 0xc]
mulss xmm1, dword [rdx + 8]
addss xmm1, xmm0
movss dword [r9], xmm1
movss xmm2, dword [rcx + 0x10]
mulss xmm2, dword [rdx + 8]
movss xmm0, dword [rcx + 0x18]
mulss xmm0, dword [rdx + 0xc]
subss xmm2, xmm0
movss dword [r9 + 4], xmm2
movss xmm0, dword [rcx]
mulss xmm0, dword [rdx + 4]
movss xmm1, dword [rcx + 8]
mulss xmm1, dword [rdx]
addss xmm1, xmm0
movss dword [r9 + 8], xmm1
movss xmm2, dword [rcx]
movss xmm0, dword [rdx + 4]
mulss xmm0, dword [rcx + 8]
sub rcx, 0x20
mulss xmm2, dword [rdx]
subss xmm2, xmm0
movss dword [r9 + 0xc], xmm2
add r9, 0x10
cmp rcx, r10
jae 0x14021f390
lea rsi, [r15 + rdi*4]
mov rcx, r14
mov rdx, rsi
call fcn.14021f860
mov rdx, r15
mov rcx, r14
call fcn.14021f640
mov rax, qword [r14 + 8]
lea rcx, [r15 + 0xc]
mov r8, rbx
mov r9, rbx
lea rdx, [rax + rdi*4]
nop dword [rax]
nop dword [rax + rax]
movss xmm1, dword [rcx - 0xc]
sub r8, 0x10
mulss xmm1, dword [rdx + 4]
movss xmm0, dword [rcx - 8]
mulss xmm0, dword [rdx]
subss xmm1, xmm0
movss dword [r8 + 0xc], xmm1
movss xmm2, dword [rcx - 0xc]
mulss xmm2, dword [rdx]
movss xmm0, dword [rcx - 8]
mulss xmm0, dword [rdx + 4]
addss xmm2, xmm0
xorps xmm2, xmm6
movss dword [r9], xmm2
movss xmm1, dword [rcx - 4]
mulss xmm1, dword [rdx + 0xc]
movss xmm0, dword [rcx]
mulss xmm0, dword [rdx + 8]
subss xmm1, xmm0
movss dword [r8 + 8], xmm1
movss xmm2, dword [rcx - 4]
mulss xmm2, dword [rdx + 8]
movss xmm0, dword [rcx]
mulss xmm0, dword [rdx + 0xc]
addss xmm2, xmm0
xorps xmm2, xmm6
movss dword [r9 + 4], xmm2
movss xmm1, dword [rdx + 0x14]
mulss xmm1, dword [rcx + 4]
movss xmm0, dword [rcx + 8]
mulss xmm0, dword [rdx + 0x10]
subss xmm1, xmm0
movss dword [r8 + 4], xmm1
movss xmm2, dword [rdx + 0x14]
mulss xmm2, dword [rcx + 8]
movss xmm0, dword [rcx + 4]
mulss xmm0, dword [rdx + 0x10]
addss xmm2, xmm0
xorps xmm2, xmm6
movss dword [r9 + 8], xmm2
movss xmm0, dword [rcx + 0x10]
mulss xmm0, dword [rdx + 0x18]
movss xmm1, dword [rcx + 0xc]
mulss xmm1, dword [rdx + 0x1c]
subss xmm1, xmm0
movss dword [r8], xmm1
movss xmm2, dword [rcx + 0x10]
mulss xmm2, dword [rdx + 0x1c]
movss xmm0, dword [rcx + 0xc]
add rcx, 0x20
mulss xmm0, dword [rdx + 0x18]
add rdx, 0x20
lea rax, [rcx - 0xc]
addss xmm2, xmm0
xorps xmm2, xmm6
movss dword [r9 + 0xc], xmm2
add r9, 0x10
cmp rax, r8
jb 0x14021f450
mov eax, 2
lea rdx, [r15 + 8]
sub rax, rdi
lea rdx, [rdx + r12*4]
mov r8, rbx
lea rcx, [rbx + rax*4]
nop word [rax + rax]
movss xmm0, dword [rcx + rdi*4 - 0xc]
lea rcx, [rcx - 0x10]
movss dword [rcx + 4], xmm0
lea rdx, [rdx + 0x10]
xorps xmm0, xmm6
lea rax, [rdx - 8]
movss dword [rdx - 0x18], xmm0
sub r8, 0x10
movss xmm1, dword [rcx + rdi*4]
movss dword [rcx], xmm1
xorps xmm1, xmm6
movss dword [rdx - 0x14], xmm1
movss xmm0, dword [rcx + rdi*4 - 4]
movss dword [rcx - 4], xmm0
xorps xmm0, xmm6
movss dword [rdx - 0x10], xmm0
movss xmm1, dword [r8]
movss dword [rcx - 8], xmm1
xorps xmm1, xmm6
movss dword [rdx - 0xc], xmm1
cmp rax, r8
jb 0x14021f580
mov rcx, rbx
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rbx + 0xc]
lea rbx, [rbx + 0x10]
sub rcx, 0x10
mov dword [rcx], eax
mov eax, dword [rbx - 8]
mov dword [rcx + 4], eax
mov eax, dword [rbx - 0xc]
mov dword [rcx + 8], eax
mov eax, dword [rbx - 0x10]
mov dword [rcx + 0xc], eax
cmp rcx, rsi
ja 0x14021f5f0
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x30
pop r15
pop r14
pop r12
ret