Function at 0x1400982a0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rbp, rcx
mov rax, qword [0x14020eb28]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rax, qword [rcx + 0x20]
cmp rax, 0x2a
jb 0x14009835c
add rax, 0xffffffffffffffd6
mov qword [rbp + 0x20], rax
mov rdi, qword [rbp + 8]
mov r13, qword [rbp + 0x10]
mov r15, qword [rdi]
add rdi, 8
mov qword [rbp + 8], rdi
mov rax, qword [rbp + 0x18]
cmp r13, rax
jne 0x1400987e0
mov r14, qword [rbp]
cmp r14, rdi
jae 0x14009851a
mov rax, rdi
sub rax, r14
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
add rax, rcx
add rax, 1
sar rax, 1
mov r12, rax
neg r12
shl rax, 3
mov r14, rdi
sub r14, rax
sub r13, rdi
je 0x140098348
mov rcx, r14
mov rdx, rdi
mov r8, r13
call fcn.1401836f0
mov rdi, qword [rbp + 8]
add r13, r14
mov qword [rbp + 0x10], r13
lea rax, [rdi + r12*8]
mov qword [rbp + 8], rax
jmp 0x1400987e0
mov rax, qword [rbp + 0x10]
mov rdi, rax
sub rdi, qword [rbp + 8]
mov rdx, qword [rbp + 0x18]
mov rcx, rdx
sub rcx, qword [rbp]
cmp rdi, rcx
jae 0x14009844d
mov ecx, 0xfc0
cmp rdx, rax
jne 0x140098500
call fcn.140180340
lea rdx, [rsp + 0x20]
mov qword [rdx], rax
mov rcx, rbp
call fcn.14000ea30
mov rdi, qword [rbp + 8]
mov r13, qword [rbp + 0x10]
mov r15, qword [rdi]
add rdi, 8
mov qword [rbp + 8], rdi
mov rax, qword [rbp + 0x18]
cmp r13, rax
jne 0x1400987e0
mov r14, qword [rbp]
cmp r14, rdi
jb 0x140098305
sub rax, r14
mov rcx, rax
sar rcx, 2
test rax, rax
mov ebx, 1
cmovne rbx, rcx
mov rax, rbx
shr rax, 0x3d
jne 0x140098808
mov r12, rbx
shr r12, 2
lea rcx, [rbx*8]
call fcn.140180340
lea r11, [rax + r12*8]
mov r9, r11
lea r8, [rax + rbx*8]
sub r13, rdi
je 0x1400987ba
lea r10, [r13 - 8]
mov ecx, r10d
shr ecx, 3
inc ecx
and rcx, 7
je 0x140098732
neg rcx
mov rdx, r9
mov rsi, qword [rdi]
mov qword [rdx], rsi
add rdx, 8
add rdi, 8
inc rcx
jne 0x140098432
mov rcx, rdx
jmp 0x140098738
mov rax, rcx
sar rax, 2
test rcx, rcx
mov ebx, 1
cmovne rbx, rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], rax
mov rax, rbx
shr rax, 0x3d
jne 0x140098808
mov rsi, rdi
sar rsi, 3
lea rcx, [rbx*8]
call fcn.140180340
mov r15, rax
mov qword [rsp + 0x20], rax
add rdi, rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
lea r12, [rax + rbx*8]
mov qword [rsp + 0x38], r12
mov ecx, 0xfc0
call fcn.140180340
mov r14, rax
cmp rsi, rbx
jne 0x1400985fd
mov rax, rdi
sub rax, r15
jbe 0x14009859c
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
add rax, rcx
add rax, 1
shl rax, 2
and rax, 0xfffffffffffffff8
sub rdi, rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
jmp 0x1400985fd
call fcn.140180340
lea rdx, [rsp + 0x20]
mov qword [rdx], rax
mov rcx, rbp
call fcn.14000e850
jmp 0x1400987e9
sub rax, r14
mov rcx, rax
sar rcx, 2
test rax, rax
mov ebx, 1
cmovne rbx, rcx
mov rax, rbx
shr rax, 0x3d
jne 0x140098808
mov r12, rbx
shr r12, 2
lea rcx, [rbx*8]
call fcn.140180340
lea r11, [rax + r12*8]
mov r9, r11
lea r8, [rax + rbx*8]
sub r13, rdi
je 0x1400987ba
lea r10, [r13 - 8]
mov ecx, r10d
shr ecx, 3
inc ecx
and rcx, 7
je 0x1400986a5
neg rcx
mov rdx, r9
mov rbx, qword [rdi]
mov qword [rdx], rbx
add rdx, 8
add rdi, 8
inc rcx
jne 0x140098581
mov rcx, rdx
jmp 0x1400986ab
movabs rax, 0x1fffffffffffffff
sub r12, r15
mov rcx, r12
sar rcx, 2
test r12, r12
mov ebx, 1
cmovne rbx, rcx
cmp rbx, rax
ja 0x140098808
mov rsi, rbx
and rsi, 0xfffffffffffffffc
lea rcx, [rbx*8]
call fcn.140180340
lea rdi, [rax + rsi*2]
lea rcx, [rax + rbx*8]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rcx
mov rcx, r15
call fcn.140180390
mov qword [rdi], r14
mov rdx, qword [rsp + 0x30]
add rdx, 8
mov qword [rsp + 0x30], rdx
mov rax, qword [rbp + 8]
mov rdi, qword [rbp + 0x10]
cmp rdi, rax
je 0x140098641
lea rbx, [rsp + 0x20]
add rdi, 0xfffffffffffffff8
mov rcx, rbx
mov rdx, rdi
call fcn.14000ea30
mov rax, qword [rbp + 8]
cmp rdi, rax
jne 0x140098620
mov rdi, qword [rbp + 0x10]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rbp]
movaps xmm0, xmmword [rsp + 0x20]
mov qword [rsp + 0x20], rcx
movups xmmword [rbp], xmm0
mov qword [rsp + 0x28], rax
mov qword [rbp + 0x10], rdx
mov qword [rsp + 0x30], rdi
mov rdx, qword [rbp + 0x18]
mov rbx, qword [rsp + 0x38]
mov qword [rbp + 0x18], rbx
mov qword [rsp + 0x38], rdx
cmp rax, rdi
je 0x140098692
mov rdx, rdi
sub rdx, rax
add rdx, 0xfffffffffffffff8
shr rdx, 3
not rdx
lea rax, [rdi + rdx*8]
mov qword [rsp + 0x30], rax
test rcx, rcx
je 0x1400987e9
call fcn.140180390
jmp 0x1400987e9
mov rdx, r9
mov rcx, r9
add r11, r13
cmp r10, 0x38
jb 0x1400987b6
sar r13, 3
shl r12, 3
lea rbx, [r12 + r13*8]
sub rbx, rdx
mov r14, rax
add r14, rbx
lea r10, [rdx + 0x40]
xor ebx, ebx
mov rsi, qword [rdi + rbx]
mov qword [rcx], rsi
mov rcx, qword [rdi + rbx + 8]
mov qword [rdx + rbx + 8], rcx
mov rcx, qword [rdi + rbx + 0x10]
mov qword [rdx + rbx + 0x10], rcx
mov rcx, qword [rdi + rbx + 0x18]
mov qword [rdx + rbx + 0x18], rcx
mov rcx, qword [rdi + rbx + 0x20]
mov qword [rdx + rbx + 0x20], rcx
mov rcx, qword [rdi + rbx + 0x28]
mov qword [rdx + rbx + 0x28], rcx
mov rcx, qword [rdi + rbx + 0x30]
mov qword [rdx + rbx + 0x30], rcx
mov rcx, qword [rdi + rbx + 0x38]
mov qword [rdx + rbx + 0x38], rcx
lea rcx, [r10 + rbx]
add rbx, 0x40
cmp r14, rbx
jne 0x1400986d3
jmp 0x1400987b6
mov rdx, r9
mov rcx, r9
add r11, r13
cmp r10, 0x38
jb 0x1400987b6
sar r13, 3
shl r12, 3
lea rbx, [r12 + r13*8]
sub rbx, rdx
mov r14, rax
add r14, rbx
lea r10, [rdx + 0x40]
xor ebx, ebx
mov rsi, qword [rdi + rbx]
mov qword [rcx], rsi
mov rcx, qword [rdi + rbx + 8]
mov qword [rdx + rbx + 8], rcx
mov rcx, qword [rdi + rbx + 0x10]
mov qword [rdx + rbx + 0x10], rcx
mov rcx, qword [rdi + rbx + 0x18]
mov qword [rdx + rbx + 0x18], rcx
mov rcx, qword [rdi + rbx + 0x20]
mov qword [rdx + rbx + 0x20], rcx
mov rcx, qword [rdi + rbx + 0x28]
mov qword [rdx + rbx + 0x28], rcx
mov rcx, qword [rdi + rbx + 0x30]
mov qword [rdx + rbx + 0x30], rcx
mov rcx, qword [rdi + rbx + 0x38]
mov qword [rdx + rbx + 0x38], rcx
lea rcx, [r10 + rbx]
add rbx, 0x40
cmp r14, rbx
jne 0x14009875c
mov r14, qword [rbp]
mov qword [rbp], rax
mov qword [rbp + 8], r9
mov qword [rbp + 0x10], r11
mov qword [rbp + 0x18], r8
test r14, r14
je 0x1400987dd
mov rcx, r14
call fcn.140180390
mov r13, qword [rbp + 0x10]
jmp 0x1400987e0
mov r13, r11
mov qword [r13], r15
add qword [rbp + 0x10], 8
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140180700
nop
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.140194834
int3