\[ \boxed { \left ( {\frac {\rm d}{{\rm d}x}}y \left ( x \right ) \right ) f \left ( xy \left ( x \right ) {\frac {\rm d}{{\rm d}x}}y \left ( x \right ) - \left ( y \left ( x \right ) \right ) ^{2} \right ) -{x}^{2}{\frac {\rm d}{{\rm d}x}}y \left ( x \right ) +xy \left ( x \right ) =0} \]
Mathematica: cpu = 0.017002 (sec), leaf count = 41 \[ \text {DSolve}\left [y'(x) f\left (x y(x) y'(x)-y(x)^2\right )+x^2 \left (-y'(x)\right )+x y(x)=0,y(x),x\right ] \]
Maple: cpu = 0.452 (sec), leaf count = 0 \[ \text {could not solve} \]