Native functions and IsWoW64Process check added.