Madara would win at his current level, but while Pain was still alive he could easily kill him. Konan almost destroyed Madara if it hadn't been for his last move. Pain is 10x stronger than Konan. Picture that.