http://bugs.winehq.org/show_bug.cgi?id=23836
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #1 from Andrew Nguyen arethusa26@gmail.com 2010-07-30 11:07:56 --- Game Explorer Manager assumes that the operating system is Vista and newer and tries to determine whether it's running with elevated privileges:
0009:Call advapi32.OpenProcessToken(ffffffff,00000008,0032fe20) ret=0041b778 0009:Ret advapi32.OpenProcessToken() retval=00000001 ret=0041b778 0009:Call advapi32.GetTokenInformation(0000004c,00000014,0032fe24,00000004,0032fe28) ret=0041b79a 0009:err:ntdll:NtQueryInformationToken Unhandled Token Information class 20! 0009:Ret advapi32.GetTokenInformation() retval=00000000 ret=0041b79a 0009:Call KERNEL32.CloseHandle(0000004c) ret=0041b7af
If the token check fails, then it tries to launch another instance of itself using ShellExecuteEx specifying the "runas" verb to request elevation. This seems to be ignored on Wine, so the application simply goes into a loop spawning itself repeatedly. The application would do the same on XP, except that the XP runas dialog is shown repeatedly instead.