Drasvi asked: " is the former more natural than the latter?"
No, isn't.
In fact, neither is entirely natural.
"He cooks bad."
This is not only unnatural but WRONG. It is as wrong to say 'He cooks bad' as it is to say 'He drives bad' or 'He sings bad'.
"He cooks badly."
This is perfectly correct in terms of grammar. However, it is not the way that a native speaker would probably phrase this idea. I'd be more likely to use a noun or gerund, for example "He's an awful cook" or "He's terrible at cooking" or "His cooking is dreadful".