Function at 0x14003beaa
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x80
movdqa xmmword [rsp + 0x70], xmm6
mov rbx, rcx
mov rax, qword [0x1400ca0f0]
xor rax, rsp
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rcx]
movdqu xmm1, xmmword [rcx + 0x10]
movdqu xmm2, xmmword [rcx + 0x20]
movdqu xmm3, xmmword [rcx + 0x30]
movaps xmmword [rsp + 0x20], xmm0
movdqa xmmword [rsp + 0x30], xmm1
movdqa xmmword [rsp + 0x50], xmm3
movdqa xmmword [rsp + 0x40], xmm2
mov ecx, dword [rsp + 0x20]
mov esi, dword [rsp + 0x24]
mov edi, dword [rsp + 0x28]
pshufd xmm4, xmmword [rsp + 0x30], 0x93
pshufd xmm5, xmmword [rsp + 0x50], 0x39
mov edx, dword [rsp + 0x2c]
mov eax, 0xfffffffe
pshufd xmm0, xmmword [rsp + 0x40], 0x39
pshufd xmm1, xmm4, 0xe5
movd xmm2, edi
movd xmm3, esi
punpckldq xmm3, xmm2
movd xmm2, edx
punpckldq xmm2, xmm1
punpcklqdq xmm2, xmm3
movd xmm1, ecx
shufps xmm1, xmm4, 0
shufps xmm1, xmm4, 0xe2
paddd xmm1, xmm2
pshufd xmm2, xmm1, 0x4e
pxor xmm2, xmm5
movdqa xmm3, xmm2
psrld xmm3, 0x10
pslld xmm2, 0x10
por xmm2, xmm3
paddd xmm0, xmm2
pshufd xmm3, xmm0, 0x4e
pxor xmm3, xmm4
movdqa xmm4, xmm3
psrld xmm4, 0x14
pslld xmm3, 0xc
por xmm3, xmm4
paddd xmm1, xmm3
pshufd xmm4, xmm1, 0x93
pshufd xmm2, xmm2, 0x39
pxor xmm2, xmm4
movdqa xmm4, xmm2
psrld xmm4, 0x18
pslld xmm2, 8
por xmm2, xmm4
pshufd xmm4, xmm2, 0x93
paddd xmm4, xmm0
pshufd xmm0, xmm3, 0x39
pshufd xmm3, xmm4, 0x93
pxor xmm3, xmm0
movdqa xmm0, xmm3
psrld xmm0, 0x19
pslld xmm3, 7
por xmm3, xmm0
paddd xmm1, xmm3
pxor xmm2, xmm1
movdqa xmm0, xmm2
psrld xmm0, 0x10
pslld xmm2, 0x10
por xmm2, xmm0
paddd xmm4, xmm2
pxor xmm3, xmm4
movdqa xmm0, xmm3
psrld xmm0, 0x14
pslld xmm3, 0xc
por xmm3, xmm0
paddd xmm1, xmm3
pxor xmm2, xmm1
movdqa xmm0, xmm2
psrld xmm0, 0x18
pslld xmm2, 8
por xmm2, xmm0
movdqa xmm0, xmm4
paddd xmm0, xmm2
pxor xmm3, xmm0
movdqa xmm4, xmm3
psrld xmm4, 0x19
pslld xmm3, 7
por xmm3, xmm4
pshufd xmm4, xmm3, 0x93
pshufd xmm5, xmm2, 0x93
movd edx, xmm1
pshufd xmm6, xmm1, 0xe5
movd ecx, xmm6
pshufd xmm6, xmm1, 0x4e
movd esi, xmm6
pshufd xmm1, xmm1, 0xe7
movd edi, xmm1
add eax, 2
cmp eax, 0x12
jb 0x14003bf1f
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x24], esi
mov dword [rsp + 0x28], edi
movdqa xmmword [rsp + 0x30], xmm3
mov dword [rsp + 0x2c], edx
pshufd xmm1, xmm2, 0x4e
movdqa xmmword [rsp + 0x50], xmm1
pshufd xmm0, xmm0, 0x93
movdqa xmmword [rsp + 0x40], xmm0
add ecx, dword [rbx]
mov dword [rsp + 0x20], ecx
mov eax, 1
mov ecx, dword [rbx + rax*4]
add dword [rsp + rax*4 + 0x20], ecx
inc rax
cmp rax, 0x10
jne 0x14003c0ab
xor eax, eax
movdqa xmm0, xmmword [0x1400a28c0]
pxor xmm1, xmm1
movdqa xmm2, xmmword [0x1400a28d0]
movdqa xmm4, xmmword [rsp + rax*4 + 0x20]
movdqa xmm5, xmm4
psrld xmm5, 8
movdqa xmm3, xmm4
psrld xmm3, 0x10
movdqa xmm6, xmm4
psrld xmm6, 0x18
pand xmm4, xmm0
pand xmm5, xmm0
packuswb xmm4, xmm5
packuswb xmm4, xmm0
punpcklbw xmm4, xmm1
pshufd xmm5, xmm4, 0xd7
pshuflw xmm5, xmm5, 0xe2
pshufhw xmm5, xmm5, 0xed
pshufd xmm4, xmm4, 0x28
pshuflw xmm4, xmm4, 0xe8
pshufhw xmm4, xmm4, 0xe7
packuswb xmm4, xmm5
pand xmm4, xmm2
pand xmm3, xmm0
packuswb xmm3, xmm6
packuswb xmm3, xmm0
punpcklbw xmm3, xmm1
pshufd xmm5, xmm3, 0xd7
pshuflw xmm5, xmm5, 0x24
pshufhw xmm5, xmm5, 0xd4
pshufd xmm3, xmm3, 0x28
pshuflw xmm3, xmm3, 0x84
pshufhw xmm3, xmm3, 0x74
packuswb xmm3, xmm5
movdqa xmm5, xmm2
pandn xmm5, xmm3
por xmm5, xmm4
movdqu xmmword [rbx + rax*4 + 0x40], xmm5
add rax, 4
cmp rax, 0x10
jne 0x14003c0d1
mov dword [rbx + 0x80], 0
lea rcx, [rsp + 0x20]
mov edx, 0x40
call fcn.140074310
inc dword [rbx + 0x30]
jne 0x14003c19f
inc dword [rbx + 0x34]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14007d5e0
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rbx
pop rdi
pop rsi
ret