I disagree. It looks a lot more like one of the Soviet WWII submachine guns or a 9mm Polish PPS 43. Please see:
https://www.classicfirearms.com/pol-pps-43c9mmcaliberw2-35rdmags
It could very well be a PPS