Function at 0x1400878be
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, rcx
mov rax, qword [0x1401b6b28]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, qword [rcx + 0x20]
cmp rax, 0x2a
jb 0x140087984
add rax, 0xffffffffffffffd6
mov qword [rsi + 0x20], rax
mov rax, qword [rsi + 8]
mov r13, qword [rsi + 0x10]
mov r15, qword [rax]
mov ebx, 8
add rbx, rax
mov qword [rsi + 8], rbx
mov rax, qword [rsi + 0x18]
cmp r13, rax
jne 0x140087c36
mov r14, qword [rsi]
mov rcx, rbx
sub rcx, r14
jbe 0x140087b9b
sar rcx, 3
lea rax, [rcx + 1]
shr rax, 0x3f
add rax, rcx
inc rax
sar rax, 1
mov r12, rax
neg r12
shl rax, 3
mov r14, rbx
sub r14, rax
sub r13, rbx
mov rdi, r13
sar rdi, 3
test r13, r13
je 0x14008796f
mov rcx, r14
mov rdx, rbx
mov r8, r13
call fcn.14014a9e0
mov rbx, qword [rsi + 8]
lea r13, [r14 + rdi*8]
mov qword [rsi + 0x10], r13
lea rax, [rbx + r12*8]
mov qword [rsi + 8], rax
jmp 0x140087c36
mov rax, qword [rsi + 0x10]
mov rbp, qword [rsi + 0x18]
mov rbx, rax
sub rbx, qword [rsi + 8]
sar rbx, 3
mov rcx, rbp
sub rcx, qword [rsi]
mov rdx, rcx
sar rdx, 3
cmp rbx, rdx
jae 0x140087a80
mov ecx, 0xfc0
cmp rbp, rax
jne 0x140087b81
call fcn.140147c20
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov rcx, rsi
call fcn.140087772
mov rax, qword [rsi + 8]
mov r13, qword [rsi + 0x10]
mov r15, qword [rax]
mov ebx, 8
add rbx, rax
mov qword [rsi + 8], rbx
mov rax, qword [rsi + 0x18]
cmp r13, rax
jne 0x140087c36
mov r14, qword [rsi]
mov rcx, rbx
sub rcx, r14
ja 0x140087929
sub rax, r14
mov rcx, rax
sar rcx, 2
test rax, rax
mov edi, 1
cmovne rdi, rcx
mov rax, rdi
shr rax, 0x3d
jne 0x140087c5e
mov r12, rdi
shr r12, 2
lea rcx, [rdi*8]
call fcn.140147c20
lea r9, [rax + r12*8]
lea r8, [rax + rdi*8]
mov r10, r9
sub r13, rbx
je 0x140087c11
add r10, r13
sar r13, 3
shl r13, 3
lea rcx, [rax + r12*8]
add rcx, 8
xor edx, edx
mov rbp, r9
mov rdi, qword [rbx + rdx]
mov qword [rbp], rdi
lea rbp, [rcx + rdx]
add rdx, 8
cmp r13, rdx
jne 0x140087a66
jmp 0x140087c0e
mov rax, rcx
sar rax, 2
test rcx, rcx
mov edi, 1
cmovne rdi, rax
lea rax, [rsi + 0x20]
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], rax
mov rax, rdi
shr rax, 0x3d
jne 0x140087c5e
lea rcx, [rdi*8]
call fcn.140147c20
lea r14, [rsp + 0x30]
mov qword [r14], rax
lea rcx, [rax + rbx*8]
mov qword [r14 + 0x10], rcx
mov qword [r14 + 8], rcx
lea rax, [rax + rdi*8]
mov qword [r14 + 0x18], rax
mov ecx, 0xfc0
call fcn.140147c20
lea rdx, [rsp + 0x28]
mov qword [rdx], rax
mov rcx, r14
call fcn.140087618
mov rax, qword [rsi + 8]
mov rdi, qword [rsi + 0x10]
cmp rdi, rax
je 0x140087b23
lea rbx, [rsp + 0x30]
add rdi, 0xfffffffffffffff8
mov rcx, rbx
mov rdx, rdi
call fcn.140087772
mov rax, qword [rsi + 8]
cmp rdi, rax
jne 0x140087b07
mov rdi, qword [rsi + 0x10]
mov rcx, qword [rsi]
movaps xmm0, xmmword [rsp + 0x30]
mov qword [rsp + 0x30], rcx
movups xmmword [rsi], xmm0
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x40]
mov qword [rsp + 0x40], rdi
mov rdx, qword [rsi + 0x18]
movups xmmword [rsi + 0x10], xmm0
mov qword [rsp + 0x48], rdx
cmp rax, rdi
je 0x140087b6e
mov rdx, rdi
sub rdx, rax
add rdx, 0xfffffffffffffff8
shr rdx, 3
not rdx
lea rax, [rdi + rdx*8]
mov qword [rsp + 0x40], rax
test rcx, rcx
je 0x140087c3f
call fcn.140147c5c
jmp 0x140087c3f
call fcn.140147c20
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov rcx, rsi
call fcn.140087618
jmp 0x140087c3f
sub rax, r14
mov rcx, rax
sar rcx, 2
test rax, rax
mov edi, 1
cmovne rdi, rcx
mov rax, rdi
shr rax, 0x3d
jne 0x140087c5e
mov r12, rdi
shr r12, 2
lea rcx, [rdi*8]
call fcn.140147c20
lea r9, [rax + r12*8]
lea r8, [rax + rdi*8]
mov r10, r9
sub r13, rbx
je 0x140087c11
add r10, r13
sar r13, 3
shl r13, 3
lea rcx, [rax + r12*8]
add rcx, 8
xor edx, edx
mov rdi, r9
mov rbp, qword [rbx + rdx]
mov qword [rdi], rbp
lea rdi, [rcx + rdx]
add rdx, 8
cmp r13, rdx
jne 0x140087bfa
mov r14, qword [rsi]
mov qword [rsi], rax
mov qword [rsi + 8], r9
mov qword [rsi + 0x10], r10
mov qword [rsi + 0x18], r8
test r14, r14
je 0x140087c33
mov rcx, r14
call fcn.140147c5c
mov r13, qword [rsi + 0x10]
jmp 0x140087c36
mov r13, r10
mov qword [r13], r15
add qword [rsi + 0x10], 8
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140147fd0
nop
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.14015acbc
int3