Question on State Parties Transferring to Their Federal PACs

The Illinois Republican Party transferred about $415,000 from its state account to its federal account. The thing is, much of that comes from corporations. Is that legal? I don’t see how, but maybe I’m missing something in BCRA.