Function at 0x1800f1fc0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x38
cmp byte [rcx + 0x16], 0
mov rax, rcx
je 0x1800f2cbb
movdqa xmm2, xmmword [0x180164c10]
xor r8d, r8d
movdqa xmm3, xmmword [0x180164b70]
mov r9d, r8d
mov qword [rsp + 0x40], rbx
mov r11, 0xfffffffffffffffe
mov qword [rsp + 0x48], rbp
mov ebx, 2
mov ebp, dword [0x180182290]
movaps xmmword [rsp + 0x20], xmm6
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp], xmm8
movdqa xmm8, xmmword [0x180164bb0]
mov qword [rsp + 0x30], rdi
cmp ebp, 5
jl 0x1800f2130
movdqa xmm4, xmmword [0x18016d730]
lea rdx, [rcx + 4]
mov r10, r11
mov edi, ebx
sub r10, rcx
sub rdi, rcx
movzx ecx, word [rdx - 4]
movq xmm0, r9
punpcklqdq xmm0, xmm0
add r9, 8
paddq xmm0, xmm3
andps xmm0, xmm8
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, xmm8
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, xmm8
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, xmm8
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 0x1800f2040
cmp r9, 0x16
jae 0x1800f215d
movabs r10, 0xff7efe7f7e7ffe7f
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 0x1800f2140
movzx ecx, byte [rax + 3]
lea rdx, [rax + 4]
xor byte [rax], 0x9d
not cl
xor byte [rax + 1], 0xbb
xor cl, 0xd3
xor byte [rax + 2], 0xc
mov r9, r8
xor byte [rax + 6], 0xc
xor byte [rax + 7], 0xbf
xor byte [rax + 9], 0x8d
xor byte [rax + 0xc], 0x1d
xor byte [rax + 0xe], 0x3d
xor byte [rax + 0x10], 0x4e
xor byte [rax + 0x11], 0xcc
xor byte [rax + 0x12], 0xdc
xor byte [rax + 0x13], 0x9f
xor byte [rax + 0x15], 0xbc
movdqa xmm7, xmmword [0x180164be0]
mov byte [rax + 3], cl
movzx ecx, byte [rdx]
not cl
xor cl, 0xc1
mov byte [rdx], cl
movzx ecx, byte [rax + 5]
not cl
xor cl, 0xa3
mov byte [rax + 5], cl
movzx ecx, byte [rax + 8]
not cl
xor cl, 0x66
mov byte [rax + 8], cl
movzx ecx, byte [rax + 0xa]
not cl
xor cl, 0x30
mov byte [rax + 0xa], cl
movzx ecx, byte [rax + 0xb]
not cl
xor cl, 0x62
mov byte [rax + 0xb], cl
movzx ecx, byte [rax + 0xd]
not cl
xor cl, 0xd1
mov byte [rax + 0xd], cl
movzx ecx, byte [rax + 0xf]
not cl
xor cl, 0xc7
mov byte [rax + 0xf], cl
movzx ecx, byte [rax + 0x14]
not cl
xor cl, 0x73
mov byte [rax + 0x14], cl
cmp ebp, 5
jl 0x1800f231c
movdqa xmm4, xmmword [0x180169a90]
mov r10, r11
sub r10, rax
mov rdi, rbx
sub rdi, 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, [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 0x1800f2230
cmp r9, 0x16
jae 0x1800f234d
movabs r10, 0x9fbd9bfff99ffbb9
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 0x1800f2330
movdqu xmm0, xmmword [rax]
lea rcx, [rax + 0x10]
mov r10d, 6
movdqa xmm4, xmmword [0x18016ab00]
mov edx, r10d
movdqa xmm1, xmm4
xorps xmm1, xmm0
movdqu xmmword [rax], xmm1
xor byte [rcx], 0xc9
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x1800f2371
movdqa xmm6, xmmword [0x180164b80]
mov r9, r8
mov qword [rsp + 0x50], rsi
cmp ebp, 5
jl 0x1800f249c
movdqa xmm5, xmmword [0x180168e20]
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, xmm6
psllq xmm0, 3
vpsrlvq xmm1, xmm5, 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, xmm5, 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, xmm5, 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, xmm5, 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 0x1800f23b0
cmp r9, 0x16
jae 0x1800f24cd
movabs rdi, 0x7fff77f7f7f7777f
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 0x1800f24b0
xor byte [rax], 0xf7
mov r9, r8
xor byte [rax + 1], r11b
xor byte [rax + 2], 0xef
xor byte [rax + 3], 0xf7
xor byte [rax + 4], r11b
xor byte [rax + 5], 0xef
xor byte [rax + 6], 0xf7
xor byte [rax + 7], r11b
xor byte [rax + 8], 0xef
xor byte [rax + 9], 0xf7
xor byte [rax + 0xa], r11b
xor byte [rax + 0xb], 0xef
xor byte [rax + 0xc], 0xf7
xor byte [rax + 0xd], r11b
xor byte [rax + 0xe], 0xef
xor byte [rax + 0xf], 0xf7
xor byte [rax + 0x10], r11b
xor byte [rax + 0x11], 0xef
xor byte [rax + 0x12], 0xf7
xor byte [rax + 0x13], r11b
xor byte [rax + 0x14], 0xef
xor byte [rax + 0x15], 0xf7
cmp ebp, 5
jl 0x1800f2640
movdqa xmm5, xmmword [0x18016c3c0]
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, xmm8
psllq xmm0, 3
vpsrlvq xmm1, xmm5, 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, xmm8
psllq xmm0, 3
vpsrlvq xmm1, xmm5, 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, xmm8
psllq xmm0, 3
vpsrlvq xmm1, xmm5, 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, xmm8
psllq xmm0, 3
vpsrlvq xmm1, xmm5, 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 0x1800f2550
cmp r9, 0x16
jae 0x1800f266d
movabs rdi, 0xf555f5ff557d555d
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 0x1800f2650
xor byte [rax], 0xa9
mov r9, r8
xor byte [rax + 1], 0xb5
xor byte [rax + 2], 0x74
xor byte [rax + 3], 0x4b
xor byte [rax + 4], 0x4f
xor byte [rax + 5], 0xe8
xor byte [rax + 6], 0x7c
xor byte [rax + 7], 0xf1
xor byte [rax + 8], 0x9f
xor byte [rax + 9], 0xdf
xor byte [rax + 0xa], 0x74
xor byte [rax + 0xb], 0x69
xor byte [rax + 0xc], 0x30
xor byte [rax + 0xd], 0x9e
xor byte [rax + 0xe], 0x5a
xor byte [rax + 0xf], 0x2c
xor byte [rax + 0x10], 0x79
xor byte [rax + 0x11], 0xe8
xor byte [rax + 0x12], 0xb
xor byte [rax + 0x13], 0x53
xor byte [rax + 0x14], 0x2d
xor byte [rax + 0x15], 0x70
cmp ebp, 5
jl 0x1800f27dc
movdqa xmm5, xmmword [0x180165690]
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, xmm5, 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, xmm5, 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, xmm5, 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, xmm5, 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 0x1800f26f0
cmp r9, 0x16
jae 0x1800f280d
movabs rdi, 0x33159b3b931f7fb7
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 0x1800f27f0
movdqu xmm0, xmmword [rax]
mov rsi, qword [rsp + 0x50]
lea rcx, [rax + 0x10]
xorps xmm4, xmm0
movdqu xmmword [rax], xmm4
xor byte [rcx], 0xc9
lea rcx, [rcx + 1]
sub r10, 1
jne 0x1800f2821
mov r9, r8
cmp ebp, 5
jl 0x1800f293e
movdqa xmm4, xmmword [0x18016aa10]
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, 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, [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
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 0x1800f2852
cmp r9, 0x16
jae 0x1800f296d
movabs r10, 0xc64550dc676b5671
nop dword [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 0x1800f2950
xor byte [rax], 0x23
mov r9, r8
xor byte [rax + 1], 0xfc
xor byte [rax + 2], 0xf1
xor byte [rax + 3], 0x23
xor byte [rax + 4], 0xfc
xor byte [rax + 5], 0xf1
xor byte [rax + 6], 0x23
xor byte [rax + 7], 0xfc
xor byte [rax + 8], 0xf1
xor byte [rax + 9], 0x23
xor byte [rax + 0xa], 0xfc
xor byte [rax + 0xb], 0xf1
xor byte [rax + 0xc], 0x23
xor byte [rax + 0xd], 0xfc
xor byte [rax + 0xe], 0xf1
xor byte [rax + 0xf], 0x23
xor byte [rax + 0x10], 0xfc
xor byte [rax + 0x11], 0xf1
xor byte [rax + 0x12], 0x23
xor byte [rax + 0x13], 0xfc
xor byte [rax + 0x14], 0xf1
xor byte [rax + 0x15], 0x23
movaps xmm6, xmmword [rsp + 0x20]
cmp ebp, 5
jl 0x1800f2ae0
movdqa xmm4, xmmword [0x180164f40]
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, xmm8
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, xmm8
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, xmm8
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, xmm8
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 0x1800f29f0
cmp r9, 0x16
jae 0x1800f2b0d
movabs r10, 0x12535bdd30d638d1
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 0x1800f2af0
xor byte [rax], 0x2d
xor byte [rax + 1], 0x50
xor byte [rax + 2], 0x36
xor byte [rax + 3], 0x3d
xor byte [rax + 4], 0x6f
xor byte [rax + 5], 0x3c
xor byte [rax + 6], 0x2c
xor byte [rax + 7], 0xcf
xor byte [rax + 8], 0x76
xor byte [rax + 9], 0xb4
xor byte [rax + 0xa], 0xd5
xor byte [rax + 0xb], 0x81
xor byte [rax + 0xc], 0xef
xor byte [rax + 0xd], 0x7b
xor byte [rax + 0xe], 0x9f
xor byte [rax + 0xf], 0xf7
xor byte [rax + 0x10], 0xb9
xor byte [rax + 0x11], 0x1e
xor byte [rax + 0x12], 0xe7
xor byte [rax + 0x13], 0xce
xor byte [rax + 0x14], 0x28
xor byte [rax + 0x15], 0xfb
movaps xmm8, xmmword [rsp]
cmp ebp, 5
mov rbp, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x30]
jl 0x1800f2c7c
movdqa xmm4, xmmword [0x180167050]
lea rdx, [rax + 4]
sub r11, rax
sub rbx, rax
nop
movzx ecx, word [rdx - 4]
movq xmm0, r8
punpcklqdq xmm0, xmm0
add r8, 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 + r11]
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 + 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
add rdx, 8
cmp r8, 0x10
jb 0x1800f2b90
cmp r8, 0x16
jae 0x1800f2cad
movabs r9, 0x6bdffbd1bffb17b5
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 0x1800f2c90
movaps xmm7, xmmword [rsp + 0x10]
mov rbx, qword [rsp + 0x40]
mov byte [rax + 0x16], 0
add rsp, 0x38
ret