Function at 0x1800bd3b0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0x16], 0
mov rax, rcx
je 0x1800be09b
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 0x1800bd51c
movdqa xmm4, xmmword [0x18016d970]
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 0x1800bd430
cmp r9, 0x16
jae 0x1800bd54d
movabs r10, 0xff7ffefefefe7e7e
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, 0x16
jb 0x1800bd530
movzx ecx, byte [rax + 7]
lea rdx, [rax + 4]
xor byte [rax], 0x7d
not cl
xor byte [rax + 1], 0x3e
xor cl, 0x20
xor byte [rax + 2], 0x18
mov r9, r8
xor byte [rax + 3], 0x8f
xor byte [rdx], 0x3c
xor byte [rax + 5], 0x9e
xor byte [rax + 6], 0x9d
xor byte [rax + 8], 0xbd
xor byte [rax + 9], 0x1a
xor byte [rax + 0xa], 0x4c
xor byte [rax + 0xb], 0x3e
xor byte [rax + 0xc], 0x7c
xor byte [rax + 0xd], 0x3f
xor byte [rax + 0xf], 0x3f
xor byte [rax + 0x10], 0xf9
xor byte [rax + 0x11], 0xce
xor byte [rax + 0x12], 0xdc
xor byte [rax + 0x13], r11b
xor byte [rax + 0x14], 0x1c
movdqa xmm6, xmmword [0x180164be0]
mov byte [rax + 7], cl
movzx ecx, byte [rax + 0xe]
not cl
xor cl, 0x83
mov byte [rax + 0xe], cl
movzx ecx, byte [rax + 0x15]
not cl
xor cl, 0x21
mov byte [rax + 0x15], cl
cmp ebp, 5
jl 0x1800bd6dc
movdqa xmm4, xmmword [0x180169ad0]
mov r10, r11
sub r10, rax
mov rdi, rbx
sub rdi, rax
nop word [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 0x1800bd5f0
cmp r9, 0x16
jae 0x1800bd70d
movabs r10, 0x9fd9b9b99bb9b9b9
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, 0x16
jb 0x1800bd6f0
movdqu xmm0, xmmword [rax]
lea rcx, [rax + 0x10]
mov r10d, 6
movdqa xmm1, xmmword [0x18016a3b0]
mov edx, r10d
xorps xmm1, xmm0
movdqu xmmword [rax], xmm1
nop dword [rax]
xor byte [rcx], 0xbb
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x1800bd730
movdqa xmm5, xmmword [0x180164b80]
mov r9, r8
mov qword [rsp + 0x40], rsi
cmp ebp, 5
jl 0x1800bd85c
movdqa xmm4, xmmword [0x1801677f0]
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 0x1800bd770
cmp r9, 0x16
jae 0x1800bd88d
movabs rdi, 0x777f77ffff7ff777
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, 0x16
jb 0x1800bd870
xor byte [rax], 0xef
mov r9, r8
xor byte [rax + 2], 0x77
xor byte [rax + 3], 0xef
xor byte [rax + 5], 0x77
xor byte [rax + 6], 0xef
xor byte [rax + 8], 0x77
xor byte [rax + 9], 0xef
xor byte [rax + 0xb], 0x77
xor byte [rax + 0xc], 0xef
xor byte [rax + 0xe], 0x77
xor byte [rax + 0xf], 0xef
xor byte [rax + 0x11], 0x77
xor byte [rax + 0x12], 0xef
xor byte [rax + 0x14], 0x77
xor byte [rax + 0x15], 0xef
not byte [rax + 1]
not byte [rax + 4]
not byte [rax + 7]
not byte [rax + 0xa]
not byte [rax + 0xd]
not byte [rax + 0x10]
not byte [rax + 0x13]
cmp ebp, 5
jl 0x1800bd9ed
movdqa xmm4, xmmword [0x180168670]
lea rdx, [rax + 4]
mov rdi, r11
mov rsi, rbx
sub rdi, rax
sub rsi, 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 + 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
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 + rsi]
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 0x1800bd901
cmp r9, 0x16
jae 0x1800bda1d
movabs rdi, 0x7f5ffd555f7dd755
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, 0x16
jb 0x1800bda00
xor byte [rax], 0x7d
mov r9, r8
xor byte [rax + 1], 0xf1
xor byte [rax + 2], 0x84
xor byte [rax + 3], 0x93
xor byte [rax + 4], 0x56
xor byte [rax + 5], 0xe5
xor byte [rax + 6], 0x2c
xor byte [rax + 7], 0x54
xor byte [rax + 8], 0x4b
xor byte [rax + 9], 0xcb
xor byte [rax + 0xa], 0xb5
xor byte [rax + 0xb], 0xa0
xor byte [rax + 0xc], 0xc0
xor byte [rax + 0xd], 0x96
xor byte [rax + 0xe], 0xd7
xor byte [rax + 0xf], 0xad
xor byte [rax + 0x10], 0xfd
xor byte [rax + 0x11], 0x50
xor byte [rax + 0x12], 0x16
xor byte [rax + 0x13], 0x43
xor byte [rax + 0x14], 0xbc
xor byte [rax + 0x15], 0x21
cmp ebp, 5
jl 0x1800bdb8c
movdqa xmm4, xmmword [0x18016bb20]
lea rdx, [rax + 4]
mov rdi, r11
mov rsi, rbx
sub rdi, rax
sub rsi, 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 + 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
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 + rsi]
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 0x1800bdaa0
cmp r9, 0x16
jae 0x1800bdbbd
movabs rdi, 0xdf79dffffbd57955
nop word [rax + rax]
movzx ecx, r9b
mov rdx, rdi
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 0x16
jb 0x1800bdba0
movdqu xmm0, xmmword [rax]
lea rcx, [rax + 0x10]
mov rsi, qword [rsp + 0x40]
movdqa xmm1, xmmword [0x18016a990]
xorps xmm1, xmm0
movdqu xmmword [rax], xmm1
nop dword [rax]
xor byte [rcx], 0xc4
lea rcx, [rcx + 1]
sub r10, 1
jne 0x1800bdbe0
mov r9, r8
cmp ebp, 5
jl 0x1800bdcfd
movdqa xmm4, xmmword [0x180166190]
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 0x1800bdc11
cmp r9, 0x16
jae 0x1800bdd2d
movabs r10, 0x4ace5c765f7fe46d
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, 0x16
jb 0x1800bdd10
xor byte [rax], 0xec
mov r9, r8
xor byte [rax + 1], 0x3c
xor byte [rax + 2], 0xe0
xor byte [rax + 3], 0xec
xor byte [rax + 4], 0x3c
xor byte [rax + 5], 0xe0
xor byte [rax + 6], 0xec
xor byte [rax + 7], 0x3c
xor byte [rax + 8], 0xe0
xor byte [rax + 9], 0xec
xor byte [rax + 0xa], 0x3c
xor byte [rax + 0xb], 0xe0
xor byte [rax + 0xc], 0xec
xor byte [rax + 0xd], 0x3c
xor byte [rax + 0xe], 0xe0
xor byte [rax + 0xf], 0xec
xor byte [rax + 0x10], 0x3c
xor byte [rax + 0x11], 0xe0
xor byte [rax + 0x12], 0xec
xor byte [rax + 0x13], 0x3c
xor byte [rax + 0x14], 0xe0
xor byte [rax + 0x15], 0xec
cmp ebp, 5
jl 0x1800bde9c
movdqa xmm4, xmmword [0x18016b370]
lea rdx, [rax + 4]
mov r10, r11
mov rdi, rbx
sub r10, rax
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, 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 0x1800bddb0
cmp r9, 0x16
jae 0x1800bdecd
movabs r10, 0xd850b9d976175253
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, 0x16
jb 0x1800bdeb0
movzx ecx, byte [rax + 2]
xor byte [rax], 0x18
not cl
xor byte [rax + 1], 0xfa
xor cl, 0x79
xor byte [rax + 3], 0x62
xor byte [rax + 4], 0x2e
xor byte [rax + 5], 0xf0
xor byte [rax + 6], 0x65
xor byte [rax + 8], 9
xor byte [rax + 9], 0x60
xor byte [rax + 0xa], 0x5b
xor byte [rax + 0xb], 0x38
xor byte [rax + 0xd], 0xc4
xor byte [rax + 0xe], 0xdf
xor byte [rax + 0xf], 0x79
xor byte [rax + 0x10], 0x3e
xor byte [rax + 0x12], 0xf2
xor byte [rax + 0x13], 0xe
xor byte [rax + 0x14], 0x97
xor byte [rax + 0x15], 0xc8
movaps xmm7, xmmword [rsp]
mov rdi, qword [rsp + 0x20]
mov byte [rax + 2], cl
movzx ecx, byte [rax + 7]
not cl
xor cl, 0xe5
mov byte [rax + 7], cl
movzx ecx, byte [rax + 0xc]
not cl
xor cl, 0x66
mov byte [rax + 0xc], cl
movzx ecx, byte [rax + 0x11]
not cl
xor cl, 0xd6
cmp ebp, 5
mov byte [rax + 0x11], cl
mov rbp, qword [rsp + 0x38]
jl 0x1800be05c
movdqa xmm4, xmmword [0x180169060]
lea rdx, [rax + 4]
sub r11, rax
sub rbx, rax
nop dword [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 0x1800bdf70
cmp r8, 0x16
jae 0x1800be08d
movabs r9, 0x81bb7b975151ffc3
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, 0x16
jb 0x1800be070
movaps xmm6, xmmword [rsp + 0x10]
mov rbx, qword [rsp + 0x30]
mov byte [rax + 0x16], 0
add rsp, 0x28
ret