Function at 0x140083810
Capabilities:
Encode data using xor

Disassembly:
mov r9, rcx
mov eax, r8d
test rdx, rdx
je 0x140083894
not r8d
cmp rdx, 7
ja 0x140083898
mov rcx, rdx
and ecx, 2
test dl, 4
jne 0x140083980
test rcx, rcx
je 0x140083a0a
mov eax, 0x10
xor ecx, ecx
movzx r10d, word [r9]
add r9, 2
shl r10, cl
xor r8, r10
test dl, 1
jne 0x140083a08
lea rax, [0x1400a2bd8]
movq xmm0, r8
movdqu xmm1, xmmword [rax + rdx]
pshufb xmm0, xmm1
movdqa xmm1, xmm0
movdqa xmm2, xmmword [0x1400d71a0]
pclmulqdq xmm1, xmm2, 0x10
pclmulqdq xmm1, xmm2, 0
pxor xmm1, xmm0
pextrd eax, xmm1, 2
not eax
ret
cmp rdx, 0xf
jbe 0x1400839a8
movdqu xmm4, xmmword [rcx]
movd xmm0, r8d
lea rcx, [rdx - 0x10]
pxor xmm0, xmm4
cmp rcx, 0x2f
ja 0x140083a20
movdqa xmm2, xmmword [0x1400d7180]
lea rdx, [r9 + 0x10]
cmp rcx, 0xf
jbe 0x140083912
mov rax, rdx
lea r9, [rdx + rcx]
movdqa xmm1, xmm0
movdqu xmm3, xmmword [rax]
mov r8, r9
add rax, 0x10
pclmulqdq xmm1, xmm2, 0
pclmulqdq xmm0, xmm2, 0x11
sub r8, rax
pxor xmm0, xmm1
pxor xmm0, xmm3
cmp r8, 0xf
ja 0x1400838d6
lea rax, [rcx - 0x10]
and ecx, 0xf
and rax, 0xfffffffffffffff0
lea rdx, [rdx + rax + 0x10]
test rcx, rcx
je 0x140083963
lea rax, [0x1400a2be0]
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 0x140083874
xor r8d, dword [r9]
mov eax, 0x20
add r9, 4
test rcx, rcx
je 0x140083851
mov eax, 0x30
mov ecx, 0x20
jmp 0x140083843
xor r8, qword [rcx]
mov rax, rdx
movq xmm1, r8
sub rax, 8
je 0x1400839fb
mov ecx, 8
sub rcx, rax
mov rax, qword [r9 + rdx - 8]
shl ecx, 3
shr rax, cl
pinsrq xmm1, rax, 1
lea rax, [0x1400a2bd0]
movdqu xmm0, xmmword [rax + rdx]
pshufb xmm1, xmm0
movdqa xmm0, xmm1
pclmulqdq xmm1, xmmword [0x1400d7180], 0x10
psrldq xmm0, 8
pxor xmm1, xmm0
movdqa xmm0, xmm1
jmp 0x140083874
mov ecx, eax
movzx eax, byte [r9]
shl rax, cl
xor r8, rax
jmp 0x14008385a
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 0x140083b41
lea rcx, [rdx - 0x80]
movdqa xmm2, xmmword [0x1400d7190]
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 0x140083a68
shl r8, 6
sub rcx, r8
movdqa xmm2, xmmword [0x1400d7180]
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 0x1400838c9
mov rdx, rax
jmp 0x140083aec