Function at 0x1400011c0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov r12d, r8d
mov r13, rdx
mov rbx, rcx
mov dword [rsp + 0x20], 0
mov qword [rcx + 0x18], 0xf
mov qword [rcx + 0x10], 0
mov byte [rcx], 0
mov dword [rsp + 0x20], 1
xor esi, esi
xor ecx, ecx
test r8d, r8d
je 0x1400015ce
nop dword [rax + rax]
dec r12d
movzx eax, byte [r13]
mov byte [rsp + rcx + 0x80], al
inc esi
inc rcx
inc r13
movzx edx, byte [rsp + 0x82]
movzx r14d, byte [rsp + 0x81]
movzx r15d, byte [rsp + 0x80]
cmp rcx, 3
jne 0x140001377
movzx eax, r15b
shr al, 2
mov byte [rsp + 0x88], al
movzx ecx, r15b
and cl, 3
shl cl, 4
movzx eax, r14b
shr al, 4
add cl, al
mov byte [rsp + 0x89], cl
movzx ecx, r14b
and cl, 0xf
shl cl, 2
movzx eax, dl
shr al, 6
add cl, al
mov byte [rsp + 0x8a], cl
movzx eax, dl
and al, 0x3f
mov byte [rsp + 0x8b], al
xor esi, esi
nop word [rax + rax]
lea rcx, [0x1400193a0]
cmp qword [0x1400193b8], 0x10
cmovae rcx, qword [0x1400193a0]
movzx eax, byte [rsp + rsi + 0x88]
movzx ebp, byte [rax + rcx]
mov r8, qword [rbx + 0x10]
or rax, 0xffffffffffffffff
sub rax, r8
cmp rax, 1
jbe 0x14000138e
lea rdi, [r8 + 1]
cmp rdi, 0xfffffffffffffffe
ja 0x140001381
mov rax, qword [rbx + 0x18]
cmp rax, rdi
jae 0x14000130c
mov rdx, rdi
mov rcx, rbx
call fcn.140005480
jmp 0x140001326
test rdi, rdi
jne 0x140001329
mov qword [rbx + 0x10], rdi
cmp rax, 0x10
jb 0x140001320
mov rax, qword [rbx]
jmp 0x140001323
mov rax, rbx
mov byte [rax], 0
test rdi, rdi
setne al
test al, al
je 0x14000135e
mov rcx, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140001340
mov rax, qword [rbx]
jmp 0x140001343
mov rax, rbx
mov byte [rax + rcx], bpl
mov qword [rbx + 0x10], rdi
cmp qword [rbx + 0x18], 0x10
jb 0x140001357
mov rax, qword [rbx]
jmp 0x14000135a
mov rax, rbx
mov byte [rax + rdi], 0
inc rsi
cmp rsi, 4
jl 0x1400012b0
xor esi, esi
xor ecx, ecx
movzx edx, byte [rsp + 0x82]
test r12d, r12d
je 0x14000139b
jmp 0x140001220
lea rcx, str.string_too_long
call fcn.140005910
int3
lea rcx, str.string_too_long
call fcn.140005910
int3
test esi, esi
je 0x1400015ce
movsxd rax, esi
cmp rax, 3
jge 0x1400013de
lea rcx, [rsp + rax + 0x80]
mov r8d, 3
sub r8, rax
xor edx, edx
call fcn.140006eb0
movzx edx, byte [rsp + 0x82]
movzx r14d, byte [rsp + 0x81]
movzx r15d, byte [rsp + 0x80]
movzx eax, r15b
shr al, 2
mov byte [rsp + 0x88], al
and r15b, 3
shl r15b, 4
movzx eax, r14b
shr al, 4
add r15b, al
mov byte [rsp + 0x89], r15b
and r14b, 0xf
shl r14b, 2
shr dl, 6
add r14b, dl
mov byte [rsp + 0x8a], r14b
xor ebp, ebp
lea r14d, [rsi + 1]
test r14d, r14d
jle 0x140001512
lea r12, [rsp + 0x88]
nop word [rax + rax]
lea rcx, [0x1400193a0]
cmp qword [0x1400193b8], 0x10
cmovae rcx, qword [0x1400193a0]
movzx eax, byte [r12]
movzx r13d, byte [rax + rcx]
mov r8, qword [rbx + 0x10]
or rax, 0xffffffffffffffff
sub rax, r8
cmp rax, 1
jbe 0x140001505
lea rdi, [r8 + 1]
cmp rdi, 0xfffffffffffffffe
ja 0x1400014f8
mov rax, qword [rbx + 0x18]
cmp rax, rdi
jae 0x140001496
mov rdx, rdi
mov rcx, rbx
call fcn.140005480
jmp 0x1400014b0
test rdi, rdi
jne 0x1400014b3
mov qword [rbx + 0x10], rdi
cmp rax, 0x10
jb 0x1400014aa
mov rax, qword [rbx]
jmp 0x1400014ad
mov rax, rbx
mov byte [rax], 0
test rdi, rdi
setne al
test al, al
je 0x1400014e8
mov rcx, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1400014ca
mov rax, qword [rbx]
jmp 0x1400014cd
mov rax, rbx
mov byte [rax + rcx], r13b
mov qword [rbx + 0x10], rdi
cmp qword [rbx + 0x18], 0x10
jb 0x1400014e1
mov rax, qword [rbx]
jmp 0x1400014e4
mov rax, rbx
mov byte [rax + rdi], 0
inc ebp
inc r12
cmp ebp, r14d
jl 0x140001440
jmp 0x140001512
lea rcx, str.string_too_long
call fcn.140005910
int3
lea rcx, str.string_too_long
call fcn.140005910
int3
cmp esi, 3
jge 0x1400015ce
nop dword [rax + rax]
inc esi
mov r8, qword [rbx + 0x10]
or rax, 0xffffffffffffffff
sub rax, r8
cmp rax, 1
jbe 0x1400015c1
lea rdi, [r8 + 1]
cmp rdi, 0xfffffffffffffffe
ja 0x1400015b4
mov rax, qword [rbx + 0x18]
cmp rax, rdi
jae 0x140001557
mov rdx, rdi
mov rcx, rbx
call fcn.140005480
jmp 0x140001571
test rdi, rdi
jne 0x140001574
mov qword [rbx + 0x10], rdi
cmp rax, 0x10
jb 0x14000156b
mov rax, qword [rbx]
jmp 0x14000156e
mov rax, rbx
mov byte [rax], 0
test rdi, rdi
setne al
test al, al
je 0x1400015a9
mov rcx, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x14000158b
mov rax, qword [rbx]
jmp 0x14000158e
mov rax, rbx
mov byte [rax + rcx], 0x3d
mov qword [rbx + 0x10], rdi
cmp qword [rbx + 0x18], 0x10
jb 0x1400015a2
mov rax, qword [rbx]
jmp 0x1400015a5
mov rax, rbx
mov byte [rdi + rax], 0
cmp esi, 3
jl 0x140001520
jmp 0x1400015ce
lea rcx, str.string_too_long
call fcn.140005910
int3
lea rcx, str.string_too_long
call fcn.140005910
int3
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