A german slang term for a "lousy wanker" according to some site I found on google, and a "bad masturbator" according to a german exchange student that went to my high school

It's quite an insult.
Du bist ein flachwichser!
Get the flachwichser mug.