Function at 0x3ff9093f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x128
lea rbp, [rsp + 0x80]
mov rax, qword [sym.imp.cygwin1.dll___stack_chk_guard]
mov rdi, qword [rax]
mov qword [rbp + 0x98], rdi
xor edi, edi
mov qword [rbp + 0x18], rcx
mov rcx, qword [rdx + 0x10]
mov rax, r8
mov r15, rdx
cqo
mov qword [rbp + 0x100], r8
neg rcx
mov qword [rbp + 0x10], r9
idiv rcx
mov rcx, rax
call sym.cygmpfr_6.dll___gmpfr_isqrt
mov qword [rbp + 0x58], 0
cmp rax, 2
mov rdi, rax
mov qword [rbp + 8], rax
mov eax, 2
cmovae rax, rdi
mov qword [rbp + 0x48], rax
add rax, 1
mov qword [rbp + 0x30], rax
shl rax, 4
mov qword [rbp + 0x38], rax
cmp rax, 0x4000
ja 0x3ff909985
call fcn.3ff93a270
sub rsp, rax
lea rax, [rsp + 0x20]
mov qword [rbp - 8], rax
mov rax, qword [rbp + 0x30]
shl rax, 3
mov qword [rbp + 0x28], rax
cmp rax, 0x4000
ja 0x3ff90999b
add rax, 0xf
and rax, 0xfffffffffffffff0
call fcn.3ff93a270
sub rsp, rax
lea rax, [rsp + 0x20]
mov qword [rbp], rax
lea r12, [rbp + 0x80]
lea r13, [rbp + 0x60]
mov r14d, 1
mov rcx, r12
call sym.cygmpfr_6.dll_mpfr_mpz_init
lea rax, [rbp + 0x70]
mov rcx, rax
mov qword [rbp + 0x40], rax
call sym.cygmpfr_6.dll_mpfr_mpz_init
mov rcx, r13
call sym.cygmpfr_6.dll_mpfr_mpz_init
mov rax, qword [sym.imp.cyggmp_10.dll___gmpz_set_ui]
mov rcx, qword [rbp + 0x18]
xor edx, edx
mov qword [rbp - 0x10], rax
call rax
mov rsi, qword [rbp - 8]
mov rax, qword [rbp + 0x10]
sub r14, qword [rbp + 0x100]
mov rbx, qword [rbp + 0x38]
mov qword [rax], r14
mov qword [rbp - 0x58], rsi
add rbx, rsi
nop word cs:[rax + rax]
mov rcx, rsi
add rsi, 0x10
call sym.cygmpfr_6.dll_mpfr_mpz_init
cmp rbx, rsi
jne 0x3ff909530
mov rbx, qword [rbp - 8]
mov rdx, r15
lea rdi, [rbx + 0x10]
mov rcx, rdi
call sym.cygmpfr_6.dll_mpfr_get_z_2exp
mov r15, qword [rbp]
mov r9, r14
mov rdx, rdi
mov r8, rax
mov rcx, rdi
mov qword [r15 + 8], rax
call fcn.3ff909330
mov r8, rdi
mov rdx, rdi
mov rcx, r13
mov qword [r15 + 8], rax
mov rax, qword [sym.imp.cyggmp_10.dll___gmpz_mul]
mov qword [rbp + 0x20], rax
call rax
mov rax, qword [rbp + 0x100]
lea rcx, [rbx + 0x20]
mov rdx, r13
add rbx, 0x30
lea rsi, [rax - 1]
mov rax, qword [sym.imp.cyggmp_10.dll___gmpz_fdiv_q_2exp]
mov r8, rsi
mov qword [rbp - 0x18], rax
call rax
cmp qword [rbp + 8], 2
mov qword [r15 + 0x10], r14
mov r15d, 3
jbe 0x3ff90962c
mov qword [rbp + 8], r12
mov r12, r15
mov r15, rdi
mov rdi, qword [rbp - 0x18]
jmp 0x3ff909601
mov rax, qword [rbp + 0x20]
lea rdx, [rbx - 0x10]
mov r8, r15
mov rcx, r13
call rax
mov rcx, rbx
mov r8, rsi
mov rdx, r13
add rbx, 0x10
call rdi
mov rax, qword [rbp]
mov qword [rax + r12*8], r14
add r12, 1
cmp qword [rbp + 0x48], r12
jb 0x3ff909628
test r12b, 1
jne 0x3ff9095d0
mov rdx, r12
mov rax, qword [rbp + 0x20]
mov rcx, r13
shr rdx, 1
shl rdx, 4
add rdx, qword [rbp - 8]
mov r8, rdx
call rax
jmp 0x3ff9095e0
mov r12, qword [rbp + 8]
mov rdi, qword [rbp - 8]
mov rbx, qword [rbp - 0x10]
mov edx, 1
mov r15, r13
mov rcx, rdi
call rbx
mov r8, rsi
mov rdx, rdi
mov rcx, rdi
call qword [sym.imp.cyggmp_10.dll___gmpz_mul_2exp]
mov rsi, qword [rbp]
mov rcx, qword [rbp + 0x40]
mov edx, 1
mov qword [rsi], r14
call rbx
mov rcx, qword [rbp + 0x28]
mov rax, rsi
mov r14, qword [sym.imp.cyggmp_10.dll___gmpz_fdiv_q_ui]
mov qword [rbp + 0x28], 0
lea rsi, [rsi + rcx - 0x10]
lea rax, [rax + rcx - 8]
mov qword [rbp - 0x20], rsi
mov rsi, qword [rbp + 0x38]
mov qword [rbp - 0x38], rax
lea rbx, [rdi + rsi - 0x20]
lea rsi, [rdi + rsi - 0x10]
mov qword [rbp - 0x30], rsi
mov rsi, qword [rbp + 0x48]
mov qword [rbp - 0x28], rbx
lea rax, [rsi - 2]
shl rsi, 4
shl rax, 4
mov qword [rbp - 0x60], rsi
add rax, rdi
add rdi, rsi
xor esi, esi
mov qword [rbp - 0x18], rax
mov rax, qword [rbp + 0x100]
mov qword [rbp - 0x50], rdi
mov rdi, qword [sym.imp.cyggmp_10.dll___gmpz_add]
mov qword [rbp + 0x38], rax
neg rax
mov qword [rbp - 0x40], rax
nop dword [rax]
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x28]
mov r9d, 1
mov rcx, r15
sub r9, qword [rbp + 0x38]
mov r8, qword [rax]
call fcn.3ff909330
mov rbx, qword [rbp - 0x18]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x30]
lea r13, [rax - 2]
nop dword [rax]
mov r8, r13
sub r13, 1
mov rdx, r15
mov rcx, r15
call r14
mov r8, rbx
mov rdx, r15
mov rcx, r15
call rdi
sub rbx, 0x10
cmp rsi, r13
jne 0x3ff909710
mov r13, qword [rbp + 0x20]
mov r8, qword [rbp + 0x40]
mov rdx, r15
mov rcx, r15
call r13
mov rax, qword [rbp + 0x10]
mov rbx, qword [rbp + 0x28]
mov rdx, r15
mov rcx, r15
mov r9, qword [rax]
mov rax, qword [rbp + 8]
lea r8, [rbx + rax]
call fcn.3ff909330
mov rcx, qword [rbp + 0x18]
mov r8, r15
mov rdx, rcx
call rdi
mov r8, qword [rbp - 0x30]
mov rdx, qword [rbp + 0x40]
mov rcx, r15
call r13
mov rax, qword [rbp - 0x38]
mov rcx, r12
mov edx, 1
lea r13, [rsi + 1]
add rbx, qword [rax]
mov rax, qword [rbp - 0x10]
call rax
mov qword [rbp + 0x28], rsi
mov rsi, r12
mov r12, rbx
mov rbx, qword [rbp + 0x30]
nop dword [rax]
mov r8, r13
add r13, 1
mov rdx, rsi
mov rcx, rsi
call qword [sym.imp.cyggmp_10.dll___gmpz_mul_ui]
cmp rbx, r13
jne 0x3ff9097a8
mov rbx, r12
mov r12, rsi
mov rdx, r15
mov rsi, qword [rbp + 0x28]
mov r8, r12
mov rcx, r15
call qword [sym.imp.cyggmp_10.dll___gmpz_fdiv_q]
mov eax, dword [rbp + 0x64]
add rsi, qword [rbp + 0x48]
test eax, eax
je 0x3ff9098f8
mov r8, qword [rbp + 0x38]
mov rcx, qword [rbp + 0x40]
mov rdx, r15
call fcn.3ff909380
add rax, rbx
mov qword [rbp + 0x28], rax
mov eax, dword [rbp + 0x74]
test eax, eax
je 0x3ff909976
cdq
xor eax, edx
sub eax, edx
mov rdx, qword [rbp + 0x78]
cdqe
bsr rdx, qword [rdx + rax*8 - 8]
xor edx, 0x3f
shl rax, 6
movsxd rdx, edx
sub rax, rdx
mov rcx, rax
mov rbx, qword [rbp + 0x18]
mov edx, dword [rbx + 4]
mov r8d, edx
mov edx, dword [rbx + 4]
sar r8d, 0x1f
xor edx, r8d
sub edx, r8d
mov r8, qword [rbx + 8]
mov rbx, qword [rbp + 0x10]
movsxd rdx, edx
bsr r9, qword [r8 + rdx*8 - 8]
xor r9d, 0x3f
shl rdx, 6
mov r8, qword [rbp + 0x100]
sub r8, qword [rbx]
movsxd r9, r9d
mov rbx, qword [rbp + 0x28]
sub rdx, r9
sub r8, rdx
add rax, rbx
mov rdx, r8
add rdx, rbx
add rcx, rdx
mov qword [rbp + 0x38], rcx
cmp rax, qword [rbp - 0x40]
jbe 0x3ff9098f8
test rsi, rsi
jne 0x3ff9098a0
mov rcx, qword [rbp + 0x48]
add qword [rbp + 0x30], rcx
jmp 0x3ff9096e0
mov rbx, qword [rbp]
mov qword [rbp + 8], rsi
mov r9d, 1
mov r13, qword [rbp - 8]
sub r9, qword [rbp + 0x38]
mov qword [rbp - 0x48], r12
mov rsi, rbx
mov rbx, qword [rbp - 0x50]
mov r12, r9
nop dword [rax]
mov r8, qword [rsi]
mov rdx, r13
mov rcx, r13
mov r9, r12
add r13, 0x10
add rsi, 8
call fcn.3ff909330
mov qword [rsi - 8], rax
cmp rbx, r13
jne 0x3ff9098c8
mov rsi, qword [rbp + 8]
mov r12, qword [rbp - 0x48]
jmp 0x3ff90988d
mov rdi, qword [rbp - 0x60]
mov rax, qword [rbp - 8]
mov r13, r15
lea rbx, [rax + rdi + 0x10]
mov rdi, qword [rbp - 0x58]
nop dword [rax]
mov rcx, rdi
add rdi, 0x10
call sym.cygmpfr_6.dll_mpfr_mpz_clear
cmp rbx, rdi
jne 0x3ff909910
mov rcx, qword [rbp + 0x58]
test rcx, rcx
jne 0x3ff9099b1
mov rcx, qword [rbp + 0x40]
call sym.cygmpfr_6.dll_mpfr_mpz_clear
mov rcx, r13
call sym.cygmpfr_6.dll_mpfr_mpz_clear
mov rcx, r12
call sym.cygmpfr_6.dll_mpfr_mpz_clear
mov rdi, qword [sym.imp.cygwin1.dll___stack_chk_guard]
lea rax, [rsi + 4]
imul rax, rsi
mov rcx, qword [rbp + 0x98]
xor rcx, qword [rdi]
jne 0x3ff9099bb
lea rsp, [rbp + 0xa8]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov eax, 1
mov ecx, 1
jmp 0x3ff90982b
mov rdx, qword [rbp + 0x38]
lea rcx, [rbp + 0x58]
call sym.cygmpfr_6.dll_mpfr_tmp_allocate
mov qword [rbp - 8], rax
jmp 0x3ff909494
mov rdx, qword [rbp + 0x28]
lea rcx, [rbp + 0x58]
call sym.cygmpfr_6.dll_mpfr_tmp_allocate
mov qword [rbp], rax
jmp 0x3ff9094c5
call sym.cygmpfr_6.dll_mpfr_tmp_free
jmp 0x3ff90992e
call sub.cygwin1.dll___stack_chk_fail
nop
nop word cs:[rax + rax]
nop dword [rax]