/usr/bin/genpat is in nsis 2.46-7.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/bin/GenPat
/usr/bin/GenPat