\(\left(x-1\right)\left(x+4\right)\left(x-2\right)\left(x+5\right)-112\)
\(=\left(x^2+3x-4\right)\left(x^2+3x-10\right)-112\)
\(=\left(x^2+3x-7+3\right)\left(x^2+3x-7-3\right)-112\)
\(=\left(x^2+3x-7\right)^2-3^2-112\)
\(=\left(x^2+3x-7\right)^2-11^2\)
\(=\left(x^2+3x-7+11\right)\left(x^2+3x-7-11\right)\)
\(=\left(x^2+3x+4\right)\left(x^2+3x-18\right)=0\)
\(=\left(x^2+3x+4\right)\left(x+6\right)\left(x-3\right)\)