Function at 0x180076860
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0xa], 0
mov rax, rcx
je 0x18007725a
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 0x180076972
movzx ecx, word [rcx]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016d2d0]
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 0x18007699d
movabs r9, 0xfefe7e7ffe7ffeff
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 0x180076980
xor byte [rax + 2], 0x5f
xor byte [rax + 4], 0x7f
xor byte [rax + 6], 0x5f
xor byte [rax + 8], 0xdf
movzx r8d, byte [rax + 4]
movzx edx, byte [rax + 2]
xor r8b, 0x7c
movzx r9d, byte [rax + 6]
xor r8b, 0xea
movzx r10d, byte [rax + 8]
xor dl, 0xbe
xor byte [rax], 0x6a
xor r9b, 0xfe
xor byte [rax + 1], 0x28
xor r10b, 0xbe
xor byte [rax + 3], 0x49
xor dl, 0xbb
xor byte [rax + 5], 0xc9
xor r9b, 0xae
xor byte [rax + 7], 0x28
xor r10b, 0xeb
xor byte [rax + 9], 0xb9
movdqa xmm6, xmmword [0x180164bd0]
movdqa xmm7, xmmword [0x180164bc0]
mov byte [rax + 4], r8b
mov r8, r11
mov byte [rax + 2], dl
mov byte [rax + 6], r9b
mov byte [rax + 8], r10b
cmp ebx, 5
jl 0x180076ae6
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016b430]
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 0x180076b0d
movabs r9, 0xd9b99dfffbd9dbdd
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 0x180076af0
xor byte [rax], 0xea
mov r8, r11
xor byte [rax + 1], 0xea
xor byte [rax + 2], 0xea
xor byte [rax + 3], 0xea
xor byte [rax + 4], 0xea
xor byte [rax + 5], 0xea
xor byte [rax + 6], 0xea
xor byte [rax + 7], 0xea
xor byte [rax + 8], 0xea
xor byte [rax + 9], 0xea
cmp ebx, 5
jl 0x180076c06
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180167a70]
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 0x180076c2d
movabs r9, 0x77f7f7ffff7f777f
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 0x180076c10
xor byte [rax], 0xee
mov r8, r11
xor byte [rax + 1], 0x7e
xor byte [rax + 2], 0xe7
xor byte [rax + 3], 0xee
xor byte [rax + 4], 0x7e
xor byte [rax + 5], 0xe7
xor byte [rax + 6], 0xee
xor byte [rax + 7], 0x7e
xor byte [rax + 8], 0xe7
xor byte [rax + 9], 0xee
cmp ebx, 5
jl 0x180076d26
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180168140]
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 0x180076d4d
movabs r9, 0x7df5fd7dd5f7575d
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 0x180076d30
xor byte [rax + 2], 0x56
xor byte [rax + 4], 0xe7
xor byte [rax + 6], 0x4f
xor byte [rax + 8], 0x76
movzx r8d, byte [rax + 6]
movzx ecx, byte [rax + 2]
xor r8b, 0xfb
movzx edx, byte [rax + 4]
xor r8b, 0x23
movzx r9d, byte [rax + 8]
xor cl, 0xfb
xor byte [rax], 0x2b
xor dl, 0x3b
xor byte [rax + 1], 0x96
xor r9b, 0xfb
xor byte [rax + 3], 0x7a
xor cl, 0x62
xor byte [rax + 5], 0xef
xor dl, 0xae
xor byte [rax + 7], 0xd3
xor r9b, 0xea
xor byte [rax + 9], 0xba
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 0x180076e82
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180166a40]
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 0x180076ead
movabs r9, 0x5d1b1f79dfb5d599
nop dword [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 0x180076e90
xor byte [rax], 0xf4
mov r8, r11
xor byte [rax + 1], 0xf4
xor byte [rax + 2], 0xf4
xor byte [rax + 3], 0xf4
xor byte [rax + 4], 0xf4
xor byte [rax + 5], 0xf4
xor byte [rax + 6], 0xf4
xor byte [rax + 7], 0xf4
xor byte [rax + 8], 0xf4
xor byte [rax + 9], 0xf4
cmp ebx, 5
jl 0x180076fa6
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x1801676f0]
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 0x180076fcd
movabs r9, 0x776677557eede3fe
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 0x180076fb0
xor byte [rax], 0xb6
mov r8, r11
xor byte [rax + 1], 0xeb
xor byte [rax + 2], 0xf4
xor byte [rax + 3], 0xb6
xor byte [rax + 4], 0xeb
xor byte [rax + 5], 0xf4
xor byte [rax + 6], 0xb6
xor byte [rax + 7], 0xeb
xor byte [rax + 8], 0xf4
xor byte [rax + 9], 0xb6
cmp ebx, 5
jl 0x1800770c6
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180167f00]
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 0x1800770ed
movabs r9, 0x7c94b2391e979793
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 0x1800770d0
xor byte [rax + 2], 0x88
xor byte [rax + 4], 0xaa
xor byte [rax + 6], 0xf9
xor byte [rax + 8], 0xbe
movzx ecx, byte [rax + 2]
movzx edx, byte [rax + 4]
xor cl, 0x25
movzx r8d, byte [rax + 6]
xor dl, 0x57
movzx r9d, byte [rax + 8]
xor r8b, 0x7c
xor byte [rax], 0x12
xor r9b, 0x25
xor byte [rax + 1], 0xc
xor cl, 0xa
xor byte [rax + 3], 0x8b
xor dl, 0xb3
xor byte [rax + 5], 0xc0
xor r8b, 0x2e
xor byte [rax + 7], 0x74
xor r9b, 0x7a
xor byte [rax + 9], 0xee
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 0x180077224
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016a950]
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, 0xc3d5e373ed396915
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 0x180077230
movaps xmm7, xmmword [rsp]
movaps xmm6, xmmword [rsp + 0x10]
mov byte [rax + 0xa], 0
add rsp, 0x28
ret