Function at 0x1800dffb0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0x17], 0
mov rax, rcx
je 0x1800e0cbb
movdqa xmm2, xmmword [0x180164c10]
xor r8d, r8d
movdqa xmm3, xmmword [0x180164b70]
mov r9d, r8d
mov qword [rsp + 0x30], rbx
mov r11, 0xfffffffffffffffe
mov qword [rsp + 0x38], rbp
mov ebx, 2
mov ebp, dword [0x180182290]
movaps xmmword [rsp + 0x10], xmm6
movaps xmmword [rsp], xmm7
movdqa xmm7, xmmword [0x180164bb0]
mov qword [rsp + 0x20], rdi
cmp ebp, 5
jl 0x1800e011c
movdqa xmm4, xmmword [0x18016dfb0]
lea rdx, [rcx + 4]
mov r10, r11
mov edi, ebx
sub r10, rcx
sub rdi, rcx
nop dword [rax]
movzx ecx, word [rdx - 4]
movq xmm0, r9
punpcklqdq xmm0, xmm0
add r9, 8
paddq xmm0, xmm3
andps xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 4], cx
lea rcx, [r10 + rdx]
movq xmm0, rcx
movzx ecx, word [rdx - 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 2], cx
mov rcx, rdx
sub rcx, rax
movq xmm0, rcx
movzx ecx, word [rdx]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx], cx
lea rcx, [rdi + rdx]
movq xmm0, rcx
movzx ecx, word [rdx + 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx + 2], cx
add rdx, 8
cmp r9, 0x10
jb 0x1800e0030
cmp r9, 0x17
jae 0x1800e014d
movabs r10, 0xfffffe7e7eff7fff
nop word [rax + rax]
movzx ecx, r9b
mov rdx, r10
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 0x17
jb 0x1800e0130
movzx ecx, byte [rax + 1]
lea rdx, [rax + 4]
xor byte [rax], 0x58
not cl
xor byte [rax + 2], 0xcb
xor cl, 0xc6
xor byte [rax + 3], 0xad
mov r9, r8
xor byte [rdx], 0x3b
xor byte [rax + 5], 0xcf
xor byte [rax + 7], 0x98
xor byte [rax + 8], 0xda
xor byte [rax + 9], 0x88
xor byte [rax + 0xa], 0x4f
xor byte [rax + 0xc], 0xc
xor byte [rax + 0xd], 0x99
xor byte [rax + 0xe], 0xfb
xor byte [rax + 0xf], 0xb9
xor byte [rax + 0x11], 0x8e
xor byte [rax + 0x12], 0x19
xor byte [rax + 0x13], 0xec
xor byte [rax + 0x14], 0xda
xor byte [rax + 0x16], 0x5b
movdqa xmm6, xmmword [0x180164be0]
mov byte [rax + 1], cl
movzx ecx, byte [rax + 6]
not cl
xor cl, 6
mov byte [rax + 6], cl
movzx ecx, byte [rax + 0xb]
not cl
xor cl, 0x85
mov byte [rax + 0xb], cl
movzx ecx, byte [rax + 0x10]
not cl
xor cl, 0x15
mov byte [rax + 0x10], cl
movzx ecx, byte [rax + 0x15]
not cl
xor cl, 0xe7
mov byte [rax + 0x15], cl
cmp ebp, 5
jl 0x1800e02ec
movdqa xmm4, xmmword [0x18016a250]
mov r10, r11
sub r10, rax
mov rdi, rbx
sub rdi, rax
nop dword [rax + rax]
movzx ecx, word [rdx - 4]
movq xmm0, r9
punpcklqdq xmm0, xmm0
add r9, 8
paddq xmm0, xmm3
andps xmm0, xmm6
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 4], cx
lea rcx, [rdx + r10]
movq xmm0, rcx
movzx ecx, word [rdx - 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm6
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 2], cx
mov rcx, rdx
sub rcx, rax
movq xmm0, rcx
movzx ecx, word [rdx]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm6
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx], cx
lea rcx, [rdx + rdi]
movq xmm0, rcx
movzx ecx, word [rdx + 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm6
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx + 2], cx
add rdx, 8
cmp r9, 0x10
jb 0x1800e0200
cmp r9, 0x17
jae 0x1800e031d
movabs r10, 0xb9fb99bdbfddbdb9
nop word [rax + rax]
movzx ecx, r9b
mov rdx, r10
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 0x17
jb 0x1800e0300
movdqu xmm0, xmmword [rax]
lea rcx, [rax + 0x10]
mov r10d, 7
movdqa xmm1, xmmword [0x18016b4a0]
mov edx, r10d
xorps xmm1, xmm0
movdqu xmmword [rax], xmm1
nop dword [rax]
xor byte [rcx], 0xd9
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x1800e0340
movdqa xmm5, xmmword [0x180164b80]
mov r9, r8
mov qword [rsp + 0x40], rsi
cmp ebp, 5
jl 0x1800e046c
movdqa xmm4, xmmword [0x180168f60]
lea rdx, [rax + 4]
mov rdi, r11
mov rsi, rbx
sub rdi, rax
sub rsi, rax
nop
movzx ecx, word [rdx - 4]
movq xmm0, r9
punpcklqdq xmm0, xmm0
add r9, 8
paddq xmm0, xmm3
andps xmm0, xmm5
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 4], cx
lea rcx, [rdx + rdi]
movq xmm0, rcx
movzx ecx, word [rdx - 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm5
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 2], cx
mov rcx, rdx
sub rcx, rax
movq xmm0, rcx
movzx ecx, word [rdx]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm5
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx], cx
lea rcx, [rdx + rsi]
movq xmm0, rcx
movzx ecx, word [rdx + 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm5
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx + 2], cx
add rdx, 8
cmp r9, 0x10
jb 0x1800e0380
cmp r9, 0x17
jae 0x1800e049d
movabs rdi, 0x7fffff7f77ffff7f
nop word [rax + rax]
movzx ecx, r9b
mov rdx, rdi
and cl, 1
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 0x17
jb 0x1800e0480
xor byte [rax], 0xef
mov r9, r8
xor byte [rax + 1], 0x76
xor byte [rax + 2], 0x66
xor byte [rax + 3], 0xef
xor byte [rax + 4], 0x76
xor byte [rax + 5], 0x66
xor byte [rax + 6], 0xef
xor byte [rax + 7], 0x76
xor byte [rax + 8], 0x66
xor byte [rax + 9], 0xef
xor byte [rax + 0xa], 0x76
xor byte [rax + 0xb], 0x66
xor byte [rax + 0xc], 0xef
xor byte [rax + 0xd], 0x76
xor byte [rax + 0xe], 0x66
xor byte [rax + 0xf], 0xef
xor byte [rax + 0x10], 0x76
xor byte [rax + 0x11], 0x66
xor byte [rax + 0x12], 0xef
xor byte [rax + 0x13], 0x76
xor byte [rax + 0x14], 0x66
xor byte [rax + 0x15], 0xef
xor byte [rax + 0x16], 0x76
cmp ebp, 5
jl 0x1800e060c
movdqa xmm4, xmmword [0x18016bc70]
lea rdx, [rax + 4]
mov rdi, r11
mov rsi, rbx
sub rdi, rax
sub rsi, rax
nop dword [rax]
movzx ecx, word [rdx - 4]
movq xmm0, r9
punpcklqdq xmm0, xmm0
add r9, 8
paddq xmm0, xmm3
andps xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 4], cx
lea rcx, [rdi + rdx]
movq xmm0, rcx
movzx ecx, word [rdx - 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 2], cx
mov rcx, rdx
sub rcx, rax
movq xmm0, rcx
movzx ecx, word [rdx]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx], cx
lea rcx, [rsi + rdx]
movq xmm0, rcx
movzx ecx, word [rdx + 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx + 2], cx
add rdx, 8
cmp r9, 0x10
jb 0x1800e0520
cmp r9, 0x17
jae 0x1800e063d
movabs rdi, 0xdfdd5dddd7d7d75f
nop word [rax + rax]
movzx ecx, r9b
mov rdx, rdi
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 0x17
jb 0x1800e0620
movzx ecx, byte [rax + 5]
mov r9, r8
xor byte [rax], 0xee
not cl
xor byte [rax + 1], 0x39
xor cl, 0x58
xor byte [rax + 2], 0x38
xor byte [rax + 3], 0x7f
xor byte [rax + 4], 0x7d
xor byte [rax + 6], 0x79
xor byte [rax + 7], 0xac
xor byte [rax + 8], 0xae
xor byte [rax + 9], 0xed
xor byte [rax + 0xa], 0x3b
xor byte [rax + 0xb], 0xbd
xor byte [rax + 0xd], 0x22
xor byte [rax + 0xe], 0x31
xor byte [rax + 0xf], 0xea
xor byte [rax + 0x10], 0xa9
xor byte [rax + 0x11], 0x79
xor byte [rax + 0x12], 0x2a
xor byte [rax + 0x14], 0x2e
xor byte [rax + 0x15], 0x75
xor byte [rax + 0x16], 0x2c
mov byte [rax + 5], cl
movzx ecx, byte [rax + 0xc]
not cl
xor cl, 0xd6
mov byte [rax + 0xc], cl
movzx ecx, byte [rax + 0x13]
not cl
xor cl, 0x87
mov byte [rax + 0x13], cl
cmp ebp, 5
jl 0x1800e07cc
movdqa xmm4, xmmword [0x180165e90]
lea rdx, [rax + 4]
mov rdi, r11
mov rsi, rbx
sub rdi, rax
sub rsi, rax
nop dword [rax]
nop dword [rax + rax]
movzx ecx, word [rdx - 4]
movq xmm0, r9
punpcklqdq xmm0, xmm0
add r9, 8
paddq xmm0, xmm3
andps xmm0, xmm6
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 4], cx
lea rcx, [rdi + rdx]
movq xmm0, rcx
movzx ecx, word [rdx - 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm6
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 2], cx
mov rcx, rdx
sub rcx, rax
movq xmm0, rcx
movzx ecx, word [rdx]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm6
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx], cx
lea rcx, [rsi + rdx]
movq xmm0, rcx
movzx ecx, word [rdx + 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm6
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx + 2], cx
add rdx, 8
cmp r9, 0x10
jb 0x1800e06e0
cmp r9, 0x17
jae 0x1800e07fd
movabs rdi, 0x3ffbb519b531139b
nop word [rax + rax]
movzx ecx, r9b
mov rdx, rdi
and cl, r10b
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 0x17
jb 0x1800e07e0
movdqu xmm0, xmmword [rax]
lea rcx, [rax + 0x10]
mov rsi, qword [rsp + 0x40]
movdqa xmm1, xmmword [0x18016be40]
xorps xmm1, xmm0
movdqu xmmword [rax], xmm1
nop dword [rax]
xor byte [rcx], 0xe2
lea rcx, [rcx + 1]
sub r10, 1
jne 0x1800e0820
mov r9, r8
cmp ebp, 5
jl 0x1800e093d
movdqa xmm4, xmmword [0x18016ae10]
lea rdx, [rax + 4]
mov r10, r11
mov rdi, rbx
sub r10, rax
sub rdi, rax
movzx ecx, word [rdx - 4]
movq xmm0, r9
punpcklqdq xmm0, xmm0
add r9, 8
paddq xmm0, xmm3
andps xmm0, xmm5
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 4], cx
lea rcx, [r10 + rdx]
movq xmm0, rcx
movzx ecx, word [rdx - 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm5
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 2], cx
mov rcx, rdx
sub rcx, rax
movq xmm0, rcx
movzx ecx, word [rdx]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm5
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx], cx
lea rcx, [rdi + rdx]
movq xmm0, rcx
movzx ecx, word [rdx + 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm5
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx + 2], cx
add rdx, 8
cmp r9, 0x10
jb 0x1800e0851
cmp r9, 0x17
jae 0x1800e096d
movabs r10, 0xd251d054cee847f9
nop word [rax + rax]
movzx ecx, r9b
mov rdx, r10
and cl, 1
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 0x17
jb 0x1800e0950
xor byte [rax], r11b
mov r9, r8
xor byte [rax + 1], 0x6f
xor byte [rax + 2], r11b
xor byte [rax + 3], r11b
xor byte [rax + 4], 0x6f
xor byte [rax + 5], r11b
xor byte [rax + 6], r11b
xor byte [rax + 7], 0x6f
xor byte [rax + 8], r11b
xor byte [rax + 9], r11b
xor byte [rax + 0xa], 0x6f
xor byte [rax + 0xb], r11b
xor byte [rax + 0xc], r11b
xor byte [rax + 0xd], 0x6f
xor byte [rax + 0xe], r11b
xor byte [rax + 0xf], r11b
xor byte [rax + 0x10], 0x6f
xor byte [rax + 0x11], r11b
xor byte [rax + 0x12], r11b
xor byte [rax + 0x13], 0x6f
xor byte [rax + 0x14], r11b
xor byte [rax + 0x15], r11b
xor byte [rax + 0x16], 0x6f
cmp ebp, 5
jl 0x1800e0adc
movdqa xmm4, xmmword [0x18016a000]
lea rdx, [rax + 4]
mov r10, r11
mov rdi, rbx
sub r10, rax
sub rdi, rax
nop dword [rax]
movzx ecx, word [rdx - 4]
movq xmm0, r9
punpcklqdq xmm0, xmm0
add r9, 8
paddq xmm0, xmm3
andps xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 4], cx
lea rcx, [rdx + r10]
movq xmm0, rcx
movzx ecx, word [rdx - 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 2], cx
mov rcx, rdx
sub rcx, rax
movq xmm0, rcx
movzx ecx, word [rdx]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx], cx
lea rcx, [rdx + rdi]
movq xmm0, rcx
movzx ecx, word [rdx + 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx + 2], cx
add rdx, 8
cmp r9, 0x10
jb 0x1800e09f0
cmp r9, 0x17
jae 0x1800e0b0d
movabs r10, 0xb713ddb8d8ba5074
nop word [rax + rax]
movzx ecx, r9b
mov rdx, r10
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 0x17
jb 0x1800e0af0
xor byte [rax], 0x64
xor byte [rax + 1], 0xac
xor byte [rax + 2], 0x44
xor byte [rax + 3], 0xd3
xor byte [rax + 4], 0x7e
xor byte [rax + 5], 0xef
xor byte [rax + 6], 0xd1
xor byte [rax + 7], 0x68
xor byte [rax + 8], 0xeb
xor byte [rax + 9], 0xea
xor byte [rax + 0xa], 0x38
xor byte [rax + 0xb], 0xa3
xor byte [rax + 0xc], 0xe9
xor byte [rax + 0xd], 0xaf
xor byte [rax + 0xe], r11b
xor byte [rax + 0xf], 0xf1
xor byte [rax + 0x10], 5
xor byte [rax + 0x11], 0xf6
xor byte [rax + 0x12], 0xd7
xor byte [rax + 0x13], 0x46
xor byte [rax + 0x14], 0x8d
xor byte [rax + 0x15], 0xe0
xor byte [rax + 0x16], 0xd
movaps xmm7, xmmword [rsp]
cmp ebp, 5
mov rbp, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x20]
jl 0x1800e0c7d
movdqa xmm4, xmmword [0x18016ad40]
lea rdx, [rax + 4]
sub r11, rax
sub rbx, rax
movzx ecx, word [rdx - 4]
movq xmm0, r8
punpcklqdq xmm0, xmm0
add r8, 8
paddq xmm0, xmm3
andps xmm0, xmm6
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 4], cx
lea rcx, [rdx + r11]
movq xmm0, rcx
movzx ecx, word [rdx - 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm6
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 2], cx
mov rcx, rdx
sub rcx, rax
movq xmm0, rcx
movzx ecx, word [rdx]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm6
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx], cx
lea rcx, [rdx + rbx]
movq xmm0, rcx
movzx ecx, word [rdx + 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm6
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx + 2], cx
add rdx, 8
cmp r8, 0x10
jb 0x1800e0b91
cmp r8, 0x17
jae 0x1800e0cad
movabs r9, 0xcff1734fb9430b19
nop word [rax + rax]
movzx ecx, r8b
mov rdx, r9
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 0x17
jb 0x1800e0c90
movaps xmm6, xmmword [rsp + 0x10]
mov rbx, qword [rsp + 0x30]
mov byte [rax + 0x17], 0
add rsp, 0x28
ret