Function at 0x18001d020
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0x12], 0
mov rax, rcx
je 0x18001dcd6
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 0x18001d18c
movdqa xmm4, xmmword [0x180168380]
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 0x18001d0a0
cmp r9, 0x12
jae 0x18001d1bd
movabs rbx, 0x7e7ffe7f7e7ffe7e
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 0x18001d1a0
movzx ecx, byte [rax + 2]
lea rdx, [rax + 4]
xor byte [rax], 0x7c
not cl
xor byte [rax + 1], 0xcc
xor cl, 0x60
xor byte [rdx], 0xda
mov r9, r8
xor byte [rax + 6], 0xf8
xor byte [rax + 9], 0x5c
xor byte [rax + 0xb], 0x78
xor byte [rax + 0xe], 0x5f
xor byte [rax + 0x10], 0x9f
movdqa xmm6, xmmword [0x180164be0]
mov byte [rax + 2], cl
movzx ecx, byte [rax + 3]
not cl
xor cl, 0x62
mov byte [rax + 3], cl
movzx ecx, byte [rax + 5]
not cl
xor cl, 6
mov byte [rax + 5], cl
movzx ecx, byte [rax + 7]
not cl
xor cl, 0xe3
mov byte [rax + 7], cl
movzx ecx, byte [rax + 8]
not cl
xor cl, 0x70
mov byte [rax + 8], cl
movzx ecx, byte [rax + 0xa]
not cl
xor cl, 0xa1
mov byte [rax + 0xa], cl
movzx ecx, byte [rax + 0xc]
not cl
xor cl, 0x87
mov byte [rax + 0xc], cl
movzx ecx, byte [rax + 0xd]
not cl
xor cl, 0xe7
mov byte [rax + 0xd], cl
movzx ecx, byte [rax + 0xf]
not cl
xor cl, 0x33
mov byte [rax + 0xf], cl
movzx ecx, byte [rax + 0x11]
not cl
xor cl, 3
mov byte [rax + 0x11], cl
cmp esi, 5
jl 0x18001d36c
movdqa xmm4, xmmword [0x18016a210]
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 0x18001d280
cmp r9, 0x12
jae 0x18001d39d
movabs rbx, 0xb9ddf9fbd9dd9bf9
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 0x18001d380
movdqu xmm0, xmmword [rax]
lea rcx, [rax + 0x10]
mov rdx, r10
movdqa xmm1, xmmword [0x18016bf60]
xorps xmm1, xmm0
movdqu xmmword [rax], xmm1
nop word [rax + rax]
xor byte [rcx], 0xe8
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x18001d3c0
movdqa xmm5, xmmword [0x180164b80]
mov r9, r8
cmp esi, 5
jl 0x18001d4ec
movdqa xmm4, xmmword [0x18016d600]
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 0x18001d400
cmp r9, 0x12
jae 0x18001d51d
movabs rbx, 0xff77f77f77777f77
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 0x18001d500
xor byte [rax], 0x66
mov r9, r8
xor byte [rax + 1], 0xee
xor byte [rax + 2], 0x66
xor byte [rax + 3], 0x66
xor byte [rax + 4], 0xee
xor byte [rax + 5], 0x66
xor byte [rax + 6], 0x66
xor byte [rax + 7], 0xee
xor byte [rax + 8], 0x66
xor byte [rax + 9], 0x66
xor byte [rax + 0xa], 0xee
xor byte [rax + 0xb], 0x66
xor byte [rax + 0xc], 0x66
xor byte [rax + 0xd], 0xee
xor byte [rax + 0xe], 0x66
xor byte [rax + 0xf], 0x66
xor byte [rax + 0x10], 0xee
xor byte [rax + 0x11], 0x66
cmp esi, 5
jl 0x18001d67c
movdqa xmm4, xmmword [0x1801666f0]
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 0x18001d590
cmp r9, 0x12
jae 0x18001d6ad
movabs rbx, 0x577777f5d5777fd7
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 0x18001d690
xor byte [rax], 0x58
mov r9, r8
xor byte [rax + 1], 0x4d
xor byte [rax + 2], 0xe8
xor byte [rax + 3], 4
xor byte [rax + 4], 0x84
xor byte [rax + 5], 1
xor byte [rax + 6], 0xc8
xor byte [rax + 7], 0xfc
xor byte [rax + 8], 0x9d
xor byte [rax + 9], 1
xor byte [rax + 0xa], 0x85
xor byte [rax + 0xb], 0x98
xor byte [rax + 0xc], 0x29
xor byte [rax + 0xd], 0x5c
xor byte [rax + 0xe], 0x95
xor byte [rax + 0xf], 0x54
xor byte [rax + 0x10], 0x11
xor byte [rax + 0x11], 0xa1
cmp esi, 5
jl 0x18001d80c
movdqa xmm4, xmmword [0x180169370]
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 0x18001d720
cmp r9, 0x12
jae 0x18001d83d
movabs rbx, 0x939b1bdf755fd931
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 0x18001d820
movdqu xmm0, xmmword [rax]
lea rcx, [rax + 0x10]
mov rdx, r10
movdqa xmm1, xmmword [0x180169cd0]
xorps xmm1, xmm0
movdqu xmmword [rax], xmm1
nop word [rax + rax]
xor byte [rcx], 0xa9
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x18001d860
mov r9, r8
cmp esi, 5
jl 0x18001d97d
movdqa xmm4, xmmword [0x180167c50]
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 0x18001d891
cmp r9, 0x12
jae 0x18001d9ad
movabs rbx, 0x787043d7f7ef62cc
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 0x18001d990
xor byte [rax], 0xb4
mov r9, r8
xor byte [rax + 1], 0x32
xor byte [rax + 2], 0x76
xor byte [rax + 3], 0xb4
xor byte [rax + 4], 0x32
xor byte [rax + 5], 0x76
xor byte [rax + 6], 0xb4
xor byte [rax + 7], 0x32
xor byte [rax + 8], 0x76
xor byte [rax + 9], 0xb4
xor byte [rax + 0xa], 0x32
xor byte [rax + 0xb], 0x76
xor byte [rax + 0xc], 0xb4
xor byte [rax + 0xd], 0x32
xor byte [rax + 0xe], 0x76
xor byte [rax + 0xf], 0xb4
xor byte [rax + 0x10], 0x32
xor byte [rax + 0x11], 0x76
cmp esi, 5
jl 0x18001db0c
movdqa xmm4, xmmword [0x1801658a0]
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 0x18001da20
cmp r9, 0x12
jae 0x18001db3d
movabs rbx, 0x38391d5e3dfa3211
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 0x18001db20
xor byte [rax], 0x42
xor byte [rax + 1], 0x6a
xor byte [rax + 2], 0x45
xor byte [rax + 3], 0xe1
xor byte [rax + 4], 0x7f
xor byte [rax + 5], 8
xor byte [rax + 6], 0xe9
xor byte [rax + 7], 0xfc
xor byte [rax + 8], 0x31
xor byte [rax + 9], 0xc6
xor byte [rax + 0xa], 0xd4
xor byte [rax + 0xb], 0x2f
xor byte [rax + 0xc], 0x8f
xor byte [rax + 0xd], 0x40
xor byte [rax + 0xe], 0x56
xor byte [rax + 0xf], 0xb5
xor byte [rax + 0x10], 0x86
xor byte [rax + 0x11], 0x10
movaps xmm7, xmmword [rsp]
cmp esi, 5
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
jl 0x18001dc9e
movdqa xmm4, xmmword [0x180165130]
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 0x18001dbb2
cmp r8, 0x12
jae 0x18001dccd
movabs r9, 0x193305173d3dc37b
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 0x18001dcb0
movaps xmm6, xmmword [rsp + 0x10]
mov byte [rax + 0x12], 0
add rsp, 0x28
ret