Had you been in Germany for 5 years on the 31.10.2022? If so, then if your status changes to Duldung then you can get a residence permit according to paragraph 104c. A person can be denied 104c if they have made repeated false declarations about their identity or nationality.
As to whether a deportation order wozuld be made in the time between withdrawing an asylum case and issuing a permit 104c, I cannot say. As the permit requires you to have a Duldung, you would need to first be issued with a Duldung and therefore there would have to be a reason for you to be given a Duldung. You should dicuss your asylum case in detail with someone knowledgeable in this area before with withdrawing your case.