A different approach:
Assume that the prime factorization of $n$ is $n=2^{a_0}p_1^{a_1}p_2^{a_2}\cdots p_s^{a_s}$ where $p_i$ are odd primes different with each other. Let's write $p_0=2$.
Any divisor of $n$ is of the form $p_0^{b_0}p_1^{b_1}p_2^{b_2}\cdots p_s^{b_s}$ with $0\leq b_i\leq a_i, \ \forall i$. Therefore the sum of the divisors of $n$ is $\sum p_0^{b_0}p_1^{b_1}p_2^{b_2}\cdots p_s^{b_s}$ where the sum range over all $b_i$ with $0\leq b_i\leq a_i, \ \forall i$.
Equivalently the sum can be written as a product:
$$\sum_{0\leq b_i\leq a_i}p_0^{b_0}p_1^{b_1}p_2^{b_2}\cdots p_s^{b_s}=\prod_{i=0}^s(1+p_i+p_i^2+\ldots+p_i^{a_i}).$$
Now the sum of the divisors of $n$ is odd iff $1+p_i+p_i^2+\ldots+p_i^{a_i}$ is odd for all $i=1,2,\ldots, s$. For $i=0, \ 1+p_i+p_i^2+\ldots+p_i^{a_i}$ is odd. For $i>0$ (i.e. $p_i$ odd) when is $1+p_i+p_i^2+\ldots+p_i^{a_i}$ odd?
If $n=2^rk^2$ what does this mean for the $a_i$? Conversely for what $a_i$, $n$ can be written as $2^rk^2?$