https://bugs.winehq.org/show_bug.cgi?id=28141
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com --- It's obvious what happens here:
--- 0033:Call twain_32.DSM_Entry(00463e48,00000000,00000001,00000003,00000403,0032ece4) ret=00445ad3 0033:trace:twain:DSM_Entry (DG=1 DAT=3 MSG=1027) 0033:Ret twain_32.DSM_Entry() retval=00000001 ret=00445ad3 ---
Triple DG_CONTROL/DAT_IDENTITY/MSG_USERSELECT fails, most likely because no configured device is present, and twain32 doesn't implement a user dialog to choose from, it just selects first configured device.