And that function there is completely legit and is advised to keep in every contract. They blocked out withdrawing the native token using that, so there is no way they can rug using that (as far as I know...)