Function at 0x1400108c0
Capabilities:
Encode data using base64

Disassembly:
push rbp
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
lea rax, [rbp - 0x41]
mov qword [rbp - 0x40], rax
nop
nop
mov rax, qword [rbp + 0x30]
mov rax, qword [rax]
add rax, 2
movabs rdx, 0xaaaaaaaaaaaaaaab
mul rdx
mov rax, rdx
shr rax, 1
lea rdx, [rax*4]
lea rcx, [rbp - 0x41]
mov rax, qword [rbp + 0x20]
mov r9, rcx
mov r8d, 0x3d
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____unsigned_long_long__char__std::allocator_char__const_
lea rax, [rbp - 0x41]
mov rcx, rax
call method.std::__new_allocator_char_.__new_allocator__
nop
mov rax, qword [rbp + 0x28]
mov qword [rbp - 0x18], rax
mov rax, qword [rbp + 0x20]
mov edx, 0
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::operator___unsigned_long_long_
mov qword [rbp - 0x20], rax
mov qword [rbp - 8], 0
mov rax, qword [rbp + 0x30]
mov rcx, qword [rax]
movabs rdx, 0xaaaaaaaaaaaaaaab
mov rax, rcx
mul rdx
mov rax, rdx
shr rax, 1
mov qword [rbp - 0x28], rax
mov rdx, qword [rbp - 0x28]
mov rax, rdx
add rax, rax
add rax, rdx
sub rcx, rax
mov rdx, rcx
mov qword [rbp - 0x28], rdx
mov rax, qword [rbp + 0x30]
mov rax, qword [rax]
sub rax, qword [rbp - 0x28]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x10], 0
jmp 0x140010aa6
mov rdx, qword [rbp - 0x18]
mov rax, qword [rbp - 0x10]
add rax, rdx
movzx eax, byte [rax]
movzx eax, al
shl eax, 0x10
mov edx, eax
mov rax, qword [rbp - 0x10]
lea rcx, [rax + 1]
mov rax, qword [rbp - 0x18]
add rax, rcx
movzx eax, byte [rax]
movzx eax, al
shl eax, 8
or edx, eax
mov rax, qword [rbp - 0x10]
lea rcx, [rax + 2]
mov rax, qword [rbp - 0x18]
add rax, rcx
movzx eax, byte [rax]
movzx eax, al
or eax, edx
mov dword [rbp - 0x38], eax
mov rdx, qword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov eax, dword [rbp - 0x38]
sar eax, 0x12
cdqe
add rax, rdx
movzx edx, byte [rax]
mov r8, qword [rbp - 0x20]
mov rax, qword [rbp - 8]
lea rcx, [rax + 1]
mov qword [rbp - 8], rcx
add rax, r8
mov byte [rax], dl
mov rax, qword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov edx, dword [rbp - 0x38]
sar edx, 0xc
movsxd rdx, edx
and edx, 0x3f
add rax, rdx
movzx edx, byte [rax]
mov r8, qword [rbp - 0x20]
mov rax, qword [rbp - 8]
lea rcx, [rax + 1]
mov qword [rbp - 8], rcx
add rax, r8
mov byte [rax], dl
mov rax, qword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov edx, dword [rbp - 0x38]
sar edx, 6
movsxd rdx, edx
and edx, 0x3f
add rax, rdx
movzx edx, byte [rax]
mov r8, qword [rbp - 0x20]
mov rax, qword [rbp - 8]
lea rcx, [rax + 1]
mov qword [rbp - 8], rcx
add rax, r8
mov byte [rax], dl
mov rax, qword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov edx, dword [rbp - 0x38]
movsxd rdx, edx
and edx, 0x3f
add rax, rdx
movzx edx, byte [rax]
mov r8, qword [rbp - 0x20]
mov rax, qword [rbp - 8]
lea rcx, [rax + 1]
mov qword [rbp - 8], rcx
add rax, r8
mov byte [rax], dl
add qword [rbp - 0x10], 3
mov rax, qword [rbp - 0x10]
cmp rax, qword [rbp - 0x30]
jb 0x1400109a6
cmp qword [rbp - 0x28], 0
je 0x140010c00
sub qword [rbp - 0x28], 1
cmp qword [rbp - 0x28], 0
je 0x140010afa
mov rdx, qword [rbp - 0x18]
mov rax, qword [rbp - 0x30]
add rax, rdx
movzx eax, byte [rax]
movzx eax, al
shl eax, 8
mov edx, eax
mov rax, qword [rbp - 0x30]
lea rcx, [rax + 1]
mov rax, qword [rbp - 0x18]
add rax, rcx
movzx eax, byte [rax]
movzx eax, al
or eax, edx
jmp 0x140010b0b
mov rdx, qword [rbp - 0x18]
mov rax, qword [rbp - 0x30]
add rax, rdx
movzx eax, byte [rax]
movzx eax, al
mov dword [rbp - 0x34], eax
mov rdx, qword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
cmp qword [rbp - 0x28], 0
je 0x140010b29
mov eax, dword [rbp - 0x34]
sar eax, 0xa
cdqe
and eax, 0x3f
jmp 0x140010b31
mov eax, dword [rbp - 0x34]
sar eax, 2
cdqe
add rax, rdx
movzx edx, byte [rax]
mov r8, qword [rbp - 0x20]
mov rax, qword [rbp - 8]
lea rcx, [rax + 1]
mov qword [rbp - 8], rcx
add rax, r8
mov byte [rax], dl
mov rdx, qword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
cmp qword [rbp - 0x28], 0
je 0x140010b67
mov eax, dword [rbp - 0x34]
sar eax, 4
cdqe
and eax, 0x3f
jmp 0x140010b72
mov eax, dword [rbp - 0x34]
shl eax, 4
cdqe
and eax, 0x3f
add rax, rdx
movzx edx, byte [rax]
mov r8, qword [rbp - 0x20]
mov rax, qword [rbp - 8]
lea rcx, [rax + 1]
mov qword [rbp - 8], rcx
add rax, r8
mov byte [rax], dl
cmp qword [rbp - 0x28], 0
je 0x140010baf
mov rax, qword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov edx, dword [rbp - 0x34]
shl edx, 2
movsxd rdx, edx
and edx, 0x3f
add rax, rdx
movzx edx, byte [rax]
jmp 0x140010bb4
mov edx, 0x3d
mov r8, qword [rbp - 0x20]
mov rax, qword [rbp - 8]
lea rcx, [rax + 1]
mov qword [rbp - 8], rcx
add rax, r8
mov byte [rax], dl
jmp 0x140010c00
nop
mov rax, qword [rbp + 0x20]
add rsp, 0x78
pop rbx
pop rbp
ret