Function at 0x1400f8660
Capabilities:
Encode data using base64

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov qword [r11 - 0x50], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov rax, qword [0x1401e61d8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov rdi, rcx
mov qword [r11 - 0x48], rcx
xor esi, esi
mov dword [rsp + 0x20], esi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], 0xf
mov byte [rcx], sil
mov dword [rsp + 0x20], 1
mov ebx, esi
test r8d, r8d
je 0x1400f8933
mov ecx, esi
nop word [rax + rax]
dec ebp
movzx eax, word [r14]
mov word [rsp + rcx*2 + 0x38], ax
inc ebx
inc rcx
lea r14, [r14 + 2]
movzx r13d, word [rsp + 0x3c]
movzx r15d, word [rsp + 0x3a]
movzx r12d, word [rsp + 0x38]
cmp rcx, 3
jne 0x1400f87cb
movzx eax, r12w
shr ax, 2
and ax, 0x3f
mov word [rsp + 0x40], ax
movzx ecx, r15w
shr cx, 4
and cx, 0xf
movzx eax, r12w
and ax, 3
shl ax, 4
add cx, ax
mov word [rsp + 0x42], cx
movzx ecx, r13w
shr cx, 6
and cx, 3
movzx eax, r15w
and ax, 0xf
shl ax, 2
add cx, ax
mov word [rsp + 0x44], cx
movzx eax, r13w
and ax, 0x3f
mov word [rsp + 0x46], ax
mov rbx, rsi
lea rcx, [0x1401e6160]
cmp qword [0x1401e6178], 0x10
cmovae rcx, qword [0x1401e6160]
movzx eax, word [rsp + rbx*2 + 0x40]
movzx r9d, byte [rax + rcx]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x1400f87ae
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x1400f87a3
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400f87bd
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rdi
call fcn.14000eab0
inc rbx
cmp rbx, 4
jl 0x1400f8761
mov ebx, esi
mov rcx, rsi
test ebp, ebp
jne 0x1400f86d0
test ebx, ebx
je 0x1400f8933
movsxd rax, ebx
cmp rax, 3
jge 0x1400f8812
add rax, rax
cmp rax, 6
jae 0x1400f8961
mov word [rsp + rax + 0x38], si
add rax, 2
cmp rax, 6
jl 0x1400f87eb
movzx r13d, word [rsp + 0x3c]
movzx r15d, word [rsp + 0x3a]
movzx r12d, word [rsp + 0x38]
movzx eax, r12w
shr ax, 2
and ax, 0x3f
mov word [rsp + 0x40], ax
movzx eax, r15w
shr ax, 4
and ax, 0xf
and r12w, 3
shl r12w, 4
add ax, r12w
mov word [rsp + 0x42], ax
movzx eax, r13w
shr ax, 6
and ax, 3
and r15w, 0xf
shl r15w, 2
add ax, r15w
mov word [rsp + 0x44], ax
and r13w, 0x3f
mov word [rsp + 0x46], r13w
lea eax, [rbx + 1]
movsxd rbp, eax
test eax, eax
jle 0x1400f88e4
nop word [rax + rax]
lea rcx, [0x1401e6160]
cmp qword [0x1401e6178], 0x10
cmovae rcx, qword [0x1401e6160]
movzx eax, word [rsp + rsi*2 + 0x40]
movzx r9d, byte [rax + rcx]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x1400f88cd
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x1400f88c2
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400f88dc
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rdi
call fcn.14000eab0
inc rsi
cmp rsi, rbp
jl 0x1400f8880
cmp ebx, 3
jge 0x1400f8933
mov eax, 3
sub eax, ebx
mov ebx, eax
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x1400f891b
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x1400f8913
mov rax, qword [rdi]
mov word [rax + rcx], 0x3d
jmp 0x1400f892d
mov r9b, 0x3d
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rdi
call fcn.14000eab0
sub rbx, 1
jne 0x1400f88f2
mov rax, rdi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140113c40
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.14011450c
int3