Solution by Bold_Dalai.
Substituting y=1 gives f(2x)=2f(x)f(1) and using this in original equation gives f(xy)f(1)f(x)f(y). From f(2x)=2f(x)f(1)⇒f(2)f(x)=f(1)f(2x)=2f(x)f(1)2. Since f≡0 is a solution, suppose there exsists a such that f(a)=0. Then f(1)f(a2)=f(a)2=0⇒f(1)=0. Hence f(2)=2f(1)2. Conversely, every function with f(xy)f(1)=f(x)f(y), f(1)=0 and f(2)=2f(1)2 satisfies the condition.