Function at 0x100060d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x408
call dword [sym.imp.user32.dll_GetDesktopWindow]
mov dword [esp + 4], str.__wine_display_device_guid
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetPropW]
sub esp, 8
test eax, eax
je 0x10006318
mov esi, str.SystemCurrentControlSetControlVideo
lea edi, [ebp - 0x3f0]
mov ecx, 0x14
mov edx, eax
rep movsd dword es:[edi], dword [esi]
movzx eax, word [esi]
mov word [edi], ax
lea eax, [ebp - 0x3f0]
nop
add eax, 2
cmp word [eax], 0
jne 0x10006120
movzx edx, dx
mov dword [esp + 8], 0x28
mov dword [esp + 4], eax
mov dword [esp], edx
call dword [sym.imp.kernel32.dll_GlobalGetAtomNameW]
sub esp, 0xc
test eax, eax
je 0x10006318
cmp word [ebp - 0x3f0], 0
lea edx, [ebp - 0x3f0]
je 0x10006169
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x10006160
xor eax, eax
mov ecx, 0x7d
jmp 0x1000617f
movzx ecx, word [eax + str.0000]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x10006178
lea eax, [ebp - 0x3f8]
mov dword [esp], 0x80000002
mov dword [esp + 8], eax
lea eax, [ebp - 0x3f0]
mov dword [esp + 4], eax
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
sub esp, 0xc
test eax, eax
jne 0x10006318
lea eax, [ebp - 0x3f4]
lea ebx, [ebp - 0x214]
mov dword [ebp - 0x3f4], 0x208
xor esi, esi
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x3f8]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.GraphicsDriver
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
je 0x10006390
mov eax, dword [ebp - 0x3f8]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
test byte [0x10007068], 8
je 0x1000631a
mov eax, ebx
shr eax, 0x10
je 0x10006449
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, eax
sub esp, 8
mov eax, str._invalid_
test ecx, ecx
jne 0x10006350
movzx eax, word [ebp - 0x214]
test ax, ax
je 0x10006469
lea esi, [esi]
lea esi, [esi]
mov edx, ecx
lea ecx, [ecx + 1]
cmp word [ebx + edx*2 + 2], 0
jne 0x10006270
mov ecx, 0x224c
mov dword [ebp - 0x3fc], ebx
mov word [ebp - 0x340], cx
lea ecx, [ebp - 0x33e]
jmp 0x100062dc
cmp ax, 9
je 0x10006438
cmp ax, 0xa
jne 0x100063b0
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea eax, [ebp - 0x21e]
lea edi, [edx - 1]
cmp ecx, eax
ja 0x10006324
test edx, edx
jle 0x10006324
mov eax, dword [ebp - 0x3fc]
mov edx, edi
movzx eax, word [eax]
add dword [ebp - 0x3fc], 2
cmp ax, 0xd
je 0x10006420
jbe 0x100062a0
cmp ax, 0x22
je 0x10006408
cmp ax, 0x5c
jne 0x100063a3
mov eax, 0x5c5c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x100062c0
xor esi, esi
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov byte [ecx], 0x22
test edi, edi
jle 0x10006482
mov edi, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], di
mov byte [eax], 0
lea eax, [ebp - 0x340]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str._s__p_n
mov dword [esp + 8], str.load_graphics_driver
mov dword [esp + 4], 0x10007068
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_LoadLibraryW]
sub esp, 4
mov esi, eax
jmp 0x10006209
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x10006461
mov edi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + str.0123456789abcdef0123456789abcdef0123456789abcdef]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [edi + str.0123456789abcdef0123456789abcdef0123456789abcdef]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdef0123456789abcdef0123456789abcdef]
and edi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [edi + str.0123456789abcdef0123456789abcdef0123456789abcdef]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x100062c0
mov eax, 0x225c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x100062c0
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x100062c0
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x100062c0
movzx ebx, bx
mov dword [esp], str._04x
mov dword [esp + 4], ebx
call sym._wine_dbg_sprintf.constprop.0_1
jmp 0x10006350
mov byte [ecx], al
inc ecx
jmp 0x100062c0
mov ebx, 0x224c
mov byte [ebp - 0x33e], 0x22
lea ecx, [ebp - 0x33e]
mov word [ebp - 0x340], bx
lea eax, [ecx + 1]
jmp 0x1000633f