I'm basically a do-it-yourselfer but in case I also say "pay an accountant". The fact that you have not filed / prepared the last tax return means to me that you don't know the tax-values of certain accounts within the two companies. Without knowing that, you cannot know what the check represented.
Use the opportunity to get a quick once-over of how you handled the inter-co dividends and withdrawals in the past. You might have a deductible business investment loss. You may be able to take out money as repayment of SH loan or equity capital.
Use the opportunity to get a quick once-over of how you handled the inter-co dividends and withdrawals in the past. You might have a deductible business investment loss. You may be able to take out money as repayment of SH loan or equity capital.