https://bugs.winehq.org/show_bug.cgi?id=50973
--- Comment #4 from Bernhard Übelacker bernhardu@mailbox.org --- It looks like before in following functions the PATH got iterated for a usable executable: process_init / init_user_process_params / get_image_path / RtlDosSearchPath_U
A place for somthing simliar at "unix side" might be here: start_main_thread / init_startup_info / build_initial_params (If the start.exe invocation is not desired.)