http://bugs.winehq.org/show_bug.cgi?id=35587
--- Comment #18 from Riccardo c10ud.dev@gmail.com --- Ok, I think I identified the issue.
When sound is enabled the game does a lot of overlapped io (mostly 4 bytes reads). 1963.535:0063:trace:file:CreateFileW L"C:/Riot Games/League of Legends/RADS/projects/lol_game_client/filearchives/0.0.0.209/Archive_2.raf.dat" GENERIC_READ FILE_SHARE_READ FILE_SHARE_WRITE FILE_SHARE_DELETE creation 3 attributes 0x40000000 1963.535:0063:trace:file:RtlDosPathNameToNtPathName_U (L"C:/Riot Games/League of Legends/RADS/projects/lol_game_client/filearchives/0.0.0.209/Archive_2.raf.dat",0x33e8a8,(nil),(nil)) 1963.535:0063:trace:file:RtlGetFullPathName_U (L"C:/Riot Games/League of Legends/RADS/projects/lol_game_client/filearchives/0.0.0.209/Archive_2.raf.dat" 520 0x33e5f8 (nil)) 1963.535:0063:trace:file:wine_nt_to_unix_file_name L"\??\C:\Riot Games\League of Legends\RADS\projects\lol_game_client\filearchives\0.0.0.209\Archive_2.raf.dat" -> "/home//.wine/dosdevices/c:/Riot Games/League of Legends/RADS/projects/lol_game_client/filearchives/0.0.0.209/Archive_2.raf.dat" 1963.535:0063:trace:file:CreateFileW returning 0xf0
Interestingly many of them have the same arguments (???) eg:
1973.405:0063:trace:file:ReadFile 0xf0 0x33a424 4 0x33a230 0x3e11650 1973.405:0063:trace:file:ReadFile 0xf0 0x33a424 4 0x33a230 0x3e11650 1973.405:0063:trace:file:ReadFile 0xf0 0x33a424 4 0x33a230 0x3e11650
..and so on. Is this expected? Is further debugging needed?
You can check this out by running with WINEDEBUG=+tid,+timestamp,+file warning: the log will be really big.