Function at 0x140045500
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]
mov r15, r8
lea r9, [rdx - 0x1c]
movaps xmmword [rsp + 0x20], xmm6
movss xmm6, dword [0x14009b050]
mov r8d, eax
mov r10, rdx
mov r14, rcx
sar r8d, 1
sar eax, 2
movsxd r12, eax
movsxd rdi, r8d
lea rax, [r12 + rdi]
lea r9, [r9 + rdi*4]
lea rbx, [r15 + rax*4]
mov rax, qword [rcx + 8]
lea rcx, [rax + r12*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 0x140045560
mov rax, qword [r14 + 8]
lea rcx, [r10 - 0x20]
mov r9, rbx
lea rdx, [rax + r12*4]
lea rcx, [rcx + rdi*4]
nop dword [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 xmm0, dword [rcx + 0x28]
movss xmm1, dword [rcx + 0x20]
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 0x140045610
lea rsi, [r15 + rdi*4]
mov rcx, r14
mov rdx, rsi
call fcn.140045aa0
mov rdx, r15
mov rcx, r14
call fcn.1400458d0
mov rax, qword [r14 + 8]
mov r9, rbx
lea rdx, [r15 + 0xc]
lea r10, [rbx + 8]
lea r8, [rax + rdi*4]
nop dword [rax + rax]
movss xmm1, dword [rdx - 0xc]
movss xmm0, dword [r8]
sub r10, 0x10
add rdx, 0x20
add r9, 0x10
add r8, 0x20
lea rcx, [r10 - 8]
lea rax, [rdx - 0xc]
mulss xmm0, dword [rdx - 0x28]
mulss xmm1, dword [r8 - 0x1c]
subss xmm1, xmm0
movss dword [r10 + 4], xmm1
movss xmm2, dword [r8 - 0x1c]
movss xmm0, dword [rdx - 0x2c]
mulss xmm2, dword [rdx - 0x28]
mulss xmm0, dword [r8 - 0x20]
addss xmm2, xmm0
xorps xmm2, xmm6
movss dword [r9 - 0x10], xmm2
movss xmm1, dword [rdx - 0x24]
movss xmm0, dword [r8 - 0x18]
mulss xmm0, dword [rdx - 0x20]
mulss xmm1, dword [r8 - 0x14]
subss xmm1, xmm0
movss dword [r10], xmm1
movss xmm2, dword [rdx - 0x24]
movss xmm0, dword [r8 - 0x14]
mulss xmm2, dword [r8 - 0x18]
mulss xmm0, dword [rdx - 0x20]
addss xmm2, xmm0
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 0x1400456d0
mov eax, 2
lea rdx, [r15 + 8]
mov r8, rbx
sub rax, rdi
lea rdx, [rdx + r12*4]
lea rcx, [rbx + rax*4]
movss xmm0, dword [rcx + rdi*4 - 0xc]
lea rcx, [rcx - 0x10]
sub r8, 0x10
lea rdx, [rdx + 0x10]
movss dword [rcx + 4], xmm0
xorps xmm0, xmm6
movss dword [rdx - 0x18], xmm0
movss xmm1, dword [rcx + rdi*4]
lea rax, [rdx - 8]
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 0x140045810
lea rcx, [rbx + 8]
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rcx + 4]
sub rbx, 0x10
lea rcx, [rcx + 0x10]
mov dword [rbx], eax
mov eax, dword [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, rsi
ja 0x140045880
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