Consider a function, $f:\mathbb{R}\rightarrow \mathbb{R},\:f\left(x\right)=x^4+ax^3+bx^2$ where $a,b\in \mathbb{Z}\setminus \left\{0\right\}$ and $b\ne \left(\frac{a}{2}\right)^2$ with three distinct real roots whose roots and stationary points have integer $x$ coordinates. Generalise such a function, $f(x)$.
My initial thoughts were to factorise to enforce integer requirement such that $f\left(x\right)=x^2\left(x^2+ax+b\right)$ and finding $x^2+ax+b=\left(x-c\right)\left(x-d\right)$ for some $c,d\in \mathbb{Z}$ but that leads to complications when trying to enforce an integer requirement for $f'(x)$
Any help would be greatly appreciated.