Function at 0x1402fa5b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x30
mov eax, dword [rcx]
mov r12, r8
movaps xmmword [rsp + 0x20], xmm6
movss xmm6, dword [0x1403392e0]
mov r8d, eax
mov r10, rdx
sar r8d, 1
sar eax, 2
mov rsi, rcx
movsxd r13, eax
movsxd rbp, r8d
lea rax, [r13 + rbp]
lea r9, [rdx + rbp*4 - 0x1c]
lea rbx, [r12 + rax*4]
mov rax, qword [rcx + 8]
lea rcx, [rax + r13*4]
mov rdx, rbx
nop dword [rax + rax]
movss xmm1, dword [r9 + 8]
movss xmm0, dword [r9]
sub rdx, 0x10
sub r9, 0x20
add rcx, 0x10
mulss xmm1, dword [rcx - 4]
mulss xmm0, dword [rcx - 8]
xorps xmm1, xmm6
subss xmm1, xmm0
movss dword [rdx], xmm1
movss xmm1, dword [r9 + 0x20]
movss xmm0, dword [r9 + 0x28]
mulss xmm1, dword [rcx - 4]
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 - 0xc]
mulss xmm0, dword [rcx - 0x10]
xorps xmm1, xmm6
subss xmm1, xmm0
movss dword [rdx + 8], xmm1
movss xmm1, dword [rcx - 0xc]
movss xmm0, dword [r9 + 0x38]
mulss xmm1, dword [r9 + 0x30]
mulss xmm0, dword [rcx - 0x10]
subss xmm1, xmm0
movss dword [rdx + 0xc], xmm1
cmp r9, r10
jae 0x1402fa610
mov rax, qword [rsi + 8]
lea rcx, [r10 + rbp*4 - 0x20]
mov r9, rbx
lea rdx, [rax + r13*4]
nop word [rax + rax]
movss xmm1, dword [rdx - 8]
movss xmm0, dword [rdx - 4]
sub rdx, 0x10
sub rcx, 0x20
add r9, 0x10
mulss xmm0, dword [rcx + 0x30]
mulss xmm1, dword [rcx + 0x38]
addss xmm1, xmm0
movss dword [r9 - 0x10], xmm1
movss xmm2, dword [rdx + 8]
movss xmm0, dword [rdx + 0xc]
mulss xmm0, dword [rcx + 0x38]
mulss xmm2, dword [rcx + 0x30]
subss xmm2, xmm0
movss dword [r9 - 0xc], xmm2
movss xmm1, dword [rcx + 0x20]
movss xmm0, dword [rcx + 0x28]
mulss xmm0, dword [rdx]
mulss xmm1, dword [rdx + 4]
addss xmm1, xmm0
movss dword [r9 - 8], xmm1
movss xmm2, dword [rcx + 0x20]
movss xmm0, dword [rcx + 0x28]
mulss xmm2, dword [rdx]
mulss xmm0, dword [rdx + 4]
subss xmm2, xmm0
movss dword [r9 - 4], xmm2
cmp rcx, r10
jae 0x1402fa6c0
lea rdi, [r12 + rbp*4]
mov rcx, rsi
mov rdx, rdi
call fcn.1402fa0c0
mov rdx, r12
mov rcx, rsi
call fcn.1402f92a0
mov rax, qword [rsi + 8]
mov r11, rbx
mov r8, rbx
lea rcx, [r12 + 0xc]
lea rdx, [rax + rbp*4]
nop dword [rax + rax]
movss xmm1, dword [rdx + 4]
movss xmm0, dword [rcx - 8]
sub r11, 0x10
add rcx, 0x20
add r8, 0x10
add rdx, 0x20
lea rax, [rcx - 0xc]
mulss xmm0, dword [rdx - 0x20]
mulss xmm1, dword [rcx - 0x2c]
subss xmm1, xmm0
movss dword [r11 + 0xc], xmm1
movss xmm2, dword [rcx - 0x2c]
movss xmm0, dword [rcx - 0x28]
mulss xmm2, dword [rdx - 0x20]
mulss xmm0, dword [rdx - 0x1c]
addss xmm2, xmm0
xorps xmm2, xmm6
movss dword [r8 - 0x10], xmm2
movss xmm1, dword [rdx - 0x14]
movss xmm0, dword [rcx - 0x20]
mulss xmm0, dword [rdx - 0x18]
mulss xmm1, dword [rcx - 0x24]
subss xmm1, xmm0
movss dword [r11 + 8], xmm1
movss xmm2, dword [rcx - 0x20]
movss xmm0, dword [rdx - 0x18]
mulss xmm2, dword [rdx - 0x14]
mulss xmm0, dword [rcx - 0x24]
addss xmm2, xmm0
xorps xmm2, xmm6
movss dword [r8 - 0xc], xmm2
movss xmm1, dword [rcx - 0x1c]
movss xmm0, dword [rdx - 0x10]
mulss xmm0, dword [rcx - 0x18]
mulss xmm1, dword [rdx - 0xc]
subss xmm1, xmm0
movss dword [r11 + 4], xmm1
movss xmm2, dword [rcx - 0x18]
movss xmm0, dword [rdx - 0x10]
mulss xmm2, dword [rdx - 0xc]
mulss xmm0, dword [rcx - 0x1c]
addss xmm2, xmm0
xorps xmm2, xmm6
movss dword [r8 - 8], xmm2
movss xmm1, dword [rcx - 0x14]
movss xmm0, dword [rdx - 8]
mulss xmm0, dword [rcx - 0x10]
mulss xmm1, dword [rdx - 4]
subss xmm1, xmm0
movss dword [r11], xmm1
movss xmm2, dword [rdx - 8]
movss xmm0, dword [rcx - 0x10]
mulss xmm2, dword [rcx - 0x14]
mulss xmm0, dword [rdx - 4]
addss xmm2, xmm0
xorps xmm2, xmm6
movss dword [r8 - 4], xmm2
cmp rax, r11
jb 0x1402fa780
mov eax, 2
mov rcx, rbx
lea rdx, [r12 + r13*4 + 8]
sub rax, rbp
lea r8, [rbx + rax*4]
nop dword [rax]
movss xmm0, dword [rcx - 4]
sub rcx, 0x10
sub r8, 0x10
movss dword [r8 + 4], xmm0
add rdx, 0x10
xorps xmm0, xmm6
lea rax, [rdx - 8]
movss dword [rdx - 0x18], xmm0
movss xmm1, dword [rcx + 8]
movss dword [r8], xmm1
xorps xmm1, xmm6
movss dword [rdx - 0x14], xmm1
movss xmm0, dword [rcx + 4]
movss dword [r8 - 4], xmm0
xorps xmm0, xmm6
movss dword [rdx - 0x10], xmm0
movss xmm1, dword [rcx]
movss dword [r8 - 8], xmm1
xorps xmm1, xmm6
movss dword [rdx - 0xc], xmm1
cmp rax, rcx
jb 0x1402fa8b0
mov rcx, rbx
nop word [rax + rax]
mov eax, dword [rbx + 0xc]
sub rcx, 0x10
add rbx, 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, rdi
ja 0x1402fa920
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x30
pop r13
pop r12
pop rdi
ret