Function at 0x1402d3140
Capabilities:
Encode data using xor

Disassembly:
test r8d, r8d
jle 0x1402d345a
mov rax, rsp
push rbx
sub rsp, 0x110
movaps xmmword [rax - 0x18], xmm6
lea r10, [rcx + 0x1c]
movaps xmmword [rax - 0x28], xmm7
mov ebx, r8d
movss xmm7, dword [0x1403b3da8]
lea r8, [rdx + 0x18]
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
movaps xmmword [rax - 0x58], xmm10
movaps xmmword [rax - 0x68], xmm11
movss xmm11, dword [0x1403b3d98]
movaps xmmword [rax - 0x78], xmm12
movss xmm12, dword [0x1403b3da4]
movaps xmmword [rax - 0x88], xmm13
movss xmm13, dword [0x1403b3db8]
movaps xmmword [rax - 0x98], xmm14
movss xmm14, dword [0x1403b3d78]
movaps xmmword [rsp + 0x70], xmm15
movss xmm15, dword [0x1403b3d94]
nop dword [rax + rax]
movups xmm10, xmmword [r10 + 0x14]
movups xmm4, xmmword [r10 - 0x1c]
movups xmm3, xmmword [r10 + 4]
movsd xmm0, qword [r10 + 0x24]
movaps xmm8, xmm4
movups xmm6, xmmword [r10 - 0xc]
xorps xmm8, xmmword [0x140397840]
movsd qword [rsp + 0x60], xmm0
movaps xmm9, xmm8
movups xmm0, xmmword [r8 - 0x18]
movaps xmmword [rsp + 0x20], xmm4
movups xmmword [r10 - 0x1c], xmm0
movsd xmm1, qword [r8 - 8]
movsd qword [r10 - 0xc], xmm1
shufps xmm4, xmm4, 0xff
movaps xmm1, xmm4
movaps xmmword [rsp + 0x40], xmm3
shufps xmm3, xmm3, 0x55
movaps xmm2, xmm3
movaps xmmword [rsp + 0x50], xmm10
addss xmm2, xmm10
movaps xmmword [rsp + 0x30], xmm6
shufps xmm6, xmm6, 0xaa
addss xmm1, xmm6
subss xmm6, xmm4
movaps xmm0, xmm2
addss xmm8, xmm2
mulss xmm0, dword [0x14036ef74]
mulss xmm1, xmm7
subss xmm9, xmm0
movaps xmm0, xmm6
mulss xmm0, dword [0x14036ef74]
movaps xmm5, xmm9
subss xmm9, xmm1
addss xmm5, xmm1
movaps xmm1, xmm10
subss xmm1, xmm3
shufps xmm10, xmm10, 0xff
movss xmm3, dword [r8]
movaps xmm4, xmm5
mulss xmm5, xmm12
mulss xmm1, xmm7
movaps xmm7, xmm10
subss xmm7, xmm0
mulss xmm4, xmm11
addss xmm10, xmm6
movaps xmm2, xmm7
subss xmm7, xmm1
addss xmm2, xmm1
movaps xmm1, xmm3
xorps xmm10, xmmword [0x140397840]
mulss xmm3, xmm14
mulss xmm1, xmm13
movaps xmm0, xmm2
mulss xmm2, xmm11
mulss xmm0, xmm12
subss xmm5, xmm2
addss xmm4, xmm0
movss dword [r8], xmm5
movaps xmm0, xmm4
mulss xmm4, xmm13
mulss xmm0, xmm14
addss xmm4, xmm3
movaps xmm3, xmm10
mulss xmm10, xmm15
subss xmm1, xmm0
movaps xmm0, xmm8
mulss xmm0, xmm15
movss dword [r10 - 4], xmm1
movss dword [r10 + 0x10], xmm4
movss xmm4, dword [0x1403b3dac]
movss xmm2, dword [r8 + 4]
mulss xmm3, xmm4
movaps xmm1, xmm2
mulss xmm8, xmm4
addss xmm3, xmm0
mulss xmm1, xmm4
subss xmm8, xmm10
movaps xmm0, xmm3
mulss xmm0, xmm15
movss dword [r8 + 4], xmm8
subss xmm1, xmm0
mulss xmm2, xmm15
lea rdx, [r10 + 0x14]
mulss xmm3, xmm4
lea rcx, [rsp + 0x24]
movaps xmm0, xmm9
mulss xmm9, xmm13
movss dword [r10], xmm1
addss xmm3, xmm2
movaps xmm2, xmm7
mulss xmm0, xmm14
mulss xmm2, xmm13
movss dword [r10 + 0xc], xmm3
movss xmm4, dword [r8 + 8]
addss xmm2, xmm0
mulss xmm7, xmm14
movaps xmm1, xmm4
mulss xmm4, xmm11
mulss xmm1, xmm12
subss xmm9, xmm7
movaps xmm0, xmm2
mulss xmm2, xmm12
mulss xmm0, xmm11
movss dword [r8 + 8], xmm9
addss xmm4, xmm2
subss xmm1, xmm0
movss dword [r10 + 4], xmm1
movss dword [r10 + 8], xmm4
call fcn.1402d2b30
lea rdx, [r8 - 0x18]
lea rcx, [rsp + 0x28]
call fcn.1402d2b30
movss xmm7, dword [0x1403b3da8]
dec ebx
add r8, 0x24
add r10, 0x48
test ebx, ebx
jg 0x1402d31d0
movaps xmm15, xmmword [rsp + 0x70]
movaps xmm14, xmmword [rsp + 0x80]
movaps xmm13, xmmword [rsp + 0x90]
movaps xmm12, xmmword [rsp + 0xa0]
movaps xmm11, xmmword [rsp + 0xb0]
movaps xmm10, xmmword [rsp + 0xc0]
movaps xmm9, xmmword [rsp + 0xd0]
movaps xmm8, xmmword [rsp + 0xe0]
movaps xmm7, xmmword [rsp + 0xf0]
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x110
pop rbx
ret