Is it illegal to use funds to influence the outcome of an election was the question.
It's illegal to bribe election officials or voting machine companies etc. Its illegal to explicitly give someone 10 dollars to vote for them. Its not illegal to campaign. "Using funds to influence an election" is campaigning. You're reaching for something that isnt there