Function at 0x180001300
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
push r14
push r15
sub rsp, 0x30
mov rbp, r8
mov r15, rdx
mov rbx, rcx
xor edi, edi
mov dword [rsp + 0x20], edi
lea r9, [r8 + 2]
movabs rax, 0xaaaaaaaaaaaaaaab
mul r9
shr rdx, 1
shl rdx, 2
mov r14, qword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov qword [rcx], rdi
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x18], 0xf
mov byte [rcx], dil
mov dword [rsp + 0x20], 1
cmp rdx, 0xf
jbe 0x180001374
call fcn.1800020f0
mov qword [rbx + 0x10], rdi
test rbp, rbp
je 0x1800015a0
mov esi, 2
movzx eax, byte [rdi + r15]
shr rax, 2
movzx r9d, byte [rax + r14]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1800013bc
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x1800013b1
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1800013c4
mov rcx, rbx
call fcn.180002240
lea ecx, [rsi - 1]
movzx eax, byte [rdi + r15]
mov rdx, qword [rbx + 0x18]
cmp rcx, rbp
jae 0x1800014ee
lea rdi, [rcx + r15]
mov ecx, eax
and ecx, 3
shl ecx, 4
movzx eax, byte [rdi]
shr eax, 4
add ecx, eax
movzx r9d, byte [rcx + r14]
mov rcx, qword [rbx + 0x10]
cmp rcx, rdx
jae 0x18000141a
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x18000140f
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x180001422
mov rcx, rbx
call fcn.180002240
mov eax, esi
movzx ecx, byte [rdi]
mov rdx, qword [rbx + 0x18]
cmp rax, rbp
jae 0x1800014b7
lea rdi, [rax + r15]
and ecx, 0xf
movzx eax, byte [rdi]
shr eax, 6
lea eax, [rax + rcx*4]
movzx r9d, byte [rax + r14]
mov rcx, qword [rbx + 0x10]
cmp rcx, rdx
jae 0x180001471
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x180001466
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x180001479
mov rcx, rbx
call fcn.180002240
movzx eax, byte [rdi]
and eax, 0x3f
movzx r9d, byte [rax + r14]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x180001589
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x1800014a9
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x180001591
mov rax, rcx
and eax, 0xf
movzx r9d, byte [r14 + rax*4]
mov rcx, qword [rbx + 0x10]
cmp rcx, rdx
jae 0x180001555
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x1800014e3
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x18000155d
and eax, 3
add rax, rax
movzx r9d, byte [r14 + rax*8]
mov rcx, qword [rbx + 0x10]
cmp rcx, rdx
jae 0x180001521
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x180001516
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x180001529
mov rcx, rbx
call fcn.180002240
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x180001552
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x18000154a
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x18000155d
mov r9b, 0x3d
mov rcx, rbx
call fcn.180002240
mov rdx, qword [rbx + 0x18]
mov rcx, qword [rbx + 0x10]
cmp rcx, rdx
jae 0x180001586
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
cmp rdx, 0x10
mov rax, rbx
jb 0x18000157e
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x180001591
mov r9b, 0x3d
mov rcx, rbx
call fcn.180002240
add esi, 3
lea edi, [rsi - 2]
cmp rdi, rbp
jb 0x180001382
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret