Function at 0x1400aeb60
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rax, qword [rcx + 0x10]
mov rdi, rcx
mov ebx, dword [rax + 4]
mov edx, ebx
lea eax, [rbx + 0x3f]
shr eax, 6
sub edx, eax
lea edx, [rdx + rdx*2]
shr edx, 2
add edx, 3
call fcn.140085f60
xor r14d, r14d
mov r15d, r14d
cmp ebx, 3
jbe 0x1400aee40
lea r12, [0x1401a1320]
mov rdx, qword [rdi + 0x10]
cmp dword [rdx + 0x14], 0
jne 0x1400aebde
mov ecx, dword [rdx + 0x10]
mov eax, dword [rdx + 4]
sub eax, ecx
cmp eax, 1
jb 0x1400aebde
lea eax, [rcx + 1]
mov dword [rdx + 0x10], eax
mov rax, qword [rdx + 8]
movzx r8d, byte [rcx + rax]
jmp 0x1400aebe8
mov dword [rdx + 0x14], 0x410
xor r8b, r8b
mov rdx, qword [rdi + 0x10]
cmp dword [rdx + 0x14], 0
jne 0x1400aec10
mov ecx, dword [rdx + 0x10]
mov eax, dword [rdx + 4]
sub eax, ecx
cmp eax, 1
jb 0x1400aec10
lea eax, [rcx + 1]
mov dword [rdx + 0x10], eax
mov rax, qword [rdx + 8]
movzx r11d, byte [rcx + rax]
jmp 0x1400aec1a
mov dword [rdx + 0x14], 0x410
xor r11b, r11b
mov rdx, qword [rdi + 0x10]
cmp dword [rdx + 0x14], 0
jne 0x1400aec42
mov ecx, dword [rdx + 0x10]
mov eax, dword [rdx + 4]
sub eax, ecx
cmp eax, 1
jb 0x1400aec42
lea eax, [rcx + 1]
mov dword [rdx + 0x10], eax
mov rax, qword [rdx + 8]
movzx r10d, byte [rcx + rax]
jmp 0x1400aec4c
mov dword [rdx + 0x14], 0x410
xor r10b, r10b
mov rdx, qword [rdi + 0x10]
cmp dword [rdx + 0x14], 0
jne 0x1400aec74
mov ecx, dword [rdx + 0x10]
mov eax, dword [rdx + 4]
sub eax, ecx
cmp eax, 1
jb 0x1400aec74
lea eax, [rcx + 1]
mov dword [rdx + 0x10], eax
mov rax, qword [rdx + 8]
movzx r9d, byte [rcx + rax]
jmp 0x1400aec7e
mov dword [rdx + 0x14], 0x410
xor r9b, r9b
test r8b, r8b
je 0x1400aee40
cmp r8b, 0x2b
jb 0x1400aee7c
cmp r11b, 0x2b
jb 0x1400aee7c
cmp r10b, 0x2b
jb 0x1400aee7c
cmp r9b, 0x2b
jb 0x1400aee7c
cmp r8b, 0x7a
ja 0x1400aee7c
cmp r11b, 0x7a
ja 0x1400aee7c
cmp r10b, 0x7a
ja 0x1400aee7c
cmp r9b, 0x7a
ja 0x1400aee7c
movzx eax, r8b
sub eax, 0x2b
movsxd rcx, eax
movzx eax, r11b
sub eax, 0x2b
movzx ebp, byte [rcx + r12]
movsxd rcx, eax
movzx esi, byte [rcx + r12]
cmp r10b, 0x3d
jne 0x1400aed00
xor r8b, r8b
jmp 0x1400aed0f
movzx eax, r10b
sub eax, 0x2b
movsxd rcx, eax
movzx r8d, byte [rcx + r12]
cmp r9b, 0x3d
jne 0x1400aed19
xor al, al
jmp 0x1400aed28
movzx eax, r9b
sub eax, 0x2b
movsxd rcx, eax
movzx eax, byte [rcx + r12]
shl bpl, 2
movzx r11d, r8b
shl r11b, 6
movzx edx, sil
or r11b, al
shr dl, 4
mov rax, qword [rdi + 8]
or dl, bpl
mov byte [r14 + rax], dl
inc r14d
cmp r10b, 0x3d
je 0x1400aed68
mov rax, qword [rdi + 8]
shr r8b, 2
shl sil, 4
or r8b, sil
mov byte [r14 + rax], r8b
inc r14d
cmp r9b, 0x3d
je 0x1400aee40
mov rax, qword [rdi + 8]
add ebx, 0xfffffffc
inc r15d
mov byte [r14 + rax], r11b
inc r14d
test r15b, 0xf
jne 0x1400aee37
mov rdx, qword [rdi + 0x10]
cmp dword [rdx + 0x14], 0
jne 0x1400aedb4
mov ecx, dword [rdx + 0x10]
mov eax, dword [rdx + 4]
sub eax, ecx
cmp eax, 1
jb 0x1400aedb4
lea eax, [rcx + 1]
mov dword [rdx + 0x10], eax
mov rax, qword [rdx + 8]
movzx edx, byte [rcx + rax]
jmp 0x1400aedbd
mov dword [rdx + 0x14], 0x410
xor dl, dl
dec ebx
cmp dl, 0x20
jne 0x1400aedfb
mov rax, qword [rdi + 0x10]
cmp dword [rax + 0x14], 0
jne 0x1400aedeb
mov edx, dword [rax + 0x10]
mov ecx, dword [rax + 4]
sub ecx, edx
cmp ecx, 1
jb 0x1400aedeb
lea ecx, [rdx + 1]
mov dword [rax + 0x10], ecx
mov rcx, qword [rax + 8]
movzx edx, byte [rdx + rcx]
jmp 0x1400aedf4
mov dword [rax + 0x14], 0x410
xor dl, dl
dec ebx
cmp dl, 0x20
je 0x1400aedc4
cmp dl, 0xd
jne 0x1400aee32
mov rdx, qword [rdi + 0x10]
cmp dword [rdx + 0x14], 0
jne 0x1400aee27
mov ecx, dword [rdx + 0x10]
mov eax, dword [rdx + 4]
sub eax, ecx
cmp eax, 1
jb 0x1400aee27
lea eax, [rcx + 1]
mov dword [rdx + 0x10], eax
mov rax, qword [rdx + 8]
movzx edx, byte [rcx + rax]
jmp 0x1400aee30
mov dword [rdx + 0x14], 0x410
xor dl, dl
dec ebx
cmp dl, 0xa
jne 0x1400aee7c
cmp ebx, 3
ja 0x1400aebb6
cmp r14d, dword [rdi + 4]
je 0x1400aee51
mov edx, r14d
mov rcx, rdi
call fcn.1400aef90
mov rcx, qword [rdi + 0x10]
mov rdx, rdi
call fcn.1400cd520
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
mov rax, qword [rdi + 0x10]
mov dword [rax + 0x14], 0x411
jmp 0x1400aee5d