I’d be very careful with a wallet you can’t recover, meaning that trying to do the minimum and safest actions with it since playing with code may be too risky.
I’d consider creating a new wallet (carefully saving the mnemonic) and simply transfer to the new one. Then, if you want, try to recover it.