Function at 0x14005dcd0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x1400af010]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x20], rdx
mov rsi, qword [rdx + 0x10]
lea rcx, [rsi + 2]
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
shr rdx, 1
shl rdx, 2
mov qword [rdi], 0
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
xor r8d, r8d
mov rcx, rdi
call fcn.140069320
mov r8, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14005dd4c
mov r8, qword [rdi]
xor edx, edx
lea r10, [rsi - 2]
lea r11, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_pE_n_
test r10, r10
je 0x14005de22
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14005dd6f
mov rax, qword [rbx]
movzx eax, byte [rax + rdx]
shr rax, 2
movzx eax, byte [rax + r11]
mov byte [r8], al
cmp qword [rbx + 0x18], 0x10
jb 0x14005dd8f
mov r9, qword [rbx]
lea rcx, [rdx + r9]
jmp 0x14005dd96
lea rcx, [rbx + rdx]
mov r9, rbx
movsx rcx, byte [rcx]
and ecx, 3
shl rcx, 4
movzx eax, byte [r9 + rdx + 1]
shr rax, 4
or rcx, rax
movzx eax, byte [rcx + r11]
mov byte [r8 + 1], al
cmp qword [rbx + 0x18], 0x10
jb 0x14005ddc7
mov r9, qword [rbx]
lea rcx, [r9 + 1]
jmp 0x14005ddce
lea rcx, [rbx + 1]
mov r9, rbx
add rcx, rdx
movsx rcx, byte [rcx]
and ecx, 0xf
shl rcx, 2
movzx eax, byte [r9 + rdx + 2]
shr rax, 6
or rcx, rax
movzx eax, byte [rcx + r11]
mov byte [r8 + 2], al
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14005ddff
mov rax, qword [rbx]
movsx rax, byte [rax + rdx + 2]
and eax, 0x3f
movzx eax, byte [rax + r11]
mov byte [r8 + 3], al
add r8, 4
add rdx, 3
cmp rdx, r10
jb 0x14005dd62
cmp rdx, rsi
jae 0x14005dedb
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14005de38
mov rax, qword [rbx]
movzx eax, byte [rax + rdx]
shr rax, 2
movzx eax, byte [rax + r11]
mov byte [r8], al
mov rcx, qword [rbx + 0x18]
lea rax, [rsi - 1]
cmp rdx, rax
jne 0x14005de7d
mov rax, rbx
cmp rcx, 0x10
jb 0x14005de61
mov rax, qword [rbx]
movsx rax, byte [rax + rdx]
and eax, 3
add rax, rax
movzx eax, byte [r11 + rax*8]
mov byte [r8 + 1], al
mov al, 0x3d
add r8, 2
jmp 0x14005ded3
cmp rcx, 0x10
jb 0x14005de8c
mov r9, qword [rbx]
lea rcx, [rdx + r9]
jmp 0x14005de93
lea rcx, [rbx + rdx]
mov r9, rbx
movsx rcx, byte [rcx]
and ecx, 3
shl rcx, 4
movzx eax, byte [r9 + rdx + 1]
shr rax, 4
or rcx, rax
movzx eax, byte [rcx + r11]
mov byte [r8 + 1], al
add r8, 2
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14005dec5
mov rax, qword [rbx]
movsx rax, byte [rax + rdx + 1]
and eax, 0xf
movzx eax, byte [r11 + rax*4]
mov byte [r8], al
mov byte [r8 + 1], 0x3d
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14005df11
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14005df0c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005df44
mov rcx, r8
call fcn.140072428
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rax, rdi
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140071e50
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3