Function at 0x1800322b0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0x16], 0
mov rax, rcx
je 0x180032fab
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 0x18003241c
movdqa xmm4, xmmword [0x18016d4f0]
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 0x180032330
cmp r9, 0x16
jae 0x18003244d
movabs r10, 0xfeffffffff7fff7f
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 0x180032430
xor byte [rax + 4], 0x4f
lea rdx, [rax + 4]
xor byte [rax], 0x98
mov r9, r8
xor byte [rax + 1], 0xec
xor byte [rax + 2], 0x48
xor byte [rax + 3], 0x7b
xor byte [rax + 5], 0xa
xor byte [rax + 6], 0x7d
xor byte [rax + 7], 0x98
xor byte [rax + 8], 0x2c
xor byte [rax + 9], 0x6b
xor byte [rax + 0xa], 0xfa
xor byte [rax + 0xb], 0xee
xor byte [rax + 0xc], 0x49
xor byte [rax + 0xd], 0xfd
xor byte [rax + 0xe], 0x78
xor byte [rax + 0xf], 0x8f
xor byte [rax + 0x10], 0x4a
xor byte [rax + 0x11], 0xdb
xor byte [rax + 0x12], 0x2d
xor byte [rax + 0x13], 0xe9
xor byte [rax + 0x14], 0x9d
xor byte [rax + 0x15], 0x7b
movdqa xmm6, xmmword [0x180164be0]
cmp ebp, 5
jl 0x1800325bc
movdqa xmm4, xmmword [0x18016a590]
mov r10, r11
sub r10, rax
mov rdi, rbx
sub rdi, 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 0x1800324d0
cmp r9, 0x16
jae 0x1800325ed
movabs r10, 0xbd9db99bbff9f9d9
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 0x1800325d0
movdqu xmm0, xmmword [rax]
lea rcx, [rax + 0x10]
mov r10d, 6
movdqa xmm1, xmmword [0x180169620]
mov edx, r10d
xorps xmm1, xmm0
movdqu xmmword [rax], xmm1
nop dword [rax]
xor byte [rcx], 0x9a
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x180032610
movdqa xmm5, xmmword [0x180164b80]
mov r9, r8
mov qword [rsp + 0x40], rsi
cmp ebp, 5
jl 0x18003273c
movdqa xmm4, xmmword [0x180168e70]
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 0x180032650
cmp r9, 0x16
jae 0x18003276d
movabs rdi, 0x7fff7f777f7777ff
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 0x180032750
xor byte [rax], 0xe6
mov r9, r8
xor byte [rax + 1], 0x6e
xor byte [rax + 2], 0xef
xor byte [rax + 3], 0xe6
xor byte [rax + 4], 0x6e
xor byte [rax + 5], 0xef
xor byte [rax + 6], 0xe6
xor byte [rax + 7], 0x6e
xor byte [rax + 8], 0xef
xor byte [rax + 9], 0xe6
xor byte [rax + 0xa], 0x6e
xor byte [rax + 0xb], 0xef
xor byte [rax + 0xc], 0xe6
xor byte [rax + 0xd], 0x6e
xor byte [rax + 0xe], 0xef
xor byte [rax + 0xf], 0xe6
xor byte [rax + 0x10], 0x6e
xor byte [rax + 0x11], 0xef
xor byte [rax + 0x12], 0xe6
xor byte [rax + 0x13], 0x6e
xor byte [rax + 0x14], 0xef
xor byte [rax + 0x15], 0xe6
cmp ebp, 5
jl 0x1800328dc
movdqa xmm4, xmmword [0x180166d90]
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, 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 0x1800327f0
cmp r9, 0x16
jae 0x18003290d
movabs rdi, 0x5ff755d5f77d7757
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 0x1800328f0
movzx ecx, byte [rax + 2]
mov r9, r8
xor byte [rax], 0xaa
not cl
xor byte [rax + 1], 0xa7
xor cl, 0xf3
xor byte [rax + 4], 0x30
xor byte [rax + 5], 0x6f
xor byte [rax + 6], 0x6a
xor byte [rax + 7], 0x55
xor byte [rax + 0xa], 0xee
xor byte [rax + 0xb], 0x32
xor byte [rax + 0xc], 0x18
xor byte [rax + 0xd], 0x87
xor byte [rax + 0x10], 0xab
xor byte [rax + 0x11], 0x5d
xor byte [rax + 0x12], 0x57
xor byte [rax + 0x13], 0x75
mov byte [rax + 2], cl
movzx ecx, byte [rax + 3]
not cl
xor cl, 0xa4
mov byte [rax + 3], cl
movzx ecx, byte [rax + 8]
not cl
xor cl, 0xf5
mov byte [rax + 8], cl
movzx ecx, byte [rax + 9]
not cl
xor cl, 0x52
mov byte [rax + 9], cl
movzx ecx, byte [rax + 0xe]
not cl
xor cl, 0x87
mov byte [rax + 0xe], cl
movzx ecx, byte [rax + 0xf]
not cl
xor cl, 0xc4
mov byte [rax + 0xf], cl
movzx ecx, byte [rax + 0x14]
not cl
xor cl, 0xc5
mov byte [rax + 0x14], cl
movzx ecx, byte [rax + 0x15]
not cl
xor cl, 5
mov byte [rax + 0x15], cl
cmp ebp, 5
jl 0x180032abc
movdqa xmm4, xmmword [0x180169f30]
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 0x1800329d0
cmp r9, 0x16
jae 0x180032aed
movabs rdi, 0xb51f7b99d71b9755
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 0x180032ad0
movdqu xmm0, xmmword [rax]
lea rcx, [rax + 0x10]
mov rsi, qword [rsp + 0x40]
movdqa xmm1, xmmword [0x180169ee0]
xorps xmm1, xmm0
movdqu xmmword [rax], xmm1
nop dword [rax]
xor byte [rcx], 0xb3
lea rcx, [rcx + 1]
sub r10, 1
jne 0x180032b10
mov r9, r8
cmp ebp, 5
jl 0x180032c2d
movdqa xmm4, xmmword [0x18016cad0]
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 0x180032b41
cmp r9, 0x16
jae 0x180032c5d
movabs r10, 0xf8f179c6f6d657c3
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 0x180032c40
xor byte [rax], 0xf7
mov r9, r8
xor byte [rax + 1], 0xa0
xor byte [rax + 2], 0x3a
xor byte [rax + 3], 0xf7
xor byte [rax + 4], 0xa0
xor byte [rax + 5], 0x3a
xor byte [rax + 6], 0xf7
xor byte [rax + 7], 0xa0
xor byte [rax + 8], 0x3a
xor byte [rax + 9], 0xf7
xor byte [rax + 0xa], 0xa0
xor byte [rax + 0xb], 0x3a
xor byte [rax + 0xc], 0xf7
xor byte [rax + 0xd], 0xa0
xor byte [rax + 0xe], 0x3a
xor byte [rax + 0xf], 0xf7
xor byte [rax + 0x10], 0xa0
xor byte [rax + 0x11], 0x3a
xor byte [rax + 0x12], 0xf7
xor byte [rax + 0x13], 0xa0
xor byte [rax + 0x14], 0x3a
xor byte [rax + 0x15], 0xf7
cmp ebp, 5
jl 0x180032dcc
movdqa xmm4, xmmword [0x180166b40]
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 0x180032ce0
cmp r9, 0x16
jae 0x180032dfd
movabs r10, 0x5d965596783bf65a
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 0x180032de0
xor byte [rax], 0xb2
xor byte [rax + 1], 0x7d
xor byte [rax + 2], 0x80
xor byte [rax + 3], 0xd
xor byte [rax + 4], 0xf3
xor byte [rax + 5], 0x64
xor byte [rax + 6], 0xa2
xor byte [rax + 7], 0x1d
xor byte [rax + 8], 0x56
xor byte [rax + 9], 0xb
xor byte [rax + 0xa], 0xc7
xor byte [rax + 0xb], 0x14
xor byte [rax + 0xc], 0x73
xor byte [rax + 0xd], 0xfb
xor byte [rax + 0xe], 0xc4
xor byte [rax + 0xf], 0x3f
xor byte [rax + 0x10], 6
xor byte [rax + 0x11], 1
xor byte [rax + 0x12], 0xf5
xor byte [rax + 0x13], 0xd8
xor byte [rax + 0x14], 0xc0
xor byte [rax + 0x15], 0x6a
movaps xmm7, xmmword [rsp]
cmp ebp, 5
mov rbp, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x20]
jl 0x180032f6c
movdqa xmm4, xmmword [0x180164c80]
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 0x180032e80
cmp r8, 0x16
jae 0x180032f9d
movabs r9, 0x1b901cb3db53f77
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 0x180032f80
movaps xmm6, xmmword [rsp + 0x10]
mov rbx, qword [rsp + 0x30]
mov byte [rax + 0x16], 0
add rsp, 0x28
ret