It's definitely legal in Russia to decompile something for the purpose of interoperability. Though you do have to remember that this is Russia, and the interpretation of laws changes depending on who and how rich you are.
Nobody ever in Russia gets prosecuted for doing anything to any software for their own personal use. And actually there's been very few cases when someone was prosecuted let's say for using pirated software for their business. A couple of guys got unlucky and that's basically it.
And this is how it should be everywhere, the copyright model was beneficial for the society maybe up until 300 years ago. Today, the whole copyright thing is bizarre.
Lots of western countries, including the US. The way rich people end up exploiting the legal system in the US is not a different interpretation of the laws.
Corruption is not yet prevalent enough that a rich person can get away with murder by bribing judges/prosecutors to interpret the laws differently.
i kind of get what you want to say and admire your trust in humanity, but on the other hand am certain that there have been cases of murder that were "bribed away" in any country.
"steal a million dollars and you go to jail, steal a billion dollars and they name a business shool after you"