Looks to be a Glock copy. As long as it’s an exact copy, it should work fine. Hopefully it’s a $200 “glove box gun.”
I had a similar problem, that I wanted a beater pistol, but I have an aversion to junk guns. Finally found a used S&W Airweight for under $300 on gunbroker.