Function at 0x14005f50c
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
movaps xmmword [rax - 0x28], xmm6
mov eax, dword [rcx]
movss xmm6, dword [0x140161cf0]
mov r14, r8
mov r8d, eax
lea r9, [rdx - 0x1c]
sar r8d, 1
sar eax, 2
mov r10, rdx
movsxd r15, eax
movsxd rdi, r8d
mov rsi, rcx
lea rax, [r15 + rdi]
lea r9, [r9 + rdi*4]
lea rbx, [r14 + rax*4]
mov rax, qword [rcx + 8]
lea rcx, [rax + r15*4]
mov rdx, rbx
movss xmm1, dword [r9 + 8]
movss xmm0, dword [r9]
sub rdx, 0x10
mulss xmm1, dword [rcx + 0xc]
mulss xmm0, dword [rcx + 8]
xorps xmm1, xmm6
subss xmm1, xmm0
movss dword [rdx], xmm1
movss xmm1, dword [r9]
movss xmm0, dword [r9 + 8]
sub r9, 0x20
mulss xmm1, dword [rcx + 0xc]
mulss xmm0, dword [rcx + 8]
subss xmm1, xmm0
movss dword [rdx + 4], xmm1
movss xmm1, dword [r9 + 0x38]
movss xmm0, dword [r9 + 0x30]
mulss xmm1, dword [rcx + 4]
mulss xmm0, dword [rcx]
xorps xmm1, xmm6
subss xmm1, xmm0
movss dword [rdx + 8], xmm1
movss xmm1, dword [rcx + 4]
movss xmm0, dword [r9 + 0x38]
mulss xmm1, dword [r9 + 0x30]
mulss xmm0, dword [rcx]
add rcx, 0x10
subss xmm1, xmm0
movss dword [rdx + 0xc], xmm1
cmp r9, r10
jae 0x14005f565
mov rax, qword [rsi + 8]
lea rcx, [r10 - 0x20]
mov r9, rbx
lea rdx, [rax + r15*4]
lea rcx, [rcx + rdi*4]
movss xmm1, dword [rdx - 8]
movss xmm0, dword [rdx - 4]
sub rdx, 0x10
mulss xmm0, dword [rcx + 0x10]
mulss xmm1, dword [rcx + 0x18]
addss xmm1, xmm0
movss dword [r9], xmm1
movss xmm2, dword [rdx + 8]
movss xmm0, dword [rdx + 0xc]
add r9, 0x10
mulss xmm0, dword [rcx + 0x18]
mulss xmm2, dword [rcx + 0x10]
subss xmm2, xmm0
movss dword [r9 - 0xc], xmm2
movss xmm0, dword [rcx + 8]
movss xmm1, dword [rcx]
mulss xmm0, dword [rdx]
mulss xmm1, dword [rdx + 4]
addss xmm1, xmm0
movss dword [r9 - 8], xmm1
movss xmm2, dword [rcx]
movss xmm0, dword [rcx + 8]
sub rcx, 0x20
mulss xmm2, dword [rdx]
mulss xmm0, dword [rdx + 4]
subss xmm2, xmm0
movss dword [r9 - 4], xmm2
cmp rcx, r10
jae 0x14005f60a
lea rbp, [r14 + rdi*4]
mov rcx, rsi
mov rdx, rbp
call fcn.14005fa38
mov rdx, r14
mov rcx, rsi
call fcn.14005f8a0
mov rax, qword [rsi + 8]
mov r9, rbx
lea rdx, [r14 + 0xc]
lea r10, [rbx + 8]
lea r8, [rax + rdi*4]
movss xmm1, dword [rdx - 0xc]
movss xmm0, dword [r8]
sub r10, 0x10
lea rcx, [r10 - 8]
mulss xmm0, dword [rdx - 8]
mulss xmm1, dword [r8 + 4]
subss xmm1, xmm0
movss dword [r10 + 4], xmm1
movss xmm2, dword [r8 + 4]
movss xmm0, dword [rdx - 0xc]
mulss xmm2, dword [rdx - 8]
mulss xmm0, dword [r8]
add r8, 0x20
addss xmm2, xmm0
xorps xmm2, xmm6
movss dword [r9], xmm2
movss xmm1, dword [rdx - 4]
movss xmm0, dword [r8 - 0x18]
add r9, 0x10
mulss xmm0, dword [rdx]
mulss xmm1, dword [r8 - 0x14]
subss xmm1, xmm0
movss dword [r10], xmm1
movss xmm2, dword [rdx - 4]
movss xmm0, dword [r8 - 0x14]
mulss xmm2, dword [r8 - 0x18]
mulss xmm0, dword [rdx]
add rdx, 0x20
addss xmm2, xmm0
lea rax, [rdx - 0xc]
xorps xmm2, xmm6
movss dword [r9 - 0xc], xmm2
movss xmm1, dword [rdx - 0x1c]
movss xmm0, dword [rdx - 0x18]
mulss xmm0, dword [r8 - 0x10]
mulss xmm1, dword [r8 - 0xc]
subss xmm1, xmm0
movss dword [r10 - 4], xmm1
movss xmm2, dword [rdx - 0x18]
movss xmm0, dword [rdx - 0x1c]
mulss xmm2, dword [r8 - 0xc]
mulss xmm0, dword [r8 - 0x10]
addss xmm2, xmm0
xorps xmm2, xmm6
movss dword [r9 - 8], xmm2
movss xmm0, dword [rdx - 0x10]
movss xmm1, dword [rdx - 0x14]
mulss xmm0, dword [r8 - 8]
mulss xmm1, dword [r8 - 4]
subss xmm1, xmm0
movss dword [rcx], xmm1
movss xmm2, dword [rdx - 0x10]
movss xmm0, dword [rdx - 0x14]
mulss xmm2, dword [r8 - 4]
mulss xmm0, dword [r8 - 8]
addss xmm2, xmm0
xorps xmm2, xmm6
movss dword [r9 - 4], xmm2
cmp rax, rcx
jb 0x14005f6bf
mov eax, 2
lea rdx, [r14 + 8]
mov r8, rbx
sub rax, rdi
lea rdx, [rdx + r15*4]
lea rcx, [rbx + rax*4]
lea rcx, [rcx - 0x10]
sub r8, 0x10
movss xmm0, dword [rcx + rdi*4 + 4]
movss dword [rcx + 4], xmm0
xorps xmm0, xmm6
movss dword [rdx - 8], xmm0
movss xmm1, dword [rcx + rdi*4]
movss dword [rcx], xmm1
xorps xmm1, xmm6
movss dword [rdx - 4], xmm1
movss xmm0, dword [rcx + rdi*4 - 4]
movss dword [rcx - 4], xmm0
xorps xmm0, xmm6
movss dword [rdx], xmm0
movss xmm1, dword [r8]
lea rdx, [rdx + 0x10]
movss dword [rcx - 8], xmm1
lea rax, [rdx - 8]
xorps xmm1, xmm6
movss dword [rdx - 0xc], xmm1
cmp rax, r8
jb 0x14005f7fb
lea rcx, [rbx + 8]
mov eax, dword [rcx + 4]
sub rbx, 0x10
mov dword [rbx], eax
mov eax, dword [rcx]
lea rcx, [rcx + 0x10]
mov dword [rbx + 4], eax
mov eax, dword [rcx - 0x14]
mov dword [rbx + 8], eax
mov eax, dword [rcx - 0x18]
mov dword [rbx + 0xc], eax
cmp rbx, rbp
ja 0x14005f85c
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret