Function at 0x1400665a0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x140162800]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r12d, r8d
mov r13, rdx
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor esi, esi
mov dword [rsp + 0x28], esi
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], select
mov byte [rcx], sil
mov dword [rsp + 0x28], 1
mov ebp, esi
xor eax, eax
mov word [rsp + 0x38], ax
mov byte [rsp + 0x3a], al
mov dword [rsp + 0x24], esi
test r8d, r8d
je 0x140066963
mov ecx, esi
movzx ebx, byte [rsp + 0x20]
nop dword [rax]
dec r12d
movzx eax, byte [r13]
lea r13, [r13 + 1]
mov byte [rsp + rcx + 0x38], al
inc ebp
inc rcx
movzx r8d, byte [rsp + 0x3a]
movzx r14d, byte [rsp + 0x39]
movzx r15d, byte [rsp + 0x38]
cmp rcx, 3
jne 0x140066816
movzx eax, r15b
shr al, 2
movzx ecx, al
mov byte [rsp + 0x24], cl
movzx ebp, r15b
and bpl, 3
shl bpl, 4
movzx eax, r14b
shr al, 4
add bpl, al
movzx edx, r14b
and dl, 0xf
shl dl, 2
movzx eax, r8b
shr al, 6
add dl, al
mov byte [rsp + 0x21], dl
movzx eax, r8b
and al, 0x3f
mov byte [rsp + 0x20], al
mov byte [rsp + 0x27], al
lea rax, [0x1401651e8]
cmp qword [0x140165200], 0xf
cmova rax, qword [0x1401651e8]
movzx r9d, byte [rcx + rax]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x1400666e2
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x1400666d7
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400666f3
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.14005b110
lea rcx, [0x1401651e8]
cmp qword [0x140165200], 0xf
cmova rcx, qword [0x1401651e8]
movzx eax, bpl
movzx r9d, byte [rax + rcx]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x14006673f
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x140066734
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140066750
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.14005b110
lea rbp, [0x1401651e8]
mov rcx, rbp
cmp qword [0x140165200], 0xf
cmova rcx, qword [0x1401651e8]
movzx eax, byte [rsp + 0x21]
movzx r9d, byte [rax + rcx]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x1400667a0
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x140066795
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400667b1
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.14005b110
mov rcx, rbp
cmp qword [0x140165200], 0xf
cmova rcx, qword [0x1401651e8]
movzx eax, byte [rsp + 0x20]
movzx r9d, byte [rax + rcx]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x1400667fa
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x1400667ef
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14006680b
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.14005b110
mov ebp, esi
mov rcx, rsi
movzx r8d, byte [rsp + 0x3a]
test r12d, r12d
jne 0x140066620
test ebp, ebp
je 0x140066963
movsxd rax, ebp
cmp rax, 3
jge 0x140066856
jae 0x140066991
mov byte [rsp + rax + 0x38], 0
inc rax
cmp rax, 3
jl 0x140066830
movzx r8d, byte [rsp + 0x3a]
movzx r14d, byte [rsp + 0x39]
movzx r15d, byte [rsp + 0x38]
movzx eax, r15b
shr al, 2
mov byte [rsp + 0x24], al
and r15b, 3
shl r15b, 4
movzx eax, r14b
shr al, 4
add r15b, al
mov byte [rsp + 0x25], r15b
and r14b, 0xf
shl r14b, 2
shr r8b, 6
add r14b, r8b
mov byte [rsp + 0x26], r14b
lea eax, [rbp + 1]
movsxd r14, eax
test eax, eax
jle 0x140066906
movzx ebx, byte [rsp + 0x20]
nop dword [rax + rax]
lea rcx, [0x1401651e8]
cmp qword [0x140165200], 0xf
cmova rcx, qword [0x1401651e8]
movzx eax, byte [rsp + rsi + 0x24]
movzx r9d, byte [rax + rcx]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x1400668ed
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x1400668e2
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400668fe
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.14005b110
inc rsi
cmp rsi, r14
jl 0x1400668a0
cmp ebp, 3
jge 0x140066963
mov esi, 3
sub esi, ebp
movzx ebx, byte [rsp + 0x20]
nop word [rax + rax]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x140066949
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x140066941
mov rax, qword [rdi]
mov word [rax + rcx], 0x3d
jmp 0x14006695d
mov r9b, 0x3d
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.14005b110
sub rsi, 1
jne 0x140066920
mov rax, rdi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140055270
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.1400712cc
int3