Function at 0x1401714f0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rsi, rdx
mov rdi, rcx
mov rdx, qword [rdx + 0x2b8]
mov rcx, qword [rsi + 0x2c0]
mov rax, rcx
sub rax, rdx
je 0x140171576
mov r9, rax
sar r9, 3
mov r8, rdx
mov r10, r9
shr r10, 1
mov r11, r10
not r11
add r11, r9
lea r9, [r8 + r10*8]
add r9, 8
cmp qword [r9 - 8], rdi
cmovae r11, r10
cmovb r8, r9
mov r9, r11
test r11, r11
jne 0x140171526
mov rbp, rcx
cmp r8, rcx
je 0x140171579
mov rbp, r8
cmp qword [r8], rdi
jne 0x140171579
xor esi, esi
mov eax, esi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rbp, rcx
sub rbp, rdx
mov rbx, rbp
and rbx, 0xfffffffffffffff8
add rbx, rdx
mov r8, qword [rsi + 0x2c8]
cmp rcx, r8
jae 0x14017160a
cmp rbx, rcx
jne 0x1401715b3
test rcx, rcx
je 0x1401717a3
mov qword [rcx], rdi
add rcx, 8
mov qword [rsi + 0x2c0], rcx
mov sil, 1
jmp 0x140171563
lea rdx, [rcx - 8]
mov rax, rcx
cmp rdx, rcx
jae 0x1401715de
mov rax, rcx
test rax, rax
je 0x1401717a3
mov r8, qword [rdx]
mov qword [rax], r8
add rdx, 8
add rax, 8
cmp rdx, rcx
jb 0x1401715c2
mov r8, rcx
sub r8, rbx
add r8, 0xfffffffffffffff8
mov rdx, r8
sar rdx, 3
mov qword [rsi + 0x2c0], rax
shl rdx, 3
sub rcx, rdx
mov rdx, rbx
call fcn.140184b40
mov qword [rbx], rdi
jmp 0x1401715ae
lea rcx, [rsi + 0x2b8]
sar rax, 3
inc rax
mov r9, rax
shr r9, 0x3d
jne 0x1401717cf
movabs r14, 0x1fffffffffffffff
sub r8, rdx
mov r13, r8
sar r13, 2
cmp r13, rax
cmovbe r13, rax
movabs rax, 0x7ffffffffffffff8
cmp r8, rax
cmovae r13, r14
test r13, r13
mov qword [rsp + 0x30], rcx
je 0x14017171f
cmp r13, r14
ja 0x1401717d4
lea rcx, [r13*8]
call fcn.1401803a4
mov r15, rax
mov rax, rbp
sar rax, 3
lea r12, [r15 + rax*8]
lea rcx, [r15 + r13*8]
mov qword [rsp + 0x28], rcx
cmp rax, r13
je 0x140171727
test r12, r12
je 0x1401717a3
mov qword [r12], rdi
lea rdi, [r12 + 8]
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
cmp rbx, rax
je 0x1401716cd
mov rcx, rbx
mov rdx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
mov qword [r12 - 8], rdx
add r12, 0xfffffffffffffff8
cmp rcx, rax
jne 0x1401716b7
mov r14, qword [rsi + 0x2c0]
sub r14, rbx
mov rcx, rdi
mov rdx, rbx
mov r8, r14
call fcn.140184b40
add r14, rdi
mov rcx, qword [rsi + 0x2b8]
mov qword [rsi + 0x2b8], r12
mov qword [rsi + 0x2c0], r14
mov rax, qword [rsp + 0x28]
mov qword [rsi + 0x2c8], rax
mov sil, 1
test rcx, rcx
je 0x140171563
call fcn.14018039c
jmp 0x140171563
xor r15d, r15d
jmp 0x140171678
test rbp, 0xfffffffffffffff8
jle 0x14017174e
lea rcx, [rax + 1]
shr rcx, 0x3f
add rax, rcx
inc rax
shl rax, 2
and rax, 0xfffffffffffffff8
sub r12, rax
jmp 0x140171695
mov rax, rbp
sar rax, 2
and rax, 0xfffffffffffffffe
cmp rbp, 8
mov r13d, 1
cmovae r13, rax
cmp r13, r14
ja 0x1401717d4
lea rcx, [r13*8]
call fcn.1401803a4
mov rcx, r13
and rcx, 0xfffffffffffffffc
lea r12, [rax + rcx*2]
lea rax, [rax + r13*8]
mov qword [rsp + 0x28], rax
test r15, r15
je 0x140171695
mov rcx, r15
call fcn.14018039c
jmp 0x140171695
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x25
call fcn.1401bda10
call fcn.1401c33a0
call fcn.1401bda10
int3