Perhaps you could explain the problem in greater detail, including the reasons you've overstayed and how long then overstay is. I suspect a few days with a mess up on flight dates will yield very different answers to illegal working for a year or two.
Articles to help you in your expat project in Dhaka