Function at 0x6acc5970
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
lea ecx, [ebp - 0x1e8]
push ebx
sub esp, 0x23c
call sym._MMDevPropStore_OpenPropKey
mov ebx, eax
test eax, eax
js 0x6acc5aa0
mov eax, dword [esi + 0x10]
lea edi, [ebp - 0x1ec]
mov dword [esp + 0x34], eax
movzx eax, byte [esi + 0xf]
mov dword [esp + 0x30], eax
movzx eax, byte [esi + 0xe]
mov dword [esp + 0x2c], eax
movzx eax, byte [esi + 0xd]
mov dword [esp + 0x28], eax
movzx eax, byte [esi + 0xc]
mov dword [esp + 0x24], eax
movzx eax, byte [esi + 0xb]
mov dword [esp + 0x20], eax
movzx eax, byte [esi + 0xa]
mov dword [esp + 0x1c], eax
movzx eax, byte [esi + 9]
mov dword [esp + 0x18], eax
movzx eax, byte [esi + 8]
mov dword [esp + 0x14], eax
movzx eax, word [esi + 6]
mov dword [esp + 0x10], eax
movzx eax, word [esi + 4]
mov dword [esp + 0xc], eax
mov eax, dword [esi]
lea esi, [ebp - 0x1e4]
mov dword [esp + 4], str._08X__04X__04X__02X_02X__02X_02X_02X_02X_02X_02X__d
mov dword [esp + 8], eax
mov dword [esp], esi
call dword [sym.imp.user32.dll_wsprintfW]
lea eax, [ebp - 0x1f0]
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x1e8]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov eax, dword [sym.imp.advapi32.dll_RegGetValueW]
mov dword [esp + 0xc], 0xffff
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [ebp - 0x1fc], eax
call eax
sub esp, 0x1c
mov edx, eax
test eax, eax
jne 0x6acc5ab0
mov eax, dword [ebp - 0x1f0]
cmp eax, 3
je 0x6acc5b80
cmp eax, 4
je 0x6acc5b50
cmp eax, 1
je 0x6acc5ae8
test byte [0x6acd00b4], 2
jne 0x6acc5cc0
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._PropVariantClear_4
sub esp, 4
mov eax, dword [ebp - 0x1e8]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
test byte [0x6acd00b4], 4
jne 0x6acc5bd0
mov eax, dword [ebp - 0x1e8]
xor ebx, ebx
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
xor ecx, ecx
sub esp, 4
mov word [eax], cx
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 8]
mov edx, 0x1f
mov word [eax], dx
mov eax, dword [ebp - 0x1ec]
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov ecx, dword [ebp + 8]
sub esp, 4
mov dword [ecx + 8], eax
test eax, eax
je 0x6acc5e56
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 2
mov eax, dword [ebp - 0x1e8]
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, dword [ebp - 0x1fc]
call eax
sub esp, 0x1c
jmp 0x6acc5a8e
mov eax, dword [ebp + 8]
mov ecx, 0x13
mov word [eax], cx
add eax, 8
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x10
jmp 0x6acc5b2b
mov eax, dword [ebp + 8]
mov edx, 0x41
mov ecx, dword [ebp + 8]
mov word [eax], dx
mov eax, dword [ebp - 0x1ec]
mov dword [ecx + 8], eax
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov edx, dword [ebp + 8]
sub esp, 4
mov dword [edx + 0xc], eax
test eax, eax
je 0x6acc5e56
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 8
jmp 0x6acc5b2b
mov eax, esi
mov dword [ebp - 0x1fc], edx
shr eax, 0x10
je 0x6acc5cf0
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, dword [ebp - 0x1fc]
mov ebx, eax
sub esp, 8
mov eax, 0x6acd2581
test ebx, ebx
jne 0x6acc5d09
movzx eax, word [ebp - 0x1e4]
test ax, ax
je 0x6acc5e38
lea esi, [esi]
mov ecx, ebx
lea ebx, [ebx + 1]
cmp word [esi + ecx*2 + 2], 0
jne 0x6acc5c20
mov ebx, 0x224c
mov dword [ebp - 0x1fc], edx
mov word [ebp - 0x144], bx
lea ebx, [ebp - 0x142]
jmp 0x6acc5c8b
cmp ax, 9
je 0x6acc5dd0
cmp ax, 0xa
jne 0x6acc5d47
mov eax, 0x6e5c
add ebx, 2
mov word [ebx - 2], ax
lea eax, [ebp - 0x22]
lea edi, [ecx - 1]
cmp ebx, eax
ja 0x6acc5de8
test ecx, ecx
jle 0x6acc5de8
movzx eax, word [esi]
mov ecx, edi
add esi, 2
cmp ax, 0xd
je 0x6acc5db8
jbe 0x6acc5c50
cmp ax, 0x22
je 0x6acc5da0
cmp ax, 0x5c
jne 0x6acc5d3a
mov edi, 0x5c5c
add ebx, 2
mov word [ebx - 2], di
jmp 0x6acc5c70
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Unknown_unhandled_type:__lu_n
mov dword [esp + 8], str.MMDevice_GetPropValue
mov dword [esp + 4], 0x6acd00b4
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x6acc5a80
movzx esi, si
mov dword [esp], 0x6acd2616
mov dword [esp + 4], esi
call sym._wine_dbg_sprintf_1
mov edx, dword [ebp - 0x1fc]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Reading__s_returned__ld_n
mov dword [esp + 8], str.MMDevice_GetPropValue
mov dword [esp + 4], 0x6acd00b4
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x6acc5abd
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x6acc5e30
mov edi, eax
mov byte [ebx], 0x5c
add ebx, 5
shr di, 0xc
movzx edi, di
movzx edx, byte [edi + str.0123456789abcdefMMDevPropStore_OpenPropKey]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ebx - 4], dl
movzx edx, byte [edi + str.0123456789abcdefMMDevPropStore_OpenPropKey]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdefMMDevPropStore_OpenPropKey]
and edi, 0xf
mov byte [ebx - 3], dl
movzx edx, byte [edi + str.0123456789abcdefMMDevPropStore_OpenPropKey]
mov byte [ebx - 1], al
mov byte [ebx - 2], dl
jmp 0x6acc5c70
mov eax, 0x225c
add ebx, 2
mov word [ebx - 2], ax
jmp 0x6acc5c70
mov eax, 0x725c
add ebx, 2
mov word [ebx - 2], ax
jmp 0x6acc5c70
mov eax, 0x745c
add ebx, 2
mov word [ebx - 2], ax
jmp 0x6acc5c70
mov byte [ebx], 0x22
mov edx, dword [ebp - 0x1fc]
test edi, edi
jle 0x6acc5e51
mov esi, 0x2e2e
mov byte [ebx + 3], 0x2e
lea eax, [ebx + 4]
mov word [ebx + 1], si
mov byte [eax], 0
lea eax, [ebp - 0x144]
mov dword [esp], eax
mov dword [ebp - 0x1fc], edx
call sym.___wine_dbg_strdup
mov edx, dword [ebp - 0x1fc]
jmp 0x6acc5d09
mov byte [ebx], al
inc ebx
jmp 0x6acc5c70
mov esi, 0x224c
mov byte [ebp - 0x142], 0x22
lea ebx, [ebp - 0x142]
mov word [ebp - 0x144], si
lea eax, [ebx + 1]
jmp 0x6acc5e05
mov ebx, 0x8007000e
jmp 0x6acc5a8e