Function at 0x180080010
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0x1c], 0
mov rax, rcx
je 0x180080d3b
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 0x18008017c
movdqa xmm4, xmmword [0x18016d0e0]
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, 0x18
jb 0x180080090
cmp r9, 0x1c
jae 0x1800801ad
movabs r10, 0xfe7e7e7e7ffe7f7e
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, 0x1c
jb 0x180080190
xor byte [rax + 4], 0x2f
lea rdx, [rax + 4]
xor byte [rax], 0x48
mov r9, r8
xor byte [rax + 1], 0x69
xor byte [rax + 2], 0xa8
xor byte [rax + 3], 0x19
xor byte [rax + 5], 0xfc
xor byte [rax + 6], 0x48
xor byte [rax + 7], 0x48
xor byte [rax + 8], 0xe8
xor byte [rax + 9], 0xa9
xor byte [rax + 0xa], 0xfa
xor byte [rax + 0xb], 0xad
xor byte [rax + 0xc], 0x3d
xor byte [rax + 0xd], 0x48
xor byte [rax + 0xe], 0x49
xor byte [rax + 0xf], 0x69
xor byte [rax + 0x10], 0xea
xor byte [rax + 0x11], 0xd8
xor byte [rax + 0x12], 0x6c
xor byte [rax + 0x13], 0xbd
xor byte [rax + 0x14], 0xc9
xor byte [rax + 0x15], 0x68
xor byte [rax + 0x16], 0x8a
xor byte [rax + 0x17], 0xc8
xor byte [rax + 0x18], 0x99
xor byte [rax + 0x19], 0x6c
xor byte [rax + 0x1a], 0x9c
xor byte [rax + 0x1b], 0x48
movdqa xmm6, xmmword [0x180164be0]
cmp ebp, 5
jl 0x18008033c
movdqa xmm4, xmmword [0x18016b830]
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, 0x18
jb 0x180080250
cmp r9, 0x1c
jae 0x18008036d
movabs r10, 0xdd99dd9bf9ffb99b
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, 0x1c
jb 0x180080350
movdqu xmm0, xmmword [rax]
lea rcx, [rax + 0x10]
mov r10d, 0xc
movdqa xmm1, xmmword [0x18016a5e0]
mov edx, r10d
xorps xmm1, xmm0
movdqu xmmword [rax], xmm1
nop dword [rax]
xor byte [rcx], 0xbd
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x180080390
movdqa xmm5, xmmword [0x180164b80]
mov r9, r8
mov qword [rsp + 0x40], rsi
cmp ebp, 5
jl 0x1800804bc
movdqa xmm4, xmmword [0x180167ab0]
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, 0x18
jb 0x1800803d0
cmp r9, 0x1c
jae 0x1800804ed
movabs rdi, 0x77f7fffff77f7ff7
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, 0x1c
jb 0x1800804d0
xor byte [rax], r11b
mov r9, r8
xor byte [rax + 2], 0x6f
xor byte [rax + 3], r11b
xor byte [rax + 5], 0x6f
xor byte [rax + 6], r11b
xor byte [rax + 8], 0x6f
xor byte [rax + 9], r11b
xor byte [rax + 0xb], 0x6f
xor byte [rax + 0xc], r11b
xor byte [rax + 0xe], 0x6f
xor byte [rax + 0xf], r11b
xor byte [rax + 0x11], 0x6f
xor byte [rax + 0x12], r11b
xor byte [rax + 0x14], 0x6f
xor byte [rax + 0x15], r11b
xor byte [rax + 0x17], 0x6f
xor byte [rax + 0x18], r11b
xor byte [rax + 0x1a], 0x6f
xor byte [rax + 0x1b], r11b
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]
not byte [rax + 0x16]
not byte [rax + 0x19]
cmp ebp, 5
jl 0x18008066c
movdqa xmm4, xmmword [0x18016b230]
lea rdx, [rax + 4]
mov rdi, r11
mov rsi, rbx
sub rdi, rax
sub rsi, rax
nop word [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, [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, 0x18
jb 0x180080580
cmp r9, 0x1c
jae 0x18008069d
movabs rdi, 0xd77fd77f5d77dd77
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, 0x1c
jb 0x180080680
xor byte [rax], 0xf6
mov r9, r8
xor byte [rax + 1], 0xbd
xor byte [rax + 2], 0x61
xor byte [rax + 3], 0x10
xor byte [rax + 4], 0x60
xor byte [rax + 5], 0xab
xor byte [rax + 6], 0xe5
xor byte [rax + 7], 0x39
xor byte [rax + 8], 0x4d
xor byte [rax + 9], 0xac
xor byte [rax + 0xa], r11b
xor byte [rax + 0xb], 0xfc
xor byte [rax + 0xc], 0x28
xor byte [rax + 0xd], 0x99
xor byte [rax + 0xe], 0xf8
xor byte [rax + 0xf], 0xa3
xor byte [rax + 0x10], 0x70
xor byte [rax + 0x11], 0xf1
xor byte [rax + 0x12], 0xcc
xor byte [rax + 0x13], 0x65
xor byte [rax + 0x14], 0x7b
xor byte [rax + 0x15], 0x24
xor byte [rax + 0x16], 0xec
xor byte [rax + 0x17], 0xcc
xor byte [rax + 0x18], 0xf0
xor byte [rax + 0x19], 0xa2
xor byte [rax + 0x1a], 0xb5
xor byte [rax + 0x1b], 0x34
cmp ebp, 5
jl 0x18008081c
movdqa xmm4, xmmword [0x180167e00]
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, 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, 0x18
jb 0x180080730
cmp r9, 0x1c
jae 0x18008084d
movabs rdi, 0x7b3371b11191797b
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, 0x1c
jb 0x180080830
movdqu xmm0, xmmword [rax]
lea rcx, [rax + 0x10]
mov rsi, qword [rsp + 0x40]
movdqa xmm1, xmmword [0x18016d090]
xorps xmm1, xmm0
movdqu xmmword [rax], xmm1
nop dword [rax]
xor byte [rcx], 0xfd
lea rcx, [rcx + 1]
sub r10, 1
jne 0x180080870
mov r9, r8
cmp ebp, 5
jl 0x18008098d
movdqa xmm4, xmmword [0x180166e00]
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, 0x18
jb 0x1800808a1
cmp r9, 0x1c
jae 0x1800809bd
movabs r10, 0x6179df42415469f4
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, 0x1c
jb 0x1800809a0
xor byte [rax], 0x7d
mov r9, r8
xor byte [rax + 1], 0x3e
xor byte [rax + 2], 0xa6
xor byte [rax + 3], 0x7d
xor byte [rax + 4], 0x3e
xor byte [rax + 5], 0xa6
xor byte [rax + 6], 0x7d
xor byte [rax + 7], 0x3e
xor byte [rax + 8], 0xa6
xor byte [rax + 9], 0x7d
xor byte [rax + 0xa], 0x3e
xor byte [rax + 0xb], 0xa6
xor byte [rax + 0xc], 0x7d
xor byte [rax + 0xd], 0x3e
xor byte [rax + 0xe], 0xa6
xor byte [rax + 0xf], 0x7d
xor byte [rax + 0x10], 0x3e
xor byte [rax + 0x11], 0xa6
xor byte [rax + 0x12], 0x7d
xor byte [rax + 0x13], 0x3e
xor byte [rax + 0x14], 0xa6
xor byte [rax + 0x15], 0x7d
xor byte [rax + 0x16], 0x3e
xor byte [rax + 0x17], 0xa6
xor byte [rax + 0x18], 0x7d
xor byte [rax + 0x19], 0x3e
xor byte [rax + 0x1a], 0xa6
xor byte [rax + 0x1b], 0x7d
cmp ebp, 5
jl 0x180080b3c
movdqa xmm4, xmmword [0x18016a2c0]
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, 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, 0x18
jb 0x180080a50
cmp r9, 0x1c
jae 0x180080b6d
movabs r10, 0xba93d31d3cb992b5
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, 0x1c
jb 0x180080b50
xor byte [rax], 0xf
xor byte [rax + 1], 0x2e
xor byte [rax + 2], 0xe9
xor byte [rax + 3], 0xea
xor byte [rax + 5], 0x42
xor byte [rax + 6], 0x99
xor byte [rax + 7], 0xc7
xor byte [rax + 8], 0xe2
xor byte [rax + 9], 0xb5
xor byte [rax + 0xa], 0xe0
xor byte [rax + 0xb], 0xfd
xor byte [rax + 0xc], 0xb1
xor byte [rax + 0xd], 0x44
xor byte [rax + 0xe], 0x59
xor byte [rax + 0xf], 0x1a
xor byte [rax + 0x10], 0x4e
xor byte [rax + 0x11], 0xf0
xor byte [rax + 0x12], 0x1b
xor byte [rax + 0x13], 0x3e
xor byte [rax + 0x14], 0x7e
xor byte [rax + 0x15], 0x50
xor byte [rax + 0x16], 0xf3
xor byte [rax + 0x17], 0x4b
xor byte [rax + 0x18], 0x44
xor byte [rax + 0x19], 0x30
xor byte [rax + 0x1a], 0xf5
xor byte [rax + 0x1b], 0x65
not byte [rax + 4]
cmp ebp, 5
mov rbp, qword [rsp + 0x38]
movaps xmm7, xmmword [rsp]
mov rdi, qword [rsp + 0x20]
jl 0x180080cfc
movdqa xmm4, xmmword [0x18016c140]
lea rdx, [rax + 4]
sub r11, rax
sub rbx, rax
nop dword [rax]
nop dword [rax + 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, 0x18
jb 0x180080c10
cmp r8, 0x1c
jae 0x180080d2d
movabs r9, 0xef13c1e70de5e5b1
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, 0x1c
jb 0x180080d10
movaps xmm6, xmmword [rsp + 0x10]
mov rbx, qword [rsp + 0x30]
mov byte [rax + 0x1c], 0
add rsp, 0x28
ret