Daniel 7:25 And he shall speak great words against the most High, and shall wear out the saints of the most High, and think to change times and laws: and they shall be given into his hand until a time and times and the dividing of time.
Surely the one meant here is the same one meant in the following, meaning the beast not the dragon.
Revelation 13:4 And they worshipped the dragon which gave power unto the beast: and they worshipped the beast, saying, Who is like unto the beast? who is able to make war with him?
5 And there was given unto him a mouth speaking great things and blasphemies; and power was given unto him to continue forty and two months.
6 And he opened his mouth in blasphemy against God, to blaspheme his name, and his tabernacle, and them that dwell in heaven.
7 And it was given unto him to make war with the saints, and to overcome them: and power was given him over all kindreds, and tongues, and nations.
Clearly the dragon is meaning satan here, and that the dragon gave power unto the beast, thus satan can't be meant in Daniel 7:25, though Daniel 7:25 does involve satan according to Revelation 13:4. Yet it is not satan doing all of those things in Daniel 7:25, it is the beast that is. So I'm uncertain why you are trying to connect any of this with Matthew 4? Daniel 7:25 is meaning a much later time in history than Matthew 4.