VVDI Prog can read BMW EWS, CAS1-4. And here is one review about BMW E60 all key lost, the cas is like the following pic.
Find related CAS type in VVDI Prog software.
Check the connection diagram.
Do wiring like the diagram.
Read and save data. Then use other key programmer like VVDI2 to load the dump file which is read from vvdi prog. Add new key.