Function at 0x14000cc70
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, rcx
mov rax, qword [rcx + 8]
mov rcx, qword [rcx + 0x10]
mov rdx, rcx
sub rdx, rax
sar rdx, 3
imul r8, rdx, 0x2a
dec r8
xor r9d, r9d
mov rdx, rcx
sub rdx, rax
cmovne r9, r8
mov r8, qword [rsi + 0x20]
mov r10, qword [rsi + 0x28]
add r10, r8
sub r9, r10
cmp r9, 0x2a
jb 0x14000cce8
add r8, 0x2a
mov qword [rsi + 0x20], r8
mov rax, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
mov qword [rsp + 0x28], rax
mov qword [rsi + 0x10], rcx
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.14000d050
jmp 0x14000cfeb
mov rcx, qword [rsi]
mov r9, qword [rsi + 0x18]
mov r8, r9
sub r8, rcx
cmp rdx, r8
jae 0x14000cd20
cmp rax, rcx
je 0x14000cd69
mov ecx, 0xfc0
call fcn.14000f4f0
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.14000cac0
jmp 0x14000cda7
sar r8, 2
cmp r9, rcx
mov r14d, 1
cmovne r14, r8
mov rax, r14
shr rax, 0x3d
jne 0x14000d002
lea rcx, [r14*8]
call fcn.14000f4f0
mov rbx, rax
mov ecx, 0xfc0
call fcn.14000f4f0
mov rdi, rax
test r14, r14
je 0x14000cdcd
lea r13, [rbx + r14*8]
jmp 0x14000cdec
mov ecx, 0xfc0
call fcn.14000f4f0
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.14000c910
mov rax, qword [rsi + 0x10]
mov rcx, qword [rax - 8]
add rax, 0xfffffffffffffff8
mov qword [rsp + 0x28], rcx
mov qword [rsi + 0x10], rax
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.14000d050
mov rax, qword [rsi + 0x10]
mov rcx, qword [rsi + 0x20]
sub rax, qword [rsi + 8]
add rcx, 0x2a
cmp rax, 8
mov eax, 0x15
cmovne rax, rcx
mov qword [rsi + 0x20], rax
jmp 0x14000cfeb
mov ecx, 8
call fcn.14000f4f0
mov r14, rax
mov r13, rax
add r13, 8
mov rcx, rbx
call fcn.14000f5d0
mov rbx, r14
mov qword [rbx], rdi
mov r12, qword [rsi + 8]
lea r15, [rbx + 8]
cmp r12, qword [rsi + 0x10]
je 0x14000cf9a
mov rdi, rbx
jmp 0x14000ce3b
mov rbp, rbx
mov r14, r15
mov r15, r13
mov r13, r15
mov rax, qword [r12]
mov qword [r14], rax
add r12, 8
add r14, 8
mov r15, r14
mov rbx, rbp
cmp r12, qword [rsi + 0x10]
je 0x14000cfa3
cmp r15, r13
jne 0x14000ce10
mov rax, rbx
sub rax, rdi
mov qword [rsp + 0x30], rdi
jbe 0x14000cea1
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
lea r13, [rax + rcx]
inc r13
sar r13, 1
lea rax, [r13*8]
mov r14, rbx
sub r14, rax
mov rdi, r15
mov rax, r15
sub rdi, rbx
je 0x14000ce8d
mov rcx, r14
mov rdx, rbx
mov r8, rdi
call fcn.14007b8a0
mov rax, rbx
neg r13
add r14, rdi
lea rbp, [rax + r13*8]
mov rdi, qword [rsp + 0x30]
jmp 0x14000ce19
mov r13, r15
sub r13, rdi
sar r13, 2
cmp r15, rdi
mov eax, 1
cmove r13, rax
movabs rax, 0x1fffffffffffffff
cmp r13, rax
ja 0x14000cffd
lea rcx, [r13*8]
call fcn.14000f4f0
mov rdi, rax
mov rdx, r13
shr rdx, 2
lea rbp, [rax + rdx*8]
mov r14, rbp
sub r15, rbx
je 0x14000cf23
lea r14, [r15 + rbp]
add r15, 0xfffffffffffffff8
cmp r15, 0x38
jb 0x14000cf08
lea rax, [rdi + rdx*8]
sub rax, rbx
cmp rax, 0x20
jae 0x14000cf3f
mov rax, rbp
mov rcx, rbx
nop
mov rdx, qword [rcx]
mov qword [rax], rdx
add rax, 8
add rcx, 8
cmp rax, r14
jne 0x14000cf10
lea r15, [rdi + r13*8]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000ce19
call fcn.14000f5d0
jmp 0x14000ce19
shr r15, 3
inc r15
shl rdx, 3
mov r8, r15
and r8, 0xfffffffffffffffc
lea rax, [r8*8]
add rax, rbp
lea rcx, [rbx + r8*8]
add rdx, rdi
add rdx, 0x10
xor r9d, r9d
nop word [rax + rax]
movups xmm0, xmmword [rbx + r9*8]
movups xmm1, xmmword [rbx + r9*8 + 0x10]
movups xmmword [rdx + r9*8 - 0x10], xmm0
movups xmmword [rdx + r9*8], xmm1
add r9, 4
cmp r8, r9
jne 0x14000cf70
cmp r15, r8
jne 0x14000cf10
jmp 0x14000cf23
mov rdi, rbx
mov rbp, rbx
mov r14, r15
mov rcx, qword [rsi]
mov rax, qword [rsi + 0x20]
mov qword [rsi], rdi
mov qword [rsi + 8], rbp
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], r13
sub r14, rbp
add rax, 0x2a
cmp r14, 8
mov edx, 0x15
cmovne rdx, rax
mov qword [rsi + 0x20], rdx
test rcx, rcx
je 0x14000cfeb
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.14000f5d0
nop
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.140001cc0
call fcn.140001cc0
mov rsi, rax
mov rcx, rdi
call fcn.14000f5d0
mov qword [rsp + 0x30], rbx
jmp 0x14000d030
mov rcx, qword [rsp + 0x30]
call fcn.14000f5d0
mov rcx, rsi
call fcn.140052210
int3