Function at 0x140314260
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], r8
push rbx
push rdi
sub rsp, 0x88
mov rax, qword [rcx]
mov rdi, rdx
mov rbx, rcx
cmp dword [rax + 4], 0
je 0x140314782
movsxd rax, dword [rax]
mov r10d, 1
mov r8, qword [rcx + 8]
mov qword [r11 - 0x18], rsi
movaps xmmword [rsp + 0x50], xmm6
movss xmm0, dword [rdx + rax*8]
addss xmm0, dword [rdx]
mov qword [rsp + 0xa0], rax
movaps xmmword [rsp + 0x40], xmm7
movaps xmmword [r11 - 0x68], xmm8
movss xmm8, dword [0x140397840]
movss dword [r8], xmm0
movss xmm1, dword [rdx]
subss xmm1, dword [rdx + rax*8]
mov rcx, qword [rcx + 8]
movaps xmmword [r11 - 0x78], xmm9
mov r11, rax
movss xmm9, dword [0x14036ef84]
cdq
sub eax, edx
sar eax, 1
movsxd rsi, eax
movss dword [rcx + 4], xmm1
cmp rsi, 4
jl 0x140314679
mov qword [rsp + 0xa8], rbp
mov rbp, 0xfffffffffffffff8
mov qword [rsp + 0x78], r12
sub rbp, rdi
mov qword [rsp + 0x70], r13
mov r12d, 4
mov qword [rsp + 0x68], r14
lea r13, [r11*8 - 8]
mov qword [rsp + 0x60], r15
lea r11, [rsi - 3]
mov r15, 0xfffffffffffffffc
mov r14, 0xfffffffffffffff0
sub r15, rdi
sub r14, rdi
sub r12, rdi
nop word [rax + rax]
mov rax, qword [rbx + 0x10]
lea r9, [rdi - 8]
add r9, r13
lea r8, [rdi + 0x14]
movss xmm7, dword [r8 + r10*8 - 0x14]
lea r8, [r8 + r10*8]
movss xmm4, dword [r8 - 0x10]
movaps xmm5, xmm7
movaps xmm6, xmm4
subss xmm7, dword [r9 + 8]
addss xmm5, dword [r9 + 8]
movss xmm1, dword [r9 + 0xc]
xorps xmm1, xmm8
subss xmm4, xmm1
addss xmm6, xmm1
movaps xmm3, xmm7
mulss xmm7, dword [rax + r10*8 - 4]
mulss xmm3, dword [rax + r10*8 - 8]
movaps xmm0, xmm4
mulss xmm4, dword [rax + r10*8 - 8]
mulss xmm0, dword [rax + r10*8 - 4]
mov rax, qword [rbx + 8]
addss xmm7, xmm4
subss xmm3, xmm0
movaps xmm1, xmm7
addss xmm1, xmm6
subss xmm6, xmm7
movaps xmm0, xmm3
addss xmm0, xmm5
subss xmm5, xmm3
movss dword [rax + r10*8], xmm0
mov rax, qword [rbx + 8]
movss dword [rax + r10*8 + 4], xmm1
mov rax, qword [rbx + 8]
movss dword [rax + r13], xmm5
mov rax, qword [rbx + 8]
movss dword [rax + r13 + 4], xmm6
mov rax, qword [rbx + 8]
movss xmm0, dword [rax + r13 + 4]
mulss xmm0, xmm9
movss dword [rax + r13 + 4], xmm0
movss xmm7, dword [r8 - 0xc]
mov rax, qword [rbx + 0x10]
movaps xmm5, xmm7
subss xmm7, dword [r9]
movss xmm4, dword [r8 - 8]
movss xmm1, dword [r9 + 4]
movaps xmm6, xmm4
addss xmm5, dword [r9]
xorps xmm1, xmm8
subss xmm4, xmm1
movaps xmm3, xmm7
mulss xmm7, dword [rax + r10*8 + 4]
addss xmm6, xmm1
mulss xmm3, dword [rax + r10*8]
movaps xmm0, xmm4
mulss xmm4, dword [rax + r10*8]
mulss xmm0, dword [rax + r10*8 + 4]
mov rax, qword [rbx + 8]
addss xmm7, xmm4
subss xmm3, xmm0
movaps xmm1, xmm7
addss xmm1, xmm6
movaps xmm0, xmm3
subss xmm6, xmm7
addss xmm0, xmm5
subss xmm5, xmm3
movss dword [rax + r10*8 + 8], xmm0
mov rax, qword [rbx + 8]
movss dword [rax + r10*8 + 0xc], xmm1
mov rax, qword [rbx + 8]
movss dword [rax + r13 - 8], xmm5
mov rax, qword [rbx + 8]
movss dword [rax + r13 - 4], xmm6
mov rax, qword [rbx + 8]
movss xmm0, dword [rax + r13 - 4]
mulss xmm0, xmm9
movss dword [rax + r13 - 4], xmm0
movss xmm7, dword [r8 - 4]
movss xmm4, dword [r8]
movss xmm1, dword [r9 - 4]
mov rax, qword [rbx + 0x10]
lea rdx, [r8 + r15]
movaps xmm5, xmm7
lea rcx, [r9 + rbp]
subss xmm7, dword [r9 - 8]
addss xmm5, dword [r9 - 8]
movaps xmm6, xmm4
xorps xmm1, xmm8
subss xmm4, xmm1
addss xmm6, xmm1
movaps xmm3, xmm7
mulss xmm7, dword [rax + r10*8 + 0xc]
mulss xmm3, dword [rax + r10*8 + 8]
movaps xmm0, xmm4
mulss xmm4, dword [rax + r10*8 + 8]
mulss xmm0, dword [rax + r10*8 + 0xc]
mov rax, qword [rbx + 8]
addss xmm7, xmm4
subss xmm3, xmm0
movaps xmm1, xmm7
addss xmm1, xmm6
subss xmm6, xmm7
movaps xmm0, xmm3
addss xmm0, xmm5
subss xmm5, xmm3
movss dword [rdx + rax], xmm0
mov rax, qword [rbx + 8]
movss dword [rax + r10*8 + 0x14], xmm1
mov rax, qword [rbx + 8]
movss dword [rcx + rax], xmm5
lea rcx, [r8 + r12]
mov rax, qword [rbx + 8]
movss dword [rax + r13 - 0xc], xmm6
mov rax, qword [rbx + 8]
movss xmm0, dword [rax + r13 - 0xc]
mulss xmm0, xmm9
movss dword [rax + r13 - 0xc], xmm0
mov rax, qword [rbx + 0x10]
movss xmm3, dword [r8 + 4]
movss xmm5, dword [r8 + 8]
movaps xmm6, xmm3
subss xmm3, dword [r9 - 0x10]
movss xmm4, dword [rax + r10*8 + 0x14]
movaps xmm7, xmm5
addss xmm6, dword [r9 - 0x10]
movss xmm1, dword [r9 - 0xc]
movaps xmm0, xmm4
xorps xmm1, xmm8
subss xmm5, xmm1
mulss xmm4, xmm3
movaps xmm2, xmm3
addss xmm7, xmm1
mulss xmm2, dword [rax + rdx]
mulss xmm0, xmm5
mulss xmm5, dword [rax + rdx]
mov rax, qword [rbx + 8]
subss xmm2, xmm0
addss xmm4, xmm5
movaps xmm0, xmm2
addss xmm0, xmm6
subss xmm6, xmm2
movss dword [rcx + rax], xmm0
movaps xmm0, xmm4
mov rax, qword [rbx + 8]
addss xmm0, xmm7
lea rcx, [r9 + r14]
subss xmm7, xmm4
movss dword [rax + r10*8 + 0x1c], xmm0
add r10, 4
mov rax, qword [rbx + 8]
movss dword [rcx + rax], xmm6
mov rax, qword [rbx + 8]
movss dword [rax + r13 - 0x14], xmm7
mov rax, qword [rbx + 8]
movss xmm0, dword [rax + r13 - 0x14]
mulss xmm0, xmm9
movss dword [rax + r13 - 0x14], xmm0
sub r13, 0x20
cmp r10, r11
jle 0x140314350
mov r15, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
mov r13, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
mov rbp, qword [rsp + 0xa8]
mov r11, qword [rsp + 0xa0]
cmp r10, rsi
jle 0x140314682
jmp 0x140314750
cmp rsi, r10
jl 0x140314750
sub r11, r10
shl r11, 3
movss xmm7, dword [rdi + r10*8]
mov rax, qword [rbx + 0x10]
movaps xmm5, xmm7
subss xmm7, dword [r11 + rdi]
movss xmm4, dword [rdi + r10*8 + 4]
movss xmm1, dword [r11 + rdi + 4]
movaps xmm6, xmm4
addss xmm5, dword [r11 + rdi]
xorps xmm1, xmm8
subss xmm4, xmm1
movaps xmm3, xmm7
mulss xmm7, dword [rax + r10*8 - 4]
addss xmm6, xmm1
mulss xmm3, dword [rax + r10*8 - 8]
movaps xmm0, xmm4
mulss xmm4, dword [rax + r10*8 - 8]
mulss xmm0, dword [rax + r10*8 - 4]
mov rax, qword [rbx + 8]
addss xmm7, xmm4
subss xmm3, xmm0
movaps xmm0, xmm5
movaps xmm1, xmm7
addss xmm1, xmm6
addss xmm0, xmm3
subss xmm5, xmm3
subss xmm6, xmm7
movss dword [rax + r10*8], xmm0
mov rax, qword [rbx + 8]
movss dword [rax + r10*8 + 4], xmm1
inc r10
mov rax, qword [rbx + 8]
movss dword [r11 + rax], xmm5
mov rax, qword [rbx + 8]
movss dword [r11 + rax + 4], xmm6
mov rax, qword [rbx + 8]
movss xmm0, dword [r11 + rax + 4]
mulss xmm0, xmm9
movss dword [r11 + rax + 4], xmm0
sub r11, 8
cmp r10, rsi
jle 0x140314689
mov r8, qword [rsp + 0xb0]
mov rdx, qword [rbx + 8]
mov rcx, qword [rbx]
call fcn.1403155f0
movaps xmm9, xmmword [rsp + 0x20]
movaps xmm8, xmmword [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x40]
movaps xmm6, xmmword [rsp + 0x50]
mov rsi, qword [rsp + 0x80]
add rsp, 0x88
pop rdi
pop rbx
ret