Function at 0x180028c70
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0x12], 0
mov rax, rcx
je 0x180029946
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 0x180028ddc
movdqa xmm4, xmmword [0x1801688e0]
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 0x180028cf0
cmp r9, 0x12
jae 0x180028e0d
movabs rbx, 0x7f7f7e7fff7ffe7e
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 0x180028df0
movzx ecx, byte [rax + 2]
lea rdx, [rax + 4]
xor byte [rax], 0x7f
not cl
xor byte [rax + 1], 0xba
xor cl, 0x73
xor byte [rax + 6], 0xeb
mov r9, r8
xor byte [rax + 9], 0x2c
xor byte [rax + 0xa], 0xea
xor byte [rax + 0xe], 0x7d
xor byte [rax + 0xf], 0x78
xor byte [rax + 0x10], 0x2e
xor byte [rax + 0x11], 0xeb
not byte [rdx]
movdqa xmm6, xmmword [0x180164be0]
mov byte [rax + 2], cl
movzx ecx, byte [rax + 3]
not cl
xor cl, 0x37
mov byte [rax + 3], cl
movzx ecx, byte [rax + 5]
not cl
xor cl, 0xe1
mov byte [rax + 5], cl
movzx ecx, byte [rax + 7]
not cl
xor cl, 0x60
mov byte [rax + 7], cl
movzx ecx, byte [rax + 8]
not cl
xor cl, 0x27
mov byte [rax + 8], cl
movzx ecx, byte [rax + 0xb]
not cl
xor cl, 0x21
mov byte [rax + 0xb], cl
movzx ecx, byte [rax + 0xc]
not cl
xor cl, 0x60
mov byte [rax + 0xc], cl
movzx ecx, byte [rax + 0xd]
not cl
xor cl, 0x74
mov byte [rax + 0xd], cl
cmp esi, 5
jl 0x180028fac
movdqa xmm4, xmmword [0x18016a370]
mov rbx, r11
sub rbx, rax
mov rdi, r10
sub rdi, rax
nop
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 0x180028ec0
cmp r9, 0x12
jae 0x180028fdd
movabs rbx, 0xbb9f99fff9f9bddd
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 0x180028fc0
movdqu xmm0, xmmword [rax]
lea rcx, [rax + 0x10]
mov rdx, r10
movdqa xmm1, xmmword [0x180169db0]
xorps xmm1, xmm0
movdqu xmmword [rax], xmm1
nop word [rax + rax]
xor byte [rcx], 0xaf
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x180029000
movdqa xmm5, xmmword [0x180164b80]
mov r9, r8
cmp esi, 5
jl 0x18002912c
movdqa xmm4, xmmword [0x18016df10]
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 0x180029040
cmp r9, 0x12
jae 0x18002915d
movabs rbx, 0xffff7ffffff7ffff
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 0x180029140
xor byte [rax], 0x67
mov r9, r8
xor byte [rax + 1], 0xf7
xor byte [rax + 2], 0x6e
xor byte [rax + 3], 0x67
xor byte [rax + 4], 0xf7
xor byte [rax + 5], 0x6e
xor byte [rax + 6], 0x67
xor byte [rax + 7], 0xf7
xor byte [rax + 8], 0x6e
xor byte [rax + 9], 0x67
xor byte [rax + 0xa], 0xf7
xor byte [rax + 0xb], 0x6e
xor byte [rax + 0xc], 0x67
xor byte [rax + 0xd], 0xf7
xor byte [rax + 0xe], 0x6e
xor byte [rax + 0xf], 0x67
xor byte [rax + 0x10], 0xf7
xor byte [rax + 0x11], 0x6e
cmp esi, 5
jl 0x1800292bc
movdqa xmm4, xmmword [0x18016c5c0]
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 0x1800291d0
cmp r9, 0x12
jae 0x1800292ed
movabs rbx, 0xf75ddd7dddd57555
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 0x1800292d0
movzx ecx, byte [rax + 6]
mov r9, r8
xor byte [rax], 0xd
not cl
xor byte [rax + 1], 0x66
xor cl, 0x55
xor byte [rax + 2], 0x4b
xor byte [rax + 3], 0xa2
xor byte [rax + 4], 0x9f
xor byte [rax + 5], 0x85
xor byte [rax + 7], 0xdf
xor byte [rax + 8], 0xeb
xor byte [rax + 9], 0x8e
xor byte [rax + 0xa], 0xc4
xor byte [rax + 0xb], 0x67
xor byte [rax + 0xc], 0x1b
xor byte [rax + 0xe], 0x52
xor byte [rax + 0xf], 0xd
xor byte [rax + 0x10], 0x72
xor byte [rax + 0x11], 0x96
mov byte [rax + 6], cl
movzx ecx, byte [rax + 0xd]
not cl
xor cl, 0x94
mov byte [rax + 0xd], cl
cmp esi, 5
jl 0x18002945c
movdqa xmm4, xmmword [0x180166b20]
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 0x180029370
cmp r9, 0x12
jae 0x18002948d
movabs rbx, 0x5d91593fb397ddd9
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 0x180029470
movdqu xmm0, xmmword [rax]
lea rcx, [rax + 0x10]
mov rdx, r10
movdqa xmm1, xmmword [0x18016b290]
xorps xmm1, xmm0
movdqu xmmword [rax], xmm1
nop word [rax + rax]
xor byte [rcx], 0xd7
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x1800294b0
mov r9, r8
cmp esi, 5
jl 0x1800295cd
movdqa xmm4, xmmword [0x180166fe0]
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 0x1800294e1
cmp r9, 0x12
jae 0x1800295fd
movabs rbx, 0x6ae5dcfbdacee8dc
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 0x1800295e0
xor byte [rax], 0xb1
mov r9, r8
xor byte [rax + 1], 0xaf
xor byte [rax + 2], 0xe4
xor byte [rax + 3], 0xb1
xor byte [rax + 4], 0xaf
xor byte [rax + 5], 0xe4
xor byte [rax + 6], 0xb1
xor byte [rax + 7], 0xaf
xor byte [rax + 8], 0xe4
xor byte [rax + 9], 0xb1
xor byte [rax + 0xa], 0xaf
xor byte [rax + 0xb], 0xe4
xor byte [rax + 0xc], 0xb1
xor byte [rax + 0xd], 0xaf
xor byte [rax + 0xe], 0xe4
xor byte [rax + 0xf], 0xb1
xor byte [rax + 0x10], 0xaf
xor byte [rax + 0x11], 0xe4
cmp esi, 5
jl 0x18002975c
movdqa xmm4, xmmword [0x180169f70]
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 0x180029670
cmp r9, 0x12
jae 0x18002978d
movabs rbx, 0xb55a71b4dcb232ff
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 0x180029770
movzx ecx, byte [rax + 2]
xor byte [rax], 0x7d
not cl
xor byte [rax + 1], 0x4c
xor cl, 0x9f
xor byte [rax + 3], 0xaf
xor byte [rax + 4], 0xd
xor byte [rax + 5], 0x92
xor byte [rax + 6], 0x1d
xor byte [rax + 7], 0x3d
xor byte [rax + 8], 0x3b
xor byte [rax + 0xa], 0x7b
xor byte [rax + 0xb], 0xe
xor byte [rax + 0xc], 0x40
xor byte [rax + 0xd], 0x3b
xor byte [rax + 0xe], 0xdf
xor byte [rax + 0xf], 0x2c
xor byte [rax + 0x11], 0x3b
movaps xmm7, xmmword [rsp]
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
mov byte [rax + 2], cl
movzx ecx, byte [rax + 9]
not cl
xor cl, 0x1c
mov byte [rax + 9], cl
movzx ecx, byte [rax + 0x10]
not cl
xor cl, 0xec
cmp esi, 5
mov byte [rax + 0x10], cl
mov rsi, qword [rsp + 0x38]
jl 0x18002990c
movdqa xmm4, xmmword [0x180165470]
lea rdx, [rax + 4]
sub r11, rax
sub r10, rax
nop word [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, [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 0x180029820
cmp r8, 0x12
jae 0x18002993d
movabs r9, 0x235f575351cb8319
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, 0x12
jb 0x180029920
movaps xmm6, xmmword [rsp + 0x10]
mov byte [rax + 0x12], 0
add rsp, 0x28
ret