Does it do this when booted into Safe Mode? If not, uninstall (or disable) all installed Explorer extensions and try again
How do I disable all Explorer extentions?
Anything that adds icons or menu items to Explorer, or modifies the behavior of Explorer can fall in this category. This could be OneDrive, anti-virus programs, backup programs, Dropbox-style programs, "Tech Buddy" adware that inserts "friendly" messages telling you to "Click here for help" on each window, etc.
Since you upgraded to Windows 10, it's possible one of those types of programs is not completely compatible or didn't like the change in OS or permissions that went along with it.
One simple thing that might work is recreating your Windows profile. The easiest way to do this is A) backup all files in your C:\Users\{username}, B) create a second Windows account, C) if problems don't persist on second account, restore your files to second account and delete first account.
Next, try fully uninstalling, then reinstalling any anti-virus/security software. Try to download latest version of your antivirus if you can.
Run a full malware scan and allow it to delete anything it deems "Potentially Unwanted" or similar.
Then do the same for any of the other types of programs listed above. Try to get latest versions.
And there is a way to know in what dll this insturction is in?
The Windows Event Viewer might tell you (in the Application Logs) but it might be something you need a debugger to trace.