Asteroseismology of overmassive, undermassive, and potential past members of the open cluster NGC 6791