Function at 0x1800ca744
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov qword [rax + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xf8
mov r10, qword [r8 + 0x38]
mov ebx, dword [rsp + 0x160]
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
movaps xmmword [rax - 0x78], xmm8
movaps xmmword [rax - 0x88], xmm9
movaps xmmword [rax - 0x98], xmm10
movaps xmmword [rax - 0xa8], xmm11
movaps xmmword [rax - 0xb8], xmm12
movaps xmmword [rsp + 0x70], xmm13
movsxd r15, r9d
mov rax, r15
movaps xmmword [rsp + 0x60], xmm14
imul rax, rdx
movaps xmmword [rsp + 0x50], xmm15
mov qword [rsp + 0x40], r10
movss xmm0, dword [r10 + rax*8]
movss dword [rsp], xmm0
movss xmm0, dword [r10 + rax*8 + 4]
add rax, rax
movss dword [rsp + 4], xmm0
movss xmm0, dword [r10 + rax*8]
movss dword [rsp + 0x150], xmm0
movss xmm0, dword [r10 + rax*8 + 4]
movss dword [rsp + 0x140], xmm0
test ebx, ebx
jle 0x1800cab46
movsxd r11, dword [rsp + 0x168]
lea eax, [r9 + r9*2]
shl r11, 3
movsxd rdi, eax
shl rdi, 3
mov qword [rsp + 0x48], r11
lea r8, [rdi + rcx]
mov r12, r8
test r9d, r9d
jle 0x1800cab39
mov rax, rdx
lea rbp, [rdx + rdx*2]
shl rax, 3
mov rsi, rdx
mov qword [rsp + 0x38], rax
mov r14, rdx
mov eax, r9d
shl rsi, 5
mov rcx, r8
shl rbp, 3
sub rcx, rdi
shl r14, 4
add rcx, 4
mov r13, r10
shl eax, 2
cdqe
mov qword [rsp + 0x28], rax
lea eax, [r9 + r9]
cdqe
mov qword [rsp + 0x30], rax
mov eax, r9d
mov r9, qword [rsp + 0x30]
mov qword [rsp + 8], rax
mov rax, r10
mov r10, qword [rsp + 0x28]
mov r11, rax
mov rdx, rax
movss xmm5, dword [rax + 4]
movss xmm3, dword [rcx + r10*8]
movss xmm1, dword [rcx + r15*8]
movss xmm4, dword [rax]
movaps xmm0, xmm1
mulss xmm0, dword [rdx + 4]
mulss xmm1, dword [rdx]
mulss xmm4, dword [r12]
movss xmm14, dword [rcx + r15*8 - 4]
movss xmm10, dword [rcx + r9*8]
movaps xmm15, xmm14
mulss xmm14, dword [rdx + 4]
mulss xmm15, dword [rdx]
movss xmm12, dword [rcx - 4]
addss xmm14, xmm1
movss xmm1, dword [rcx + r9*8 - 4]
movss xmm13, dword [rcx]
subss xmm15, xmm0
movaps xmm11, xmm1
movaps xmm0, xmm10
mulss xmm0, dword [r11 + 4]
mulss xmm1, dword [r11 + 4]
mulss xmm10, dword [r11]
mulss xmm11, dword [r11]
addss xmm10, xmm1
movss xmm1, dword [rcx + rdi]
subss xmm11, xmm0
movaps xmm0, xmm1
mulss xmm1, dword [rax]
mulss xmm0, xmm5
mulss xmm5, dword [r12]
subss xmm4, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [r13 + 4]
mulss xmm3, dword [r13]
addss xmm5, xmm1
movss xmm1, dword [rcx + r10*8 - 4]
movaps xmm6, xmm4
movaps xmm2, xmm1
addss xmm6, xmm11
mulss xmm1, dword [r13 + 4]
subss xmm11, xmm4
mulss xmm2, dword [r13]
movaps xmm7, xmm5
movss xmm4, dword [rsp + 0x150]
addss xmm7, xmm10
addss xmm3, xmm1
subss xmm2, xmm0
movaps xmm0, xmm6
subss xmm10, xmm5
movaps xmm5, xmm6
mulss xmm5, xmm4
movaps xmm1, xmm7
mulss xmm4, xmm7
movaps xmm8, xmm3
movaps xmm9, xmm2
addss xmm9, xmm15
addss xmm8, xmm14
subss xmm14, xmm3
subss xmm15, xmm2
addss xmm0, xmm9
addss xmm1, xmm8
addss xmm0, xmm12
addss xmm1, xmm13
movss dword [rcx - 4], xmm0
movaps xmm0, xmm9
movss dword [rcx], xmm1
movss xmm1, dword [rsp]
mulss xmm0, xmm1
addss xmm5, xmm0
movaps xmm0, xmm1
movss xmm1, dword [rsp + 4]
mulss xmm0, xmm8
movaps xmm3, xmm1
mulss xmm3, xmm14
addss xmm4, xmm0
movss xmm0, dword [rsp + 0x140]
mulss xmm0, xmm10
addss xmm5, xmm12
addss xmm3, xmm0
addss xmm4, xmm13
mulss xmm14, dword [rsp + 0x140]
movaps xmm2, xmm15
add rdx, qword [rsp + 0x38]
add r11, r14
mulss xmm15, dword [rsp + 0x140]
movaps xmm0, xmm11
add rax, rbp
add r13, rsi
mulss xmm0, dword [rsp + 0x140]
mulss xmm2, xmm1
movaps xmm1, xmm4
addss xmm2, xmm0
movaps xmm0, xmm5
subss xmm0, xmm3
addss xmm3, xmm5
movss xmm5, dword [rsp + 0x150]
mulss xmm9, xmm5
xorps xmm2, xmmword [0x1800f1cf0]
movss dword [rcx + r15*8 - 4], xmm0
subss xmm1, xmm2
addss xmm2, xmm4
movss xmm4, dword [rsp]
movaps xmm0, xmm4
mulss xmm6, xmm4
movss xmm4, dword [rsp + 4]
movss dword [rcx + r15*8], xmm1
movss dword [rcx + r10*8 - 4], xmm3
addss xmm9, xmm6
movss dword [rcx + r10*8], xmm2
movaps xmm3, xmm5
mulss xmm3, xmm8
movaps xmm2, xmm4
mulss xmm0, xmm7
mulss xmm2, xmm10
addss xmm9, xmm12
addss xmm3, xmm0
mulss xmm11, xmm4
subss xmm2, xmm14
subss xmm15, xmm11
addss xmm3, xmm13
movaps xmm0, xmm2
addss xmm0, xmm9
movaps xmm1, xmm15
subss xmm9, xmm2
addss xmm1, xmm3
subss xmm3, xmm15
movss dword [rcx + r9*8 - 4], xmm0
movss dword [rcx + r9*8], xmm1
movss dword [r12], xmm9
add r12, 8
movss dword [rcx + rdi], xmm3
add rcx, 8
sub qword [rsp + 8], 1
jne 0x1800ca88b
mov r10, qword [rsp + 0x40]
mov r9d, dword [rsp + 0x158]
mov rdx, qword [rsp + 0x148]
mov r11, qword [rsp + 0x48]
add r8, r11
sub rbx, 1
jne 0x1800ca81d
movaps xmm13, xmmword [rsp + 0x70]
lea r11, [rsp + 0xf8]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm9, xmmword [r11 - 0x48]
movaps xmm10, xmmword [r11 - 0x58]
movaps xmm11, xmmword [r11 - 0x68]
movaps xmm12, xmmword [r11 - 0x78]
movaps xmm14, xmmword [rsp + 0x60]
movaps xmm15, xmmword [rsp + 0x50]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret