Function at 0x140081390
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 + 8], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov rax, qword [0x1401dd1d8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r9d
mov r14, r8
mov rdi, rdx
mov qword [r11 - 0x48], rdx
xor esi, esi
mov dword [rsp + 0x20], esi
mov qword [rdx + 0x10], rsi
mov qword [rdx + 0x18], 0xf
mov byte [rdx], sil
mov dword [rsp + 0x20], 1
mov ebx, esi
test r9d, r9d
je 0x140081663
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 0x1400814fb
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, [0x1401dd0d0]
cmp qword [0x1401dd0e8], 0x10
cmovae rcx, qword [0x1401dd0d0]
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 0x1400814de
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x1400814d3
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400814ed
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rdi
call fcn.14000e0e0
inc rbx
cmp rbx, 4
jl 0x140081491
mov ebx, esi
mov rcx, rsi
test ebp, ebp
jne 0x140081400
test ebx, ebx
je 0x140081663
movsxd rax, ebx
cmp rax, 3
jge 0x140081542
add rax, rax
cmp rax, 6
jae 0x140081691
mov word [rsp + rax + 0x38], si
add rax, 2
cmp rax, 6
jl 0x14008151b
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 0x140081614
nop word [rax + rax]
lea rcx, [0x1401dd0d0]
cmp qword [0x1401dd0e8], 0x10
cmovae rcx, qword [0x1401dd0d0]
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 0x1400815fd
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x1400815f2
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14008160c
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rdi
call fcn.14000e0e0
inc rsi
cmp rsi, rbp
jl 0x1400815b0
cmp ebx, 3
jge 0x140081663
mov eax, 3
sub eax, ebx
mov ebx, eax
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x14008164b
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x140081643
mov rax, qword [rdi]
mov word [rax + rcx], 0x3d
jmp 0x14008165d
mov r9b, 0x3d
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rdi
call fcn.14000e0e0
sub rbx, 1
jne 0x140081622
mov rax, rdi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14010f260
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
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.14010fb2c
int3