Function at 0x1800b6950
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0xc], 0
mov rax, rcx
je 0x1800b74fd
movdqa xmm3, xmmword [0x180164c10]
movdqa xmm5, xmmword [0x180164ba0]
movdqa xmm4, xmmword [0x180164b70]
mov qword [rsp + 0x30], rbx
xor ebx, ebx
mov qword [rsp + 0x38], rsi
mov r8d, ebx
mov esi, dword [0x180182290]
mov qword [rsp + 0x20], rdi
movaps xmmword [rsp + 0x10], xmm6
movaps xmmword [rsp], xmm7
cmp esi, 5
jl 0x1800b6a91
movzx ecx, word [rcx]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016d440]
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm5
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax], cx
movzx ecx, word [rax + 2]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 2], cx
movzx ecx, word [rax + 4]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm5
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 4], cx
movzx ecx, word [rax + 6]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 6], cx
movzx ecx, word [rax + 8]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm5
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 8], cx
movzx ecx, word [rax + 0xa]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 0xa], cx
jmp 0x1800b6abd
movabs r9, 0xfeff7f7fff7efefe
nop dword [rax + rax]
movzx ecx, r8b
mov rdx, r9
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 0xc
jb 0x1800b6aa0
xor byte [rax + 2], 0xdf
xor byte [rax + 4], 0xdf
xor byte [rax + 8], 0xdf
xor byte [rax + 0xa], 0x7f
movzx r8d, byte [rax + 4]
movzx ecx, byte [rax + 1]
xor r8b, 0xfe
movzx r10d, byte [rax + 6]
not cl
movzx edx, byte [rax + 2]
xor cl, 0xa2
movzx r9d, byte [rax + 8]
xor r8b, 0xeb
movzx r11d, byte [rax + 0xa]
not r10b
xor byte [rax], 0x8e
xor dl, 0xfd
xor byte [rax + 3], 0x7c
xor r10b, 0x5e
xor byte [rax + 5], 0xaa
xor r9b, 0xfd
xor byte [rax + 7], 0x6d
xor r11b, 0xfe
xor byte [rax + 9], 0x78
xor dl, 0xba
movdqa xmm6, xmmword [0x180164bd0]
xor r10b, 0xae
movdqa xmm7, xmmword [0x180164bc0]
xor r9b, 0xbf
mov byte [rax + 1], cl
xor r11b, 0xbe
movzx ecx, byte [rax + 0xb]
not cl
mov byte [rax + 4], r8b
xor cl, 0x95
mov byte [rax + 2], dl
mov byte [rax + 6], r10b
mov r8, rbx
mov byte [rax + 8], r9b
mov byte [rax + 0xa], r11b
mov byte [rax + 0xb], cl
cmp esi, 5
jl 0x1800b6c54
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180169690]
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm5
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax], cx
movzx ecx, word [rax + 2]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm7
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 2], cx
movzx ecx, word [rax + 4]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm6
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 4], cx
movzx ecx, word [rax + 6]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 6], cx
movzx ecx, word [rax + 8]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm5
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 8], cx
movzx ecx, word [rax + 0xa]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 0xa], cx
jmp 0x1800b6c7d
movabs r9, 0x9b9bb9ff9dddfdbf
nop
movzx ecx, r8b
mov rdx, r9
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 0xc
jb 0x1800b6c60
mov edi, 0xc
mov rcx, rax
mov edx, edi
nop word [rax + rax]
xor byte [rcx], 0xec
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x1800b6c90
mov r8, rbx
cmp esi, 5
jl 0x1800b6d95
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016de90]
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax], cx
movzx ecx, word [rax + 2]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 2], cx
movzx ecx, word [rax + 4]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 4], cx
movzx ecx, word [rax + 6]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 6], cx
movzx ecx, word [rax + 8]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 8], cx
movzx ecx, word [rax + 0xa]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 0xa], cx
jmp 0x1800b6dbc
movabs r9, 0xffff7f7ff7f77f77
nop
movzx ecx, r8b
mov rdx, r9
and cl, 1
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, rdi
jb 0x1800b6da0
xor byte [rax], 0x6e
mov r8, rbx
xor byte [rax + 1], 0xef
xor byte [rax + 2], 0xf6
xor byte [rax + 3], 0x6e
xor byte [rax + 4], 0xef
xor byte [rax + 5], 0xf6
xor byte [rax + 6], 0x6e
xor byte [rax + 7], 0xef
xor byte [rax + 8], 0xf6
xor byte [rax + 9], 0x6e
xor byte [rax + 0xa], 0xef
xor byte [rax + 0xb], 0xf6
cmp esi, 5
jl 0x1800b6ee3
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180166cb0]
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm5
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax], cx
movzx ecx, word [rax + 2]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 2], cx
movzx ecx, word [rax + 4]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm5
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 4], cx
movzx ecx, word [rax + 6]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 6], cx
movzx ecx, word [rax + 8]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm5
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 8], cx
movzx ecx, word [rax + 0xa]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 0xa], cx
jmp 0x1800b6f0c
movabs r9, 0x5f5f55dd5f555757
nop dword [rax]
movzx ecx, r8b
mov rdx, r9
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, rdi
jb 0x1800b6ef0
xor byte [rax + 2], 0xf4
xor byte [rax + 4], 0x75
xor byte [rax + 6], 0x4c
xor byte [rax + 8], 0x7d
xor byte [rax + 0xa], 0xdf
movzx r8d, byte [rax + 4]
movzx ecx, byte [rax + 1]
xor r8b, 0x37
movzx edx, byte [rax + 2]
not cl
movzx r9d, byte [rax + 6]
xor cl, 0x62
movzx r10d, byte [rax + 8]
xor r8b, 0x7f
movzx r11d, byte [rax + 0xa]
xor dl, 0xbf
xor byte [rax], 0x5e
xor r9b, 0xbf
xor byte [rax + 3], 0xf1
xor r10b, 0xbf
xor byte [rax + 9], 0x6d
xor r11b, 0x37
mov byte [rax + 1], cl
xor dl, 0x27
movzx ecx, byte [rax + 5]
xor r9b, 0x7a
not cl
mov byte [rax + 4], r8b
xor cl, 0x30
mov byte [rax + 2], dl
mov byte [rax + 5], cl
xor r10b, 0x2e
movzx ecx, byte [rax + 7]
xor r11b, 0xb3
not cl
mov byte [rax + 6], r9b
xor cl, 0xca
mov byte [rax + 8], r10b
mov byte [rax + 7], cl
mov r8, rbx
movzx ecx, byte [rax + 0xb]
not cl
mov byte [rax + 0xa], r11b
xor cl, 0x33
mov byte [rax + 0xb], cl
cmp esi, 5
jl 0x1800b70a4
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180164f20]
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm5
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax], cx
movzx ecx, word [rax + 2]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm7
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 2], cx
movzx ecx, word [rax + 4]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm6
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 4], cx
movzx ecx, word [rax + 6]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 6], cx
movzx ecx, word [rax + 8]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm5
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 8], cx
movzx ecx, word [rax + 0xa]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 0xa], cx
jmp 0x1800b70cc
movabs r9, 0x11fbdf771f37bb9d
nop
movzx ecx, r8b
mov rdx, r9
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, rdi
jb 0x1800b70b0
mov rcx, rax
nop
xor byte [rcx], 0xaa
lea rcx, [rcx + 1]
sub rdi, 1
jne 0x1800b70d0
mov rdi, qword [rsp + 0x20]
mov r8, rbx
cmp esi, 5
jl 0x1800b71da
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180166e20]
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax], cx
movzx ecx, word [rax + 2]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 2], cx
movzx ecx, word [rax + 4]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 4], cx
movzx ecx, word [rax + 6]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 6], cx
movzx ecx, word [rax + 8]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 8], cx
movzx ecx, word [rax + 0xa]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 0xa], cx
jmp 0x1800b720d
movabs r9, 0x61d376e454fe4d64
nop dword [rax]
nop dword [rax + rax]
movzx ecx, r8b
mov rdx, r9
and cl, 1
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 0xc
jb 0x1800b71f0
xor byte [rax], 0x37
mov r8, rbx
xor byte [rax + 1], 0x65
xor byte [rax + 2], 0x6f
xor byte [rax + 3], 0x37
xor byte [rax + 4], 0x65
xor byte [rax + 5], 0x6f
xor byte [rax + 6], 0x37
xor byte [rax + 7], 0x65
xor byte [rax + 8], 0x6f
xor byte [rax + 9], 0x37
xor byte [rax + 0xa], 0x65
xor byte [rax + 0xb], 0x6f
cmp esi, 5
jl 0x1800b7334
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180167ef0]
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm5
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax], cx
movzx ecx, word [rax + 2]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 2], cx
movzx ecx, word [rax + 4]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm5
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 4], cx
movzx ecx, word [rax + 6]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 6], cx
movzx ecx, word [rax + 8]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm5
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 8], cx
movzx ecx, word [rax + 0xa]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 0xa], cx
jmp 0x1800b735d
movabs r9, 0x7c79fb119cf7367f
nop
movzx ecx, r8b
mov rdx, r9
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 0xc
jb 0x1800b7340
xor byte [rax + 2], 0xda
xor byte [rax + 4], 0x7a
xor byte [rax + 6], 0x58
xor byte [rax + 8], 0xf8
xor byte [rax + 0xa], 0xa9
movzx ecx, byte [rax + 2]
movzx edx, byte [rax + 4]
xor cl, 0xe5
movzx r8d, byte [rax + 6]
xor dl, 0xd6
movzx r9d, byte [rax + 8]
xor r8b, 0x5c
movzx r10d, byte [rax + 0xa]
xor r9b, 0xe5
xor byte [rax], 0x7e
xor r10b, 0xd6
xor byte [rax + 1], 0x4e
xor cl, 0xa6
xor byte [rax + 3], 3
xor dl, 0xca
xor byte [rax + 5], 0x28
xor r8b, 0x6a
xor byte [rax + 7], 0x85
xor r9b, 0xc2
xor byte [rax + 9], 0x88
xor r10b, 0xaf
xor byte [rax + 0xb], 0xfd
cmp esi, 5
mov byte [rax + 2], cl
mov rsi, qword [rsp + 0x38]
mov byte [rax + 4], dl
mov byte [rax + 6], r8b
mov byte [rax + 8], r9b
mov byte [rax + 0xa], r10b
jl 0x1800b74c3
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180165a40]
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
psllq xmm7, 3
movd ecx, xmm1
movdqa xmm0, xmm5
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax], cx
movzx ecx, word [rax + 2]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
psllq xmm6, 3
movd ecx, xmm1
vpsrlvq xmm1, xmm2, xmm7
pshufb xmm1, xmm3
mov word [rax + 2], cx
movzx ecx, word [rax + 4]
psllq xmm4, 3
psllq xmm5, 3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
vpsrlvq xmm1, xmm2, xmm6
pshufb xmm1, xmm3
mov word [rax + 4], cx
movzx ecx, word [rax + 6]
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
vpsrlvq xmm1, xmm2, xmm4
pshufb xmm1, xmm3
mov word [rax + 6], cx
movzx ecx, word [rax + 8]
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
vpsrlvq xmm1, xmm2, xmm5
pshufb xmm1, xmm3
mov word [rax + 8], cx
movzx ecx, word [rax + 0xa]
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 0xa], cx
jmp 0x1800b74eb
movabs r8, 0x3d41532d4bf90967
nop dword [rax]
movzx ecx, bl
mov rdx, r8
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + rbx], dl
inc rbx
cmp rbx, 0xc
jb 0x1800b74d0
movaps xmm7, xmmword [rsp]
movaps xmm6, xmmword [rsp + 0x10]
mov rbx, qword [rsp + 0x30]
mov byte [rax + 0xc], 0
add rsp, 0x28
ret