Permission masks can be found in the ULS logs. Use the following Message from ULS to help find a Permission Mask entry for decoding.

PermissionMask check failed for {GUID}. Asking for 0x00040000, have 0x00000000