That is a Umarex P99 9mm PAK
Umarex is the parent company to Walther and they make many of these PAK pistols... they are "free" from registration in Germany and many come with a adaptor to be screwed into the barrel so people can shoot fireworks or flares with them .... which is mostly done on New Years in Germany....
here is a pic of what the ammo looks like