Function at 0x180078a20
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0xa], 0
mov rax, rcx
je 0x18007943a
movdqa xmm3, xmmword [0x180164c10]
xor r11d, r11d
movdqa xmm4, xmmword [0x180164b70]
mov r8d, r11d
movdqa xmm5, xmmword [0x180164ba0]
mov qword [rsp + 0x20], rbx
mov ebx, dword [0x180182290]
movaps xmmword [rsp + 0x10], xmm6
movaps xmmword [rsp], xmm7
cmp ebx, 5
jl 0x180078b32
movzx ecx, word [rcx]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016d210]
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
movd ecx, xmm1
mov word [rax + 8], cx
jmp 0x180078b5d
movabs r9, 0xfe7ffeff7f7e7efe
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, 0xa
jb 0x180078b40
xor byte [rax + 2], 0x7f
xor byte [rax + 4], 0x5f
movzx r8d, byte [rax + 4]
movzx ecx, byte [rax + 1]
xor r8b, 0x9c
movzx r9d, byte [rax + 6]
not cl
movzx r10d, byte [rax + 8]
xor cl, 0xb6
movzx edx, byte [rax + 2]
xor r8b, 0xbb
xor byte [rax], 0xa8
not r9b
xor byte [rax + 7], 0xc9
not r10b
xor byte [rax + 9], 0x78
xor dl, 0x7c
movdqa xmm6, xmmword [0x180164bd0]
xor r9b, 0xfd
movdqa xmm7, xmmword [0x180164bc0]
xor r10b, 0x7c
mov byte [rax + 1], cl
xor dl, 0xfb
movzx ecx, byte [rax + 3]
xor r9b, 0xaf
not cl
mov byte [rax + 4], r8b
xor cl, 0x67
mov byte [rax + 2], dl
mov byte [rax + 3], cl
xor r10b, 0xaa
movzx ecx, byte [rax + 5]
mov r8, r11
not cl
mov byte [rax + 6], r9b
xor cl, 0x56
mov byte [rax + 8], r10b
mov byte [rax + 5], cl
cmp ebx, 5
jl 0x180078cbc
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016a3c0]
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
movd ecx, xmm1
mov word [rax + 8], cx
jmp 0x180078ced
movabs r9, 0xbbbd9fbb9bdfb9bf
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, 0xa
jb 0x180078cd0
xor byte [rax], 0x9b
mov r8, r11
xor byte [rax + 1], 0x9b
xor byte [rax + 2], 0x9b
xor byte [rax + 3], 0x9b
xor byte [rax + 4], 0x9b
xor byte [rax + 5], 0x9b
xor byte [rax + 6], 0x9b
xor byte [rax + 7], 0x9b
xor byte [rax + 8], 0x9b
xor byte [rax + 9], 0x9b
cmp ebx, 5
jl 0x180078de6
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180167a60]
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
movd ecx, xmm1
mov word [rax + 8], cx
jmp 0x180078e0d
movabs r9, 0x77f7f7f7f777ffff
movzx ecx, r8b
mov rdx, r9
and cl, 1
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 0xa
jb 0x180078df0
xor byte [rax], 0xef
mov r8, r11
xor byte [rax + 1], 0xe7
xor byte [rax + 2], 0x76
xor byte [rax + 3], 0xef
xor byte [rax + 4], 0xe7
xor byte [rax + 5], 0x76
xor byte [rax + 6], 0xef
xor byte [rax + 7], 0xe7
xor byte [rax + 8], 0x76
xor byte [rax + 9], 0xef
cmp ebx, 5
jl 0x180078f06
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x1801667b0]
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
movd ecx, xmm1
mov word [rax + 8], cx
jmp 0x180078f2d
movabs r9, 0x57d7f557fdff57dd
movzx ecx, r8b
mov rdx, r9
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 0xa
jb 0x180078f10
xor byte [rax + 2], 0x7d
xor byte [rax + 4], 0x6f
xor byte [rax + 6], 0x77
xor byte [rax + 8], 0xfd
movzx r8d, byte [rax + 6]
movzx ecx, byte [rax + 2]
xor r8b, 0x7f
movzx edx, byte [rax + 4]
xor r8b, 0x3b
movzx r9d, byte [rax + 8]
xor dl, 0xb7
xor byte [rax], 0x2f
xor dl, 0xee
xor byte [rax + 1], 0xbe
not cl
xor byte [rax + 3], 0x3d
xor cl, 0x2b
xor byte [rax + 5], 0x63
not r9b
xor byte [rax + 7], 0x6c
xor r9b, 0x76
xor byte [rax + 9], 0x37
mov byte [rax + 6], r8b
mov r8, r11
mov byte [rax + 2], cl
mov byte [rax + 4], dl
mov byte [rax + 8], r9b
cmp ebx, 5
jl 0x180079060
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016c560]
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
movd ecx, xmm1
mov word [rax + 8], cx
jmp 0x18007908d
movabs r9, 0xf715bddb5791df35
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, 0xa
jb 0x180079070
xor byte [rax], 0xe0
mov r8, r11
xor byte [rax + 1], 0xe0
xor byte [rax + 2], 0xe0
xor byte [rax + 3], 0xe0
xor byte [rax + 4], 0xe0
xor byte [rax + 5], 0xe0
xor byte [rax + 6], 0xe0
xor byte [rax + 7], 0xe0
xor byte [rax + 8], 0xe0
xor byte [rax + 9], 0xe0
cmp ebx, 5
jl 0x180079186
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180167d60]
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
movd ecx, xmm1
mov word [rax + 8], cx
jmp 0x1800791ad
movabs r9, 0x797f50477447f174
movzx ecx, r8b
mov rdx, r9
and cl, 1
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 0xa
jb 0x180079190
xor byte [rax], 0xa2
mov r8, r11
xor byte [rax + 1], 0xba
xor byte [rax + 2], 0xf5
xor byte [rax + 3], 0xa2
xor byte [rax + 4], 0xba
xor byte [rax + 5], 0xf5
xor byte [rax + 6], 0xa2
xor byte [rax + 7], 0xba
xor byte [rax + 8], 0xf5
xor byte [rax + 9], 0xa2
cmp ebx, 5
jl 0x1800792a6
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x1801659d0]
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
movd ecx, xmm1
mov word [rax + 8], cx
jmp 0x1800792cd
movabs r9, 0x3c1afa1131d03b1b
movzx ecx, r8b
mov rdx, r9
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 0xa
jb 0x1800792b0
xor byte [rax + 2], 0xcb
xor byte [rax + 4], 0xa
xor byte [rax + 6], 0x1a
xor byte [rax + 8], 0x7c
movzx ecx, byte [rax + 2]
movzx edx, byte [rax + 4]
xor cl, 0xa5
movzx r8d, byte [rax + 6]
xor dl, 0xec
movzx r9d, byte [rax + 8]
xor r8b, 0xe4
xor byte [rax], 0xc6
xor r9b, 0xa5
xor byte [rax + 1], 0xe2
xor cl, 0xdf
xor byte [rax + 3], 0x7c
xor dl, 0xf2
xor byte [rax + 5], 0x56
xor r8b, 0x76
xor byte [rax + 7], 0xa6
xor r9b, 0xbe
xor byte [rax + 9], 0xb2
cmp ebx, 5
mov byte [rax + 2], cl
mov rbx, qword [rsp + 0x20]
mov byte [rax + 4], dl
mov byte [rax + 6], r8b
mov byte [rax + 8], r9b
jl 0x180079404
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016aee0]
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
psllq xmm7, 3
movd ecx, xmm1
psllq xmm6, 3
psllq xmm5, 3
mov word [rax], cx
movzx ecx, word [rax + 2]
vpsrlvq xmm1, xmm2, xmm5
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
psllq xmm4, 3
movd ecx, xmm1
vpsrlvq xmm1, xmm2, xmm7
movaps xmm7, xmmword [rsp]
mov word [rax + 2], cx
movzx ecx, word [rax + 4]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
vpsrlvq xmm1, xmm2, xmm6
movaps xmm6, xmmword [rsp + 0x10]
mov word [rax + 4], cx
movzx ecx, word [rax + 6]
pshufb xmm1, xmm3
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
mov word [rax + 8], cx
mov byte [rax + 0xa], 0
add rsp, 0x28
ret
movabs r8, 0xd3b719a36f856545
nop
movzx ecx, r11b
mov rdx, r8
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + r11], dl
inc r11
cmp r11, 0xa
jb 0x180079410
movaps xmm7, xmmword [rsp]
movaps xmm6, xmmword [rsp + 0x10]
mov byte [rax + 0xa], 0
add rsp, 0x28
ret