Legal support of investment activity