Bankruptcy has no impact on marriage. You can marry anyone whether local or foreign wife.
If you have reported in to JIM and is under the case management, you can even sponsor your wife to live in Malaysia with you or get permission from JIM to go overseas to marry.