Function at 0x180031580
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0x16], 0
mov rax, rcx
je 0x1800322ab
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 0x1800316ec
movdqa xmm4, xmmword [0x180168340]
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 0x180031600
cmp r9, 0x16
jae 0x18003171d
movabs r10, 0x7e7f7ffeff7e7eff
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 0x180031700
movzx ecx, byte [rax + 1]
lea rdx, [rax + 4]
not cl
xor byte [rax], 0xba
xor cl, 0x60
xor byte [rax + 2], 0xaf
mov byte [rax + 1], cl
mov r9, r8
movzx ecx, byte [rax + 3]
not cl
xor byte [rdx], 0x8d
xor cl, 0x40
xor byte [rax + 7], 0x1b
xor byte [rax + 9], 0x6f
xor byte [rax + 0xc], 0x3e
xor byte [rax + 0xe], 0xbb
xor byte [rax + 0x11], 0x5f
xor byte [rax + 0x13], 0x1f
not byte [rax + 0xf]
movdqa xmm6, xmmword [0x180164be0]
mov byte [rax + 3], cl
movzx ecx, byte [rax + 5]
not cl
xor cl, 0x60
mov byte [rax + 5], cl
movzx ecx, byte [rax + 6]
not cl
xor cl, 0x41
mov byte [rax + 6], cl
movzx ecx, byte [rax + 8]
not cl
xor cl, 0xc0
mov byte [rax + 8], cl
movzx ecx, byte [rax + 0xa]
not cl
xor cl, 0xa3
mov byte [rax + 0xa], cl
movzx ecx, byte [rax + 0xb]
not cl
xor cl, 0x71
mov byte [rax + 0xb], cl
movzx ecx, byte [rax + 0xd]
not cl
xor cl, 0x60
mov byte [rax + 0xd], cl
movzx ecx, byte [rax + 0x10]
not cl
xor cl, 0xf3
mov byte [rax + 0x10], cl
movzx ecx, byte [rax + 0x12]
not cl
xor cl, 0x50
mov byte [rax + 0x12], cl
movzx ecx, byte [rax + 0x14]
not cl
xor cl, 0xc0
mov byte [rax + 0x14], cl
movzx ecx, byte [rax + 0x15]
not cl
xor cl, 4
mov byte [rax + 0x15], cl
cmp ebp, 5
jl 0x1800318ec
movdqa xmm4, xmmword [0x1801698f0]
mov r10, r11
sub r10, rax
mov rdi, rbx
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 + 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 0x180031800
cmp r9, 0x16
jae 0x18003191d
movabs r10, 0x9df99dfbdbdbbbbd
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 0x180031900
movdqu xmm0, xmmword [rax]
lea rcx, [rax + 0x10]
mov r10d, 6
movdqa xmm1, xmmword [0x18016c0d0]
mov edx, r10d
xorps xmm1, xmm0
movdqu xmmword [rax], xmm1
nop dword [rax]
xor byte [rcx], 0xec
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x180031940
movdqa xmm5, xmmword [0x180164b80]
mov r9, r8
mov qword [rsp + 0x40], rsi
cmp ebp, 5
jl 0x180031a6c
movdqa xmm4, xmmword [0x180168920]
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 0x180031980
cmp r9, 0x16
jae 0x180031a9d
movabs rdi, 0x7f7f7f77f7f777f7
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 0x180031a80
xor byte [rax], 0x66
mov r9, r8
xor byte [rax + 1], 0x66
xor byte [rax + 2], 0xee
xor byte [rax + 3], 0x66
xor byte [rax + 4], 0x66
xor byte [rax + 5], 0xee
xor byte [rax + 6], 0x66
xor byte [rax + 7], 0x66
xor byte [rax + 8], 0xee
xor byte [rax + 9], 0x66
xor byte [rax + 0xa], 0x66
xor byte [rax + 0xb], 0xee
xor byte [rax + 0xc], 0x66
xor byte [rax + 0xd], 0x66
xor byte [rax + 0xe], 0xee
xor byte [rax + 0xf], 0x66
xor byte [rax + 0x10], 0x66
xor byte [rax + 0x11], 0xee
xor byte [rax + 0x12], 0x66
xor byte [rax + 0x13], 0x66
xor byte [rax + 0x14], 0xee
xor byte [rax + 0x15], 0x66
cmp ebp, 5
jl 0x180031c0c
movdqa xmm4, xmmword [0x18016b1f0]
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, 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, 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 + rsi]
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 0x180031b20
cmp r9, 0x16
jae 0x180031c3d
movabs rdi, 0xd775d5df7dff5ff7
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 0x180031c20
movzx ecx, byte [rax + 6]
mov r9, r8
xor byte [rax], 0xbc
not cl
xor byte [rax + 1], 0x6a
xor cl, 0xc5
xor byte [rax + 2], 0xf9
xor byte [rax + 3], 0x52
xor byte [rax + 4], 0xc6
xor byte [rax + 5], 0xb4
xor byte [rax + 7], 0x78
xor byte [rax + 8], 0xd2
xor byte [rax + 9], 0x1b
xor byte [rax + 0xa], 0xb8
xor byte [rax + 0xb], 0x3e
xor byte [rax + 0xc], 0x30
xor byte [rax + 0xe], 0x52
xor byte [rax + 0xf], 0x30
xor byte [rax + 0x10], 0x6b
xor byte [rax + 0x11], 0xf8
xor byte [rax + 0x12], 0xa
xor byte [rax + 0x13], 0xd6
xor byte [rax + 0x15], 0x2a
mov byte [rax + 6], cl
movzx ecx, byte [rax + 0xd]
not cl
xor cl, 0xb1
mov byte [rax + 0xd], cl
movzx ecx, byte [rax + 0x14]
not cl
xor cl, 0x9b
mov byte [rax + 0x14], cl
cmp ebp, 5
jl 0x180031dbc
movdqa xmm4, xmmword [0x18016bb70]
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, [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
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 + rsi]
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 0x180031cd0
cmp r9, 0x16
jae 0x180031ded
movabs rdi, 0xdf9f1bf573f17195
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 0x180031dd0
movdqu xmm0, xmmword [rax]
lea rcx, [rax + 0x10]
mov rsi, qword [rsp + 0x40]
movdqa xmm1, xmmword [0x18016be40]
xorps xmm1, xmm0
movdqu xmmword [rax], xmm1
nop dword [rax]
xor byte [rcx], 0xe2
lea rcx, [rcx + 1]
sub r10, 1
jne 0x180031e10
mov r9, r8
cmp ebp, 5
jl 0x180031f2d
movdqa xmm4, xmmword [0x18016bba0]
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 0x180031e41
cmp r9, 0x16
jae 0x180031f5d
movabs r10, 0xdfcb6be363d4f96b
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, 0x16
jb 0x180031f40
xor byte [rax], 0x3b
mov r9, r8
xor byte [rax + 1], 0xe4
xor byte [rax + 2], 0x29
xor byte [rax + 3], 0x3b
xor byte [rax + 4], 0xe4
xor byte [rax + 5], 0x29
xor byte [rax + 6], 0x3b
xor byte [rax + 7], 0xe4
xor byte [rax + 8], 0x29
xor byte [rax + 9], 0x3b
xor byte [rax + 0xa], 0xe4
xor byte [rax + 0xb], 0x29
xor byte [rax + 0xc], 0x3b
xor byte [rax + 0xd], 0xe4
xor byte [rax + 0xe], 0x29
xor byte [rax + 0xf], 0x3b
xor byte [rax + 0x10], 0xe4
xor byte [rax + 0x11], 0x29
xor byte [rax + 0x12], 0x3b
xor byte [rax + 0x13], 0xe4
xor byte [rax + 0x14], 0x29
xor byte [rax + 0x15], 0x3b
cmp ebp, 5
jl 0x1800320cc
movdqa xmm4, xmmword [0x180166c50]
lea rdx, [rax + 4]
mov r10, r11
mov rdi, rbx
sub r10, 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 + 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 0x180031fe0
cmp r9, 0x16
jae 0x1800320fd
movabs r10, 0x5f1af2f2979453b1
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 0x1800320e0
xor byte [rax], 0x7e
xor byte [rax + 1], 0x83
xor byte [rax + 2], 0x36
xor byte [rax + 3], 0xed
xor byte [rax + 4], 0xf0
xor byte [rax + 5], 0xeb
xor byte [rax + 6], 0x7c
xor byte [rax + 7], 0xaa
xor byte [rax + 8], 0xed
xor byte [rax + 9], 0x8e
xor byte [rax + 0xa], 0x6e
xor byte [rax + 0xb], 0xa1
xor byte [rax + 0xc], 0xdc
xor byte [rax + 0xd], 0xc8
xor byte [rax + 0xe], 0xe3
xor byte [rax + 0xf], 0x85
xor byte [rax + 0x10], 0xcd
xor byte [rax + 0x11], 0x68
xor byte [rax + 0x12], 0xf6
xor byte [rax + 0x13], 0x4f
xor byte [rax + 0x14], 0x51
xor byte [rax + 0x15], 0x4b
movaps xmm7, xmmword [rsp]
cmp ebp, 5
mov rbp, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x20]
jl 0x18003226c
movdqa xmm4, xmmword [0x1801675a0]
lea rdx, [rax + 4]
sub r11, rax
sub rbx, rax
nop dword [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 0x180032180
cmp r8, 0x16
jae 0x18003229d
movabs r9, 0x75eb2f5947b10f6b
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 0x180032280
movaps xmm6, xmmword [rsp + 0x10]
mov rbx, qword [rsp + 0x30]
mov byte [rax + 0x16], 0
add rsp, 0x28
ret