Function at 0x1800226e0
Capabilities:
Encode data using base64
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0xe], 0
mov rax, rcx
je 0x180022fb1
mov r11d, dword [0x180182290]
xor r10d, r10d
movdqa xmm3, xmmword [0x180164c10]
mov r8d, r10d
movdqa xmm5, xmmword [0x180164ba0]
movdqa xmm4, xmmword [0x180164b70]
mov qword [rsp + 0x20], rbx
movaps xmmword [rsp + 0x10], xmm6
movaps xmmword [rsp], xmm7
cmp r11d, 5
jl 0x1800227d2
movzx ecx, word [rcx]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x1801687d0]
mov r8d, 8
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
movd ecx, xmm1
mov word [rax + 6], cx
movabs r9, 0x7f7e7f7efeff7eff
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, 0xe
jb 0x1800227e0
movzx r8d, byte [rax + 2]
xor byte [rax + 4], 0x7f
not r8b
movzx ecx, byte [rax + 1]
xor r8b, 0x5f
movzx r9d, byte [rax + 6]
not cl
movzx edx, byte [rax + 4]
xor cl, 0xe6
xor byte [rax], 0x3c
xor r8b, 0xaa
xor byte [rax + 3], 0x2c
not r9b
xor byte [rax + 5], 0x4c
xor dl, 0x9f
xor byte [rax + 8], 0xfa
xor r9b, 0xbd
xor byte [rax + 9], 0x48
xor dl, 0xaf
xor byte [rax + 0xa], 0xe
xor r9b, 0xee
xor byte [rax + 0xd], 0xad
movdqa xmm6, xmmword [0x180164bd0]
movdqa xmm7, xmmword [0x180164bc0]
mov byte [rax + 1], cl
movzx ecx, byte [rax + 7]
not cl
mov byte [rax + 2], r8b
xor cl, 0xe2
mov byte [rax + 4], dl
mov byte [rax + 7], cl
mov r8, r10
movzx ecx, byte [rax + 0xb]
not cl
mov byte [rax + 6], r9b
xor cl, 0x72
mov byte [rax + 0xb], cl
movzx ecx, byte [rax + 0xc]
not cl
xor cl, 0x53
mov byte [rax + 0xc], cl
cmp r11d, 5
jl 0x180022942
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016cb50]
mov r8d, 8
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
movd ecx, xmm1
mov word [rax + 6], cx
movabs r9, 0xf99b9f9ff99dbf99
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, 0xe
jb 0x180022950
mov r9d, 0xe
mov rdx, rax
mov r8d, r9d
nop dword [rax]
not byte [rdx]
lea rdx, [rdx + 1]
sub r8, 1
jne 0x180022980
mov r8, r10
cmp r11d, 5
jl 0x180022a3d
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016dbd0]
mov r8d, 8
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
movd ecx, xmm1
mov word [rax + 6], cx
movabs rbx, 0xfff77f7ff77ffff7
nop word [rax + rax]
movzx ecx, r8b
mov rdx, rbx
and cl, 1
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, r9
jb 0x180022a50
xor byte [rax], 0x66
mov r8, r10
xor byte [rax + 1], 0xef
xor byte [rax + 2], 0xf7
xor byte [rax + 3], 0x66
xor byte [rax + 4], 0xef
xor byte [rax + 5], 0xf7
xor byte [rax + 6], 0x66
xor byte [rax + 7], 0xef
xor byte [rax + 8], 0xf7
xor byte [rax + 9], 0x66
xor byte [rax + 0xa], 0xef
xor byte [rax + 0xb], 0xf7
xor byte [rax + 0xc], 0x66
xor byte [rax + 0xd], 0xef
cmp r11d, 5
jl 0x180022b54
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x1801664c0]
mov r8d, 8
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
movd ecx, xmm1
mov word [rax + 6], cx
movabs rbx, 0x5555d555fff7557d
nop
movzx ecx, r8b
mov rdx, rbx
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, r9
jb 0x180022b60
xor byte [rax], 0xb8
mov r8, r10
xor byte [rax + 1], 0x3b
xor byte [rax + 2], 0xa2
xor byte [rax + 3], 0x1e
xor byte [rax + 4], 0x8b
xor byte [rax + 5], 0xe4
xor byte [rax + 6], 0x7e
xor byte [rax + 7], 0x3f
xor byte [rax + 8], 0xda
xor byte [rax + 9], 0xf
xor byte [rax + 0xa], 0xe0
xor byte [rax + 0xb], 0x3a
xor byte [rax + 0xc], 0x6b
xor byte [rax + 0xd], 0x53
cmp r11d, 5
jl 0x180022c64
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180165310]
mov r8d, 8
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
movd ecx, xmm1
mov word [rax + 6], cx
movabs rbx, 0x1d5f17bdb5917f7d
nop
movzx ecx, r8b
mov rdx, rbx
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, r9
jb 0x180022c70
mov rbx, qword [rsp + 0x20]
mov rcx, rax
nop dword [rax]
nop dword [rax + rax]
xor byte [rcx], 0xf8
lea rcx, [rcx + 1]
sub r9, 1
jne 0x180022ca0
mov r8, r10
cmp r11d, 5
jl 0x180022d5e
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016c350]
mov r8d, 8
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
movd ecx, xmm1
mov word [rax + 6], cx
movabs r9, 0xf479c9f159efe47b
nop dword [rax + rax]
movzx ecx, r8b
mov rdx, r9
and cl, 1
shl cl, 3
shr rdx, cl
xor byte [r8 + rax], dl
inc r8
cmp r8, 0xe
jb 0x180022d70
xor byte [rax], 0xfe
mov r8, r10
xor byte [rax + 1], 0x71
xor byte [rax + 2], 0xab
xor byte [rax + 3], 0xfe
xor byte [rax + 4], 0x71
xor byte [rax + 5], 0xab
xor byte [rax + 6], 0xfe
xor byte [rax + 7], 0x71
xor byte [rax + 8], 0xab
xor byte [rax + 9], 0xfe
xor byte [rax + 0xa], 0x71
xor byte [rax + 0xb], 0xab
xor byte [rax + 0xc], 0xfe
xor byte [rax + 0xd], 0x71
cmp r11d, 5
jl 0x180022e75
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x1801658b0]
mov r8d, 8
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
movd ecx, xmm1
mov word [rax + 6], cx
movabs r9, 0x383b545b92f9dc39
nop
movzx ecx, r8b
mov rdx, r9
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [r8 + rax], dl
inc r8
cmp r8, 0xe
jb 0x180022e80
xor byte [rax], 0x93
xor byte [rax + 1], 0xf1
xor byte [rax + 2], 6
xor byte [rax + 3], 0x14
xor byte [rax + 4], 0xd2
xor byte [rax + 5], 0xb
xor byte [rax + 6], 0x52
xor byte [rax + 7], 0xa6
xor byte [rax + 8], 0xcf
xor byte [rax + 9], 0xa5
xor byte [rax + 0xa], 0x3d
xor byte [rax + 0xb], 0x6b
xor byte [rax + 0xc], 5
xor byte [rax + 0xd], 6
cmp r11d, 5
jl 0x180022f72
movzx ecx, word [rax]
mov r10d, 8
movdqa xmm2, xmmword [0x180166e30]
psllq xmm4, 3
vpsrlvq xmm1, xmm2, xmm4
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
psllq xmm5, 3
movd ecx, xmm1
vpsrlvq xmm1, xmm2, xmm5
pshufb xmm1, xmm3
mov word [rax], cx
movzx ecx, word [rax + 2]
psllq xmm7, 3
psllq xmm6, 3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
vpsrlvq xmm1, xmm2, xmm7
pshufb xmm1, xmm3
mov word [rax + 2], cx
movzx ecx, word [rax + 4]
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
mov word [rax + 6], cx
movaps xmm7, xmmword [rsp]
movabs r8, 0x61f17745c7a9fbe5
movaps xmm6, xmmword [rsp + 0x10]
nop word [rax + rax]
movzx ecx, r10b
mov rdx, r8
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [r10 + rax], dl
inc r10
cmp r10, 0xe
jb 0x180022f90
mov byte [rax + 0xe], 0
add rsp, 0x28
ret