Function at 0x1800d2730
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0x12], 0
mov rax, rcx
je 0x1800d33f6
movdqa xmm2, xmmword [0x180164c10]
xor r8d, r8d
movdqa xmm3, xmmword [0x180164b70]
mov r9d, r8d
mov qword [rsp + 0x38], rsi
mov r11, 0xfffffffffffffffe
mov esi, dword [0x180182290]
mov r10d, 2
movaps xmmword [rsp + 0x10], xmm6
movaps xmmword [rsp], xmm7
movdqa xmm7, xmmword [0x180164bb0]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdi
cmp esi, 5
jl 0x1800d289c
movdqa xmm4, xmmword [0x1801687e0]
lea rdx, [rcx + 4]
mov rbx, r11
mov edi, r10d
sub rbx, rcx
sub rdi, rcx
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, [rbx + 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 0x1800d27b0
cmp r9, 0x12
jae 0x1800d28cd
movabs rbx, 0x7f7e7f7f7eff7f7f
nop word [rax + rax]
movzx ecx, r9b
mov rdx, rbx
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 0x12
jb 0x1800d28b0
movzx ecx, byte [rax + 2]
lea rdx, [rax + 4]
not cl
xor byte [rax], 0x58
xor cl, 0xb1
xor byte [rax + 1], 0x4f
xor byte [rax + 3], 0x7c
mov r9, r8
xor byte [rax + 8], 0x6e
xor byte [rax + 9], 0x2d
xor byte [rax + 0xe], 0x3a
xor byte [rax + 0x10], 0x8f
movdqa xmm6, xmmword [0x180164be0]
mov byte [rax + 2], cl
movzx ecx, byte [rdx]
not cl
xor cl, 0xc1
mov byte [rdx], cl
movzx ecx, byte [rax + 5]
not cl
xor cl, 0x64
mov byte [rax + 5], cl
movzx ecx, byte [rax + 6]
not cl
xor cl, 0x62
mov byte [rax + 6], cl
movzx ecx, byte [rax + 7]
not cl
xor cl, 0x64
mov byte [rax + 7], cl
movzx ecx, byte [rax + 0xa]
not cl
xor cl, 0xa1
mov byte [rax + 0xa], cl
movzx ecx, byte [rax + 0xb]
not cl
xor cl, 0xa0
mov byte [rax + 0xb], cl
movzx ecx, byte [rax + 0xc]
not cl
xor cl, 0xa6
mov byte [rax + 0xc], cl
movzx ecx, byte [rax + 0xd]
not cl
xor cl, 1
mov byte [rax + 0xd], cl
movzx ecx, byte [rax + 0xf]
not cl
xor cl, 0xf2
mov byte [rax + 0xf], cl
movzx ecx, byte [rax + 0x11]
not cl
xor cl, 0x60
mov byte [rax + 0x11], cl
cmp esi, 5
jl 0x1800d2a8c
movdqa xmm4, xmmword [0x1801695b0]
mov rbx, r11
sub rbx, rax
mov rdi, r10
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 + 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
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 0x1800d29a0
cmp r9, 0x12
jae 0x1800d2abd
movabs rbx, 0x99d9db99bb9dbddf
nop word [rax + rax]
movzx ecx, r9b
mov rdx, rbx
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 0x12
jb 0x1800d2aa0
movdqu xmm0, xmmword [rax]
lea rcx, [rax + 0x10]
mov rdx, r10
movdqa xmm1, xmmword [0x180169d80]
xorps xmm1, xmm0
movdqu xmmword [rax], xmm1
nop word [rax + rax]
xor byte [rcx], 0xae
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x1800d2ae0
movdqa xmm5, xmmword [0x180164b80]
mov r9, r8
cmp esi, 5
jl 0x1800d2c0c
movdqa xmm4, xmmword [0x180168740]
lea rdx, [rax + 4]
mov rbx, r11
mov rdi, r10
sub rbx, 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, 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, [rbx + 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 0x1800d2b20
cmp r9, 0x12
jae 0x1800d2c3d
movabs rbx, 0x7f77f77ff7f7f777
nop word [rax + rax]
movzx ecx, r9b
mov rdx, rbx
and cl, 1
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 0x12
jb 0x1800d2c20
xor byte [rax], r11b
mov r9, r8
xor byte [rax + 1], 0x7e
xor byte [rax + 2], 0xf7
xor byte [rax + 3], r11b
xor byte [rax + 4], 0x7e
xor byte [rax + 5], 0xf7
xor byte [rax + 6], r11b
xor byte [rax + 7], 0x7e
xor byte [rax + 8], 0xf7
xor byte [rax + 9], r11b
xor byte [rax + 0xa], 0x7e
xor byte [rax + 0xb], 0xf7
xor byte [rax + 0xc], r11b
xor byte [rax + 0xd], 0x7e
xor byte [rax + 0xe], 0xf7
xor byte [rax + 0xf], r11b
xor byte [rax + 0x10], 0x7e
xor byte [rax + 0x11], 0xf7
cmp esi, 5
jl 0x1800d2d9c
movdqa xmm4, xmmword [0x180166bb0]
lea rdx, [rax + 4]
mov rbx, r11
mov rdi, r10
sub rbx, 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, [rbx + 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 0x1800d2cb0
cmp r9, 0x12
jae 0x1800d2dcd
movabs rbx, 0x5ddf757dfdfdf7ff
nop word [rax + rax]
movzx ecx, r9b
mov rdx, rbx
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 0x12
jb 0x1800d2db0
xor byte [rax], 0xa3
mov r9, r8
xor byte [rax + 1], 0xe5
xor byte [rax + 2], 6
xor byte [rax + 3], 0x34
xor byte [rax + 4], 0x77
xor byte [rax + 5], 0x3b
xor byte [rax + 6], 0xed
xor byte [rax + 7], 7
xor byte [rax + 8], 0xfd
xor byte [rax + 9], 0x37
xor byte [rax + 0xa], 0xbf
xor byte [rax + 0xb], 0xb5
xor byte [rax + 0xc], 0xdf
xor byte [rax + 0xd], 0x79
xor byte [rax + 0xe], 0x36
xor byte [rax + 0xf], 0x7e
xor byte [rax + 0x10], 0xb5
xor byte [rax + 0x11], 0xdf
cmp esi, 5
jl 0x1800d2f2c
movdqa xmm4, xmmword [0x18016a6b0]
lea rdx, [rax + 4]
mov rbx, r11
mov rdi, r10
sub rbx, 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, 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, [rbx + 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, [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
add rdx, 8
cmp r9, 0x10
jb 0x1800d2e40
cmp r9, 0x12
jae 0x1800d2f5d
movabs rbx, 0xbdf937d7317731b1
nop word [rax + rax]
movzx ecx, r9b
mov rdx, rbx
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 0x12
jb 0x1800d2f40
movdqu xmm0, xmmword [rax]
lea rcx, [rax + 0x10]
mov rdx, r10
movdqa xmm1, xmmword [0x180169440]
xorps xmm1, xmm0
movdqu xmmword [rax], xmm1
nop word [rax + rax]
xor byte [rcx], 0x96
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x1800d2f80
mov r9, r8
cmp esi, 5
jl 0x1800d309d
movdqa xmm4, xmmword [0x18016c180]
lea rdx, [rax + 4]
mov rbx, r11
mov rdi, r10
sub rbx, 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, [rbx + 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 0x1800d2fb1
cmp r9, 0x12
jae 0x1800d30cd
movabs rbx, 0xefd8c47ddd76747b
nop word [rax + rax]
movzx ecx, r9b
mov rdx, rbx
and cl, 1
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 0x12
jb 0x1800d30b0
xor byte [rax], 0xba
mov r9, r8
xor byte [rax + 1], 0x7f
xor byte [rax + 2], 0xf5
xor byte [rax + 3], 0xba
xor byte [rax + 4], 0x7f
xor byte [rax + 5], 0xf5
xor byte [rax + 6], 0xba
xor byte [rax + 7], 0x7f
xor byte [rax + 8], 0xf5
xor byte [rax + 9], 0xba
xor byte [rax + 0xa], 0x7f
xor byte [rax + 0xb], 0xf5
xor byte [rax + 0xc], 0xba
xor byte [rax + 0xd], 0x7f
xor byte [rax + 0xe], 0xf5
xor byte [rax + 0xf], 0xba
xor byte [rax + 0x10], 0x7f
xor byte [rax + 0x11], 0xf5
cmp esi, 5
jl 0x1800d322c
movdqa xmm4, xmmword [0x180167ee0]
lea rdx, [rax + 4]
mov rbx, r11
mov rdi, r10
sub rbx, 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 + rbx]
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 0x1800d3140
cmp r9, 0x12
jae 0x1800d325d
movabs rbx, 0x7c729ed634f29fbd
nop word [rax + rax]
movzx ecx, r9b
mov rdx, rbx
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 0x12
jb 0x1800d3240
xor byte [rax], 0xc
xor byte [rax + 1], 0xa5
xor byte [rax + 2], 0xb6
xor byte [rax + 3], 0x21
xor byte [rax + 4], 0x3e
xor byte [rax + 5], 0xa3
xor byte [rax + 6], 0xe3
xor byte [rax + 7], 0xb6
xor byte [rax + 8], 0xca
xor byte [rax + 9], 0xe4
xor byte [rax + 0xa], 0x9f
xor byte [rax + 0xb], 0xdd
xor byte [rax + 0xc], 0x59
xor byte [rax + 0xd], 0x5e
xor byte [rax + 0xe], 0x8e
xor byte [rax + 0xf], 0xac
xor byte [rax + 0x10], 0x2d
xor byte [rax + 0x11], 0x6f
movaps xmm7, xmmword [rsp]
cmp esi, 5
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
jl 0x1800d33be
movdqa xmm4, xmmword [0x1801690f0]
lea rdx, [rax + 4]
sub r11, rax
sub r10, 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, [r11 + 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, [r10 + 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 r8, 0x10
jb 0x1800d32d2
cmp r8, 0x12
jae 0x1800d33ed
movabs r9, 0x85aff107ed61eb31
nop dword [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, 0x12
jb 0x1800d33d0
movaps xmm6, xmmword [rsp + 0x10]
mov byte [rax + 0x12], 0
add rsp, 0x28
ret