Function at 0x6f5260e0
Capabilities:
Encode data using base64
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rax, qword [0x6f7534a0]
lea rbp, [rcx + 0x10]
mov rdi, r8
lea r8, [0x6f6f6afe]
mov r12, rdx
mov rbx, rcx
mov rsi, qword [rax]
mov qword [rsp + 0x48], rsi
xor esi, esi
mov rdx, r8
mov qword [rcx], rbp
call method.void_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_construct_char_const__char_const__char_const__std::forward_iterator_tag___clone_.isra.57_
lea rdx, [rdi + 2]
movabs rcx, 0xaaaaaaaaaaaaaaab
mov rax, rdx
mul rcx
mov rcx, rbx
shr rdx, 1
shl rdx, 2
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.reserve_unsigned_long_long_
add rdi, r12
cmp r12, rdi
jae 0x6f5263a0
lea rsi, [r12 + 1]
movzx r14d, byte [r12]
lea r12, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
jmp 0x6f526299
movzx ecx, byte [rsp + 0x3f]
shl r14d, 4
mov byte [rax + r13], cl
mov rax, qword [rbx]
mov qword [rbx + 8], r15
mov byte [rax + r13 + 1], 0
mov eax, r14d
and eax, 0x30
cmp rdi, rsi
jbe 0x6f526440
movzx r14d, byte [rsi]
mov r13, qword [rbx + 8]
lea r15, [r13 + 1]
mov edx, r14d
sar edx, 4
or eax, edx
mov edx, 0xf
cdqe
movzx eax, byte [r12 + rax]
mov byte [rsp + 0x3f], al
mov rax, qword [rbx]
cmp rbp, rax
je 0x6f5261be
mov rdx, qword [rbx + 0x10]
cmp r15, rdx
ja 0x6f526414
movzx ecx, byte [rsp + 0x3f]
lea rdx, [rsi + 1]
mov byte [rax + r13], cl
mov rax, qword [rbx]
mov qword [rbx + 8], r15
mov byte [rax + r13 + 1], 0
lea eax, [r14*4]
and eax, 0x3c
cmp rdi, rdx
jbe 0x6f5262f0
movzx r14d, byte [rsi + 1]
mov edx, 0xf
mov r13d, r14d
sar r14d, 6
or eax, r14d
mov r14, qword [rbx + 8]
cdqe
movzx eax, byte [r12 + rax]
lea r15, [r14 + 1]
mov byte [rsp + 0x3f], al
mov rax, qword [rbx]
cmp rbp, rax
je 0x6f526228
mov rdx, qword [rbx + 0x10]
cmp r15, rdx
ja 0x6f5263f2
movzx ecx, byte [rsp + 0x3f]
and r13d, 0x3f
mov edx, 0xf
mov byte [rax + r14], cl
mov rax, qword [rbx]
mov qword [rbx + 8], r15
movzx r15d, byte [r12 + r13]
mov byte [rax + r14 + 1], 0
mov rax, qword [rbx]
mov r13, qword [rbx + 8]
cmp rbp, rax
lea r14, [r13 + 1]
je 0x6f526269
mov rdx, qword [rbx + 0x10]
cmp r14, rdx
ja 0x6f5263d0
mov byte [rax + r13], r15b
mov rax, qword [rbx]
mov qword [rbx + 8], r14
mov byte [rax + r13 + 1], 0
lea rax, [rsi + 2]
cmp rdi, rax
jbe 0x6f5263a0
add rsi, 3
movzx r14d, byte [rsi - 1]
mov eax, r14d
mov r13, qword [rbx + 8]
mov edx, 0xf
sar eax, 2
cdqe
movzx eax, byte [r12 + rax]
lea r15, [r13 + 1]
mov byte [rsp + 0x3f], al
mov rax, qword [rbx]
cmp rbp, rax
je 0x6f5262c3
mov rdx, qword [rbx + 0x10]
cmp r15, rdx
jbe 0x6f526165
mov qword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, r13
mov rcx, rbx
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_mutate_unsigned_long_long__unsigned_long_long__char_const__unsigned_long_long_
mov rax, qword [rbx]
jmp 0x6f526165
mov edi, 2
cdqe
mov rsi, qword [rbx + 8]
mov edx, 0xf
movzx r13d, byte [r12 + rax]
mov rax, qword [rbx]
lea r12, [rsi + 1]
cmp rbp, rax
je 0x6f526315
mov rdx, qword [rbx + 0x10]
cmp r12, rdx
ja 0x6f526472
mov byte [rax + rsi], r13b
mov rax, qword [rbx]
mov edx, 0xf
mov qword [rbx + 8], r12
mov byte [rax + rsi + 1], 0
mov rax, qword [rbx]
mov rsi, qword [rbx + 8]
cmp rbp, rax
lea r12, [rsi + 1]
je 0x6f526347
mov rdx, qword [rbx + 0x10]
cmp r12, rdx
ja 0x6f526450
mov byte [rax + rsi], 0x3d
mov rax, qword [rbx]
cmp edi, 1
mov qword [rbx + 8], r12
mov byte [rax + rsi + 1], 0
jne 0x6f5263a0
mov rax, qword [rbx]
mov rsi, qword [rbx + 8]
mov edx, 0xf
cmp rbp, rax
lea rdi, [rsi + 1]
je 0x6f52637e
mov rdx, qword [rbx + 0x10]
cmp rdi, rdx
ja 0x6f526494
mov byte [rax + rsi], 0x3d
mov rax, qword [rbx]
mov qword [rbx + 8], rdi
mov byte [rax + rsi + 1], 0
nop word [rax + rax]
mov rdi, qword [0x6f7534a0]
mov rax, rbx
mov rcx, qword [rsp + 0x48]
xor rcx, qword [rdi]
jne 0x6f5264b6
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, r13
mov rcx, rbx
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_mutate_unsigned_long_long__unsigned_long_long__char_const__unsigned_long_long_
mov rax, qword [rbx]
jmp 0x6f526272
mov qword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
mov rcx, rbx
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_mutate_unsigned_long_long__unsigned_long_long__char_const__unsigned_long_long_
mov rax, qword [rbx]
jmp 0x6f526231
mov qword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, r13
mov rcx, rbx
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_mutate_unsigned_long_long__unsigned_long_long__char_const__unsigned_long_long_
mov rax, qword [rbx]
jmp 0x6f5261c7
mov edi, 1
jmp 0x6f5262f5
mov qword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_mutate_unsigned_long_long__unsigned_long_long__char_const__unsigned_long_long_
mov rax, qword [rbx]
jmp 0x6f526350
mov qword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_mutate_unsigned_long_long__unsigned_long_long__char_const__unsigned_long_long_
mov rax, qword [rbx]
jmp 0x6f52631e
mov qword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_mutate_unsigned_long_long__unsigned_long_long__char_const__unsigned_long_long_
mov rax, qword [rbx]
jmp 0x6f526387
call sym.__stack_chk_fail
mov rcx, qword [rbx]
mov rsi, rax
cmp rcx, rbp
je 0x6f5264cb
call sym.operator_delete_void_
mov rcx, rsi
call sym._Unwind_Resume
nop
nop
nop word cs:[rax + rax]