Function at 0x1401744f0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14029b028]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdx, qword [rdx + 0x2b8]
mov rcx, qword [rsi + 0x2c0]
mov rax, rcx
sub rax, rdx
je 0x140174592
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 0x140174535
mov rbp, rcx
cmp r8, rcx
je 0x140174595
mov rbp, r8
cmp qword [r8], rdi
jne 0x140174595
xor esi, esi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140186020
mov eax, esi
add rsp, 0x68
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 0x14017462c
cmp rbx, rcx
jne 0x1401745cf
test rcx, rcx
je 0x1401747f3
mov qword [rcx], rdi
add rcx, 8
mov qword [rsi + 0x2c0], rcx
mov sil, 1
jmp 0x140174572
lea rdx, [rcx - 8]
mov rax, rcx
cmp rdx, rcx
jae 0x1401745fa
mov rax, rcx
test rax, rax
je 0x1401747f3
mov r8, qword [rdx]
mov qword [rax], r8
add rdx, 8
add rax, 8
cmp rdx, rcx
jb 0x1401745de
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.140187ab0
mov qword [rbx], rdi
mov sil, 1
jmp 0x140174572
lea rcx, [rsi + 0x2b8]
sar rax, 3
inc rax
mov r9, rax
shr r9, 0x3d
jne 0x14017481f
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 0x140174758
cmp r13, r14
ja 0x140174824
lea rcx, [r13*8]
call fcn.1401833f4
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 0x140174760
test r12, r12
je 0x1401747f3
mov qword [r12], rdi
lea rdi, [r12 + 8]
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
cmp rbx, rax
je 0x1401746ef
mov rcx, rbx
mov rdx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
mov qword [r12 - 8], rdx
add r12, 0xfffffffffffffff8
cmp rcx, rax
jne 0x1401746d9
mov r14, qword [rsi + 0x2c0]
sub r14, rbx
mov rcx, rdi
mov rdx, rbx
mov r8, r14
call fcn.140187ab0
add r14, rdi
mov rcx, qword [rsi + 0x2b8]
mov rax, qword [rsi + 0x2c0]
mov qword [rsi + 0x2b8], r12
mov qword [rsi + 0x2c0], r14
mov rdx, qword [rsp + 0x28]
mov qword [rsi + 0x2c8], rdx
cmp rax, rcx
je 0x140174742
add rax, 0xfffffffffffffff8
jne 0x140174732
jmp 0x140174829
mov sil, 1
test rcx, rcx
je 0x140174572
call fcn.1401833ec
jmp 0x140174572
xor r15d, r15d
jmp 0x14017469a
test rbp, 0xfffffffffffffff8
jle 0x140174787
lea rcx, [rax + 1]
shr rcx, 0x3f
add rax, rcx
inc rax
shl rax, 2
and rax, 0xfffffffffffffff8
sub r12, rax
jmp 0x1401746b7
lea rax, [rsi + 0x2d0]
mov rcx, rbp
sar rcx, 2
and rcx, 0xfffffffffffffffe
cmp rbp, 8
mov r13d, 1
cmovae r13, rcx
mov qword [rsp + 0x58], rax
cmp r13, r14
ja 0x140174824
lea rcx, [r13*8]
call fcn.1401833f4
mov rcx, r13
and rcx, 0xfffffffffffffffc
lea r14, [rax + rcx*2]
lea rax, [rax + r13*8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x38]
mov qword [rcx], r15
mov qword [rcx + 8], r12
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], r12
call fcn.140170680
mov r12, r14
jmp 0x1401746b7
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x25
call fcn.1401c1450
call fcn.1401c8d40
call fcn.1401c1450
lea rax, str.null_pointer_given_to_destroy_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__loc___nullptr
mov r8d, 0x41
call fcn.1401c1450
int3