The market cap is basically shares x market price. Its the market's valuation of the company. So the company's cash-on-hand or any other accounting stuff doesnt come into it at all.