Function at 0x140005800
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r13, r8
mov r12, rdx
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
lea rcx, [r8 + 2]
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
shr rdx, 1
shl rdx, 2
mov r14, qword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], dil
mov dword [rsp + 0x20], 1
cmp rdx, 0xf
jbe 0x140005876
mov rcx, rbx
call fcn.14000a110
mov qword [rbx + 0x10], rdi
test r13, r13
je 0x140005ab5
mov ebp, 2
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdi + r12]
shr rax, 2
movzx r9d, byte [rax + r14]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400058ca
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x1400058bf
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400058d2
mov rcx, rbx
call fcn.14000a260
lea eax, [rbp - 1]
mov ecx, eax
mov rdx, qword [rbx + 0x18]
cmp rcx, r13
jae 0x1400059fe
lea rsi, [rax + r12]
movzx ecx, byte [rdi + r12]
and ecx, 3
shl ecx, 4
movzx eax, byte [rsi]
shr eax, 4
add ecx, eax
movzx r9d, byte [rcx + r14]
mov rcx, qword [rbx + 0x10]
cmp rcx, rdx
jae 0x140005928
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x14000591d
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140005930
mov rcx, rbx
call fcn.14000a260
mov eax, ebp
mov rdx, qword [rbx + 0x18]
cmp rax, r13
jae 0x1400059c7
lea r15, [rax + r12]
movzx ecx, byte [rsi]
and ecx, 0xf
movzx eax, byte [r15]
shr eax, 6
lea eax, [rax + rcx*4]
movzx r9d, byte [rax + r14]
mov rcx, qword [rbx + 0x10]
cmp rcx, rdx
jae 0x140005980
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x140005975
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140005988
mov rcx, rbx
call fcn.14000a260
movzx eax, byte [r15]
and eax, 0x3f
movzx r9d, byte [rax + r14]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140005a9e
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x1400059b9
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140005aa6
movzx eax, byte [rsi]
and eax, 0xf
movzx r9d, byte [r14 + rax*4]
mov rcx, qword [rbx + 0x10]
cmp rcx, rdx
jae 0x140005a6a
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x1400059f3
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140005a72
movzx eax, byte [rdi + r12]
and eax, 3
add rax, rax
movzx r9d, byte [r14 + rax*8]
mov rcx, qword [rbx + 0x10]
cmp rcx, rdx
jae 0x140005a36
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x140005a2b
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140005a3e
mov rcx, rbx
call fcn.14000a260
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140005a67
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x140005a5f
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x140005a72
mov r9b, 0x3d
mov rcx, rbx
call fcn.14000a260
mov rdx, qword [rbx + 0x18]
mov rcx, qword [rbx + 0x10]
cmp rcx, rdx
jae 0x140005a9b
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
cmp rdx, 0x10
mov rax, rbx
jb 0x140005a93
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x140005aa6
mov r9b, 0x3d
mov rcx, rbx
call fcn.14000a260
add ebp, 3
lea edi, [rbp - 2]
cmp rdi, r13
jb 0x140005890
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret