Function at 0x6b805b50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x42c
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 0x6b805d98
mov esi, str.SystemCurrentControlSetControlVideo
lea edi, [ebp - 0x3fc]
mov ecx, 0x14
mov edx, eax
rep movsd dword es:[edi], dword [esi]
movzx eax, word [esi]
mov word [edi], ax
lea eax, [ebp - 0x3fc]
nop
add eax, 2
cmp word [eax], 0
jne 0x6b805ba0
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 0x6b805d98
cmp word [ebp - 0x3fc], 0
lea edx, [ebp - 0x3fc]
je 0x6b805be9
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x6b805be0
xor eax, eax
mov ecx, 0x7d
jmp 0x6b805bff
movzx ecx, word [eax + str.0000]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x6b805bf8
lea eax, [ebp - 0x404]
mov dword [esp], 0x80000002
mov dword [esp + 8], eax
lea eax, [ebp - 0x3fc]
mov dword [esp + 4], eax
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
sub esp, 0xc
test eax, eax
jne 0x6b805d98
lea eax, [ebp - 0x400]
lea ebx, [ebp - 0x220]
mov dword [ebp - 0x400], 0x208
xor esi, esi
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x404]
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 0x6b805e10
mov eax, dword [ebp - 0x404]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
test byte [0x6b808080], 8
je 0x6b805d9a
mov eax, ebx
shr eax, 0x10
je 0x6b805ec9
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 0x6b805dd0
movzx eax, word [ebp - 0x220]
test ax, ax
je 0x6b805ee9
lea esi, [esi]
lea esi, [esi]
mov edx, ecx
lea ecx, [ecx + 1]
cmp word [ebx + edx*2 + 2], 0
jne 0x6b805cf0
mov ecx, 0x224c
mov dword [ebp - 0x40c], ebx
mov word [ebp - 0x34c], cx
lea ecx, [ebp - 0x34a]
jmp 0x6b805d5c
cmp ax, 9
je 0x6b805eb8
cmp ax, 0xa
jne 0x6b805e30
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea eax, [ebp - 0x22a]
lea edi, [edx - 1]
cmp ecx, eax
ja 0x6b805da4
test edx, edx
jle 0x6b805da4
mov eax, dword [ebp - 0x40c]
mov edx, edi
movzx eax, word [eax]
add dword [ebp - 0x40c], 2
cmp ax, 0xd
je 0x6b805ea0
jbe 0x6b805d20
cmp ax, 0x22
je 0x6b805e88
cmp ax, 0x5c
jne 0x6b805e23
mov eax, 0x5c5c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x6b805d40
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 0x6b805f02
mov edi, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], di
mov byte [eax], 0
lea eax, [ebp - 0x34c]
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], 0x6b80bae0
mov dword [esp + 4], 0x6b808080
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 0x6b805c89
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x6b805ee1
mov edi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + str.0123456789abcdefload_graphics_driver]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [edi + str.0123456789abcdefload_graphics_driver]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdefload_graphics_driver]
and edi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [edi + str.0123456789abcdefload_graphics_driver]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x6b805d40
mov eax, 0x225c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x6b805d40
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x6b805d40
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x6b805d40
movzx ebx, bx
mov dword [esp], str._04x
mov dword [esp + 4], ebx
call sym._wine_dbg_sprintf.constprop.0_1
jmp 0x6b805dd0
mov byte [ecx], al
inc ecx
jmp 0x6b805d40
mov ebx, 0x224c
mov byte [ebp - 0x34a], 0x22
lea ecx, [ebp - 0x34a]
mov word [ebp - 0x34c], bx
lea eax, [ecx + 1]
jmp 0x6b805dbf