There are some EULA which prohibit disassembly or reverse-engineering of its executables
Now Joe in Somalia gets a hold if this software, disassembles it, and publishes the algorithm online.
Bob in the United States gets a hold of this algorithm, re-implements it in his own software.
Assuming there are no patents, did Bob do something illegal? Is this similar to a "fruit of the poisoned tree?"