Function at 0x1400305dc
Capabilities:
Encode data using base64

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov byte [rax + 0x20], r9b
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r12, qword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__]
lea r9, [r8 + 2]
mov r14, rdx
xor r13d, r13d
movabs rax, 0xaaaaaaaaaaaaaaab
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r13
mov rbp, r8
mul r9
mov qword [rcx + 0x18], 0xf
mov rbx, rcx
shr rdx, 1
shl rdx, 2
mov byte [rcx], r13b
cmp rdx, 0xf
jbe 0x14003064b
call fcn.140001cbc
mov qword [rbx + 0x10], r13
test rbp, rbp
je 0x1400308b7
mov rdi, r13
mov r15d, 2
movzx eax, byte [rdi + r14]
mov rcx, qword [rbx + 0x10]
shr rax, 2
mov r9b, byte [rax + r12]
cmp rcx, qword [rbx + 0x18]
jae 0x140030694
cmp qword [rbx + 0x18], 0x10
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
jb 0x140030689
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], r13b
jmp 0x1400306a6
mov r8b, byte [rsp + 0x68]
mov edx, 1
mov rcx, rbx
call fcn.14000193c
lea eax, [r15 - 1]
mov esi, eax
cmp rsi, rbp
jae 0x1400307e3
movzx ecx, byte [rdi + r14]
movzx eax, byte [rax + r14]
and ecx, 3
shl ecx, 4
shr eax, 4
add ecx, eax
mov r9b, byte [rcx + r12]
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x1400306f8
cmp qword [rbx + 0x18], 0x10
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
jb 0x1400306ed
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], r13b
jmp 0x14003070a
mov r8b, byte [rsp + 0x68]
mov edx, 1
mov rcx, rbx
call fcn.14000193c
mov edi, r15d
cmp rdi, rbp
jae 0x1400307a6
movzx ecx, byte [rsi + r14]
movzx eax, byte [rdi + r14]
and ecx, 0xf
shr eax, 6
lea eax, [rax + rcx*4]
mov rcx, qword [rbx + 0x10]
mov r9b, byte [rax + r12]
cmp rcx, qword [rbx + 0x18]
jae 0x140030757
cmp qword [rbx + 0x18], 0x10
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
jb 0x14003074c
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], r13b
jmp 0x140030769
mov r8b, byte [rsp + 0x68]
mov edx, 1
mov rcx, rbx
call fcn.14000193c
movzx eax, byte [rdi + r14]
mov rcx, qword [rbx + 0x10]
and eax, 0x3f
mov r9b, byte [rax + r12]
cmp rcx, qword [rbx + 0x18]
jae 0x140030894
cmp qword [rbx + 0x18], 0x10
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
jb 0x140030798
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], r13b
jmp 0x1400308a6
movzx eax, byte [rsi + r14]
mov rcx, qword [rbx + 0x10]
and eax, 0xf
mov r9b, byte [r12 + rax*4]
cmp rcx, qword [rbx + 0x18]
jae 0x140030858
cmp qword [rbx + 0x18], 0x10
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
jb 0x1400307d5
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], r13b
jmp 0x14003086a
movzx eax, byte [rdi + r14]
mov rcx, qword [rbx + 0x10]
and eax, 3
add rax, rax
mov r9b, byte [r12 + rax*8]
cmp rcx, qword [rbx + 0x18]
jae 0x14003081c
cmp qword [rbx + 0x18], 0x10
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
jb 0x140030811
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], r13b
jmp 0x14003082e
mov r8b, byte [rsp + 0x68]
mov edx, 1
mov rcx, rbx
call fcn.14000193c
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x140030855
cmp qword [rbx + 0x18], 0x10
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
jb 0x14003084d
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x14003086a
mov r9b, 0x3d
mov r8b, byte [rsp + 0x68]
mov edx, 1
mov rcx, rbx
call fcn.14000193c
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x140030891
cmp qword [rbx + 0x18], 0x10
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
jb 0x140030889
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x1400308a6
mov r9b, 0x3d
mov r8b, byte [rsp + 0x68]
mov edx, 1
mov rcx, rbx
call fcn.14000193c
add r15d, 3
lea edi, [r15 - 2]
cmp rdi, rbp
jb 0x14003065d
mov rbp, qword [rsp + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret