Function at 0x1000b070
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
push esi
mov esi, edx
push ebx
sub esp, 0x590
mov dword [ebp - 0x568], edx
mov ebx, dword [ebp + 8]
xor edx, edx
mov word [ebp - 0x41c], dx
lea edx, [ebp - 0x558]
mov ebx, dword [ebx]
mov dword [ebp - 0x56c], ecx
mov dword [ebp - 0x558], 0
mov dword [ebp - 0x554], 0
mov dword [ebp - 0x54c], 0x104
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], 0x80000002
call dword [sym.imp.advapi32.dll_RegCreateKeyW]
sub esp, 0xc
test eax, eax
jne 0x1000b590
lea eax, [esi + ebx*4]
mov dword [ebp - 0x570], eax
test esi, esi
je 0x1000b130
cmp edi, 0x15
jbe 0x1000b130
lea ebx, [esi + 4]
test byte [0x100131d8], 8
jne 0x1000b7a0
mov eax, dword [ebp - 0x568]
mov ecx, dword [ebp - 0x570]
mov dword [eax], ecx
xor eax, eax
movzx edx, word [eax + str.winprint]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x1000b110
add dword [ebp - 0x570], 0x12
mov dword [ebp - 0x568], ebx
lea ebx, [ebp - 0x41c]
xor edi, edi
mov dword [ebp - 0x564], 1
mov dword [ebp - 0x560], 0x16
mov eax, ebx
shr eax, 0x10
mov dword [ebp - 0x574], eax
lea eax, [ebp - 0x214]
shr eax, 0x10
mov dword [ebp - 0x57c], eax
jmp 0x1000b1ce
cmp word [ebp - 0x214], 0
je 0x1000b1b8
mov eax, dword [ebp - 0x54c]
mov esi, dword [ebp - 0x568]
add dword [ebp - 0x564], 1
lea ecx, [eax + eax + 2]
mov eax, dword [ebp - 0x560]
lea eax, [ecx + eax + 4]
mov dword [ebp - 0x560], eax
test esi, esi
je 0x1000b1b8
cmp dword [ebp - 0x56c], eax
jae 0x1000b4f8
lea esi, [esi]
mov dword [ebp - 0x54c], 0x104
xor eax, eax
add edi, 1
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x54c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x558]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegEnumKeyExW]
sub esp, 0x20
test eax, eax
jne 0x1000b550
mov dword [esp + 4], str.winprint
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_lstrcmpiW]
sub esp, 8
test eax, eax
je 0x1000b550
test byte [0x100131d8], 8
jne 0x1000b2f8
lea eax, [ebp - 0x554]
xor edx, edx
mov dword [esp + 4], ebx
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x558]
mov dword [ebp - 0x550], 0x208
mov word [ebp - 0x214], dx
mov dword [esp + 0xc], 0x20019
mov dword [esp + 8], 0
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
sub esp, 0x14
test eax, eax
jne 0x1000b170
lea eax, [ebp - 0x550]
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x214]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x554]
mov dword [esp + 8], 0
mov dword [esp + 4], str.Driver
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
jne 0x1000b2dd
test byte [0x100131d8], 8
jne 0x1000b5c0
mov eax, dword [ebp - 0x554]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
jmp 0x1000b170
mov eax, dword [ebp - 0x574]
test eax, eax
je 0x1000b6e8
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, str._invalid_
sub esp, 8
test eax, eax
jne 0x1000b41c
cmp word [ebp - 0x41c], 0
je 0x1000b6c0
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ebx + edx*2 + 2], 0
jne 0x1000b338
mov ecx, 0x224c
mov dword [ebp - 0x55c], edx
mov esi, ebx
mov word [ebp - 0x548], cx
lea ecx, [ebp - 0x546]
mov dword [ebp - 0x578], edi
jmp 0x1000b3ad
cmp ax, 9
je 0x1000b458
cmp ax, 0xa
jne 0x1000b48e
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
mov edx, dword [ebp - 0x55c]
lea edi, [ebp - 0x426]
lea eax, [edx - 1]
cmp ecx, edi
ja 0x1000b3e8
test edx, edx
jle 0x1000b3e8
mov dword [ebp - 0x55c], eax
movzx eax, word [esi]
add esi, 2
cmp ax, 0xd
je 0x1000b470
jbe 0x1000b370
cmp ax, 0x22
je 0x1000b4e0
cmp ax, 0x5c
jne 0x1000b481
mov edi, 0x5c5c
add ecx, 2
mov word [ecx - 2], di
jmp 0x1000b390
mov byte [ecx], 0x22
mov edi, dword [ebp - 0x578]
test eax, eax
jle 0x1000b6d9
mov esi, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], si
mov byte [eax], 0
lea eax, [ebp - 0x548]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edx, eax
mov eax, dword [ebp - 0x564]
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], str.PrintProcessor__ld:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.get_local_printprocessors
mov dword [esp + 4], 0x100131d8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000b243
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1000b390
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1000b390
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x1000b5b0
mov edi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr di, 0xc
movzx edi, di
movzx edx, byte [edi + str.0123456789abcdefcopy_servername_from_name]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ecx - 4], dl
movzx edx, byte [edi + str.0123456789abcdefcopy_servername_from_name]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdefcopy_servername_from_name]
and edi, 0xf
mov byte [ecx - 3], dl
movzx edx, byte [edi + str.0123456789abcdefcopy_servername_from_name]
mov byte [ecx - 1], al
mov byte [ecx - 2], dl
jmp 0x1000b390
mov eax, 0x225c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1000b390
add esi, 4
test byte [0x100131d8], 8
jne 0x1000b750
mov eax, dword [ebp - 0x568]
mov edx, dword [ebp - 0x570]
mov dword [ebp - 0x55c], ecx
mov dword [eax], edx
mov ecx, edx
xor eax, eax
movzx edx, word [ebx + eax]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x1000b520
mov ecx, dword [ebp - 0x55c]
mov dword [ebp - 0x568], esi
add dword [ebp - 0x570], ecx
jmp 0x1000b1b8
mov eax, dword [ebp - 0x558]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 0x564]
mov dword [eax], ebx
test byte [0x100131d8], 8
jne 0x1000b708
mov eax, dword [ebp - 0x560]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebp - 0x564], 0
mov dword [ebp - 0x560], 0
jmp 0x1000b562
mov byte [ecx], al
add ecx, 1
jmp 0x1000b390
mov eax, dword [ebp - 0x57c]
test eax, eax
je 0x1000b7e0
lea eax, [ebp - 0x214]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, str._invalid_
sub esp, 8
test eax, eax
jne 0x1000b805
cmp word [ebp - 0x214], 0
je 0x1000b91a
nop
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ebp + edx*2 - 0x212], 0
jne 0x1000b608
mov esi, 0x224c
mov dword [ebp - 0x578], edi
lea ecx, [ebp - 0x546]
mov word [ebp - 0x548], si
lea esi, [ebp - 0x214]
mov dword [ebp - 0x55c], edx
jmp 0x1000b685
cmp ax, 9
je 0x1000b8c0
cmp ax, 0xa
jne 0x1000b83f
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
mov edi, dword [ebp - 0x55c]
lea eax, [edi - 1]
test edi, edi
jle 0x1000b8d8
lea edi, [ebp - 0x426]
cmp ecx, edi
ja 0x1000b8d8
mov dword [ebp - 0x55c], eax
movzx eax, word [esi]
add esi, 2
cmp ax, 0xd
je 0x1000b8a8
jbe 0x1000b640
cmp ax, 0x22
je 0x1000b890
cmp ax, 0x5c
jne 0x1000b832
mov edi, 0x5c5c
add ecx, 2
mov word [ecx - 2], di
jmp 0x1000b660
mov eax, 0x224c
mov byte [ebp - 0x546], 0x22
lea ecx, [ebp - 0x546]
mov word [ebp - 0x548], ax
lea eax, [ecx + 1]
jmp 0x1000b409
movzx eax, bx
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0_1
mov edx, eax
jmp 0x1000b41c
mov eax, dword [ebp - 0x560]
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], str.need__ld_byte_for__ld_entries_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.get_local_printprocessors
mov dword [esp + 4], 0x100131d8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
mov eax, dword [ebp - 0x560]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x564]
mov dword [esp + 0xc], str._p:_writing_PRINTPROCESSOR_INFO_1W__ld_n
mov dword [esp + 8], str.get_local_printprocessors
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x568]
mov dword [esp + 4], 0x100131d8
mov dword [esp + 0x10], eax
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
mov eax, dword [ebp - 0x54c]
lea ecx, [eax + eax + 2]
jmp 0x1000b508
mov eax, dword [ebp - 0x568]
mov dword [esp + 0x14], 1
mov dword [esp + 0xc], str._p:_writing_PRINTPROCESSOR_INFO_1W__ld_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.get_local_printprocessors
mov dword [esp + 4], 0x100131d8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000b100
lea eax, [ebp - 0x214]
mov dword [esp], str._04x
mov dword [ebp - 0x55c], eax
movzx eax, word [ebp - 0x55c]
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0_1
mov edx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.using_Driver:__s_n
mov dword [esp + 8], str.get_local_printprocessors
mov dword [esp + 4], 0x100131d8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000b2dd
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x1000b910
mov edi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr di, 0xc
movzx edi, di
movzx edx, byte [edi + str.0123456789abcdefcopy_servername_from_name]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ecx - 4], dl
movzx edx, byte [edi + str.0123456789abcdefcopy_servername_from_name]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdefcopy_servername_from_name]
and edi, 0xf
mov byte [ecx - 3], dl
movzx edx, byte [edi + str.0123456789abcdefcopy_servername_from_name]
mov byte [ecx - 1], al
mov byte [ecx - 2], dl
jmp 0x1000b660
mov eax, 0x225c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1000b660
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1000b660
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1000b660
mov byte [ecx], 0x22
mov edi, dword [ebp - 0x578]
test eax, eax
jle 0x1000b933
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x548]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edx, eax
jmp 0x1000b805
mov byte [ecx], al
add ecx, 1
jmp 0x1000b660
mov eax, 0x224c
mov byte [ebp - 0x546], 0x22
lea ecx, [ebp - 0x546]
mov word [ebp - 0x548], ax
lea eax, [ecx + 1]
jmp 0x1000b8f5