Function at 0x180103f20
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
sub rsp, 0xa8
movdqu xmm0, xmmword [rdx + 0x10]
lea rcx, [r9 + 4]
movdqu xmm1, xmmword [rdx + 0x30]
movaps xmmword [rax - 0x18], xmm6
movdqu xmm6, xmmword [rdx]
movaps xmmword [rax - 0x28], xmm7
movdqu xmm7, xmmword [rdx + 0x20]
mov edx, 8
movaps xmmword [rax - 0x38], xmm8
movdqa xmm4, xmm6
punpckhdq xmm4, xmm0
movdqa xmm5, xmm7
punpckldq xmm6, xmm0
movdqa xmm2, xmm4
punpckldq xmm7, xmm1
punpckhdq xmm5, xmm1
punpckldq xmm4, xmm6
movdqa xmm3, xmm5
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 xmm12, xmmword [0x180215ae0]
pshufhw xmm0, xmm4, 0x72
pshuflw xmm1, xmm0, 0x72
pshufd xmm4, xmm1, 0xd8
punpckhdq xmm2, xmm6
punpckhdq xmm3, xmm7
punpckldq xmm5, xmm7
pshufhw xmm0, xmm2, 0x72
pshuflw xmm1, xmm0, 0x72
pshufd xmm6, xmm1, 0xd8
pshufhw xmm0, xmm5, 0x72
pshuflw xmm1, xmm0, 0x72
pshufd xmm2, xmm1, 0xd8
pshufhw xmm0, xmm3, 0x72
pshuflw xmm1, xmm0, 0x72
movdqa xmm0, xmm4
pshufd xmm3, xmm1, 0xd8
movdqa xmm1, xmm6
punpcklqdq xmm1, xmm3
punpcklqdq xmm0, xmm2
movdqa xmm14, xmm1
punpckhqdq xmm4, xmm2
movdqa xmm7, xmm0
punpckhqdq xmm6, xmm3
movdqa xmm13, xmm4
movdqa xmm11, xmm6
psllw xmm14, 8
psllw xmm7, 8
psrlw xmm0, 8
psllw xmm13, 8
por xmm7, xmm0
psrlw xmm4, 8
psrlw xmm1, 8
por xmm13, xmm4
psllw xmm11, 8
por xmm14, xmm1
psrlw xmm6, 8
por xmm11, xmm6
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
por xmm2, xmm0
punpcklwd xmm13, xmm13
pminub xmm2, xmm12
pshufd xmm13, xmm13, 0
paddw xmm2, xmm3
movdqa xmm0, xmm12
psubw xmm0, xmm5
pandn xmm1, xmm2
pand xmm0, xmm4
movd xmm5, eax
movsx eax, word [rcx + 4]
por xmm1, xmm0
pandn xmm10, xmm1
punpcklwd xmm5, xmm5
pshufd xmm5, xmm5, 0
movdqa xmm0, xmm12
psubw xmm0, xmm7
movdqa xmm2, xmm5
pand xmm0, xmm6
pmulhuw xmm2, xmm11
por xmm10, xmm0
movdqa xmm3, xmm5
pmullw xmm3, xmm11
movdqa xmm6, xmm5
pcmpeqw xmm6, xmm15
movdqa xmm4, xmm15
pcmpeqw xmm4, xmm11
paddw xmm13, xmm14
movdqa xmm0, xmm2
movdqa xmm7, xmm13
pxor xmm7, xmm10
psubusw xmm0, xmm3
psubw xmm3, xmm2
movdqa xmm1, xmm0
movdqa xmm2, xmm4
psrlw xmm1, 8
por xmm1, xmm0
movdqa xmm0, xmm12
psubw xmm0, xmm5
pminub xmm1, xmm12
pand xmm0, xmm4
movd xmm5, eax
paddw xmm1, xmm3
punpcklwd xmm5, xmm5
pandn xmm2, xmm1
pshufd xmm5, xmm5, 0
por xmm2, xmm0
movdqa xmm1, xmm6
movdqa xmm0, xmm12
pandn xmm1, xmm2
psubw xmm0, xmm11
movdqa xmm11, xmm1
pand xmm0, xmm6
por xmm11, 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
por xmm2, xmm0
movdqa xmm0, xmm12
psubw xmm0, xmm5
pminub xmm2, xmm12
movd xmm5, eax
pand xmm0, xmm4
punpcklwd xmm5, xmm5
paddw xmm2, xmm3
pshufd xmm5, xmm5, 0
pandn xmm1, xmm2
por xmm1, xmm0
movdqa xmm0, xmm12
psubw xmm0, xmm7
pandn xmm8, xmm1
pand xmm0, xmm6
movdqa xmm7, xmm11
por xmm8, xmm0
pxor 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
por xmm2, xmm0
movdqa xmm0, xmm12
pminub xmm2, xmm12
psubw xmm0, xmm5
paddw xmm2, xmm3
pand xmm0, xmm4
pandn xmm1, xmm2
movdqa xmm2, xmm6
por xmm1, xmm0
movdqa xmm0, xmm12
psubw xmm0, xmm7
pandn xmm2, xmm1
pand xmm0, xmm6
por xmm2, xmm0
paddw xmm8, xmm2
movdqa xmm7, xmm2
pxor xmm7, xmm10
pxor xmm11, xmm8
pxor xmm14, xmm8
pxor xmm13, xmm2
sub rdx, 1
jne 0x180104060
movsx eax, word [r9 + 0x60]
movdqa xmm4, xmm15
pcmpeqw xmm4, xmm7
movd xmm5, eax
movsx eax, word [r9 + 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 [r9 + 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 [r9 + 0x66]
movdqa xmm2, xmm0
psrlw xmm2, 8
movdqa xmm1, xmm4
por xmm2, xmm0
punpcklwd xmm9, xmm9
pminub xmm2, xmm12
pshufd xmm9, xmm9, 0
paddw xmm2, xmm3
movdqa xmm0, xmm12
psubw xmm0, xmm5
pandn xmm1, xmm2
pand xmm0, xmm4
movd xmm5, eax
por xmm1, xmm0
punpcklwd xmm5, xmm5
pandn xmm10, xmm1
pshufd xmm5, xmm5, 0
movdqa xmm0, xmm12
movdqa xmm1, xmm5
psubw xmm0, xmm7
pmulhuw xmm1, xmm11
pand xmm0, xmm6
movdqa xmm3, xmm5
por xmm10, xmm0
pmullw xmm3, xmm11
movdqa xmm7, xmm10
movdqa xmm4, xmm15
pcmpeqw xmm4, xmm11
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
por xmm2, xmm0
por xmm7, xmm10
pminub xmm2, xmm12
movdqa xmm0, xmm12
paddw xmm2, xmm3
psubw xmm0, xmm5
movdqa xmm3, xmm6
psubw xmm12, xmm11
pand xmm12, xmm6
pandn xmm1, xmm2
movdqa xmm6, xmm8
pand xmm0, xmm4
por xmm1, xmm0
psllw xmm6, 8
pandn xmm3, xmm1
psrlw xmm8, 8
por xmm3, xmm12
por 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
por 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
por 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 [r8], xmm0
movdqa xmm0, xmm4
pshuflw xmm2, xmm1, 0xd8
punpckhdq xmm5, xmm3
movdqu xmmword [r8 + 0x10], xmm5
punpckldq xmm0, xmm2
punpckhdq xmm4, xmm2
movdqu xmmword [r8 + 0x20], xmm0
movdqu xmmword [r8 + 0x30], xmm4
mov rsp, r11
ret