已知函数 $f(x)=\frac{\mathrm{e}^x+\mathrm{e}^{-x}}{2}+\cos x$, 若对任意 $x \in[1,2], f\left(x^2\right) \geq f(1-m x)$, 则实数 $m$ 的取值范围是 ( )
$\text{A.}$ $[2,+\infty)$
$\text{B.}$ $(-\infty, 0]$
$\text{C.}$ c. $[0,2]$
$\text{D.}$ $(-\infty, 2]$
$\text{E.}$
$\text{F.}$