Function at 0x1800dca80
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0x19], 0
mov rax, rcx
je 0x1800dd7cb
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 0x1800dcbec
movdqa xmm4, xmmword [0x1801684e0]
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 0x1800dcb00
cmp r9, 0x19
jae 0x1800dcc1d
movabs r10, 0x7efefefe7e7effff
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, 0x19
jb 0x1800dcc00
movzx ecx, byte [rax + 6]
lea rdx, [rax + 4]
xor byte [rax], 0x2e
not cl
xor byte [rax + 1], 8
xor cl, 0xa0
xor byte [rax + 2], 0x6f
mov r9, r8
xor byte [rax + 3], 0xab
xor byte [rdx], 0x2f
xor byte [rax + 5], 0x2c
xor byte [rax + 7], 0x6d
xor byte [rax + 8], 0x4a
xor byte [rax + 9], 0x4f
xor byte [rax + 0xa], 0xab
xor byte [rax + 0xb], 0x4c
xor byte [rax + 0xc], 0x6e
xor byte [rax + 0xe], 0xaf
xor byte [rax + 0xf], 0xca
xor byte [rax + 0x10], 0xcf
xor byte [rax + 0x11], 0x68
xor byte [rax + 0x12], 0xe
xor byte [rax + 0x13], 0xad
xor byte [rax + 0x15], 0xaf
xor byte [rax + 0x16], 0xea
xor byte [rax + 0x17], 0xc
xor byte [rax + 0x18], 0xaa
movdqa xmm6, xmmword [0x180164be0]
mov byte [rax + 6], cl
movzx ecx, byte [rax + 0xd]
not cl
xor cl, 0xe3
mov byte [rax + 0xd], cl
movzx ecx, byte [rax + 0x14]
not cl
xor cl, 0x81
mov byte [rax + 0x14], cl
cmp ebp, 5
jl 0x1800dcdaf
movdqa xmm4, xmmword [0x180169920]
mov r10, r11
sub r10, rax
mov rdi, rbx
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, [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 0x1800dccc3
cmp r9, 0x19
jae 0x1800dcddd
movabs r10, 0x9dfbd99bdb99d999
nop dword [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, 0x19
jb 0x1800dcdc0
movdqu xmm0, xmmword [rax]
lea rcx, [rax + 0x10]
mov r10d, 9
movdqa xmm1, xmmword [0x180169a70]
mov edx, r10d
xorps xmm1, xmm0
movdqu xmmword [rax], xmm1
nop dword [rax]
xor byte [rcx], 0x9f
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x1800dce00
movdqa xmm5, xmmword [0x180164b80]
mov r9, r8
mov qword [rsp + 0x40], rsi
cmp ebp, 5
jl 0x1800dcf2c
movdqa xmm4, xmmword [0x18016c9a0]
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, [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
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, [rsi + 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 0x1800dce40
cmp r9, 0x19
jae 0x1800dcf5d
movabs rdi, 0xf7ff77ff7fff7fff
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, 0x19
jb 0x1800dcf40
xor byte [rax], 0xf6
mov r9, r8
xor byte [rax + 1], 0x7f
xor byte [rax + 2], 0xe7
xor byte [rax + 3], 0xf6
xor byte [rax + 4], 0x7f
xor byte [rax + 5], 0xe7
xor byte [rax + 6], 0xf6
xor byte [rax + 7], 0x7f
xor byte [rax + 8], 0xe7
xor byte [rax + 9], 0xf6
xor byte [rax + 0xa], 0x7f
xor byte [rax + 0xb], 0xe7
xor byte [rax + 0xc], 0xf6
xor byte [rax + 0xd], 0x7f
xor byte [rax + 0xe], 0xe7
xor byte [rax + 0xf], 0xf6
xor byte [rax + 0x10], 0x7f
xor byte [rax + 0x11], 0xe7
xor byte [rax + 0x12], 0xf6
xor byte [rax + 0x13], 0x7f
xor byte [rax + 0x14], 0xe7
xor byte [rax + 0x15], 0xf6
xor byte [rax + 0x16], 0x7f
xor byte [rax + 0x17], 0xe7
xor byte [rax + 0x18], 0xf6
cmp ebp, 5
jl 0x1800dd0dc
movdqa xmm4, xmmword [0x180168170]
lea rdx, [rax + 4]
mov rdi, r11
mov rsi, rbx
sub rdi, rax
sub rsi, rax
nop dword [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, [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 0x1800dcff0
cmp r9, 0x19
jae 0x1800dd10d
movabs rdi, 0x7dfd57fd5d57755d
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, 0x19
jb 0x1800dd0f0
movzx ecx, byte [rax + 5]
mov r9, r8
xor byte [rax], bl
not cl
xor byte [rax + 1], 0x78
xor cl, 0x2d
xor byte [rax + 2], 0xdc
xor byte [rax + 3], 0x2e
xor byte [rax + 4], 0x7b
xor byte [rax + 6], 0xe4
xor byte [rax + 8], 0xab
xor byte [rax + 9], 0xbf
xor byte [rax + 0xa], 0x56
xor byte [rax + 0xc], 0x95
xor byte [rax + 0xf], 0x53
xor byte [rax + 0x10], 0xf4
xor byte [rax + 0x12], 0x23
xor byte [rax + 0x13], 0x36
xor byte [rax + 0x14], 0xf
xor byte [rax + 0x16], 0x18
xor byte [rax + 0x18], 0xb6
not byte [rax + 0xd]
mov byte [rax + 5], cl
movzx ecx, byte [rax + 7]
not cl
xor cl, 0xf6
mov byte [rax + 7], cl
movzx ecx, byte [rax + 0xb]
not cl
xor cl, 0x8b
mov byte [rax + 0xb], cl
movzx ecx, byte [rax + 0xe]
not cl
xor cl, 0x9d
mov byte [rax + 0xe], cl
movzx ecx, byte [rax + 0x11]
not cl
xor cl, 0xa6
mov byte [rax + 0x11], cl
movzx ecx, byte [rax + 0x15]
not cl
xor cl, 0x56
mov byte [rax + 0x15], cl
movzx ecx, byte [rax + 0x17]
not cl
xor cl, 0x14
mov byte [rax + 0x17], cl
cmp ebp, 5
jl 0x1800dd2bc
movdqa xmm4, xmmword [0x180165c40]
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, 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 0x1800dd1d0
cmp r9, 0x19
jae 0x1800dd2ed
movabs rdi, 0x3f557375f937d5dd
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, 0x19
jb 0x1800dd2d0
movdqu xmm0, xmmword [rax]
lea rcx, [rax + 0x10]
mov rsi, qword [rsp + 0x40]
movdqa xmm1, xmmword [0x18016c010]
xorps xmm1, xmm0
movdqu xmmword [rax], xmm1
nop dword [rax]
xor byte [rcx], 0xea
lea rcx, [rcx + 1]
sub r10, 1
jne 0x1800dd310
mov r9, r8
cmp ebp, 5
jl 0x1800dd42d
movdqa xmm4, xmmword [0x180167d30]
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 0x1800dd341
cmp r9, 0x19
jae 0x1800dd45d
movabs r10, 0x79796449dd67d769
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, 0x19
jb 0x1800dd440
xor byte [rax], 0xb5
mov r9, r8
xor byte [rax + 1], 0x75
xor byte [rax + 2], 0xbd
xor byte [rax + 3], 0xb5
xor byte [rax + 4], 0x75
xor byte [rax + 5], 0xbd
xor byte [rax + 6], 0xb5
xor byte [rax + 7], 0x75
xor byte [rax + 8], 0xbd
xor byte [rax + 9], 0xb5
xor byte [rax + 0xa], 0x75
xor byte [rax + 0xb], 0xbd
xor byte [rax + 0xc], 0xb5
xor byte [rax + 0xd], 0x75
xor byte [rax + 0xe], 0xbd
xor byte [rax + 0xf], 0xb5
xor byte [rax + 0x10], 0x75
xor byte [rax + 0x11], 0xbd
xor byte [rax + 0x12], 0xb5
xor byte [rax + 0x13], 0x75
xor byte [rax + 0x14], 0xbd
xor byte [rax + 0x15], 0xb5
xor byte [rax + 0x16], 0x75
xor byte [rax + 0x17], 0xbd
xor byte [rax + 0x18], 0xb5
cmp ebp, 5
jl 0x1800dd5dc
movdqa xmm4, xmmword [0x180169770]
lea rdx, [rax + 4]
mov r10, r11
mov rdi, rbx
sub r10, rax
sub rdi, rax
nop dword [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, 0x18
jb 0x1800dd4f0
cmp r9, 0x19
jae 0x1800dd60d
movabs r10, 0x9c3371f03f91b13b
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, 0x19
jb 0x1800dd5f0
xor byte [rax], 0xc0
xor byte [rax + 1], 0x54
xor byte [rax + 2], 0x73
xor byte [rax + 3], 0xe7
xor byte [rax + 4], 0x41
xor byte [rax + 5], 0x8d
xor byte [rax + 6], 0x6b
xor byte [rax + 7], 0x21
xor byte [rax + 8], 0xe8
xor byte [rax + 9], 0x74
xor byte [rax + 0xa], 0x53
xor byte [rax + 0xb], 0x6e
xor byte [rax + 0xc], 0x4e
xor byte [rax + 0xd], r11b
xor byte [rax + 0xe], 0x9e
xor byte [rax + 0xf], r11b
xor byte [rax + 0x10], 0xc1
xor byte [rax + 0x11], 0x1b
xor byte [rax + 0x12], 0xd9
xor byte [rax + 0x13], 0xd8
xor byte [rax + 0x14], 0x50
xor byte [rax + 0x15], 0x89
xor byte [rax + 0x16], 0x2c
xor byte [rax + 0x17], 0xfd
xor byte [rax + 0x18], 0xaf
movaps xmm7, xmmword [rsp]
cmp ebp, 5
mov rbp, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x20]
jl 0x1800dd78c
movdqa xmm4, xmmword [0x18016b0a0]
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, [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, [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
add rdx, 8
cmp r8, 0x18
jb 0x1800dd6a0
cmp r8, 0x19
jae 0x1800dd7bd
movabs r9, 0xd5bbc1f38d9b893b
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, 0x19
jb 0x1800dd7a0
movaps xmm6, xmmword [rsp + 0x10]
mov rbx, qword [rsp + 0x30]
mov byte [rax + 0x19], 0
add rsp, 0x28
ret