Function at 0x1000d8d0
Capabilities:
Check if process is running under wine
Query or enumerate registry value

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff8
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
mov edi, str.pulse_alsa_oss_coreaudio
push esi
lea eax, [ebp - 0x804]
push ebx
lea ebx, [ebp - 0x220]
push ecx
sub esp, 0x820
mov dword [esp + 8], eax
mov dword [esp + 4], str.SoftwareWineDrivers
mov dword [esp], 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
sub esp, 0xc
test eax, eax
je 0x1000e610
test byte [0x10016190], 8
jne 0x1000e685
mov eax, ebx
shr eax, 0x10
mov dword [ebp - 0x810], eax
lea esi, [esi]
mov dword [esp + 4], 0x2c
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_wcschr]
mov dword [ebp - 0x80c], eax
test eax, eax
je 0x1000d958
xor edx, edx
mov word [eax], dx
mov dword [ebp - 0x768], 0
xor eax, eax
lea esi, [esi]
movzx edx, word [eax + str.wine]
mov word [ebx + eax], dx
add eax, 2
test dx, dx
jne 0x1000d968
cmp word [ebp - 0x220], 0
mov edx, ebx
je 0x1000d999
mov esi, esi
lea edi, [edi]
add edx, 2
cmp word [edx], 0
jne 0x1000d990
xor eax, eax
nop
lea esi, [esi]
movzx ecx, word [edi + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1000d9a0
cmp word [ebp - 0x220], 0
mov edx, ebx
je 0x1000d9c9
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x1000d9c0
xor eax, eax
nop
lea esi, [esi]
movzx ecx, word [eax + str..drv]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1000d9d0
test byte [0x10016190], 8
jne 0x1000db00
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_LoadLibraryW]
mov dword [ebp - 0x7f8], eax
sub esp, 4
test eax, eax
je 0x1000dc58
lea edx, [ebp - 0x7f0]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 8
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x3e8
mov dword [esp + 4], eax
mov dword [esp], 0xffffffff
call dword [sym.imp.ntdll.dll_NtQueryVirtualMemory]
sub esp, 0x18
test eax, eax
je 0x1000da90
test byte [0x10016190], 2
jne 0x1000e300
mov eax, dword [ebp - 0x7f8]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
sub esp, 4
test byte [0x10016190], 8
jne 0x1000dde8
mov eax, dword [ebp - 0x80c]
test eax, eax
je 0x1000df30
mov edx, 0x2c
lea edi, [eax + 2]
mov word [eax], dx
jmp 0x1000d938
mov eax, dword [ebp - 0x7f0]
mov edx, dword [ebp - 0x7ec]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov esi, dword [sym.imp.ntdll.dll___wine_unix_call]
mov dword [esp], eax
mov dword [esp + 4], edx
call esi
sub esp, 0x10
test eax, eax
je 0x1000e018
test byte [0x10016190], 2
je 0x1000da51
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Unable_to_initialize_library:__lx_n
mov dword [esp + 8], 0x1001e490
mov dword [esp + 4], 0x10016190
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_4
jmp 0x1000da51
mov eax, dword [ebp - 0x810]
test eax, eax
je 0x1000e330
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, 0x1001dfbe
sub esp, 8
test eax, eax
jne 0x1000dc24
cmp word [ebp - 0x220], 0
je 0x1000e5c8
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ebx + edx*2 + 2], 0
jne 0x1000db40
mov eax, 0x224c
mov dword [ebp - 0x808], edx
lea ecx, [ebp - 0x426]
mov esi, ebx
mov word [ebp - 0x428], ax
mov dword [ebp - 0x814], edi
jmp 0x1000dbad
cmp ax, 9
je 0x1000df90
cmp ax, 0xa
jne 0x1000dfae
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
mov edi, dword [ebp - 0x808]
lea eax, [edi - 1]
test edi, edi
jle 0x1000dbf0
lea edi, [ebp - 0x306]
cmp ecx, edi
ja 0x1000dbf0
mov dword [ebp - 0x808], eax
movzx eax, word [esi]
add esi, 2
cmp ax, 0xd
je 0x1000df78
jbe 0x1000db70
cmp ax, 0x22
je 0x1000e000
cmp ax, 0x5c
jne 0x1000dfa1
mov edi, 0x5c5c
add ecx, 2
mov word [ecx - 2], di
mov edi, dword [ebp - 0x808]
lea eax, [edi - 1]
test edi, edi
jg 0x1000db9d
lea esi, [esi]
mov byte [ecx], 0x22
mov edi, dword [ebp - 0x814]
test eax, eax
jle 0x1000e5e1
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x428]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.Attempting_to_load__s_n
mov dword [esp + 8], 0x1001e490
mov dword [esp + 4], 0x10016190
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
jmp 0x1000d9f0
test byte [0x10016190], 8
je 0x1000da70
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x814], eax
mov eax, dword [ebp - 0x810]
test eax, eax
je 0x1000e7a0
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, 0x1001dfbe
sub esp, 8
test eax, eax
jne 0x1000dda4
cmp word [ebp - 0x220], 0
je 0x1000eab2
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ebx + edx*2 + 2], 0
jne 0x1000dcb8
mov ecx, 0x224c
mov dword [ebp - 0x808], edx
mov esi, ebx
mov word [ebp - 0x428], cx
lea ecx, [ebp - 0x426]
mov dword [ebp - 0x818], edi
jmp 0x1000dd2d
cmp ax, 9
je 0x1000e540
cmp ax, 0xa
jne 0x1000e55e
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
mov edx, dword [ebp - 0x808]
lea eax, [edx - 1]
test edx, edx
jle 0x1000dd70
lea edi, [ebp - 0x306]
cmp ecx, edi
ja 0x1000dd70
mov dword [ebp - 0x808], eax
movzx eax, word [esi]
add esi, 2
cmp ax, 0xd
je 0x1000e528
jbe 0x1000dcf0
cmp ax, 0x22
je 0x1000e5b0
cmp ax, 0x5c
jne 0x1000e551
mov edx, dword [ebp - 0x808]
mov edi, 0x5c5c
add ecx, 2
mov word [ecx - 2], di
lea eax, [edx - 1]
test edx, edx
jg 0x1000dd1d
lea esi, [esi]
mov byte [ecx], 0x22
mov edi, dword [ebp - 0x818]
test eax, eax
jle 0x1000eacb
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x428]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edx, eax
mov eax, dword [ebp - 0x814]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.Unable_to_load__s:__lu_n
mov dword [esp + 0x14], eax
mov dword [esp + 8], 0x1001e490
mov dword [esp + 4], 0x10016190
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
test byte [0x10016190], 8
je 0x1000da70
nop
lea esi, [esi]
mov eax, edi
shr eax, 0x10
je 0x1000e5f0
mov dword [esp + 4], 0xffffffff
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, 0x1001dfbe
sub esp, 8
test eax, eax
jne 0x1000def8
cmp word [edi], 0
je 0x1000e9cc
nop
mov edx, eax
lea eax, [eax + 1]
cmp word [edi + edx*2 + 2], 0
jne 0x1000de20
mov eax, 0x224c
mov dword [ebp - 0x808], edx
lea ecx, [ebp - 0x21e]
mov word [ebp - 0x220], ax
jmp 0x1000de8d
cmp ax, 9
je 0x1000e468
cmp ax, 0xa
jne 0x1000e3f6
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
mov esi, dword [ebp - 0x808]
lea eax, [esi - 1]
test esi, esi
jle 0x1000ded0
lea esi, [ebp - 0xfe]
cmp ecx, esi
ja 0x1000ded0
mov dword [ebp - 0x808], eax
movzx eax, word [edi]
add edi, 2
cmp ax, 0xd
je 0x1000e3d8
jbe 0x1000de50
cmp ax, 0x22
je 0x1000e450
cmp ax, 0x5c
jne 0x1000e3e9
mov esi, dword [ebp - 0x808]
mov eax, 0x5c5c
add ecx, 2
mov word [ecx - 2], ax
lea eax, [esi - 1]
test esi, esi
jg 0x1000de7d
lea esi, [esi]
mov byte [ecx], 0x22
test eax, eax
jle 0x1000e9e5
mov esi, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], si
mov byte [eax], 0
mov dword [esp], ebx
call sym.___wine_dbg_strdup
mov edx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.Failed_to_load_driver__s_n
mov dword [esp + 8], str.init_driver
mov dword [esp + 4], 0x10016190
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
mov eax, dword [ebp - 0x80c]
test eax, eax
jne 0x1000da7e
nop
mov eax, dword [0x10025900]
test eax, eax
je 0x1000df5b
call sym._load_devices_from_reg
mov dword [esp], 0
call sym._load_driver_devices
mov dword [esp], 1
call sym._load_driver_devices
mov eax, dword [0x10025900]
test eax, eax
setne al
movzx eax, al
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1000db90
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1000db90
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x1000e350
mov edi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr di, 0xc
movzx edi, di
movzx edx, byte [edi + str.0123456789abcdefload_driver]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ecx - 4], dl
movzx edx, byte [edi + str.0123456789abcdefload_driver]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdefload_driver]
and edi, 0xf
mov byte [ecx - 3], dl
movzx edx, byte [edi + str.0123456789abcdefload_driver]
mov byte [ecx - 1], al
mov byte [ecx - 2], dl
jmp 0x1000db90
mov eax, 0x225c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1000db90
mov eax, dword [ebp - 0x7f8]
mov edx, dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [esp + 4], str.get_device_guid
mov dword [esp], eax
mov dword [ebp - 0x808], edx
call edx
mov dword [ebp - 0x764], eax
sub esp, 8
test eax, eax
je 0x1000da51
mov eax, dword [ebp - 0x7f8]
mov dword [esp + 4], str.get_device_name_from_guid
mov edx, dword [ebp - 0x808]
mov dword [esp], eax
call edx
mov dword [ebp - 0x760], eax
sub esp, 8
test eax, eax
je 0x1000da51
lea eax, [ebp - 0x428]
mov dword [esp + 8], 0x104
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x428]
sub esp, 0xc
mov dword [esp + 4], 0x5c
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcsrchr]
mov dword [esp + 8], 0x19
mov dword [ebp - 0x7fc], 2
test eax, eax
lea edx, [eax + 2]
lea eax, [ebp - 0x428]
cmovne eax, edx
mov edx, dword [ebp - 0x7ec]
mov dword [ebp - 0x800], eax
lea eax, [ebp - 0x800]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x7f0]
mov dword [esp + 4], edx
mov dword [esp], eax
call esi
sub esp, 0x10
test eax, eax
jne 0x1000e360
mov eax, dword [ebp - 0x7fc]
mov dword [ebp - 0x768], eax
xor eax, eax
lea esi, [esi]
movzx edx, word [ebx + eax]
mov word [ebp + eax - 0x7e8], dx
add eax, 2
test dx, dx
jne 0x1000e110
mov edx, dword [ebp - 0x768]
test byte [0x10016190], 8
jne 0x1000e7e0
test edx, edx
je 0x1000e3a0
mov eax, dword [0x10025900]
test eax, eax
je 0x1000e3c0
cmp dword [0x10025990], edx
jge 0x1000e3a0
test byte [0x10016190], 8
je 0x1000e2d3
mov dword [ebp - 0x814], str.Invalid
cmp edx, 3
ja 0x1000e181
mov eax, dword [edx*4 + 0x1001e2a0]
mov dword [ebp - 0x814], eax
mov eax, edi
shr eax, 0x10
je 0x1000e780
mov dword [esp + 4], 0xffffffff
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, 0x1001dfbe
sub esp, 8
test eax, eax
jne 0x1000e298
cmp word [edi], 0
je 0x1000ea91
mov esi, esi
lea edi, [edi]
mov edx, eax
lea eax, [eax + 1]
cmp word [edi + edx*2 + 2], 0
jne 0x1000e1c0
mov eax, 0x224c
mov dword [ebp - 0x808], edx
lea ecx, [ebp - 0x21e]
mov word [ebp - 0x220], ax
jmp 0x1000e22d
cmp ax, 9
je 0x1000e510
cmp ax, 0xa
jne 0x1000e486
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
mov esi, dword [ebp - 0x808]
lea eax, [esi - 1]
test esi, esi
jle 0x1000e270
lea esi, [ebp - 0xfe]
cmp ecx, esi
ja 0x1000e270
mov dword [ebp - 0x808], eax
movzx eax, word [edi]
add edi, 2
cmp ax, 0xd
je 0x1000e4f8
jbe 0x1000e1f0
cmp ax, 0x22
je 0x1000e4e0
cmp ax, 0x5c
jne 0x1000e479
mov esi, 0x5c5c
add ecx, 2
mov word [ecx - 2], si
mov esi, dword [ebp - 0x808]
lea eax, [esi - 1]
test esi, esi
jg 0x1000e21d
lea esi, [esi]
mov byte [ecx], 0x22
test eax, eax
jle 0x1000eaaa
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
mov dword [esp], ebx
call sym.___wine_dbg_strdup
mov edx, eax
mov eax, dword [ebp - 0x814]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.Selecting_driver__s_with_priority__s_n
mov dword [esp + 0x14], eax
mov dword [esp + 8], str.init_driver
mov dword [esp + 4], 0x10016190
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
mov eax, dword [0x10025900]
test eax, eax
je 0x1000e2df
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
sub esp, 4
lea esi, [ebp - 0x7f8]
mov ecx, 0x28
mov edi, 0x10025900
rep movsd dword es:[edi], dword [esi]
jmp 0x1000da70
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Unable_to_load_UNIX_functions:__lx_n
mov dword [esp + 8], 0x1001e490
mov dword [esp + 4], 0x10016190
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_4
jmp 0x1000da51
movzx eax, bx
mov dword [esp], 0x1001dffd
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_4
mov edx, eax
jmp 0x1000dc24
mov byte [ecx], al
add ecx, 1
jmp 0x1000db90
test byte [0x10016190], 2
je 0x1000da51
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Unable_to_retrieve_driver_priority:__lx_n
mov dword [esp + 8], 0x1001e490
mov dword [esp + 4], 0x10016190
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_4
jmp 0x1000da51
mov eax, dword [ebp - 0x7f8]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
sub esp, 4
jmp 0x1000da70
test byte [0x10016190], 8
je 0x1000e2df
jmp 0x1000e165
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1000de70
lea esi, [eax - 0x20]
cmp si, 0x5e
jbe 0x1000e770
mov esi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr si, 0xc
movzx esi, si
movzx edx, byte [esi + str.0123456789abcdefload_driver]
mov esi, eax
shr si, 8
and esi, 0xf
mov byte [ecx - 4], dl
movzx edx, byte [esi + str.0123456789abcdefload_driver]
mov esi, eax
and eax, 0xf
shr si, 4
movzx eax, byte [eax + str.0123456789abcdefload_driver]
and esi, 0xf
mov byte [ecx - 3], dl
movzx edx, byte [esi + str.0123456789abcdefload_driver]
mov byte [ecx - 1], al
mov byte [ecx - 2], dl
jmp 0x1000de70
mov eax, 0x225c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1000de70
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1000de70
lea esi, [eax - 0x20]
cmp si, 0x5e
jbe 0x1000e7c0
mov esi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr si, 0xc
movzx esi, si
movzx edx, byte [esi + str.0123456789abcdefload_driver]
mov esi, eax
shr si, 8
and esi, 0xf
mov byte [ecx - 4], dl
movzx edx, byte [esi + str.0123456789abcdefload_driver]
mov esi, eax
and eax, 0xf
shr si, 4
movzx eax, byte [eax + str.0123456789abcdefload_driver]
and esi, 0xf
mov byte [ecx - 3], dl
movzx edx, byte [esi + str.0123456789abcdefload_driver]
mov byte [ecx - 1], al
mov byte [ecx - 2], dl
jmp 0x1000e210
mov eax, 0x225c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1000e210
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1000e210
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1000e210
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1000dd10
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1000dd10
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x1000e7d0
mov edi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr di, 0xc
movzx edi, di
movzx edx, byte [edi + str.0123456789abcdefload_driver]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ecx - 4], dl
movzx edx, byte [edi + str.0123456789abcdefload_driver]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdefload_driver]
and edi, 0xf
mov byte [ecx - 3], dl
movzx edx, byte [edi + str.0123456789abcdefload_driver]
mov byte [ecx - 1], al
mov byte [ecx - 2], dl
jmp 0x1000dd10
mov eax, 0x225c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1000dd10
mov esi, 0x224c
mov byte [ebp - 0x426], 0x22
lea ecx, [ebp - 0x426]
mov word [ebp - 0x428], si
lea eax, [ecx + 1]
jmp 0x1000dc11
movzx eax, di
mov dword [esp], 0x1001dffd
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_4
mov edx, eax
jmp 0x1000def8
mov eax, dword [ebp - 0x804]
lea esi, [ebp - 0x628]
mov dword [esp + 0x14], ebx
mov dword [ebp - 0x220], 0x200
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.Audio
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
jne 0x1000e666
cmp word [ebp - 0x628], 0
mov edi, esi
je 0x1000e932
mov eax, dword [ebp - 0x804]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
test byte [0x10016190], 8
je 0x1000d929
mov eax, edi
shr eax, 0x10
je 0x1000e8f0
mov dword [esp + 4], 0xffffffff
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, 0x1001dfbe
sub esp, 8
test eax, eax
jne 0x1000e905
cmp word [edi], 0
je 0x1000ebdd
nop
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [edi + edx*2 + 2], 0
jne 0x1000e6c0
mov ecx, 0x224c
mov dword [ebp - 0x808], edx
mov esi, edi
mov word [ebp - 0x220], cx
lea ecx, [ebp - 0x21e]
mov dword [ebp - 0x80c], edi
jmp 0x1000e735
cmp ax, 9
je 0x1000ea08
cmp ax, 0xa
jne 0x1000ea26
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
mov edx, dword [ebp - 0x808]
lea eax, [edx - 1]
test edx, edx
jle 0x1000eb80
lea edi, [ebp - 0xfe]
cmp ecx, edi
ja 0x1000eb80
mov dword [ebp - 0x808], eax
movzx eax, word [esi]
add esi, 2
cmp ax, 0xd
je 0x1000e9f0
jbe 0x1000e6f0
cmp ax, 0x22
je 0x1000ea80
cmp ax, 0x5c
jne 0x1000ea19
mov edi, 0x5c5c
add ecx, 2
mov word [ecx - 2], di
jmp 0x1000e710
mov byte [ecx], al
add ecx, 1
jmp 0x1000de70
movzx eax, di
mov dword [esp], 0x1001dffd
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_4
mov edx, eax
jmp 0x1000e298
movzx eax, bx
mov dword [esp], 0x1001dffd
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_4
mov edx, eax
jmp 0x1000dda4
mov byte [ecx], al
add ecx, 1
jmp 0x1000e210
mov byte [ecx], al
add ecx, 1
jmp 0x1000dd10
mov dword [ebp - 0x814], str.Invalid
cmp edx, 3
ja 0x1000e7fc
mov eax, dword [edx*4 + 0x1001e2a0]
mov dword [ebp - 0x814], eax
mov eax, dword [ebp - 0x810]
test eax, eax
je 0x1000ebb9
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, 0x1001dfbe
sub esp, 8
test eax, eax
jne 0x1000e98f
cmp word [ebp - 0x220], 0
je 0x1000ebfb
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ebx + edx*2 + 2], 0
jne 0x1000e840
mov eax, 0x224c
mov dword [ebp - 0x808], edx
lea ecx, [ebp - 0x752]
mov esi, ebx
mov word [ebp - 0x754], ax
mov dword [ebp - 0x818], edi
jmp 0x1000e8b5
cmp ax, 9
je 0x1000eb68
cmp ax, 0xa
jne 0x1000eaf6
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
mov edx, dword [ebp - 0x808]
lea eax, [edx - 1]
test edx, edx
jle 0x1000e95b
lea edi, [ebp - 0x632]
cmp ecx, edi
ja 0x1000e95b
mov dword [ebp - 0x808], eax
movzx eax, word [esi]
add esi, 2
cmp ax, 0xd
je 0x1000ead8
jbe 0x1000e870
cmp ax, 0x22
je 0x1000eb50
cmp ax, 0x5c
jne 0x1000eae9
mov edi, 0x5c5c
add ecx, 2
mov word [ecx - 2], di
jmp 0x1000e890
movzx eax, di
mov dword [esp], 0x1001dffd
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_4
mov edx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.Loading_driver_list__s_n
mov dword [esp + 8], str.init_driver
mov dword [esp + 4], 0x10016190
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
jmp 0x1000d929
test byte [0x10016190], 8
jne 0x1000ec1c
mov eax, dword [ebp - 0x804]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, 1
sub esp, 4
jmp 0x1000df63
mov byte [ecx], 0x22
mov edi, dword [ebp - 0x818]
test eax, eax
jle 0x1000ec14
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x754]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edx, eax
mov eax, dword [ebp - 0x814]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.Successfully_loaded__s_with_priority__s_n
mov dword [esp + 0x14], eax
mov dword [esp + 8], 0x1001e490
mov dword [esp + 4], 0x10016190
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
mov edx, dword [ebp - 0x768]
jmp 0x1000e137
mov esi, 0x224c
mov byte [ebp - 0x21e], 0x22
lea ecx, [ebp - 0x21e]
mov word [ebp - 0x220], si
lea eax, [ecx + 1]
jmp 0x1000deeb
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1000e710
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1000e710
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x1000ebaf
mov edi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr di, 0xc
movzx edi, di
movzx edx, byte [edi + str.0123456789abcdefload_driver]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ecx - 4], dl
movzx edx, byte [edi + str.0123456789abcdefload_driver]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdefload_driver]
and edi, 0xf
mov byte [ecx - 3], dl
movzx edx, byte [edi + str.0123456789abcdefload_driver]
mov byte [ecx - 1], al
mov byte [ecx - 2], dl
jmp 0x1000e710
mov eax, 0x225c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1000e710
mov eax, 0x224c
mov byte [ebp - 0x21e], 0x22
lea ecx, [ebp - 0x21e]
mov word [ebp - 0x220], ax
lea eax, [ecx + 1]
jmp 0x1000e28b
mov edx, 0x224c
mov byte [ebp - 0x426], 0x22
lea ecx, [ebp - 0x426]
mov word [ebp - 0x428], dx
lea eax, [ecx + 1]
jmp 0x1000dd91
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1000e890
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x1000ebd3
mov edi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr di, 0xc
movzx edi, di
movzx edx, byte [edi + str.0123456789abcdefload_driver]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ecx - 4], dl
movzx edx, byte [edi + str.0123456789abcdefload_driver]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdefload_driver]
and edi, 0xf
mov byte [ecx - 3], dl
movzx edx, byte [edi + str.0123456789abcdefload_driver]
mov byte [ecx - 1], al
mov byte [ecx - 2], dl
jmp 0x1000e890
mov eax, 0x225c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1000e890
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1000e890
mov byte [ecx], 0x22
mov edi, dword [ebp - 0x80c]
test eax, eax
jle 0x1000ebf6
mov esi, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], si
mov byte [eax], 0
mov dword [esp], ebx
call sym.___wine_dbg_strdup
mov edx, eax
jmp 0x1000e905
mov byte [ecx], al
add ecx, 1
jmp 0x1000e710
movzx eax, bx
mov dword [esp], 0x1001dffd
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_4
mov edx, eax
jmp 0x1000e98f
mov byte [ecx], al
add ecx, 1
jmp 0x1000e890
mov eax, 0x224c
mov byte [ebp - 0x21e], 0x22
lea ecx, [ebp - 0x21e]
mov word [ebp - 0x220], ax
lea eax, [ecx + 1]
jmp 0x1000eb9d
mov eax, 0x224c
mov byte [ebp - 0x752], 0x22
lea ecx, [ebp - 0x752]
mov word [ebp - 0x754], ax
lea eax, [ecx + 1]
jmp 0x1000e97c
mov dword [esp + 0xc], str.User_explicitly_chose_no_driver_n
mov dword [esp + 8], str.init_driver
mov dword [esp + 4], 0x10016190
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
jmp 0x1000e93f