Function at 0x140001360
Capabilities:
Encode data using base64

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x18]
add rax, 2
movabs rdx, 0xaaaaaaaaaaaaaaab
mul rdx
mov rax, rdx
shr rax, 1
shl rax, 2
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
add rax, 1
mov rcx, rax
call sym.malloc
mov qword [rbp - 0x28], rax
cmp qword [rbp - 0x28], 0
jne 0x1400013b8
mov eax, 0
jmp 0x1400015b3
mov qword [rbp - 8], 0
mov qword [rbp - 0x10], 0
jmp 0x140001515
mov rax, qword [rbp - 8]
cmp rax, qword [rbp + 0x18]
jae 0x1400013f2
mov rcx, qword [rbp + 0x10]
mov rax, qword [rbp - 8]
lea rdx, [rax + 1]
mov qword [rbp - 8], rdx
add rax, rcx
movzx eax, byte [rax]
movzx eax, al
jmp 0x1400013f7
mov eax, 0
mov dword [rbp - 0x2c], eax
mov rax, qword [rbp - 8]
cmp rax, qword [rbp + 0x18]
jae 0x14000141f
mov rcx, qword [rbp + 0x10]
mov rax, qword [rbp - 8]
lea rdx, [rax + 1]
mov qword [rbp - 8], rdx
add rax, rcx
movzx eax, byte [rax]
movzx eax, al
jmp 0x140001424
mov eax, 0
mov dword [rbp - 0x30], eax
mov rax, qword [rbp - 8]
cmp rax, qword [rbp + 0x18]
jae 0x14000144c
mov rcx, qword [rbp + 0x10]
mov rax, qword [rbp - 8]
lea rdx, [rax + 1]
mov qword [rbp - 8], rdx
add rax, rcx
movzx eax, byte [rax]
movzx eax, al
jmp 0x140001451
mov eax, 0
mov dword [rbp - 0x34], eax
mov eax, dword [rbp - 0x2c]
shl eax, 0x10
mov edx, eax
mov eax, dword [rbp - 0x30]
shl eax, 8
add edx, eax
mov eax, dword [rbp - 0x34]
add eax, edx
mov dword [rbp - 0x38], eax
mov eax, dword [rbp - 0x38]
shr eax, 0x12
and eax, 0x3f
mov edx, eax
lea rax, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
movzx edx, byte [rdx + rax]
mov r8, qword [rbp - 0x28]
mov rax, qword [rbp - 0x10]
lea rcx, [rax + 1]
mov qword [rbp - 0x10], rcx
add rax, r8
mov byte [rax], dl
mov eax, dword [rbp - 0x38]
shr eax, 0xc
and eax, 0x3f
mov edx, eax
lea rax, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
movzx edx, byte [rdx + rax]
mov r8, qword [rbp - 0x28]
mov rax, qword [rbp - 0x10]
lea rcx, [rax + 1]
mov qword [rbp - 0x10], rcx
add rax, r8
mov byte [rax], dl
mov eax, dword [rbp - 0x38]
shr eax, 6
and eax, 0x3f
mov edx, eax
lea rax, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
movzx edx, byte [rdx + rax]
mov r8, qword [rbp - 0x28]
mov rax, qword [rbp - 0x10]
lea rcx, [rax + 1]
mov qword [rbp - 0x10], rcx
add rax, r8
mov byte [rax], dl
mov eax, dword [rbp - 0x38]
and eax, 0x3f
mov edx, eax
lea rax, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
movzx edx, byte [rdx + rax]
mov r8, qword [rbp - 0x28]
mov rax, qword [rbp - 0x10]
lea rcx, [rax + 1]
mov qword [rbp - 0x10], rcx
add rax, r8
mov byte [rax], dl
mov rax, qword [rbp - 8]
cmp rax, qword [rbp + 0x18]
jb 0x1400013cd
mov qword [rbp - 0x18], 0
jmp 0x140001548
mov rax, qword [rbp - 0x20]
sub rax, qword [rbp - 0x18]
lea rdx, [rax - 1]
mov rax, qword [rbp - 0x28]
add rax, rdx
mov byte [rax], 0x3d
add qword [rbp - 0x18], 1
mov rcx, qword [rbp + 0x18]
movabs rdx, 0xaaaaaaaaaaaaaaab
mov rax, rcx
mul rdx
shr rdx, 1
mov rax, rdx
add rax, rax
add rax, rdx
sub rcx, rax
mov rdx, rcx
mov eax, 3
sub rax, rdx
mov rcx, rax
movabs rdx, 0xaaaaaaaaaaaaaaab
mov rax, rcx
mul rdx
shr rdx, 1
mov rax, rdx
add rax, rax
add rax, rdx
sub rcx, rax
mov rdx, rcx
cmp qword [rbp - 0x18], rdx
jb 0x14000152d
mov rdx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x20]
add rax, rdx
mov byte [rax], 0
mov rax, qword [rbp - 0x28]
add rsp, 0x60
pop rbp
ret