Function at 0x14011e200
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rsi, rcx
mov rax, qword [0x140362028]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rax, qword [rcx + 0x20]
cmp rax, 0x11
jb 0x14011e2b4
add rax, 0xffffffffffffffef
mov qword [rsi + 0x20], rax
mov rdi, qword [rsi + 8]
mov rbp, qword [rsi + 0x10]
mov r15, qword [rdi]
add rdi, 8
mov qword [rsi + 8], rdi
cmp rbp, qword [rsi + 0x18]
jne 0x14011e46f
mov r14, qword [rsi]
mov rax, rdi
sub rax, r14
jbe 0x14011e3a4
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
add rax, rcx
inc rax
sar rax, 1
mov rbx, rax
neg rbx
shl rax, 3
mov r14, rdi
sub r14, rax
sub rbp, rdi
je 0x14011e2a0
mov rcx, r14
mov rdx, rdi
mov r8, rbp
call fcn.1401a6090
mov rdi, qword [rsi + 8]
add rbp, r14
mov qword [rsi + 0x10], rbp
lea rax, [rdi + rbx*8]
mov qword [rsi + 8], rax
jmp 0x14011e46f
mov rdi, qword [rsi + 0x10]
mov rax, qword [rsi]
mov r12, qword [rsi + 8]
mov rbx, rdi
sub rbx, r12
mov rdx, qword [rsi + 0x18]
mov rcx, rdx
sub rcx, rax
cmp rbx, rcx
jae 0x14011e2fc
mov ecx, 0xf68
cmp rdx, rdi
je 0x14011e43d
call fcn.1401a2e6c
lea rdx, [rsp + 0x28]
mov qword [rdx], rax
mov rcx, rsi
call fcn.1400ee260
jmp 0x14011e589
lea r8, [rsi + 0x20]
sar rcx, 2
cmp rdx, rax
mov ebp, 1
cmovne rbp, rcx
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], r8
mov rax, rbp
shr rax, 0x3d
jne 0x14011e630
mov r15, rbx
sar r15, 3
lea rcx, [rbp*8]
call fcn.1401a2e6c
mov r13, rax
mov qword [rsp + 0x28], rax
add rbx, rax
mov qword [rsp + 0x30], rbx
lea r14, [rax + rbp*8]
mov qword [rsp + 0x40], r14
mov ecx, 0xf68
call fcn.1401a2e6c
cmp r15, rbp
jne 0x14011e4f0
mov rdx, rbx
sub rdx, r13
jbe 0x14011e47d
sar rdx, 3
lea rcx, [rdx + 1]
shr rcx, 0x3f
add rcx, rdx
inc rcx
shl rcx, 2
and rcx, 0xfffffffffffffff8
sub rbx, rcx
mov qword [rsp + 0x30], rbx
jmp 0x14011e4f0
mov rax, rbp
sub rax, r14
sar rax, 2
cmp rbp, r14
mov ebx, 1
cmovne rbx, rax
mov rax, rbx
shr rax, 0x3d
jne 0x14011e630
mov r12, rbx
shr r12, 2
lea rcx, [rbx*8]
call fcn.1401a2e6c
lea r9, [rax + r12*8]
lea r8, [rax + rbx*8]
mov r10, r9
sub rbp, rdi
je 0x14011e418
mov rbx, rbp
sar rbx, 3
and rbp, 0xfffffffffffffff8
mov r10, rbp
add r10, r9
shl rbx, 3
lea rbp, [rax + r12*8]
xor edx, edx
mov rcx, qword [rdi + rdx]
mov qword [rbp + rdx], rcx
add rdx, 8
cmp rbx, rdx
jne 0x14011e406
mov qword [rsi], rax
mov qword [rsi + 8], r9
mov qword [rsi + 0x10], r10
mov qword [rsi + 0x18], r8
mov rbp, r10
test r14, r14
je 0x14011e46f
mov rcx, r14
call fcn.1401a2ea8
mov rbp, qword [rsi + 0x10]
jmp 0x14011e46f
call fcn.1401a2e6c
lea rdx, [rsp + 0x28]
mov qword [rdx], rax
mov rcx, rsi
call fcn.14011e640
mov rdi, qword [rsi + 8]
mov rbp, qword [rsi + 0x10]
mov r15, qword [rdi]
add rdi, 8
mov qword [rsi + 8], rdi
cmp rbp, qword [rsi + 0x18]
je 0x14011e5a8
mov qword [rbp], r15
add qword [rsi + 0x10], 8
jmp 0x14011e589
mov qword [rsp + 0x20], rax
movabs rcx, 0x1fffffffffffffff
sar rdx, 2
cmp rbx, r13
mov ebp, 1
cmovne rbp, rdx
cmp rbp, rcx
ja 0x14011e630
mov rbx, rbp
and rbx, 0xfffffffffffffffc
lea rcx, [rbp*8]
call fcn.1401a2e6c
mov r15, rax
lea rbx, [rax + rbx*2]
lea r14, [rax + rbp*8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x40], r14
test r13, r13
je 0x14011e4e8
mov rcx, r13
call fcn.1401a2ea8
mov r12, qword [rsi + 8]
mov rdi, qword [rsi + 0x10]
mov r13, r15
mov rax, qword [rsp + 0x20]
mov qword [rbx], rax
lea rax, [rbx + 8]
mov qword [rsp + 0x38], rax
mov rdx, r12
cmp rdi, r12
je 0x14011e539
lea rbx, [rsp + 0x28]
add rdi, 0xfffffffffffffff8
mov rcx, rbx
mov rdx, rdi
call fcn.14011e640
cmp rdi, qword [rsi + 8]
jne 0x14011e509
mov r13, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x30]
mov r12, qword [rsi + 0x10]
mov rax, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
mov rdx, rdi
mov rcx, qword [rsi]
mov qword [rsi], r13
mov qword [rsp + 0x28], rcx
mov qword [rsi + 8], rbx
mov qword [rsp + 0x30], rdx
mov qword [rsi + 0x10], rax
mov qword [rsp + 0x38], r12
mov rax, qword [rsi + 0x18]
mov qword [rsi + 0x18], r14
mov qword [rsp + 0x40], rax
mov rax, r12
sub rax, rdx
je 0x14011e57f
add rax, 0xfffffffffffffff8
shr rax, 3
not rax
lea rax, [r12 + rax*8]
mov qword [rsp + 0x38], rax
test rcx, rcx
je 0x14011e589
call fcn.1401a2ea8
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401a4270
nop
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r14, qword [rsi]
mov rax, rdi
sub rax, r14
ja 0x14011e264
mov rax, rbp
sub rax, r14
sar rax, 2
cmp rbp, r14
mov ebx, 1
cmovne rbx, rax
mov rax, rbx
shr rax, 0x3d
jne 0x14011e630
mov r12, rbx
shr r12, 2
lea rcx, [rbx*8]
call fcn.1401a2e6c
lea r9, [rax + r12*8]
lea r8, [rax + rbx*8]
mov r10, r9
sub rbp, rdi
je 0x14011e418
mov rbx, rbp
sar rbx, 3
and rbp, 0xfffffffffffffff8
mov r10, rbp
add r10, r9
shl rbx, 3
lea rbp, [rax + r12*8]
xor edx, edx
mov rcx, qword [rdi + rdx]
mov qword [rbp + rdx], rcx
add rdx, 8
cmp rbx, rdx
jne 0x14011e619
jmp 0x14011e418
call fcn.1401bfdb0
int3