Function at 0x140175630
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 0x1401756b6
mov r9, rax
sar r9, 3
mov r8, rdx
mov r10, r8
mov r11, r9
shr r11, 1
mov rbx, r11
not rbx
add rbx, r9
cmp qword [r8 + r11*8], rdi
lea r8, [r8 + r11*8 + 8]
cmovae rbx, r11
cmovae r8, r10
mov r9, rbx
test rbx, rbx
jne 0x140175666
mov rbp, rcx
cmp r8, rcx
je 0x1401756b9
mov rbp, r8
cmp qword [r8], rdi
jne 0x1401756b9
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 0x140175750
cmp rbx, rcx
jne 0x1401756f3
test rcx, rcx
je 0x140175865
mov qword [rcx], rdi
add rcx, 8
mov qword [rsi + 0x2c0], rcx
mov sil, 1
jmp 0x1401756a3
lea rdx, [rcx - 8]
mov rax, rcx
cmp rdx, rcx
jae 0x14017571e
mov rax, rcx
test rax, rax
je 0x140175865
mov r8, qword [rdx]
mov qword [rax], r8
add rdx, 8
add rax, 8
cmp rdx, rcx
jb 0x140175702
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.140188f50
mov qword [rbx], rdi
mov sil, 1
jmp 0x1401756a3
lea rcx, [rsi + 0x2b8]
sar rax, 3
inc rax
mov r9, rax
shr r9, 0x3d
jne 0x140175891
movabs r14, 0x1fffffffffffffff
sub r8, rdx
mov r13, r8
shr 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 0x140175896
cmp r13, r14
ja 0x14017591a
lea rcx, [r13*8]
call fcn.140184834
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 0x14017589e
test r12, r12
je 0x140175865
mov qword [r12], rdi
lea rdi, [r12 + 8]
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
cmp rbx, rax
je 0x140175813
mov rcx, rbx
mov rdx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
mov qword [r12 - 8], rdx
add r12, 0xfffffffffffffff8
cmp rcx, rax
jne 0x1401757fd
mov r14, qword [rsi + 0x2c0]
sub r14, rbx
mov rcx, rdi
mov rdx, rbx
mov r8, r14
call fcn.140188f50
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 0x1401756a3
call fcn.14018482c
jmp 0x1401756a3
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.1401c1b10
call fcn.1401c7c60
xor r15d, r15d
jmp 0x1401757be
test rbp, 0xfffffffffffffff8
jle 0x1401758c5
lea rcx, [rax + 1]
shr rcx, 0x3f
add rax, rcx
inc rax
shl rax, 2
and rax, 0xfffffffffffffff8
sub r12, rax
jmp 0x1401757db
mov rax, rbp
sar rax, 2
and rax, 0xfffffffffffffffe
cmp rbp, 8
mov r13d, 1
cmovae r13, rax
cmp r13, r14
ja 0x14017591a
lea rcx, [r13*8]
call fcn.140184834
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 0x1401757db
mov rcx, r15
call fcn.14018482c
jmp 0x1401757db
call fcn.1401c1b10
int3