If sasuke and pain fight without knowledge than pain will most definitely win but with knowledge pain still wins with high difficulty. If he fights nagato himself sasuke will lose because he's to quick to use his strongest abilities in battle and that would be his downfall