Function at 0x1400bac30
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r15, r8
mov rsi, rdx
mov rbx, rcx
xor r13d, r13d
mov dword [rsp + 0x20], r13d
mov qword [rcx], r13
mov qword [rcx + 0x10], r13
mov qword [rcx + 0x18], 7
mov word [rcx], r13w
mov dword [rsp + 0x20], 1
cmp r8, 3
mov r8, qword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
jb 0x1400bae29
movabs rax, 0xaaaaaaaaaaaaaaab
mul r15
mov r14, rdx
shr r14, 1
imul rax, r14, 0xfffffffffffffffd
add r15, rax
nop dword [rax + rax]
movzx ecx, byte [rsi]
movzx ebp, byte [rsi + 1]
movzx edi, cl
and dil, 3
shl dil, 4
movzx eax, bpl
shr al, 4
or dil, al
movzx r12d, byte [rsi + 2]
and bpl, 0xf
shl bpl, 2
movzx eax, r12b
shr al, 6
or bpl, al
and r12b, 0x3f
shr rcx, 2
movsx r9d, byte [rcx + r8]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400bad1e
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 8
jb 0x1400bad11
mov rax, qword [rbx]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r13w
jmp 0x1400bad34
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.1400830a0
mov r8, qword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx eax, dil
movsx r9d, byte [rax + r8]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400bad6b
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 8
jb 0x1400bad5e
mov rax, qword [rbx]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r13w
jmp 0x1400bad81
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.1400830a0
mov r8, qword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx eax, bpl
movsx r9d, byte [rax + r8]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400badb8
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 8
jb 0x1400badab
mov rax, qword [rbx]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r13w
jmp 0x1400badce
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.1400830a0
mov r8, qword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx eax, r12b
movsx r9d, byte [rax + r8]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400bae05
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 8
jb 0x1400badf8
mov rax, qword [rbx]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r13w
jmp 0x1400bae1b
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.1400830a0
mov r8, qword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
add rsi, 3
sub r14, 1
jne 0x1400bacb0
sub r15, 1
je 0x1400baf79
cmp r15, 1
jne 0x1400bb07e
movzx ecx, byte [rsi]
movzx esi, byte [rsi + 1]
movzx edi, cl
and dil, 3
shl dil, 4
movzx eax, sil
shr al, 4
or dil, al
and sil, 0xf
shl sil, 2
shr rcx, 2
movsx r9d, byte [rcx + r8]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400bae98
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 8
jb 0x1400bae8b
mov rax, qword [rbx]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r13w
jmp 0x1400baeae
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.1400830a0
mov r8, qword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx eax, dil
movsx r9d, byte [rax + r8]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400baee5
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 8
jb 0x1400baed8
mov rax, qword [rbx]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r13w
jmp 0x1400baefb
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.1400830a0
mov r8, qword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx eax, sil
movsx r9d, byte [rax + r8]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400baf32
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 8
jb 0x1400baf25
mov rax, qword [rbx]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r13w
jmp 0x1400baf41
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.1400830a0
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400baf6e
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 8
jb 0x1400baf62
mov rax, qword [rbx]
mov dword [rax + rcx*2], 0x3d
jmp 0x1400bb07e
mov r9d, 0x3d
jmp 0x1400bb06f
movzx eax, byte [rsi]
movzx edi, al
and dil, 3
shl dil, 4
shr rax, 2
movsx r9d, byte [rax + r8]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400bafbe
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 8
jb 0x1400bafb1
mov rax, qword [rbx]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r13w
jmp 0x1400bafd4
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.1400830a0
mov r8, qword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx eax, dil
movsx r9d, byte [rax + r8]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400bb00b
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 8
jb 0x1400baffe
mov rax, qword [rbx]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r13w
jmp 0x1400bb01a
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.1400830a0
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400bb045
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 8
jb 0x1400bb03b
mov rax, qword [rbx]
mov edi, 0x3d
mov dword [rax + rcx*2], edi
jmp 0x1400bb05b
mov edi, 0x3d
mov r9d, edi
xor r8d, r8d
lea edx, [rdi - 0x3c]
mov rcx, rbx
call fcn.1400830a0
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jb 0x1400baf4e
mov r9d, edi
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.1400830a0
mov rax, rbx
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret