How to filter account name of permission file in relevance

how to filter account name from
code ;
(account name of trustee of it)
of entries whose (generic all permission of it OR generic read permission of it OR generic write permission of it OR generic execute permission of it) of dacl of security descriptor of x64 file “C:\Windows\System32\winload.exe”

Try
(account name of trustee of it) of entries whose ((account name of trustee of it = "droid_im_looking_for") AND (generic all permission of it OR generic read permission of it OR generic write permission of it OR generic execute permission of it)) of dacl of security descriptor of x64 file “C:\Windows\System32\winload.exe”

thank you and i want to filter permission what should i do that ?