Maybe it's easier this way:
Restore how it was before:
ftype WinSCP.Url="C:\Program Files (x86)\WinSCP\WinSCP.exe" %1
Restore how it was before:
ftype WinSCP.Url="C:\Program Files (x86)\WinSCP\WinSCP.exe" /Unsafe "%1"