Function at 0x14009e7e0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
xor eax, eax
mov dword [rsp + 0x20], eax
mov qword [rcx], rax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], 0xf
mov byte [rcx], al
mov dword [rsp + 0x20], 1
mov rbp, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14009e82a
mov rdi, qword [rdx]
lea r14, [0x140217400]
cmp rbp, 2
jbe 0x14009e9a7
lea rcx, [rbp - 3]
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
mov rsi, rdx
shr rsi, 1
inc rsi
imul rax, rsi, 0xfffffffffffffffd
add rbp, rax
nop dword [rax]
movzx eax, byte [rdi]
shr rax, 2
movzx r9d, byte [rax + r14]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14009e898
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x14009e88d
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14009e8a7
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.140010170
movzx ecx, byte [rdi]
and ecx, 3
shl rcx, 4
movzx eax, byte [rdi + 1]
shr rax, 4
or rcx, rax
movzx r9d, byte [rcx + r14]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14009e8ed
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x14009e8e2
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14009e8fc
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.140010170
movzx ecx, byte [rdi + 1]
and ecx, 0xf
shl rcx, 2
movzx eax, byte [rdi + 2]
shr rax, 6
or rcx, rax
movzx r9d, byte [rcx + r14]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14009e943
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x14009e938
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14009e952
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.140010170
movzx eax, byte [rdi + 2]
and eax, 0x3f
movzx r9d, byte [rax + r14]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14009e98a
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x14009e97f
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14009e999
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.140010170
add rdi, 3
sub rsi, 1
jne 0x14009e860
sub rbp, 1
je 0x14009ea96
cmp rbp, 1
jne 0x14009eb9c
movzx eax, byte [rdi]
shr rax, 2
movzx r9d, byte [rax + r14]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14009e9f3
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x14009e9e8
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14009ea02
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.140010170
movzx ecx, byte [rdi]
and ecx, 3
shl rcx, 4
movzx eax, byte [rdi + 1]
shr rax, 4
or rcx, rax
movzx r9d, byte [rcx + r14]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14009ea48
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x14009ea3d
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14009ea57
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.140010170
movzx eax, byte [rdi + 1]
and eax, 0xf
movzx r9d, byte [r14 + rax*4]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14009eb52
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x14009ea88
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14009eb61
movzx eax, byte [rdi]
shr rax, 2
movzx r9d, byte [rax + r14]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14009eace
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x14009eac3
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14009eadd
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.140010170
movzx eax, byte [rdi]
and eax, 3
add rax, rax
movzx r9d, byte [r14 + rax*8]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14009eb17
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x14009eb0c
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14009eb26
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.140010170
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14009eb4f
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x14009eb47
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x14009eb61
mov r9b, 0x3d
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.140010170
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14009eb8a
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x14009eb82
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x14009eb9c
mov r9b, 0x3d
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.140010170
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret