So, let me begin by stating that the distribution for returns has been derived and solved. The good news is that it solves your problem, the bad news is that you can also prove that the CAPM, even if strictly true, cannot be solved. There is in fact a 1958 non-existence proof, once you link them together.
The good news is the missing return is dividends. The distribution of returns, or price returns plus dividend returns as in IRR, in equilibrium, ignoring bankruptcy, merger and liquidity risks, is $$\left[\frac{\pi}{2}+\tan^{-1}\left(\frac{\mu}{\sigma}\right)\right]\frac{\sigma}{\sigma^2+(r-\mu)^2}.$$
This only holds for stocks sold in a double auction, some assets, such as antiques, have a very different distribution. You will have to use a Bayesian method because there is no sufficient statistic and the maximum likelihood estimator has not been solved. There is a wonderful paper in it for you if you can solve the intense polynomial that would be created. There is no admissible Frequentist estimate.
The distribution differs if you use logs, and you can make an argument for using OLS, but because the underlying likelihood function lacks a covariance matrix, you cannot create a $\beta$ in the sense of the CAPM. Assets can comove, but cannot covary. The log-distribution, the hyperbolic secant distribution, violates the definition of covariance.
The positive news is that it only requires the subjective intent to make a profit, it does not prohibit long term down trends.
Consider these papers:
https://ssrn.com/abstract=2828744
https://ssrn.com/abstract=2656681
As to the cost of capital, it is the marginal cost for the firm to acquire its next dollar of capital. If it has a line of credit then it is pretty simple.