Function at 0x1400929f0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov r11, r8
mov rdi, rdx
mov r13, rcx
test rcx, rcx
je 0x140092d18
test r8, r8
je 0x140092d18
mov r14, qword [rsp + 0x80]
test r14, r14
je 0x140092d18
lea rcx, [rdx + 2]
movabs r15, 0xaaaaaaaaaaaaaaab
mov rax, r15
mul rcx
mov r8, rdx
shr r8, 1
shl r8, 2
lea rcx, [r8 + r8]
movabs rax, 0xd79435e50d79435f
mul rcx
shr rdx, 6
lea rax, [r8 + rdx + 2]
cmp r9, rax
jae 0x140092a86
or eax, 0xffffffff
jmp 0x140092d1f
xor r12d, r12d
mov qword [rsp + 0x10], r12
xor r10d, r10d
mov qword [rsp + 8], r10
xor esi, esi
mov dword [rsp], esi
xor ebx, ebx
mov qword [rsp + 0x18], rbx
lea r9, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
nop
nop
mov rax, r15
mul rdi
shr rdx, 1
cmp rbx, rdx
jae 0x140092bbb
movzx edx, byte [r12 + r13]
add r12, 1
mov qword [rsp + 0x10], r12
movzx r9d, byte [r12 + r13]
add r12, 1
mov qword [rsp + 0x10], r12
movzx r8d, byte [r12 + r13]
add r12, 1
mov qword [rsp + 0x10], r12
mov eax, edx
sar al, 2
and eax, 0x3f
lea rcx, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
movzx eax, byte [rax + rcx]
mov byte [r10 + r11], al
add r10, 1
mov qword [rsp + 8], r10
mov ecx, r9d
sar cl, 4
and ecx, 0xf
and edx, 3
shl edx, 4
movsxd rax, edx
or rcx, rax
lea rax, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
movzx eax, byte [rcx + rax]
mov byte [r10 + r11], al
add r10, 1
mov qword [rsp + 8], r10
and r9d, 0xf
shl r9d, 2
movsxd rcx, r9d
mov al, r8b
sar al, 6
and eax, 3
or rcx, rax
lea r9, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
movzx eax, byte [rcx + r9]
mov byte [r10 + r11], al
add r10, 1
mov qword [rsp + 8], r10
mov al, r8b
and eax, 0x3f
movzx eax, byte [rax + r9]
mov byte [r10 + r11], al
add r10, 1
mov qword [rsp + 8], r10
add esi, 4
mov dword [rsp], esi
cmp esi, 0x49
jl 0x140092bad
mov byte [r10 + r11], 0xd
add r10, 1
mov qword [rsp + 8], r10
mov byte [r10 + r11], 0xa
add r10, 1
mov qword [rsp + 8], r10
xor esi, esi
mov dword [rsp], esi
add rbx, 1
mov qword [rsp + 0x18], rbx
jmp 0x140092ab0
mov rax, r15
mul rdi
shr rdx, 1
lea rax, [rdx + rdx*2]
sub rdi, rax
je 0x140092cf2
sub rdi, 1
je 0x140092c7e
cmp rdi, 1
jne 0x140092d0e
movzx edx, byte [r12 + r13]
add r12, rdi
mov qword [rsp + 0x10], r12
movzx r8d, byte [r12 + r13]
mov eax, edx
sar al, 2
and eax, 0x3f
movzx eax, byte [rax + r9]
mov byte [r10 + r11], al
add r10, rdi
mov qword [rsp + 8], r10
mov ecx, r8d
sar cl, 4
and ecx, 0xf
and edx, 3
shl edx, 4
movsxd rax, edx
or rcx, rax
movzx eax, byte [rcx + r9]
mov byte [r10 + r11], al
add r10, rdi
mov qword [rsp + 8], r10
and r8d, 0xf
shl r8d, 2
movsxd rax, r8d
movzx eax, byte [rax + r9]
mov byte [r10 + r11], al
add r10, rdi
mov qword [rsp + 8], r10
mov byte [r10 + r11], 0x3d
add r10, rdi
mov qword [rsp + 8], r10
mov byte [r10 + r11], 0xd
add r10, rdi
mov qword [rsp + 8], r10
mov byte [r10 + r11], 0xa
add r10, rdi
mov qword [rsp + 8], r10
jmp 0x140092d0e
movzx ecx, byte [r12 + r13]
mov eax, ecx
sar al, 2
and eax, 0x3f
movzx eax, byte [rax + r9]
mov byte [r10 + r11], al
add r10, 1
mov qword [rsp + 8], r10
and ecx, 3
shl ecx, 4
movsxd rax, ecx
movzx eax, byte [rax + r9]
mov byte [r10 + r11], al
add r10, 1
mov qword [rsp + 8], r10
mov byte [r10 + r11], 0x3d
add r10, 1
mov qword [rsp + 8], r10
mov byte [r10 + r11], 0x3d
add r10, 1
mov qword [rsp + 8], r10
mov byte [r10 + r11], 0xd
add r10, 1
mov qword [rsp + 8], r10
mov byte [r10 + r11], 0xa
add r10, 1
mov qword [rsp + 8], r10
jmp 0x140092d0e
mov byte [r10 + r11], 0xd
add r10, 1
mov qword [rsp + 8], r10
mov byte [r10 + r11], 0xa
add r10, 1
mov qword [rsp + 8], r10
mov byte [r10 + r11], 0
mov qword [r14], r10
jmp 0x140092d1d
or eax, 0xffffffff
jmp 0x140092d1f
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret