This AMD flash dumping tool is part of Divination, a Windows-centric tool that reminds me of RWEverything and the CHIPSEC kernel-mode drivers, and similar interfaces:
https://github.com/depletionmode/divination
https://github.com/depletionmode/divination/blob/master/examples/amd_dump_flash.py