Function at 0x1400016d0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r13, r8
mov r12, rdx
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
lea rcx, [r8 + 2]
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
shr rdx, 1
shl rdx, 2
lea r14, [0x1400160f0]
cmp qword [0x140016108], 0x10
cmovae r14, qword [0x1400160f0]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], shutdown
mov byte [rbx], dil
mov dword [rsp + 0x20], 1
cmp rdx, 0xf
jbe 0x140001756
mov rcx, rbx
call fcn.140002190
mov qword [rbx + 0x10], rdi
test r13, r13
je 0x140001998
mov esi, 2
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdi + r12]
shr rax, 2
movzx r9d, byte [rax + r14]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400017aa
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x14000179f
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400017b2
mov rcx, rbx
call fcn.1400022e0
lea eax, [rsi - 1]
mov ecx, eax
mov rdx, qword [rbx + 0x18]
cmp rcx, r13
jae 0x1400018e1
lea rbp, [rax + r12]
movzx ecx, byte [rdi + r12]
and ecx, 3
shl ecx, 4
movzx eax, byte [rbp]
shr eax, 4
add ecx, eax
movzx r9d, byte [rcx + r14]
mov rcx, qword [rbx + 0x10]
cmp rcx, rdx
jae 0x140001809
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x1400017fe
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140001811
mov rcx, rbx
call fcn.1400022e0
mov eax, esi
mov rdx, qword [rbx + 0x18]
cmp rax, r13
jae 0x1400018a9
lea r15, [rax + r12]
movzx ecx, byte [rbp]
and ecx, 0xf
movzx eax, byte [r15]
shr eax, 6
lea eax, [rax + rcx*4]
movzx r9d, byte [rax + r14]
mov rcx, qword [rbx + 0x10]
cmp rcx, rdx
jae 0x140001862
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x140001857
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14000186a
mov rcx, rbx
call fcn.1400022e0
movzx eax, byte [r15]
and eax, 0x3f
movzx r9d, byte [rax + r14]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140001981
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x14000189b
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140001989
movzx eax, byte [rbp]
and eax, 0xf
movzx r9d, byte [r14 + rax*4]
mov rcx, qword [rbx + 0x10]
cmp rcx, rdx
jae 0x14000194d
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x1400018d6
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140001955
movzx eax, byte [rdi + r12]
and eax, 3
add rax, rax
movzx r9d, byte [r14 + rax*8]
mov rcx, qword [rbx + 0x10]
cmp rcx, rdx
jae 0x140001919
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x14000190e
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140001921
mov rcx, rbx
call fcn.1400022e0
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14000194a
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x140001942
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x140001955
mov r9b, 0x3d
mov rcx, rbx
call fcn.1400022e0
mov rdx, qword [rbx + 0x18]
mov rcx, qword [rbx + 0x10]
cmp rcx, rdx
jae 0x14000197e
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
cmp rdx, 0x10
mov rax, rbx
jb 0x140001976
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x140001989
mov r9b, 0x3d
mov rcx, rbx
call fcn.1400022e0
add esi, 3
lea edi, [rsi - 2]
cmp rdi, r13
jb 0x140001770
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret