Function at 0x1400f0ef0
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 r13, rcx
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rax, qword [rcx + 0x20]
cmp rax, 0x11
jae 0x1400f103f
mov rbp, qword [r13 + 0x10]
mov rax, qword [r13]
mov rdi, qword [r13 + 8]
mov r14, rbp
sub r14, rdi
mov rdx, qword [r13 + 0x18]
mov rcx, rdx
sub rcx, rax
cmp r14, rcx
jb 0x1400f106e
mov qword [rsp + 0x20], rbp
lea rbx, [r13 + 0x20]
sar rcx, 2
cmp rdx, rax
mov ebp, 1
cmovne rbp, rcx
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rbx
mov rax, rbp
shr rax, 0x3d
jne 0x1400f1356
mov rsi, r14
sar rsi, 3
lea rcx, [rbp*8]
call fcn.1401cfd80
mov rbx, rax
mov qword [rsp + 0x28], rax
add r14, rax
mov qword [rsp + 0x30], r14
lea r15, [rax + rbp*8]
mov qword [rsp + 0x40], r15
mov ecx, 0xf68
call fcn.1401cfd80
mov r12, rax
cmp rsi, rbp
je 0x1400f1137
mov rcx, qword [rsp + 0x20]
mov qword [r14], r12
lea rax, [r14 + 8]
mov qword [rsp + 0x38], rax
mov rdx, rdi
cmp rcx, rdi
jne 0x1400f116a
mov rcx, qword [r13]
mov qword [r13], rbx
mov qword [rsp + 0x28], rcx
mov qword [r13 + 8], r14
mov qword [rsp + 0x30], rdx
mov qword [r13 + 0x10], rax
mov qword [rsp + 0x38], rdi
mov rax, qword [r13 + 0x18]
mov qword [r13 + 0x18], r15
mov qword [rsp + 0x40], rax
mov rax, rdi
sub rax, rdx
jne 0x1400f11aa
test rcx, rcx
jne 0x1400f11c3
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401d1390
nop
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
add rax, 0xffffffffffffffef
mov qword [r13 + 0x20], rax
mov rdi, qword [r13 + 8]
mov rsi, qword [r13 + 0x10]
mov r15, qword [rdi]
add rdi, 8
mov qword [r13 + 8], rdi
cmp rsi, qword [r13 + 0x18]
je 0x1400f1255
mov qword [rsi], r15
add qword [r13 + 0x10], 8
jmp 0x1400f1020
mov ecx, 0xf68
cmp rdx, rbp
jne 0x1400f11cd
call fcn.1401cfd80
lea rdx, [rsp + 0x28]
mov qword [rdx], rax
mov rcx, r13
call fcn.140214ed0
mov rdi, qword [r13 + 8]
mov rsi, qword [r13 + 0x10]
mov r15, qword [rdi]
add rdi, 8
mov qword [r13 + 8], rdi
cmp rsi, qword [r13 + 0x18]
jne 0x1400f1064
mov r14, qword [r13]
mov rax, rdi
sub rax, r14
ja 0x1400f1261
mov rax, rsi
sub rax, r14
sar rax, 2
cmp rsi, r14
mov ebx, 1
cmovne rbx, rax
mov rax, rbx
shr rax, 0x3d
jne 0x1400f1356
mov rbp, rbx
shr rbp, 2
lea rcx, [rbx*8]
call fcn.1401cfd80
lea r9, [rax + rbp*8]
lea r8, [rax + rbx*8]
mov rcx, r9
sub rsi, rdi
je 0x1400f1329
mov rbx, rsi
sar rbx, 3
and rsi, 0xfffffffffffffff8
mov rcx, rsi
add rcx, r9
shl rbx, 3
lea rbp, [rax + rbp*8]
xor esi, esi
mov rdx, qword [rdi + rsi]
mov qword [rbp + rsi], rdx
add rsi, 8
cmp rbx, rsi
jne 0x1400f1120
jmp 0x1400f1329
mov rax, r14
sub rax, rbx
jbe 0x1400f11e7
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
add rax, rcx
inc rax
shl rax, 2
and rax, 0xfffffffffffffff8
sub r14, rax
mov qword [rsp + 0x30], r14
jmp 0x1400f0fc2
mov rdx, rcx
lea rdi, [rsp + 0x28]
mov rsi, rdx
add rsi, 0xfffffffffffffff8
mov rcx, rdi
mov rdx, rsi
call fcn.140214ed0
mov rdx, rsi
cmp rsi, qword [r13 + 8]
jne 0x1400f1172
mov rbx, qword [rsp + 0x28]
mov r14, qword [rsp + 0x30]
mov rdi, qword [r13 + 0x10]
mov rax, qword [rsp + 0x38]
mov r15, qword [rsp + 0x40]
jmp 0x1400f0fdf
add rax, 0xfffffffffffffff8
shr rax, 3
not rax
lea rax, [rdi + rax*8]
mov qword [rsp + 0x38], rax
jmp 0x1400f1017
call fcn.1401cfdbc
jmp 0x1400f1020
call fcn.1401cfd80
lea rdx, [rsp + 0x28]
mov qword [rdx], rax
mov rcx, r13
call fcn.140214d80
jmp 0x1400f1020
movabs rcx, 0x1fffffffffffffff
sar rax, 2
cmp r14, rbx
mov ebp, 1
cmovne rbp, rax
cmp rbp, rcx
ja 0x1400f1356
mov rsi, rbp
and rsi, 0xfffffffffffffffc
lea rcx, [rbp*8]
call fcn.1401cfd80
lea r14, [rax + rsi*2]
lea r15, [rax + rbp*8]
mov rsi, rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x40], r15
test rbx, rbx
je 0x1400f12b1
mov rcx, rbx
call fcn.1401cfdbc
mov rdi, qword [r13 + 8]
mov rcx, qword [r13 + 0x10]
mov rbx, rsi
jmp 0x1400f0fc7
mov r14, qword [r13]
mov rax, rdi
sub rax, r14
jbe 0x1400f12b9
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
add rax, rcx
inc rax
sar rax, 1
mov rbp, rax
neg rbp
shl rax, 3
mov r14, rdi
sub r14, rax
sub rsi, rdi
je 0x1400f129d
mov rcx, r14
mov rdx, rdi
mov r8, rsi
call fcn.1401d2e10
mov rdi, qword [r13 + 8]
add rsi, r14
mov qword [r13 + 0x10], rsi
lea rax, [rdi + rbp*8]
mov qword [r13 + 8], rax
jmp 0x1400f1064
mov rbx, rsi
jmp 0x1400f0fc2
mov rax, rsi
sub rax, r14
sar rax, 2
cmp rsi, r14
mov ebx, 1
cmovne rbx, rax
mov rax, rbx
shr rax, 0x3d
jne 0x1400f1356
mov rbp, rbx
shr rbp, 2
lea rcx, [rbx*8]
call fcn.1401cfd80
lea r9, [rax + rbp*8]
lea r8, [rax + rbx*8]
mov rcx, r9
sub rsi, rdi
je 0x1400f1329
mov rbx, rsi
sar rbx, 3
and rsi, 0xfffffffffffffff8
mov rcx, rsi
add rcx, r9
shl rbx, 3
lea rbp, [rax + rbp*8]
xor esi, esi
mov rdx, qword [rdi + rsi]
mov qword [rbp + rsi], rdx
add rsi, 8
cmp rbx, rsi
jne 0x1400f1317
mov qword [r13], rax
mov qword [r13 + 8], r9
mov qword [r13 + 0x10], rcx
mov qword [r13 + 0x18], r8
mov rsi, rcx
test r14, r14
je 0x1400f1064
mov rcx, r14
call fcn.1401cfdbc
mov rsi, qword [r13 + 0x10]
jmp 0x1400f1064
call fcn.1401e9f10
int3