Function at 0x3ff8f3030
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xc8
mov rax, qword [sym.imp.cygwin1.dll___stack_chk_guard]
mov rdi, qword [rax]
mov qword [rsp + 0xb8], rdi
xor edi, edi
mov rax, qword [rdx + 0x10]
mov r15, rdx
mov r12, rcx
movabs rdx, 0x8000000000000004
mov r13d, r8d
cmp rax, rdx
jl 0x3ff8f3450
mov rcx, qword [0x3ff956760]
call fcn.3ff93a260
xor r8d, r8d
mov rcx, r15
mov rsi, rax
mov rax, qword [rax]
lea rdx, [rax - 2]
call sym.cygmpfr_6.dll_mpfr_cmp_si_2exp
test eax, eax
jle 0x3ff93f4d8
mov rcx, qword [0x3ff956750]
call fcn.3ff93a260
xor r8d, r8d
mov rcx, r15
mov rdx, qword [rax]
mov rdi, rax
call sym.cygmpfr_6.dll_mpfr_cmp_si_2exp
test eax, eax
jns 0x3ff93f4f5
mov rcx, qword [0x3ff956770]
call fcn.3ff93a260
mov rbx, rax
mov eax, dword [rax]
mov dword [rsp + 0x44], eax
mov rax, qword [rsi]
mov qword [rsp + 0x48], rax
mov rax, qword [rdi]
mov qword [rsp + 0x50], rax
movabs rax, 0xc000000000000001
mov qword [rsi], rax
movabs rax, 0x3fffffffffffffff
mov qword [rdi], rax
mov r8, qword [r15 + 0x10]
test r8, r8
jns 0x3ff8f3121
mov rax, qword [r12]
neg r8
add rax, 1
cmp r8, rax
ja 0x3ff8f3378
mov edx, 1
mov rcx, r15
lea r14, [rsp + 0x70]
call sym.cygmpfr_6.dll_mpfr_get_si
mov rdx, qword [r15]
mov rcx, r14
mov rbp, rax
mov qword [rsp + 0x38], rax
call sym.cygmpfr_6.dll_mpfr_init2
xor r9d, r9d
mov r8, rbp
mov rdx, r15
mov rcx, r14
call sym.cygmpfr_6.dll_mpfr_sub_si
movabs rax, 0x8000000000000001
cmp qword [rsp + 0x80], rax
je 0x3ff8f33e8
mov rax, qword [r12]
mov qword [rsp + 0x30], rax
lea rcx, [rax + 5]
cmp rax, 1
je 0x3ff8f3500
jle 0x3ff93f4c0
mov rax, qword [rsp + 0x30]
lea rdx, [rax - 1]
mov eax, 0x40
bsr rdx, rdx
xor edx, 0x3f
sub eax, edx
cdqe
lea rbp, [rax + rcx]
lea r15, [rsp + 0x90]
mov rdx, rbp
mov rcx, r15
call sym.cygmpfr_6.dll_mpfr_init2
mov rcx, qword [0x3ff956710]
call fcn.3ff93a260
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 0x40
mov qword [rsp + 0x58], rax
mov rax, r15
mov r15, r12
mov r12, rbx
mov rbx, rax
mov rdx, qword [rsp + 0x58]
mov r8d, 2
mov rcx, rbx
call sym.cygmpfr_6.dll_mpfr_cache
mov r8, rbx
mov rdx, r14
mov rcx, rbx
mov r9d, 2
call sym.cygmpfr_6.dll_mpfr_mul
mov rax, rbp
xor r8d, r8d
mov rdx, rbx
sub rax, qword [rsp + 0xa0]
mov rcx, rbx
lea rsi, [rax - 2]
call sym.cygmpfr_6.dll_mpfr_exp
movabs rax, 0x8000000000000004
cmp qword [rsp + 0xa0], rax
jl 0x3ff8f3408
mov rcx, qword [rsp + 0x90]
xor eax, eax
test r13d, r13d
mov r8, rsi
sete al
lea rdx, [rcx - 1]
mov rcx, qword [rsp + 0x30]
sar rdx, 6
lea r9, [rax + rcx]
mov rcx, qword [rsp + 0xa8]
add rdx, 1
call sym.cygmpfr_6.dll_mpfr_round_p
test eax, eax
je 0x3ff8f3408
mov rax, rbx
mov rbx, r12
mov r12, r15
mov r8d, r13d
mov r15, rax
mov rcx, r12
mov rdx, rax
mov rsi, qword [rsp + 0x60]
mov r9d, dword [rsp + 0x98]
call sym.cygmpfr_6.dll_mpfr_set4
mov rcx, r15
mov ebp, eax
call sym.cygmpfr_6.dll_mpfr_clear
mov rcx, r14
call sym.cygmpfr_6.dll_mpfr_clear
test r13d, r13d
je 0x3ff8f3490
mov dword [rbx], 0
mov rdx, r12
mov r9d, r13d
mov rcx, r12
mov r8, qword [rsp + 0x38]
call sym.cygmpfr_6.dll_mpfr_mul_2si
mov edx, dword [rsp + 0x44]
or edx, dword [rbx]
mov dword [rbx], edx
test eax, eax
je 0x3ff8f3348
mov r10, qword [rsp + 0x48]
mov ebp, eax
mov qword [rsi], r10
mov rsi, qword [rsp + 0x50]
mov qword [rdi], rsi
mov rcx, qword [r12 + 0x10]
cmp r10, rcx
jg 0x3ff8f3308
cmp rsi, rcx
jge 0x3ff8f336b
mov edx, ebp
mov r8d, r13d
mov rcx, r12
call sym.cygmpfr_6.dll_mpfr_check_range
mov ebp, eax
mov rcx, qword [rsp + 0x48]
mov qword [rsi], rcx
mov rsi, qword [rsp + 0x50]
mov qword [rdi], rsi
mov rax, qword [r12 + 0x10]
cmp rsi, rax
jl 0x3ff8f3308
cmp rcx, rax
jg 0x3ff8f3308
test ebp, ebp
je 0x3ff8f3317
or edx, 8
mov dword [rbx], edx
jmp 0x3ff8f3317
mov dword [rbx], 0
mov eax, dword [r15 + 8]
mov rcx, r12
mov dword [rsp + 0x20], r13d
mov rdx, qword [sym.cygmpfr_6.dll___gmpfr_one]
test eax, eax
setg r9b
movzx r9d, r9b
call sym.cygmpfr_6.dll_mpfr_round_near_x
mov ebp, eax
test eax, eax
je 0x3ff8f3121
mov rcx, qword [rsp + 0x48]
mov eax, dword [rsp + 0x44]
or eax, dword [rbx]
mov dword [rbx], eax
mov qword [rsi], rcx
mov rsi, qword [rsp + 0x50]
mov qword [rdi], rsi
mov rdx, qword [r12 + 0x10]
cmp rsi, rdx
jl 0x3ff8f3308
cmp rcx, rdx
jg 0x3ff8f3308
or eax, 8
mov dword [rbx], eax
jmp 0x3ff8f3317
xor r9d, r9d
xor r8d, r8d
mov edx, 1
mov rcx, r12
call sym.cygmpfr_6.dll_mpfr_set_ui_2exp
xor ebp, ebp
jmp 0x3ff8f32b1
movabs rax, 0x7ffffffffffffeff
sub rax, rbp
cmp rax, qword [rsp + 0x68]
jl 0x3ff8f3558
add rbp, qword [rsp + 0x68]
mov rcx, rbx
mov rax, rbp
mov rdx, rbp
shr rax, 0x3f
add rax, rbp
sar rax, 1
mov qword [rsp + 0x68], rax
call sym.cygmpfr_6.dll_mpfr_set_prec
jmp 0x3ff8f31e7
sub rdx, 2
cmp rax, rdx
je 0x3ff8f3538
movabs rdx, 0x8000000000000003
cmp rax, rdx
je 0x3ff8f3510
mov r9d, r8d
mov edx, 1
xor r8d, r8d
call sym.cygmpfr_6.dll_mpfr_set_ui_2exp
mov ebp, eax
jmp 0x3ff8f3317
mov rax, qword [rsi]
sub rax, 1
cmp rax, qword [rsp + 0x38]
jne 0x3ff8f32c2
cmp qword [r12 + 0x10], 0
jne 0x3ff8f32c2
mov rcx, r12
call sym.cygmpfr_6.dll_mpfr_powerof2_raw
test eax, eax
je 0x3ff8f32c2
mov edx, dword [rsp + 0x44]
mov rax, qword [rsi]
mov ebp, 1
mov rcx, qword [rsp + 0x48]
or edx, 1
mov qword [r12 + 0x10], rax
mov dword [rbx], edx
mov qword [rsi], rcx
mov rsi, qword [rsp + 0x50]
mov qword [rdi], rsi
mov rax, qword [r12 + 0x10]
cmp rsi, rax
jl 0x3ff8f3308
cmp rcx, rax
jg 0x3ff8f3308
jmp 0x3ff8f336b
mov ebp, 6
jmp 0x3ff8f31a9
mov ecx, dword [r15 + 8]
lea rdx, [rdx - 2]
mov dword [r12 + 8], 1
test ecx, ecx
cmovle rax, rdx
xor ebp, ebp
mov qword [r12 + 0x10], rax
jmp 0x3ff8f3317
mov qword [rcx + 0x10], rax
mov rcx, qword [0x3ff956770]
xor ebp, ebp
call fcn.3ff93a260
or dword [rax], 4
jmp 0x3ff8f3317
lea r8, [0x3ff94a4a0]
mov edx, 0x86
lea rcx, str._mnt_share_cygpkgs_mpfr_mpfr.x86_64_src_mpfr_4.0.2_src_exp2.c
call sym.cygmpfr_6.dll_mpfr_assert_fail
mov r8d, 1
mov edx, r13d
mov rcx, r12
call sym.cygmpfr_6.dll_mpfr_overflow
mov ebp, eax
jmp 0x3ff8f3317