actually, it all started when I wanted to update the map of my car navigation.
The map of the device can only be updated with the sd card and unfortunately it does not update because the cid code on the sd card does not match. I wanted to find the algorithm that calculates this in the firmware of the device, so I discovered binwalk.
I know x86 assembler and python at a very basic level and binwalk is out of my league. I tried to do something with binwalk below, but I have no idea where to start. I would be very grateful if you could help me (sorry for my English).
code
https://pastebin.com/BDKrxwNX
I analysed the firmware with Binwalk, I searched for text such as error message that can match the cid code with Ghidra, but I couldn't find anything useful.