Function at 0x14011756e
Capabilities:
Encode data using base64

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov r14, rcx
mov edi, 2
cmp rdx, 1
je 0x14011759e
lea rax, [rdx - 1]
test rdx, rax
jne 0x140117593
mov rdi, rdx
jmp 0x14011759e
mov rcx, rdx
call fcn.140028810
mov rdi, rax
mov rsi, qword [r14 + 8]
cmp rdi, rsi
ja 0x140117697
jae 0x1401176ab
mov rax, qword [r14 + 0x18]
test rax, rax
js 0x1401175c1
cvtsi2ss xmm0, rax
jmp 0x1401175d6
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [r14 + 0x20]
call fcn.140164b30
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x140178d30]
cvttss2si rax, xmm0
sar rdx, 0x3f
and rax, rdx
or rax, rcx
cmp rsi, 3
jb 0x140117683
mov rcx, rsi
shr rcx, 1
movabs rdx, 0x5555555555555555
and rdx, rcx
mov rbx, rsi
sub rbx, rdx
movabs rdx, 0x3333333333333333
mov rcx, rbx
shr rcx, 2
and rbx, rdx
and rcx, rdx
add rcx, rbx
mov rdx, rcx
shr rdx, 4
add rdx, rcx
movabs rcx, 0xf0f0f0f0f0f0f0f
and rcx, rdx
movabs rdx, 0x101010101010101
imul rdx, rcx
shr rdx, 0x38
cmp edx, 1
ja 0x140117683
cmp rax, 2
jb 0x14011768b
dec rax
bsr rcx, rax
xor ecx, 0x3f
neg cl
mov eax, 1
shl rax, cl
jmp 0x14011768b
mov rcx, rax
call fcn.140028810
cmp rdi, rax
cmovb rdi, rax
cmp rdi, rsi
jae 0x1401176ab
mov rcx, r14
mov rdx, rdi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp 0x1401176b6
nop
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov r15, rcx
test rdx, rdx
je 0x140117798
mov r14, rdx
mov rax, rdx
shr rax, 0x3d
jne 0x1401178a6
lea rcx, [r14*8]
call fcn.140134998
mov rcx, qword [r15]
mov qword [r15], rax
test rcx, rcx
je 0x1401176ff
call fcn.1401349d4
mov qword [r15 + 8], r14
xor eax, eax
mov rcx, qword [r15]
mov qword [rcx + rax*8], 0
inc rax
cmp r14, rax
jne 0x140117705
mov r11, qword [r15 + 0x10]
test r11, r11
je 0x140117895
lea rcx, [r15 + 0x10]
mov r8, qword [r11 + 8]
mov rax, r14
shr rax, 1
movabs rdx, 0x5555555555555555
and rdx, rax
mov rax, r14
sub rax, rdx
movabs rdx, 0x3333333333333333
mov rbx, rax
and rbx, rdx
shr rax, 2
and rax, rdx
add rax, rbx
mov rdx, rax
shr rdx, 4
add rdx, rax
movabs rax, 0xf0f0f0f0f0f0f0f
and rax, rdx
movabs r9, 0x101010101010101
imul r9, rax
shr r9, 0x38
cmp r9, 1
ja 0x1401177b9
lea rax, [r14 - 1]
and r8, rax
jmp 0x1401177c9
mov rcx, qword [r15]
mov qword [r15], 0
test rcx, rcx
je 0x1401177ac
call fcn.1401349d4
mov qword [r15 + 8], 0
jmp 0x140117895
cmp r8, r14
jb 0x1401177c9
mov rax, r8
xor edx, edx
div r14
mov r8, rdx
mov rax, qword [r15]
mov qword [rax + r8*8], rcx
mov r13, qword [r11]
test r13, r13
je 0x140117895
lea r10, [r14 - 1]
mov rax, qword [r13 + 8]
cmp r9d, 1
ja 0x1401177ef
and rax, r10
jmp 0x1401177fc
cmp rax, r14
jb 0x1401177fc
xor edx, edx
div r14
mov rax, rdx
cmp rax, r8
jne 0x140117809
mov r11, r13
jmp 0x140117889
mov rcx, qword [r15]
cmp qword [rcx + rax*8], 0
je 0x14011785d
mov rdx, qword [r13]
test rdx, rdx
je 0x140117869
mov rdi, qword [r13 + 0x18]
mov r12, r13
mov rbx, rdx
cmp rdi, qword [rdx + 0x18]
jne 0x14011786e
test rdi, rdi
je 0x14011784d
mov rsi, qword [rbx + 0x10]
mov rdx, qword [r13 + 0x10]
xor ecx, ecx
movzx ebp, word [rdx + rcx*2]
cmp bp, word [rsi + rcx*2]
jne 0x14011786e
inc rcx
cmp rdi, rcx
jne 0x14011783b
mov rdx, qword [rbx]
mov r12, rbx
test rdx, rdx
jne 0x140117823
mov r12, rbx
jmp 0x14011786c
mov qword [rcx + rax*8], r11
mov r11, r13
mov r8, rax
jmp 0x140117889
mov r12, r13
xor ebx, ebx
mov qword [r11], rbx
mov rcx, qword [r15]
mov rcx, qword [rcx + rax*8]
mov rcx, qword [rcx]
mov qword [r12], rcx
mov rcx, qword [r15]
mov rax, qword [rcx + rax*8]
mov qword [rax], r13
mov r13, qword [r11]
test r13, r13
jne 0x1401177e0
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.140149890
int3