Function at 0x1000c3c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, ecx
lea ecx, [ebp - 0x1dc]
sub esp, 0x214
call sym._MMDevPropStore_OpenPropKey
mov esi, eax
test eax, eax
js 0x1000c4f4
mov eax, dword [ebx + 0x10]
lea edi, [ebp - 0x1e0]
mov dword [esp + 0x34], eax
movzx eax, byte [ebx + 0xf]
mov dword [esp + 0x30], eax
movzx eax, byte [ebx + 0xe]
mov dword [esp + 0x2c], eax
movzx eax, byte [ebx + 0xd]
mov dword [esp + 0x28], eax
movzx eax, byte [ebx + 0xc]
mov dword [esp + 0x24], eax
movzx eax, byte [ebx + 0xb]
mov dword [esp + 0x20], eax
movzx eax, byte [ebx + 0xa]
mov dword [esp + 0x1c], eax
movzx eax, byte [ebx + 9]
mov dword [esp + 0x18], eax
movzx eax, byte [ebx + 8]
mov dword [esp + 0x14], eax
movzx eax, word [ebx + 6]
mov dword [esp + 0x10], eax
movzx eax, word [ebx + 4]
mov dword [esp + 0xc], eax
mov eax, dword [ebx]
lea ebx, [ebp - 0x1d8]
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], ebx
call dword [sym.imp.user32.dll_wsprintfW]
lea eax, [ebp - 0x1e4]
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x1dc]
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], ebx
mov dword [esp + 4], 0
mov dword [ebp - 0x1e8], eax
call eax
sub esp, 0x1c
mov edx, eax
test eax, eax
jne 0x1000c500
mov eax, dword [ebp - 0x1e4]
cmp eax, 3
je 0x1000c5d0
cmp eax, 4
je 0x1000c5a0
cmp eax, 1
je 0x1000c538
test byte [0x10018114], 2
jne 0x1000c710
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._PropVariantClear_4
sub esp, 4
mov eax, dword [ebp - 0x1dc]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
test byte [0x10018114], 4
jne 0x1000c620
mov eax, dword [ebp - 0x1dc]
xor esi, esi
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, esi
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 - 0x1e0]
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 0x1000c8a8
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 2
mov eax, dword [ebp - 0x1dc]
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, dword [ebp - 0x1e8]
call eax
sub esp, 0x1c
jmp 0x1000c4e2
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 0x1000c57b
mov eax, dword [ebp + 8]
mov edx, 0x41
mov word [eax], dx
mov eax, dword [ebp - 0x1e0]
mov edx, dword [ebp + 8]
mov dword [edx + 8], eax
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov ecx, dword [ebp + 8]
sub esp, 4
mov dword [ecx + 0xc], eax
test eax, eax
je 0x1000c8a8
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 8
jmp 0x1000c57b
mov eax, ebx
mov dword [ebp - 0x1e8], edx
shr eax, 0x10
je 0x1000c740
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, dword [ebp - 0x1e8]
mov ecx, 0x1001afc7
sub esp, 8
test eax, eax
jne 0x1000c75b
cmp word [ebp - 0x1d8], 0
je 0x1000c88a
lea esi, [esi]
lea edi, [edi]
mov ecx, eax
lea eax, [eax + 1]
cmp word [ebx + ecx*2 + 2], 0
jne 0x1000c670
mov eax, 0x224c
mov dword [ebp - 0x1e8], edx
lea esi, [ebp - 0x136]
mov word [ebp - 0x138], ax
jmp 0x1000c6d8
cmp ax, 9
je 0x1000c820
cmp ax, 0xa
jne 0x1000c799
mov eax, 0x6e5c
add esi, 2
mov word [esi - 2], ax
lea edi, [ebp - 0x16]
lea eax, [ecx - 1]
cmp esi, edi
ja 0x1000c838
test ecx, ecx
jle 0x1000c838
mov ecx, eax
movzx eax, word [ebx]
add ebx, 2
cmp ax, 0xd
je 0x1000c808
jbe 0x1000c6a0
cmp ax, 0x22
je 0x1000c7f0
cmp ax, 0x5c
jne 0x1000c78c
mov edi, 0x5c5c
add esi, 2
mov word [esi - 2], di
jmp 0x1000c6c0
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], 0x10018114
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_3
jmp 0x1000c4d4
movzx ebx, bx
mov dword [esp], 0x1001afd1
mov dword [esp + 4], ebx
call sym._wine_dbg_sprintf_3
mov edx, dword [ebp - 0x1e8]
mov ecx, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], str.Reading__s_returned__ld_n
mov dword [esp + 8], str.MMDevice_GetPropValue
mov dword [esp + 4], 0x10018114
mov dword [esp], 2
call sym._wine_dbg_log.constprop.3
jmp 0x1000c50d
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x1000c880
mov edi, eax
mov byte [esi], 0x5c
add esi, 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 [esi - 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 [esi - 3], dl
movzx edx, byte [edi + str.0123456789abcdefMMDevPropStore_OpenPropKey]
mov byte [esi - 1], al
mov byte [esi - 2], dl
jmp 0x1000c6c0
mov eax, 0x225c
add esi, 2
mov word [esi - 2], ax
jmp 0x1000c6c0
mov eax, 0x725c
add esi, 2
mov word [esi - 2], ax
jmp 0x1000c6c0
mov eax, 0x745c
add esi, 2
mov word [esi - 2], ax
jmp 0x1000c6c0
mov byte [esi], 0x22
mov edx, dword [ebp - 0x1e8]
test eax, eax
jle 0x1000c8a3
mov ebx, 0x2e2e
mov byte [esi + 3], 0x2e
lea eax, [esi + 4]
mov word [esi + 1], bx
mov byte [eax], 0
lea eax, [ebp - 0x138]
mov dword [esp], eax
mov dword [ebp - 0x1e8], edx
call sym.___wine_dbg_strdup
mov edx, dword [ebp - 0x1e8]
mov ecx, eax
jmp 0x1000c75b
mov byte [esi], al
add esi, 1
jmp 0x1000c6c0
mov ecx, 0x224c
mov byte [ebp - 0x136], 0x22
lea esi, [ebp - 0x136]
mov word [ebp - 0x138], cx
lea eax, [esi + 1]
jmp 0x1000c855
mov esi, 0x8007000e
jmp 0x1000c4e2