Function at 0x140086970
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
sub rsp, 0xa8
movdqu xmm0, xmmword [rcx + 0x10]
mov r9d, 8
movdqu xmm1, xmmword [rcx + 0x30]
movdqu xmm5, xmmword [rcx]
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movdqa xmm4, xmm5
movdqu xmm7, xmmword [rcx + 0x20]
lea rcx, [r8 + 4]
punpckhdq xmm4, xmm0
punpckldq xmm5, xmm0
movdqa xmm2, xmm4
punpckldq xmm4, xmm5
movdqa xmm6, xmm7
punpckldq xmm7, xmm1
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
movaps xmmword [rax - 0x58], xmm10
movaps xmmword [rax - 0x68], xmm11
movaps xmmword [rax - 0x78], xmm12
movaps xmmword [rsp + 0x20], xmm13
movaps xmmword [rsp + 0x10], xmm14
movaps xmmword [rsp], xmm15
xorps xmm15, xmm15
movdqa xmm11, xmmword [0x1400c5370]
punpckhdq xmm6, xmm1
pshufhw xmm0, xmm4, 0x72
movdqa xmm3, xmm6
pshuflw xmm1, xmm0, 0x72
punpckhdq xmm2, xmm5
pshufd xmm5, xmm1, 0xd8
punpckhdq xmm3, xmm7
punpckldq xmm6, xmm7
pshufhw xmm0, xmm2, 0x72
pshuflw xmm1, xmm0, 0x72
pshufd xmm4, xmm1, 0xd8
pshufhw xmm0, xmm6, 0x72
pshuflw xmm1, xmm0, 0x72
pshufd xmm2, xmm1, 0xd8
pshufhw xmm0, xmm3, 0x72
pshuflw xmm1, xmm0, 0x72
movdqa xmm0, xmm5
pshufd xmm3, xmm1, 0xd8
movdqa xmm1, xmm4
punpcklqdq xmm1, xmm3
punpcklqdq xmm0, xmm2
movdqa xmm14, xmm1
punpckhqdq xmm5, xmm2
movdqa xmm7, xmm0
punpckhqdq xmm4, xmm3
movdqa xmm13, xmm5
movdqa xmm12, xmm4
psllw xmm14, 8
psllw xmm7, 8
psrlw xmm0, 8
psllw xmm13, 8
orps xmm7, xmm0
psrlw xmm5, 8
psrlw xmm1, 8
orps xmm13, xmm5
psllw xmm12, 8
orps xmm14, xmm1
psrlw xmm4, 8
orps xmm12, xmm4
nop word [rax + rax]
movsx eax, word [rcx - 4]
movdqa xmm4, xmm15
pcmpeqw xmm4, xmm7
movd xmm5, eax
movsx eax, word [rcx - 2]
punpcklwd xmm5, xmm5
pshufd xmm5, xmm5, 0
movdqa xmm1, xmm5
movdqa xmm3, xmm5
pmulhuw xmm1, xmm7
movdqa xmm6, xmm5
pmullw xmm3, xmm7
pcmpeqw xmm6, xmm15
movd xmm9, eax
movdqa xmm10, xmm6
movsx eax, word [rcx]
punpcklwd xmm9, xmm9
movdqa xmm0, xmm1
pshufd xmm9, xmm9, 0
psubusw xmm0, xmm3
paddw xmm9, xmm13
movdqa xmm2, xmm0
movd xmm13, eax
movsx eax, word [rcx + 2]
psubw xmm3, xmm1
psrlw xmm2, 8
movdqa xmm1, xmm4
orps xmm2, xmm0
punpcklwd xmm13, xmm13
pminub xmm2, xmm11
pshufd xmm13, xmm13, 0
paddw xmm2, xmm3
movdqa xmm0, xmm11
psubw xmm0, xmm5
andnps xmm1, xmm2
andps xmm0, xmm4
movd xmm5, eax
movsx eax, word [rcx + 4]
orps xmm1, xmm0
andnps xmm10, xmm1
punpcklwd xmm5, xmm5
pshufd xmm5, xmm5, 0
movdqa xmm0, xmm11
psubw xmm0, xmm7
movdqa xmm2, xmm5
andps xmm0, xmm6
pmulhuw xmm2, xmm12
orps xmm10, xmm0
movdqa xmm3, xmm5
pmullw xmm3, xmm12
movdqa xmm6, xmm5
pcmpeqw xmm6, xmm15
movdqa xmm4, xmm15
pcmpeqw xmm4, xmm12
paddw xmm13, xmm14
movdqa xmm0, xmm2
movdqa xmm7, xmm13
xorps xmm7, xmm10
psubusw xmm0, xmm3
psubw xmm3, xmm2
movdqa xmm1, xmm0
movdqa xmm2, xmm4
psrlw xmm1, 8
orps xmm1, xmm0
movdqa xmm0, xmm11
psubw xmm0, xmm5
pminub xmm1, xmm11
andps xmm0, xmm4
movd xmm5, eax
paddw xmm1, xmm3
punpcklwd xmm5, xmm5
andnps xmm2, xmm1
pshufd xmm5, xmm5, 0
orps xmm2, xmm0
movdqa xmm1, xmm6
movdqa xmm0, xmm11
andnps xmm1, xmm2
psubw xmm0, xmm12
movdqa xmm12, xmm1
andps xmm0, xmm6
orps xmm12, xmm0
movsx eax, word [rcx + 6]
movdqa xmm1, xmm5
pmulhuw xmm1, xmm7
movdqa xmm3, xmm5
pmullw xmm3, xmm7
movdqa xmm6, xmm5
lea rcx, [rcx + 0xc]
pcmpeqw xmm6, xmm15
movdqa xmm8, xmm6
movdqa xmm4, xmm15
pcmpeqw xmm4, xmm7
movdqa xmm14, xmm9
movdqa xmm0, xmm1
psubusw xmm0, xmm3
psubw xmm3, xmm1
movdqa xmm2, xmm0
movdqa xmm1, xmm4
psrlw xmm2, 8
orps xmm2, xmm0
movdqa xmm0, xmm11
psubw xmm0, xmm5
pminub xmm2, xmm11
movd xmm5, eax
andps xmm0, xmm4
punpcklwd xmm5, xmm5
paddw xmm2, xmm3
pshufd xmm5, xmm5, 0
andnps xmm1, xmm2
orps xmm1, xmm0
movdqa xmm0, xmm11
psubw xmm0, xmm7
andnps xmm8, xmm1
andps xmm0, xmm6
movdqa xmm7, xmm12
orps xmm8, xmm0
xorps xmm7, xmm9
paddw xmm7, xmm8
movdqa xmm1, xmm5
pmulhuw xmm1, xmm7
movdqa xmm3, xmm5
pmullw xmm3, xmm7
movdqa xmm4, xmm15
pcmpeqw xmm4, xmm7
movdqa xmm6, xmm5
pcmpeqw xmm6, xmm15
movdqa xmm0, xmm1
psubusw xmm0, xmm3
psubw xmm3, xmm1
movdqa xmm2, xmm0
movdqa xmm1, xmm4
psrlw xmm2, 8
orps xmm2, xmm0
movdqa xmm0, xmm11
pminub xmm2, xmm11
psubw xmm0, xmm5
paddw xmm2, xmm3
andps xmm0, xmm4
andnps xmm1, xmm2
movdqa xmm2, xmm6
orps xmm1, xmm0
movdqa xmm0, xmm11
psubw xmm0, xmm7
andnps xmm2, xmm1
andps xmm0, xmm6
orps xmm2, xmm0
paddw xmm8, xmm2
movdqa xmm7, xmm2
xorps xmm7, xmm10
xorps xmm12, xmm8
xorps xmm14, xmm8
xorps xmm13, xmm2
sub r9, 1
jne 0x140086ab0
movsx eax, word [r8 + 0x60]
movdqa xmm4, xmm15
pcmpeqw xmm4, xmm7
movd xmm5, eax
movsx eax, word [r8 + 0x64]
punpcklwd xmm5, xmm5
pshufd xmm5, xmm5, 0
movdqa xmm1, xmm5
movdqa xmm3, xmm5
pmulhuw xmm1, xmm7
movdqa xmm6, xmm5
pmullw xmm3, xmm7
pcmpeqw xmm6, xmm15
movdqa xmm10, xmm6
movd xmm8, eax
movsx eax, word [r8 + 0x62]
punpcklwd xmm8, xmm8
movdqa xmm0, xmm1
pshufd xmm8, xmm8, 0
psubusw xmm0, xmm3
paddw xmm8, xmm13
psubw xmm3, xmm1
movd xmm9, eax
movsx eax, word [r8 + 0x66]
movdqa xmm2, xmm0
psrlw xmm2, 8
movdqa xmm1, xmm4
orps xmm2, xmm0
punpcklwd xmm9, xmm9
pminub xmm2, xmm11
pshufd xmm9, xmm9, 0
paddw xmm2, xmm3
movdqa xmm0, xmm11
psubw xmm0, xmm5
andnps xmm1, xmm2
andps xmm0, xmm4
movd xmm5, eax
orps xmm1, xmm0
punpcklwd xmm5, xmm5
andnps xmm10, xmm1
pshufd xmm5, xmm5, 0
movdqa xmm0, xmm11
movdqa xmm1, xmm5
psubw xmm0, xmm7
pmulhuw xmm1, xmm12
andps xmm0, xmm6
movdqa xmm3, xmm5
orps xmm10, xmm0
pmullw xmm3, xmm12
movdqa xmm7, xmm10
movdqa xmm4, xmm15
pcmpeqw xmm4, xmm12
psllw xmm7, 8
movdqa xmm0, xmm1
psrlw xmm10, 8
movdqa xmm6, xmm5
paddw xmm9, xmm14
psubusw xmm0, xmm3
pcmpeqw xmm6, xmm15
psubw xmm3, xmm1
movdqa xmm2, xmm0
psrlw xmm2, 8
movdqa xmm1, xmm4
orps xmm2, xmm0
orps xmm7, xmm10
pminub xmm2, xmm11
movdqa xmm0, xmm11
paddw xmm2, xmm3
psubw xmm0, xmm5
movdqa xmm3, xmm6
psubw xmm11, xmm12
andps xmm11, xmm6
andnps xmm1, xmm2
movdqa xmm6, xmm8
andps xmm0, xmm4
orps xmm1, xmm0
psllw xmm6, 8
andnps xmm3, xmm1
psrlw xmm8, 8
orps xmm3, xmm11
orps xmm6, xmm8
movaps xmm13, xmmword [rsp + 0x20]
lea r11, [rsp + 0xa8]
movaps xmm8, xmmword [r11 - 0x38]
movdqa xmm4, xmm9
movaps xmm10, xmmword [r11 - 0x58]
movdqa xmm0, xmm7
movaps xmm11, xmmword [r11 - 0x68]
movdqa xmm2, xmm3
movaps xmm12, xmmword [r11 - 0x78]
movaps xmm14, xmmword [rsp + 0x10]
movaps xmm15, xmmword [rsp]
psllw xmm4, 8
psrlw xmm9, 8
orps xmm4, xmm9
psllw xmm2, 8
movaps xmm9, xmmword [r11 - 0x48]
punpcklqdq xmm0, xmm4
pshufd xmm0, xmm0, 0xd8
pshufhw xmm1, xmm0, 0xd8
movdqa xmm0, xmm6
pshuflw xmm5, xmm1, 0xd8
punpckhqdq xmm7, xmm4
psrlw xmm3, 8
orps xmm2, xmm3
punpcklqdq xmm0, xmm2
pshufd xmm0, xmm0, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshuflw xmm3, xmm1, 0xd8
pshufd xmm0, xmm7, 0xd8
movaps xmm7, xmmword [r11 - 0x28]
pshufhw xmm1, xmm0, 0xd8
punpckhqdq xmm6, xmm2
pshufd xmm0, xmm6, 0xd8
movaps xmm6, xmmword [r11 - 0x18]
pshuflw xmm4, xmm1, 0xd8
pshufhw xmm1, xmm0, 0xd8
movdqa xmm0, xmm5
punpckldq xmm0, xmm3
movdqu xmmword [rdx], xmm0
movdqa xmm0, xmm4
pshuflw xmm2, xmm1, 0xd8
punpckldq xmm0, xmm2
punpckhdq xmm5, xmm3
punpckhdq xmm4, xmm2
movdqu xmmword [rdx + 0x20], xmm0
movdqu xmmword [rdx + 0x10], xmm5
movdqu xmmword [rdx + 0x30], xmm4
mov rsp, r11
ret