umask sets the default file creation mask.
So, 022 would mean no write access for group or others (everyone).
A 077 would mean no read or write or execute access for group and others.
To find files the result of this... possible by an awk with selection criteria, but not sure if fool-proof, and what it would give you as meaningful output. (The files did not have to be the result of this umask, could be that way anyway.)