Function at 0x1000eb50
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 0x1000f890
test byte [0x10018190], 8
jne 0x1000f905
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 0x1000ebd8
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 0x1000ebe8
cmp word [ebp - 0x220], 0
mov edx, ebx
je 0x1000ec19
mov esi, esi
lea edi, [edi]
add edx, 2
cmp word [edx], 0
jne 0x1000ec10
xor eax, eax
nop
lea esi, [esi]
movzx ecx, word [edi + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1000ec20
cmp word [ebp - 0x220], 0
mov edx, ebx
je 0x1000ec49
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x1000ec40
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 0x1000ec50
test byte [0x10018190], 8
jne 0x1000ed80
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_LoadLibraryW]
mov dword [ebp - 0x7f8], eax
sub esp, 4
test eax, eax
je 0x1000eed8
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 0x1000ed10
test byte [0x10018190], 2
jne 0x1000f580
mov eax, dword [ebp - 0x7f8]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
sub esp, 4
test byte [0x10018190], 8
jne 0x1000f068
mov eax, dword [ebp - 0x80c]
test eax, eax
je 0x1000f1b0
mov edx, 0x2c
lea edi, [eax + 2]
mov word [eax], dx
jmp 0x1000ebb8
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 0x1000f298
test byte [0x10018190], 2
je 0x1000ecd1
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Unable_to_initialize_library:__lx_n
mov dword [esp + 8], 0x100207b0
mov dword [esp + 4], 0x10018190
mov dword [esp], 1
call sym._wine_dbg_log.constprop.1_4
jmp 0x1000ecd1
mov eax, dword [ebp - 0x810]
test eax, eax
je 0x1000f5b0
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, 0x100202de
sub esp, 8
test eax, eax
jne 0x1000eea4
cmp word [ebp - 0x220], 0
je 0x1000f848
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ebx + edx*2 + 2], 0
jne 0x1000edc0
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 0x1000ee2d
cmp ax, 9
je 0x1000f210
cmp ax, 0xa
jne 0x1000f22e
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
mov edi, dword [ebp - 0x808]
lea eax, [edi - 1]
test edi, edi
jle 0x1000ee70
lea edi, [ebp - 0x306]
cmp ecx, edi
ja 0x1000ee70
mov dword [ebp - 0x808], eax
movzx eax, word [esi]
add esi, 2
cmp ax, 0xd
je 0x1000f1f8
jbe 0x1000edf0
cmp ax, 0x22
je 0x1000f280
cmp ax, 0x5c
jne 0x1000f221
mov edi, 0x5c5c
add ecx, 2
mov word [ecx - 2], di
mov edi, dword [ebp - 0x808]
lea eax, [edi - 1]
test edi, edi
jg 0x1000ee1d
lea esi, [esi]
mov byte [ecx], 0x22
mov edi, dword [ebp - 0x814]
test eax, eax
jle 0x1000f861
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], 0x100207b0
mov dword [esp + 4], 0x10018190
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
jmp 0x1000ec70
test byte [0x10018190], 8
je 0x1000ecf0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x814], eax
mov eax, dword [ebp - 0x810]
test eax, eax
je 0x1000fa20
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, 0x100202de
sub esp, 8
test eax, eax
jne 0x1000f024
cmp word [ebp - 0x220], 0
je 0x1000fd32
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ebx + edx*2 + 2], 0
jne 0x1000ef38
mov ecx, 0x224c
mov dword [ebp - 0x818], edi
mov esi, ebx
mov word [ebp - 0x428], cx
lea ecx, [ebp - 0x426]
mov dword [ebp - 0x808], edx
jmp 0x1000efad
cmp ax, 9
je 0x1000f7c0
cmp ax, 0xa
jne 0x1000f7de
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
mov edx, dword [ebp - 0x808]
lea eax, [edx - 1]
test edx, edx
jle 0x1000eff0
lea edi, [ebp - 0x306]
cmp ecx, edi
ja 0x1000eff0
mov dword [ebp - 0x808], eax
movzx eax, word [esi]
add esi, 2
cmp ax, 0xd
je 0x1000f7a8
jbe 0x1000ef70
cmp ax, 0x22
je 0x1000f830
cmp ax, 0x5c
jne 0x1000f7d1
mov edx, dword [ebp - 0x808]
mov edi, 0x5c5c
add ecx, 2
mov word [ecx - 2], di
lea eax, [edx - 1]
test edx, edx
jg 0x1000ef9d
lea esi, [esi]
mov byte [ecx], 0x22
mov edi, dword [ebp - 0x818]
test eax, eax
jle 0x1000fd4b
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], 0x100207b0
mov dword [esp + 4], 0x10018190
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
test byte [0x10018190], 8
je 0x1000ecf0
nop
lea esi, [esi]
mov eax, edi
shr eax, 0x10
je 0x1000f870
mov dword [esp + 4], 0xffffffff
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, 0x100202de
sub esp, 8
test eax, eax
jne 0x1000f178
cmp word [edi], 0
je 0x1000fc4c
nop
mov edx, eax
lea eax, [eax + 1]
cmp word [edi + edx*2 + 2], 0
jne 0x1000f0a0
mov eax, 0x224c
mov dword [ebp - 0x808], edx
lea ecx, [ebp - 0x21e]
mov word [ebp - 0x220], ax
jmp 0x1000f10d
cmp ax, 9
je 0x1000f6e8
cmp ax, 0xa
jne 0x1000f676
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
mov esi, dword [ebp - 0x808]
lea eax, [esi - 1]
test esi, esi
jle 0x1000f150
lea esi, [ebp - 0xfe]
cmp ecx, esi
ja 0x1000f150
mov dword [ebp - 0x808], eax
movzx eax, word [edi]
add edi, 2
cmp ax, 0xd
je 0x1000f658
jbe 0x1000f0d0
cmp ax, 0x22
je 0x1000f6d0
cmp ax, 0x5c
jne 0x1000f669
mov esi, dword [ebp - 0x808]
mov eax, 0x5c5c
add ecx, 2
mov word [ecx - 2], ax
lea eax, [esi - 1]
test esi, esi
jg 0x1000f0fd
lea esi, [esi]
mov byte [ecx], 0x22
test eax, eax
jle 0x1000fc65
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], 0x10018190
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
mov eax, dword [ebp - 0x80c]
test eax, eax
jne 0x1000ecfe
nop
mov eax, dword [0x10027900]
test eax, eax
je 0x1000f1db
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 [0x10027900]
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 0x1000ee10
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1000ee10
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x1000f5d0
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 0x1000ee10
mov eax, 0x225c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1000ee10
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 0x1000ecd1
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 0x1000ecd1
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 0x1000f5e0
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 0x1000f390
mov edx, dword [ebp - 0x768]
test byte [0x10018190], 8
jne 0x1000fa60
test edx, edx
je 0x1000f620
mov eax, dword [0x10027900]
test eax, eax
je 0x1000f640
cmp dword [0x10027990], edx
jge 0x1000f620
test byte [0x10018190], 8
je 0x1000f553
mov dword [ebp - 0x814], str.Invalid
cmp edx, 3
ja 0x1000f401
mov eax, dword [edx*4 + 0x100205c0]
mov dword [ebp - 0x814], eax
mov eax, edi
shr eax, 0x10
je 0x1000fa00
mov dword [esp + 4], 0xffffffff
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, 0x100202de
sub esp, 8
test eax, eax
jne 0x1000f518
cmp word [edi], 0
je 0x1000fd11
mov esi, esi
lea edi, [edi]
mov edx, eax
lea eax, [eax + 1]
cmp word [edi + edx*2 + 2], 0
jne 0x1000f440
mov eax, 0x224c
mov dword [ebp - 0x808], edx
lea ecx, [ebp - 0x21e]
mov word [ebp - 0x220], ax
jmp 0x1000f4ad
cmp ax, 9
je 0x1000f790
cmp ax, 0xa
jne 0x1000f706
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
mov esi, dword [ebp - 0x808]
lea eax, [esi - 1]
test esi, esi
jle 0x1000f4f0
lea esi, [ebp - 0xfe]
cmp ecx, esi
ja 0x1000f4f0
mov dword [ebp - 0x808], eax
movzx eax, word [edi]
add edi, 2
cmp ax, 0xd
je 0x1000f778
jbe 0x1000f470
cmp ax, 0x22
je 0x1000f760
cmp ax, 0x5c
jne 0x1000f6f9
mov esi, 0x5c5c
add ecx, 2
mov word [ecx - 2], si
mov esi, dword [ebp - 0x808]
lea eax, [esi - 1]
test esi, esi
jg 0x1000f49d
lea esi, [esi]
mov byte [ecx], 0x22
test eax, eax
jle 0x1000fd2a
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], 0x10018190
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
mov eax, dword [0x10027900]
test eax, eax
je 0x1000f55f
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
sub esp, 4
lea esi, [ebp - 0x7f8]
mov ecx, 0x28
mov edi, 0x10027900
rep movsd dword es:[edi], dword [esi]
jmp 0x1000ecf0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Unable_to_load_UNIX_functions:__lx_n
mov dword [esp + 8], 0x100207b0
mov dword [esp + 4], 0x10018190
mov dword [esp], 1
call sym._wine_dbg_log.constprop.1_4
jmp 0x1000ecd1
movzx eax, bx
mov dword [esp], 0x1002031d
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_4
mov edx, eax
jmp 0x1000eea4
mov byte [ecx], al
add ecx, 1
jmp 0x1000ee10
test byte [0x10018190], 2
je 0x1000ecd1
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Unable_to_retrieve_driver_priority:__lx_n
mov dword [esp + 8], 0x100207b0
mov dword [esp + 4], 0x10018190
mov dword [esp], 1
call sym._wine_dbg_log.constprop.1_4
jmp 0x1000ecd1
mov eax, dword [ebp - 0x7f8]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
sub esp, 4
jmp 0x1000ecf0
test byte [0x10018190], 8
je 0x1000f55f
jmp 0x1000f3e5
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1000f0f0
lea esi, [eax - 0x20]
cmp si, 0x5e
jbe 0x1000f9f0
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 0x1000f0f0
mov eax, 0x225c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1000f0f0
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1000f0f0
lea esi, [eax - 0x20]
cmp si, 0x5e
jbe 0x1000fa40
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 0x1000f490
mov eax, 0x225c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1000f490
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1000f490
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1000f490
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1000ef90
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1000ef90
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x1000fa50
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 0x1000ef90
mov eax, 0x225c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1000ef90
mov esi, 0x224c
mov byte [ebp - 0x426], 0x22
lea ecx, [ebp - 0x426]
mov word [ebp - 0x428], si
lea eax, [ecx + 1]
jmp 0x1000ee91
movzx eax, di
mov dword [esp], 0x1002031d
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_4
mov edx, eax
jmp 0x1000f178
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 0x1000f8e6
cmp word [ebp - 0x628], 0
mov edi, esi
je 0x1000fbb2
mov eax, dword [ebp - 0x804]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
test byte [0x10018190], 8
je 0x1000eba9
mov eax, edi
shr eax, 0x10
je 0x1000fb70
mov dword [esp + 4], 0xffffffff
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, 0x100202de
sub esp, 8
test eax, eax
jne 0x1000fb85
cmp word [edi], 0
je 0x1000fe5d
nop
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [edi + edx*2 + 2], 0
jne 0x1000f940
mov ecx, 0x224c
mov dword [ebp - 0x80c], edi
mov esi, edi
mov word [ebp - 0x220], cx
lea ecx, [ebp - 0x21e]
mov dword [ebp - 0x808], edx
jmp 0x1000f9b5
cmp ax, 9
je 0x1000fc88
cmp ax, 0xa
jne 0x1000fca6
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
mov edx, dword [ebp - 0x808]
lea eax, [edx - 1]
test edx, edx
jle 0x1000fe00
lea edi, [ebp - 0xfe]
cmp ecx, edi
ja 0x1000fe00
mov dword [ebp - 0x808], eax
movzx eax, word [esi]
add esi, 2
cmp ax, 0xd
je 0x1000fc70
jbe 0x1000f970
cmp ax, 0x22
je 0x1000fd00
cmp ax, 0x5c
jne 0x1000fc99
mov edi, 0x5c5c
add ecx, 2
mov word [ecx - 2], di
jmp 0x1000f990
mov byte [ecx], al
add ecx, 1
jmp 0x1000f0f0
movzx eax, di
mov dword [esp], 0x1002031d
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_4
mov edx, eax
jmp 0x1000f518
movzx eax, bx
mov dword [esp], 0x1002031d
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_4
mov edx, eax
jmp 0x1000f024
mov byte [ecx], al
add ecx, 1
jmp 0x1000f490
mov byte [ecx], al
add ecx, 1
jmp 0x1000ef90
mov dword [ebp - 0x814], str.Invalid
cmp edx, 3
ja 0x1000fa7c
mov eax, dword [edx*4 + 0x100205c0]
mov dword [ebp - 0x814], eax
mov eax, dword [ebp - 0x810]
test eax, eax
je 0x1000fe39
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, 0x100202de
sub esp, 8
test eax, eax
jne 0x1000fc0f
cmp word [ebp - 0x220], 0
je 0x1000fe7b
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ebx + edx*2 + 2], 0
jne 0x1000fac0
mov eax, 0x224c
mov dword [ebp - 0x818], edi
lea ecx, [ebp - 0x752]
mov esi, ebx
mov word [ebp - 0x754], ax
mov dword [ebp - 0x808], edx
jmp 0x1000fb35
cmp ax, 9
je 0x1000fde8
cmp ax, 0xa
jne 0x1000fd76
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
mov edx, dword [ebp - 0x808]
lea eax, [edx - 1]
test edx, edx
jle 0x1000fbdb
lea edi, [ebp - 0x632]
cmp ecx, edi
ja 0x1000fbdb
mov dword [ebp - 0x808], eax
movzx eax, word [esi]
add esi, 2
cmp ax, 0xd
je 0x1000fd58
jbe 0x1000faf0
cmp ax, 0x22
je 0x1000fdd0
cmp ax, 0x5c
jne 0x1000fd69
mov edi, 0x5c5c
add ecx, 2
mov word [ecx - 2], di
jmp 0x1000fb10
movzx eax, di
mov dword [esp], 0x1002031d
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], 0x10018190
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
jmp 0x1000eba9
test byte [0x10018190], 8
jne 0x1000fe9c
mov eax, dword [ebp - 0x804]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, 1
sub esp, 4
jmp 0x1000f1e3
mov byte [ecx], 0x22
mov edi, dword [ebp - 0x818]
test eax, eax
jle 0x1000fe94
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], 0x100207b0
mov dword [esp + 4], 0x10018190
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
mov edx, dword [ebp - 0x768]
jmp 0x1000f3b7
mov esi, 0x224c
mov byte [ebp - 0x21e], 0x22
lea ecx, [ebp - 0x21e]
mov word [ebp - 0x220], si
lea eax, [ecx + 1]
jmp 0x1000f16b
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1000f990
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1000f990
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x1000fe2f
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 0x1000f990
mov eax, 0x225c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1000f990
mov eax, 0x224c
mov byte [ebp - 0x21e], 0x22
lea ecx, [ebp - 0x21e]
mov word [ebp - 0x220], ax
lea eax, [ecx + 1]
jmp 0x1000f50b
mov edx, 0x224c
mov byte [ebp - 0x426], 0x22
lea ecx, [ebp - 0x426]
mov word [ebp - 0x428], dx
lea eax, [ecx + 1]
jmp 0x1000f011
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1000fb10
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x1000fe53
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 0x1000fb10
mov eax, 0x225c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1000fb10
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1000fb10
mov byte [ecx], 0x22
mov edi, dword [ebp - 0x80c]
test eax, eax
jle 0x1000fe76
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 0x1000fb85
mov byte [ecx], al
add ecx, 1
jmp 0x1000f990
movzx eax, bx
mov dword [esp], 0x1002031d
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_4
mov edx, eax
jmp 0x1000fc0f
mov byte [ecx], al
add ecx, 1
jmp 0x1000fb10
mov eax, 0x224c
mov byte [ebp - 0x21e], 0x22
lea ecx, [ebp - 0x21e]
mov word [ebp - 0x220], ax
lea eax, [ecx + 1]
jmp 0x1000fe1d
mov eax, 0x224c
mov byte [ebp - 0x752], 0x22
lea ecx, [ebp - 0x752]
mov word [ebp - 0x754], ax
lea eax, [ecx + 1]
jmp 0x1000fbfc
mov dword [esp + 0xc], str.User_explicitly_chose_no_driver_n
mov dword [esp + 8], str.init_driver
mov dword [esp + 4], 0x10018190
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
jmp 0x1000fbbf