Function at 0x140083c50
Capabilities:
Encode data using xor

Disassembly:
mov r9, rcx
mov rax, r8
test rdx, rdx
je 0x140083ceb
not r8
cmp rdx, 7
ja 0x140083cf0
mov rcx, rdx
and ecx, 2
test dl, 4
jne 0x140083de0
test rcx, rcx
je 0x140083e72
mov eax, 0x10
xor ecx, ecx
movzx r10d, word [r9]
add r9, 2
shl r10, cl
xor r8, r10
test dl, 1
jne 0x140083e70
lea rax, [0x1400a2c18]
movq xmm0, r8
movdqu xmm1, xmmword [rax + rdx]
pshufb xmm0, xmm1
movdqa xmm1, xmm0
movdqa xmm2, xmmword [0x1400d91e0]
pclmulqdq xmm1, xmm2, 0x10
movdqa xmm3, xmm1
pclmulqdq xmm1, xmm2, 0
pslldq xmm3, 8
pxor xmm1, xmm3
pxor xmm1, xmm0
pextrq rax, xmm1, 1
not rax
ret
cmp rdx, 0xf
jbe 0x140083e10
movdqu xmm5, xmmword [rcx]
movq xmm0, r8
lea rcx, [rdx - 0x10]
pxor xmm0, xmm5
cmp rcx, 0x2f
ja 0x140083e88
movdqa xmm2, xmmword [0x1400d91c0]
lea rdx, [r9 + 0x10]
cmp rcx, 0xf
jbe 0x140083d6a
mov rax, rdx
lea r9, [rdx + rcx]
movdqa xmm1, xmm0
movdqu xmm4, xmmword [rax]
mov r8, r9
add rax, 0x10
pclmulqdq xmm1, xmm2, 0
pclmulqdq xmm0, xmm2, 0x11
sub r8, rax
pxor xmm0, xmm1
pxor xmm0, xmm4
cmp r8, 0xf
ja 0x140083d2e
lea rax, [rcx - 0x10]
and ecx, 0xf
and rax, 0xfffffffffffffff0
lea rdx, [rdx + rax + 0x10]
test rcx, rcx
je 0x140083dbb
lea rax, [0x1400a2c20]
movdqa xmm4, xmm0
movdqu xmm1, xmmword [rax + rcx]
movdqu xmm5, xmmword [rax + rcx - 0x20]
pshufb xmm4, xmm1
movdqu xmm1, xmmword [rax + rcx - 0x10]
pshufb xmm0, xmm1
movdqu xmm1, xmmword [rdx + rcx - 0x10]
movdqa xmm3, xmm0
pclmulqdq xmm0, xmm2, 0x11
pclmulqdq xmm3, xmm2, 0
pand xmm1, xmm5
por xmm1, xmm4
pxor xmm0, xmm3
pxor xmm0, xmm1
movdqa xmm1, xmm0
pclmulqdq xmm0, xmm2, 0x10
psrldq xmm1, 8
pxor xmm0, xmm1
movdqa xmm1, xmm0
jmp 0x140083cbc
mov eax, dword [r9]
add r9, 4
xor r8, rax
mov eax, 0x20
test rcx, rcx
je 0x140083c99
mov eax, 0x30
mov ecx, 0x20
jmp 0x140083c8b
xor r8, qword [rcx]
mov rax, rdx
movq xmm1, r8
sub rax, 8
je 0x140083e63
mov ecx, 8
sub rcx, rax
mov rax, qword [r9 + rdx - 8]
shl ecx, 3
shr rax, cl
pinsrq xmm1, rax, 1
lea rax, [0x1400a2c10]
movdqu xmm0, xmmword [rax + rdx]
pshufb xmm1, xmm0
movdqa xmm0, xmm1
pclmulqdq xmm1, xmmword [0x1400d91c0], 0x10
psrldq xmm0, 8
pxor xmm1, xmm0
movdqa xmm0, xmm1
jmp 0x140083cbc
mov ecx, eax
movzx eax, byte [r9]
shl rax, cl
xor r8, rax
jmp 0x140083ca2
lea rcx, [rdx - 0x40]
movdqu xmm5, xmmword [r9 + 0x10]
movdqu xmm4, xmmword [r9 + 0x20]
lea rax, [r9 + 0x40]
movdqu xmm3, xmmword [r9 + 0x30]
cmp rcx, 0x3f
jbe 0x140083fa9
lea rcx, [rdx - 0x80]
movdqa xmm2, xmmword [0x1400d91d0]
mov r8, rcx
shr r8, 6
lea rdx, [r8 + 2]
shl rdx, 6
add rdx, r9
nop word [rax + rax]
movdqa xmm1, xmm0
pclmulqdq xmm0, xmm2, 0x11
add rax, 0x40
pclmulqdq xmm1, xmm2, 0
pxor xmm0, xmm1
movdqu xmm1, xmmword [rax - 0x40]
pxor xmm0, xmm1
movdqa xmm1, xmm5
pclmulqdq xmm5, xmm2, 0x11
pclmulqdq xmm1, xmm2, 0
pxor xmm1, xmm5
movdqu xmm5, xmmword [rax - 0x30]
pxor xmm5, xmm1
movdqa xmm1, xmm4
pclmulqdq xmm4, xmm2, 0x11
pclmulqdq xmm1, xmm2, 0
pxor xmm1, xmm4
movdqu xmm4, xmmword [rax - 0x20]
pxor xmm4, xmm1
movdqa xmm1, xmm3
pclmulqdq xmm3, xmm2, 0x11
pclmulqdq xmm1, xmm2, 0
pxor xmm1, xmm3
movdqu xmm3, xmmword [rax - 0x10]
pxor xmm3, xmm1
cmp rax, rdx
jne 0x140083ed0
shl r8, 6
sub rcx, r8
movdqa xmm2, xmmword [0x1400d91c0]
movdqa xmm1, xmm0
pclmulqdq xmm1, xmm2, 0
pclmulqdq xmm0, xmm2, 0x11
pxor xmm0, xmm1
pxor xmm0, xmm5
movdqa xmm1, xmm0
pclmulqdq xmm0, xmm2, 0x11
pclmulqdq xmm1, xmm2, 0
pxor xmm1, xmm0
pxor xmm1, xmm4
movdqa xmm0, xmm1
pclmulqdq xmm1, xmm2, 0x11
pclmulqdq xmm0, xmm2, 0
pxor xmm0, xmm1
pxor xmm0, xmm3
jmp 0x140083d21
mov rdx, rax
jmp 0x140083f54