1. Remove some exe flag and unpack dstm with x64dbg+scylla. And you get working unpacked binary. Upx -d have a bug with exe with dynamic base.
2. After that you can rewrite some code to use wallet from user switch for devfee wallet.
P.s. it is real to patch binary for fully disable devfee mining, but I dont find asm place to change...