BNB stuck on contract but there is a mystery function that lets me withdraw

Hey guys! So I have BNB stuck on a contract that is not in use anymore and the community wants us to withdraw it and add it to the new version but I'm not sure how to do that. There is no withdraw function in the write code functions but there is a function in the contract that I've seen effectively transfer BNB during buys and sells. Maybe you guys can help? It's been driving me crazy.

Here is the contract code

And here is a transaction showing funds being withdrawn during the taxation process.

I believe the answer lies somewhere in this section of code or within the setswapandliquifyenabled section.

Any help would be greatly appreciated!!