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

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 8], 0
mov rax, rcx
je 0x1800d952a
mov r11d, dword [0x180182290]
xor r10d, r10d
movdqa xmm3, xmmword [0x180164c10]
mov r8d, r10d
movdqa xmm5, xmmword [0x180164ba0]
movdqa xmm4, xmmword [0x180164b70]
movaps xmmword [rsp + 0x10], xmm6
movaps xmmword [rsp], xmm7
cmp r11d, 5
jl 0x1800d8d59
movzx ecx, word [rcx]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x1801687f0]
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
jmp 0x1800d8d8d
movabs r9, 0x7f7e7ffeff7efeff
nop dword [rax]
nop word [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, 8
jb 0x1800d8d70
xor byte [rax + 2], 0x7f
xor byte [rax + 4], 0x7f
xor byte [rax + 6], 0xdf
movzx r8d, byte [rax + 4]
movzx ecx, byte [rax + 3]
xor r8b, 0x3f
movzx edx, byte [rax + 2]
not cl
movzx r9d, byte [rax + 6]
xor cl, 0xa1
xor byte [rax], 0x7f
xor r8b, 0xae
xor byte [rax + 1], 0x6b
xor dl, 0x1c
movdqa xmm6, xmmword [0x180164bd0]
xor r9b, 0x7f
movdqa xmm7, xmmword [0x180164bc0]
xor dl, 0xbe
mov byte [rax + 3], cl
xor r9b, 0xfb
movzx ecx, byte [rax + 5]
not cl
mov byte [rax + 4], r8b
xor cl, 0xd2
mov byte [rax + 2], dl
mov byte [rax + 5], cl
mov r8, r10
movzx ecx, byte [rax + 7]
not cl
mov byte [rax + 6], r9b
xor cl, 0x20
mov byte [rax + 7], cl
cmp r11d, 5
jl 0x1800d8eb0
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016a7b0]
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
jmp 0x1800d8edd
movabs r9, 0xbfb999ddfbfbdbfd
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, 8
jb 0x1800d8ec0
xor byte [rax], 0xeb
mov r8, r10
xor byte [rax + 1], 0xeb
xor byte [rax + 2], 0xeb
xor byte [rax + 3], 0xeb
xor byte [rax + 4], 0xeb
xor byte [rax + 5], 0xeb
xor byte [rax + 6], 0xeb
xor byte [rax + 7], 0xeb
cmp r11d, 5
jl 0x1800d8fa9
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016c7f0]
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
jmp 0x1800d8fdd
movabs r9, 0xf77ff7f7ff7f7f7f
nop dword [rax]
nop word [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, 8
jb 0x1800d8fc0
xor byte [rax], 0x77
mov r8, r10
xor byte [rax + 1], 0x7e
xor byte [rax + 3], 0x77
xor byte [rax + 4], 0x7e
xor byte [rax + 6], 0x77
xor byte [rax + 7], 0x7e
not byte [rax + 2]
not byte [rax + 5]
cmp r11d, 5
jl 0x1800d90a7
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180166ad0]
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
jmp 0x1800d90dd
movabs r9, 0x5d75d5f7dfdfdf55
nop dword [rax]
nop word [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, 8
jb 0x1800d90c0
xor byte [rax + 2], 0xcf
xor byte [rax + 4], 0xf5
xor byte [rax + 6], 0x54
movzx r8d, byte [rax + 6]
movzx ecx, byte [rax + 2]
xor r8b, 0x37
movzx edx, byte [rax + 4]
xor r8b, 0x2f
xor byte [rax], 0xc7
xor cl, 0xbb
xor byte [rax + 1], 0x89
xor dl, 0x37
xor byte [rax + 3], 0xd7
xor cl, 0xf7
xor byte [rax + 5], 7
xor dl, 0x77
xor byte [rax + 7], 0xdf
mov byte [rax + 6], r8b
mov r8, r10
mov byte [rax + 2], cl
mov byte [rax + 4], dl
cmp r11d, 5
jl 0x1800d91d4
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x1801673c0]
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
jmp 0x1800d91fd
movabs r9, 0x73b7f3d173d133b1
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, 8
jb 0x1800d91e0
xor byte [rax], 0xdd
mov r8, r10
xor byte [rax + 1], 0xdd
xor byte [rax + 2], 0xdd
xor byte [rax + 3], 0xdd
xor byte [rax + 4], 0xdd
xor byte [rax + 5], 0xdd
xor byte [rax + 6], 0xdd
xor byte [rax + 7], 0xdd
cmp r11d, 5
jl 0x1800d92c9
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016bb00]
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
jmp 0x1800d92fd
movabs r9, 0xdf6de0e469ebea6e
nop dword [rax]
nop word [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, 8
jb 0x1800d92e0
xor byte [rax], 0xea
mov r8, r10
xor byte [rax + 1], 0xa8
xor byte [rax + 2], 0x33
xor byte [rax + 3], 0xea
xor byte [rax + 4], 0xa8
xor byte [rax + 5], 0x33
xor byte [rax + 6], 0xea
xor byte [rax + 7], 0xa8
cmp r11d, 5
jl 0x1800d93c9
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180169950]
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
jmp 0x1800d93fd
movabs r9, 0x9e95da3658f27057
nop dword [rax]
nop word [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, 8
jb 0x1800d93e0
xor byte [rax + 2], 0x3c
xor byte [rax + 4], 0x6a
xor byte [rax + 6], 0x3d
movzx ecx, byte [rax + 2]
movzx edx, byte [rax + 4]
not cl
movzx r8d, byte [rax + 6]
xor dl, 0xa5
xor byte [rax], 0x37
xor r8b, 0xd6
xor byte [rax + 1], 0x63
xor cl, 0xe
xor byte [rax + 3], 0xa7
xor dl, 0x3a
xor byte [rax + 5], 5
xor r8b, 0xe2
xor byte [rax + 7], 0xdb
mov byte [rax + 2], cl
mov byte [rax + 4], dl
mov byte [rax + 6], r8b
cmp r11d, 5
jl 0x1800d94f0
movzx ecx, word [rax]
movdqa xmm2, xmmword [0x180167030]
psllq xmm7, 3
psllq xmm4, 3
movd xmm0, ecx
vpsrlvq xmm1, xmm2, xmm4
pshufb xmm1, xmm3
psllq xmm6, 3
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]
movd xmm0, ecx
xorps xmm1, xmm0
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
mov word [rax + 6], cx
mov byte [rax + 8], 0
add rsp, 0x28
ret
movabs r8, 0x6bad4921d1a3317d
nop word [rax + rax]
movzx ecx, r10b
mov rdx, r8
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + r10], dl
inc r10
cmp r10, 8
jb 0x1800d9500
movaps xmm7, xmmword [rsp]
movaps xmm6, xmmword [rsp + 0x10]
mov byte [rax + 8], 0
add rsp, 0x28
ret