This feels like it belongs on Reddit, usually posted by the type of man who thinks he's a 'nice guy', but who actually isn't.
You're making a blanket statement, as if it's a total given, that women (not just some women mind you), but women in general love a 'bastard'.
If you read the experiences of lots of women, you'll see that many who ended up in relationships with awful men didn't think he was a bastard at the beginning - this was something he revealed about himself over time when he thought he had some power over her, when he thought she was now under his thumb.
Disregarding being set a bad example growing up, mistaking neglect or abuse for loving behaviour by shitty fathers (extremely commonplace), or wasting their misplaced nurturing or maternal instinct on a dangerous renovation project, some women are attracted to unpleasant men because they see kindness as weakness, because not all women are nice. Some women are aggressive, very status driven or look for weakness in others to exploit, and when they're looking for a partner, they don't necessarily look for those qualities in their own male partner, although some do. They look for someone they'll respect, and that happens to be someone with the same unpleasant qualities as themselves.
Some also feel uncomfortable with kindness or loving behaviour because they feel it's somehow fake, or it's unfamiliar to them due to the environment they grew up in. They don't like feeling emotionally vulnerable, so it might be more attractive to them to go for nasty guy than risk loving someone and then be terribly disappointed or face strong abandonment feelings if the relationship doesn't work out.