Function at 0x180029950
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0x17], 0
mov rax, rcx
je 0x18002a67b
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 0x180029abc
movdqa xmm4, xmmword [0x18016d460]
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 0x1800299d0
cmp r9, 0x17
jae 0x180029aed
movabs r10, 0xfeff7ffe7f7e7f7f
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 0x180029ad0
movzx ecx, byte [rax + 1]
lea rdx, [rax + 4]
xor byte [rax], 0x7a
not cl
xor byte [rax + 2], 0x4b
xor cl, 0xf6
xor byte [rdx], 0x2f
mov r9, r8
xor byte [rax + 5], 0xdb
xor byte [rax + 7], 0x38
xor byte [rax + 9], 0x6a
xor byte [rax + 0xa], 0x2e
xor byte [rax + 0xc], 0xfb
xor byte [rax + 0xe], 0xda
xor byte [rax + 0xf], 0x6a
xor byte [rax + 0x11], 0x4f
xor byte [rax + 0x13], 0xb9
xor byte [rax + 0x14], 0xde
xor byte [rax + 0x16], 0xaa
movdqa xmm6, xmmword [0x180164be0]
mov byte [rax + 1], cl
movzx ecx, byte [rax + 3]
not cl
xor cl, 0x31
mov byte [rax + 3], cl
movzx ecx, byte [rax + 6]
not cl
xor cl, 0x21
mov byte [rax + 6], cl
movzx ecx, byte [rax + 8]
not cl
xor cl, 0x94
mov byte [rax + 8], cl
movzx ecx, byte [rax + 0xb]
not cl
xor cl, 0x91
mov byte [rax + 0xb], cl
movzx ecx, byte [rax + 0xd]
not cl
xor cl, 0xe3
mov byte [rax + 0xd], cl
movzx ecx, byte [rax + 0x10]
not cl
xor cl, 0x75
mov byte [rax + 0x10], cl
movzx ecx, byte [rax + 0x12]
not cl
xor cl, 0x31
mov byte [rax + 0x12], cl
movzx ecx, byte [rax + 0x15]
not cl
xor cl, 0x24
mov byte [rax + 0x15], cl
cmp ebp, 5
jl 0x180029cac
movdqa xmm4, xmmword [0x18016a490]
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 0x180029bc0
cmp r9, 0x17
jae 0x180029cdd
movabs r10, 0xbbfdbb9fdbb9b9db
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 0x180029cc0
movdqu xmm0, xmmword [rax]
lea rcx, [rax + 0x10]
mov r10d, 7
movdqa xmm1, xmmword [0x180169cb0]
mov edx, r10d
xorps xmm1, xmm0
movdqu xmmword [rax], xmm1
nop dword [rax]
xor byte [rcx], 0xa8
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x180029d00
movdqa xmm5, xmmword [0x180164b80]
mov r9, r8
mov qword [rsp + 0x40], rsi
cmp ebp, 5
jl 0x180029e2c
movdqa xmm4, xmmword [0x18016d5c0]
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 0x180029d40
cmp r9, 0x17
jae 0x180029e5d
movabs rdi, 0xff7777f7f77777ff
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 0x180029e40
xor byte [rax], 0xee
mov r9, r8
xor byte [rax + 1], 0x6e
xor byte [rax + 2], 0xee
xor byte [rax + 3], 0xee
xor byte [rax + 4], 0x6e
xor byte [rax + 5], 0xee
xor byte [rax + 6], 0xee
xor byte [rax + 7], 0x6e
xor byte [rax + 8], 0xee
xor byte [rax + 9], 0xee
xor byte [rax + 0xa], 0x6e
xor byte [rax + 0xb], 0xee
xor byte [rax + 0xc], 0xee
xor byte [rax + 0xd], 0x6e
xor byte [rax + 0xe], 0xee
xor byte [rax + 0xf], 0xee
xor byte [rax + 0x10], 0x6e
xor byte [rax + 0x11], 0xee
xor byte [rax + 0x12], 0xee
xor byte [rax + 0x13], 0x6e
xor byte [rax + 0x14], 0xee
xor byte [rax + 0x15], 0xee
xor byte [rax + 0x16], 0x6e
cmp ebp, 5
jl 0x180029fcc
movdqa xmm4, xmmword [0x180168ed0]
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 0x180029ee0
cmp r9, 0x17
jae 0x180029ffd
movabs rdi, 0x7ffff7577575f577
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 0x180029fe0
movzx ecx, byte [rax + 6]
mov r9, r8
xor byte [rax], 0x6a
not cl
xor byte [rax + 1], 0x9b
xor cl, 0x61
xor byte [rax + 2], 0x5b
xor byte [rax + 3], 0x2b
xor byte [rax + 4], 0xf5
xor byte [rax + 5], 0xaf
xor byte [rax + 7], 0x5e
xor byte [rax + 8], 0xa7
xor byte [rax + 9], 0x74
xor byte [rax + 0xa], 0xe3
xor byte [rax + 0xb], 0xd6
xor byte [rax + 0xd], 0xaa
xor byte [rax + 0xe], 0x79
xor byte [rax + 0xf], 0xa3
xor byte [rax + 0x10], 0x9f
xor byte [rax + 0x11], 0xd3
xor byte [rax + 0x13], 0x74
xor byte [rax + 0x14], 0xa6
xor byte [rax + 0x15], 0x5e
xor byte [rax + 0x16], 0x5b
mov byte [rax + 6], cl
movzx ecx, byte [rax + 0xc]
not cl
xor cl, 0xa4
mov byte [rax + 0xc], cl
movzx ecx, byte [rax + 0x12]
not cl
xor cl, 0xdd
mov byte [rax + 0x12], cl
cmp ebp, 5
jl 0x18002a18c
movdqa xmm4, xmmword [0x180165960]
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 0x18002a0a0
cmp r9, 0x17
jae 0x18002a1bd
movabs rdi, 0x3b19d31f7db1dbdf
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 0x18002a1a0
movdqu xmm0, xmmword [rax]
lea rcx, [rax + 0x10]
mov rsi, qword [rsp + 0x40]
movdqa xmm1, xmmword [0x180169200]
xorps xmm1, xmm0
movdqu xmmword [rax], xmm1
nop dword [rax]
xor byte [rcx], 0x8e
lea rcx, [rcx + 1]
sub r10, 1
jne 0x18002a1e0
mov r9, r8
cmp ebp, 5
jl 0x18002a2fd
movdqa xmm4, xmmword [0x1801662d0]
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 0x18002a211
cmp r9, 0x17
jae 0x18002a32d
movabs r10, 0x50d4e0f153c5c273
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 0x18002a310
xor byte [rax], 0xf1
mov r9, r8
xor byte [rax + 1], 0x23
xor byte [rax + 2], 0xbf
xor byte [rax + 3], 0xf1
xor byte [rax + 4], 0x23
xor byte [rax + 5], 0xbf
xor byte [rax + 6], 0xf1
xor byte [rax + 7], 0x23
xor byte [rax + 8], 0xbf
xor byte [rax + 9], 0xf1
xor byte [rax + 0xa], 0x23
xor byte [rax + 0xb], 0xbf
xor byte [rax + 0xc], 0xf1
xor byte [rax + 0xd], 0x23
xor byte [rax + 0xe], 0xbf
xor byte [rax + 0xf], 0xf1
xor byte [rax + 0x10], 0x23
xor byte [rax + 0x11], 0xbf
xor byte [rax + 0x12], 0xf1
xor byte [rax + 0x13], 0x23
xor byte [rax + 0x14], 0xbf
xor byte [rax + 0x15], 0xf1
xor byte [rax + 0x16], 0x23
cmp ebp, 5
jl 0x18002a49c
movdqa xmm4, xmmword [0x18016c600]
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 0x18002a3b0
cmp r9, 0x17
jae 0x18002a4cd
movabs r10, 0xf772b01275d075ba
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 0x18002a4b0
xor byte [rax], 0x19
xor byte [rax + 1], 0x39
xor byte [rax + 2], 0x88
xor byte [rax + 3], 0x5c
xor byte [rax + 4], 0xbd
xor byte [rax + 5], 0xe6
xor byte [rax + 6], 0xf7
xor byte [rax + 7], 7
xor byte [rax + 8], 0xc8
xor byte [rax + 9], 0x96
xor byte [rax + 0xa], 0x5f
xor byte [rax + 0xb], 0x35
xor byte [rax + 0xc], 0x38
xor byte [rax + 0xd], 0x3e
xor byte [rax + 0xe], 0xe2
xor byte [rax + 0xf], 0xf1
xor byte [rax + 0x10], 0x25
xor byte [rax + 0x11], 0x83
xor byte [rax + 0x12], 0x3c
xor byte [rax + 0x13], 0xe5
xor byte [rax + 0x14], 0xfc
xor byte [rax + 0x15], 0x6b
xor byte [rax + 0x16], 0x16
movaps xmm7, xmmword [rsp]
cmp ebp, 5
mov rbp, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x20]
jl 0x18002a63d
movdqa xmm4, xmmword [0x18016a740]
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 0x18002a551
cmp r8, 0x17
jae 0x18002a66d
movabs r9, 0xbf7167c7934d83bf
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 0x18002a650
movaps xmm6, xmmword [rsp + 0x10]
mov rbx, qword [rsp + 0x30]
mov byte [rax + 0x17], 0
add rsp, 0x28
ret