Seems to be working, despite slow hashing (4000-4500 H/s). My fairly old cpu (ryzen 5 3600) seems to be a bottleneck for my 4070 Ti S for this task. But it is running anyway, so thank you.
Yep, the hashing code is CPU-bound. I've never ported it to CUDA/OpenCL as I managed to crack my Safeboxes quickly using a short list of passwords I knew I could use with mangling rules.
Would you mind sharing the source code and a few advices? I have 0 experience, but somewhat a lot of free time - and maybe I'll learn something along the way.
$250 in BTC, and the code is yours.
Unfortunately I don't have such money. Maybe I'll reach you in the future if still needed

thanks for help anyway, you already did a lot for me. Love
WORKING DECRYPT SCRIPT, NEEDED POSSIBLE PASSWORDS OR HELPER QUESTIONS ANWSERS
after couple of days i decompiled original app based on honor x8 ( subbrand of huawei ) and doing some research i make bat app to try recover files from safebox.
I research that master key which is used to encrypt files can be retrieved not only by knowing password but also by security questions.
Script allows You to:
- Recover hashed string which you will be needed to test possible passwords
- Recover used questions
- Try hashcat attacks for password or helper questions anwsers
- After successfull hash crack recover master key from db
- Decrypt files using Master Key
Whole thing is tested on Windows 11 and HiDisk 10.7.0.303 from honor x8
Also i add everything which helped me in development process and decompiled app from huawei
Whole thing in in Polish language
Thanks to this thread and developer dll which was a huuuuuge help
https://mega.nz/folder/LrwADQZI#-_wSaZYtikXwnhpxUzrM4Q