Function at 0x140043f80
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 [0x140081e90]
mov r8d, eax
mov r10, rdx
sar r8d, 1
sar eax, 2
mov rbp, rcx
movsxd r13, eax
movsxd rdi, r8d
lea rax, [r13 + rdi]
lea r9, [rdx + rdi*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 0x140043fe0
mov rax, qword [rbp + 8]
lea rcx, [r10 + rdi*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 0x140044090
lea rsi, [r12 + rdi*4]
mov rcx, rbp
mov rdx, rsi
call fcn.140043c50
mov rdx, r12
mov rcx, rbp
call fcn.140043db0
mov rax, qword [rbp + 8]
mov r9, rbx
lea rdx, [r12 + 0xc]
lea r10, [rbx + 8]
lea r8, [rax + rdi*4]
nop dword [rax]
movss xmm1, dword [r8 + 4]
movss xmm0, dword [rdx - 8]
sub r10, 0x10
add rdx, 0x20
add r9, 0x10
add r8, 0x20
lea rcx, [r10 - 8]
lea rax, [rdx - 0xc]
mulss xmm0, dword [r8 - 0x20]
mulss xmm1, dword [rdx - 0x2c]
subss xmm1, xmm0
movss dword [r10 + 4], xmm1
movss xmm2, dword [rdx - 0x2c]
movss xmm0, dword [rdx - 0x28]
mulss xmm2, dword [r8 - 0x20]
mulss xmm0, dword [r8 - 0x1c]
addss xmm2, xmm0
xorps xmm2, xmm6
movss dword [r9 - 0x10], xmm2
movss xmm1, dword [r8 - 0x14]
movss xmm0, dword [rdx - 0x20]
mulss xmm0, dword [r8 - 0x18]
mulss xmm1, dword [rdx - 0x24]
subss xmm1, xmm0
movss dword [r10], xmm1
movss xmm2, dword [rdx - 0x20]
movss xmm0, dword [r8 - 0x18]
mulss xmm2, dword [r8 - 0x14]
mulss xmm0, dword [rdx - 0x24]
addss xmm2, xmm0
xorps xmm2, xmm6
movss dword [r9 - 0xc], xmm2
movss xmm1, dword [rdx - 0x1c]
movss xmm0, dword [r8 - 0x10]
mulss xmm0, dword [rdx - 0x18]
mulss xmm1, dword [r8 - 0xc]
subss xmm1, xmm0
movss dword [r10 - 4], xmm1
movss xmm2, dword [rdx - 0x18]
movss xmm0, dword [r8 - 0x10]
mulss xmm2, dword [r8 - 0xc]
mulss xmm0, dword [rdx - 0x1c]
addss xmm2, xmm0
xorps xmm2, xmm6
movss dword [r9 - 8], xmm2
movss xmm1, dword [rdx - 0x14]
movss xmm0, dword [r8 - 8]
mulss xmm0, dword [rdx - 0x10]
mulss xmm1, dword [r8 - 4]
subss xmm1, xmm0
movss dword [rcx], xmm1
movss xmm2, dword [r8 - 8]
movss xmm0, dword [rdx - 0x10]
mulss xmm2, dword [rdx - 0x14]
mulss xmm0, dword [r8 - 4]
addss xmm2, xmm0
xorps xmm2, xmm6
movss dword [r9 - 4], xmm2
cmp rax, rcx
jb 0x140044150
mov eax, 2
mov r8, rbx
lea rdx, [r12 + r13*4 + 8]
sub rax, rdi
lea rcx, [rbx + rax*4]
nop
movss xmm0, dword [rcx + rdi*4 - 0xc]
sub rcx, 0x10
sub r8, 0x10
movss dword [rcx + 4], xmm0
add rdx, 0x10
xorps xmm0, xmm6
lea rax, [rdx - 8]
movss dword [rdx - 0x18], xmm0
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 0x140044290
lea rcx, [rbx + 8]
nop word [rax + rax]
mov eax, dword [rcx + 4]
sub rbx, 0x10
add 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 0x140044300
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