rewrote xiami_api.exe in c#