This is probably not within the purvey of WebAssembly though you are th experts re compilation/decompilation of native code, and Google recommends migrating from Native Client to WebAssembly https://developer.chrome.com/docs/native-client/migration/.
Google released an extension which relies on Native Client that includes a voice that can be used with Web Speech API window.speechSynthsis.speak(). In that extension exists speech synthesis engine in the form of .nexe US English Female Text-to-speech (by Google.
What I want to do is extract the C++ source code from the .nexe file and migrate from the deprecated Native Client to WebAssembly.
How do I achieve that?