Function at 0x10007230
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x188
mov edi, dword [ebp + 0xc]
test byte [0x1000a04c], 8
jne 0x10007600
test edi, edi
je 0x10007d98
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10007d98
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
cmp eax, 1
je 0x100075a0
cmp eax, 2
jne 0x100073a0
mov dword [esp + 4], str.FriendlyName
mov ebx, dword [sym.imp.ucrtbase.dll_wcscmp]
mov dword [esp], edi
call ebx
test eax, eax
je 0x100077e8
mov dword [esp + 4], str.FilterData
mov dword [esp], edi
call ebx
test eax, eax
jne 0x10007da2
lea edi, [ebp - 0x138]
mov ecx, 0xe
xor edx, edx
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x164], edi
mov esi, 1
rep stosd dword es:[edi], eax
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0
jmp 0x1000730c
mov ecx, dword [ebp - 0x150]
cmp ecx, edi
je 0x10007308
mov edx, dword [ebp - 0x14c]
cmp edx, edi
jne 0x10007900
mov esi, edi
mov edx, ebx
mov eax, esi
mov dword [esp], edx
lea edi, [esi + esi]
shl eax, 7
mov dword [ebp - 0x160], edx
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_realloc]
mov edx, dword [ebp - 0x160]
test eax, eax
mov ebx, eax
je 0x10007dc5
mov eax, esi
mov dword [esp + 0x10], edi
shl eax, 6
mov dword [esp + 0xc], ebx
add eax, ebx
mov dword [esp + 4], edi
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x14c]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x150]
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
sub eax, 0x10
mov dword [esp], eax
call sym._DMOGetTypes_28
sub esp, 0x1c
test eax, eax
jns 0x100072f0
mov dword [ebp - 0x160], eax
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_free]
mov edx, dword [ebp - 0x160]
lea esp, [ebp - 0xc]
pop ebx
pop esi
mov eax, edx
pop edi
pop ebp
ret 0x10
lea eax, [ebp - 0x138]
mov dword [esp + 4], str.CLSID_
mov dword [ebp - 0x164], eax
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscpy]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1c]
test eax, eax
jne 0x10007840
lea eax, [ebp - 0x154]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x164]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0x80000000
mov ebx, dword [sym.imp.advapi32.dll_RegOpenKeyExW]
call ebx
sub esp, 0x14
mov edx, eax
test eax, eax
jne 0x10007580
lea eax, [ebp - 0x150]
mov dword [esp + 0xc], 0x20019
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], 0
mov eax, dword [eax - 0x14]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x154]
mov dword [esp], eax
call ebx
mov ebx, dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x154]
sub esp, 0x14
mov dword [esp], eax
call ebx
mov edx, dword [ebp - 0x160]
sub esp, 4
test edx, edx
jne 0x10007580
lea eax, [ebp - 0x15c]
mov dword [esp + 0x10], 0
mov esi, dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x150]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], eax
call esi
sub esp, 0x18
test eax, eax
jne 0x10007560
mov eax, dword [ebp - 0x15c]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
lea ecx, [ebp - 0x15c]
mov dword [esp + 4], edi
mov dword [ebp - 0x160], eax
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x158]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x150]
mov dword [esp + 0x14], ecx
mov dword [esp + 8], 0
mov dword [esp], eax
call esi
mov dword [ebp - 0x164], eax
mov edx, eax
mov eax, dword [ebp - 0x150]
sub esp, 0x18
mov dword [esp], eax
test edx, edx
jne 0x10007b10
call ebx
mov eax, dword [ebp - 0x158]
mov edx, dword [ebp - 0x164]
sub esp, 4
cmp eax, 3
je 0x10007b3c
cmp eax, 4
je 0x10007c67
cmp eax, 1
je 0x10007c0c
test byte [0x1000a04c], 1
jne 0x10007aba
mov eax, dword [ebp - 0x160]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov edx, 0x80004001
jmp 0x1000758d
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x150]
mov dword [esp], eax
call ebx
mov edx, dword [ebp - 0x160]
sub esp, 4
lea esi, [esi]
movzx eax, dx
or eax, 0x80070000
test edx, edx
cmovg edx, eax
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
lea eax, [ebp - 0x138]
mov dword [esp + 4], str.SoftwareMicrosoftActiveMoviedevenum_
mov dword [ebp - 0x164], eax
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscpy]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1c]
test eax, eax
jne 0x10007890
lea eax, [ebp - 0x154]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x164]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0x80000001
jmp 0x100073f6
test edi, edi
je 0x10007ab0
mov eax, edi
shr eax, 0x10
je 0x100076e0
mov dword [esp + 4], 0xffffffff
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, 0x1000c708
sub esp, 8
test eax, eax
jne 0x100076f5
cmp word [edi], 0
je 0x10007ae7
nop
mov edx, eax
lea eax, [eax + 1]
cmp word [edi + edx*2 + 2], 0
jne 0x10007640
mov ecx, 0x224c
mov esi, edi
mov word [ebp - 0x138], cx
lea ecx, [ebp - 0x136]
jmp 0x100076a8
cmp ax, 9
je 0x10007740
cmp ax, 0xa
jne 0x10007776
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
nop
lea esi, [esi]
lea ebx, [ebp - 0x16]
lea eax, [edx - 1]
cmp ecx, ebx
ja 0x100078c8
test edx, edx
jle 0x100078c8
mov edx, eax
movzx eax, word [esi]
add esi, 2
cmp ax, 0xd
je 0x10007758
jbe 0x10007668
cmp ax, 0x22
je 0x100077d0
cmp ax, 0x5c
jne 0x10007769
mov eax, 0x5c5c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10007690
movzx eax, di
mov dword [esp], 0x1000c712
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_2
mov edx, eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], str.moniker__p__name__s__var__p__errorlog__p._n
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], str.property_bag_Read
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0x1000a04c
sub eax, 0x34
mov dword [esp], 3
mov dword [esp + 0x10], eax
call sym._wine_dbg_log.constprop.0_2
jmp 0x1000724c
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10007690
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10007690
lea ebx, [eax - 0x20]
cmp bx, 0x5e
jbe 0x10007aa0
mov ebx, eax
mov byte [ecx], 0x5c
add ecx, 5
shr bx, 0xc
movzx ebx, bx
movzx ebx, byte [ebx + str.0123456789abcdefproperty_bag_Write]
mov byte [ecx - 4], bl
mov ebx, eax
shr bx, 8
and ebx, 0xf
movzx ebx, byte [ebx + str.0123456789abcdefproperty_bag_Write]
mov byte [ecx - 3], bl
mov ebx, eax
and eax, 0xf
shr bx, 4
movzx eax, byte [eax + str.0123456789abcdefproperty_bag_Write]
and ebx, 0xf
movzx ebx, byte [ebx + str.0123456789abcdefproperty_bag_Write]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x10007690
mov eax, 0x225c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10007690
mov eax, dword [ebp + 8]
lea ebx, [ebp - 0x138]
mov dword [esp + 4], ebx
sub eax, 0x10
mov dword [esp], eax
call sym._DMOGetName_8
sub esp, 8
mov edx, eax
test eax, eax
js 0x1000758d
mov dword [ebp - 0x160], eax
mov eax, dword [ebp + 0x10]
mov edx, 8
mov word [eax], dx
mov dword [esp], ebx
call dword [sym.imp.oleaut32.dll_SysAllocString]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x160]
sub esp, 4
mov dword [ecx + 8], eax
jmp 0x1000758d
mov esi, dword [ebp - 0x164]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_wcslen]
mov dword [esp + 8], 0x27
lea eax, [esi + eax*2]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
sub eax, 0x2c
mov dword [esp], eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
sub esp, 0xc
mov dword [esp + 4], str.Instance
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_wcscat]
jmp 0x100073cb
mov esi, dword [ebp - 0x164]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_wcslen]
mov dword [esp + 8], 0x27
lea eax, [esi + eax*2]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
sub eax, 0x2c
mov dword [esp], eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
sub esp, 0xc
jmp 0x100075cb
mov byte [ecx], 0x22
test eax, eax
jle 0x10007b00
mov ebx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], bx
mov byte [eax], 0
lea eax, [ebp - 0x138]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edx, eax
jmp 0x100076f5
mov dword [ebp - 0x170], eax
mov eax, esi
shl eax, 5
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x174], ecx
mov dword [ebp - 0x16c], edi
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov edx, dword [ebp - 0x170]
test eax, eax
mov dword [ebp - 0x168], eax
je 0x10007e48
mov ecx, dword [ebp - 0x174]
test ecx, ecx
je 0x10007994
mov edi, ecx
mov dword [ebp - 0x170], ecx
mov edx, dword [ebp - 0x168]
mov eax, ebx
shl edi, 5
mov dword [ebp - 0x174], esi
add edi, ebx
mov esi, edi
mov edi, dword [ebp - 0x16c]
mov esi, esi
lea edi, [edi]
mov dword [edx], eax
lea ecx, [eax + 0x10]
add eax, 0x20
add edx, 8
mov dword [edx - 4], ecx
cmp esi, eax
jne 0x10007970
mov dword [ebp - 0x16c], edi
mov ecx, dword [ebp - 0x170]
mov esi, dword [ebp - 0x174]
mov eax, dword [ebp - 0x160]
test eax, eax
je 0x100079f0
mov edx, esi
mov edi, dword [ebp - 0x16c]
mov dword [ebp - 0x16c], ecx
shl edx, 6
add edi, dword [ebp - 0x160]
lea eax, [edx + ebx]
mov edx, dword [ebp - 0x168]
mov dword [ebp - 0x170], eax
mov eax, esi
shl eax, 4
lea edi, [edx + edi*8]
add eax, edx
mov edx, dword [ebp - 0x170]
lea esi, [esi]
lea ecx, [edx + 0x10]
mov dword [eax], edx
add eax, 8
add edx, 0x20
mov dword [eax - 4], ecx
cmp eax, edi
jne 0x100079d8
mov ecx, dword [ebp - 0x16c]
mov eax, dword [ebp - 0x160]
mov edi, dword [ebp - 0x168]
shl esi, 4
mov dword [ebp - 0x130], ecx
mov dword [ebp - 0x134], 1
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x164]
add esi, edi
mov dword [ebp - 0x110], esi
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0x148]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x12c], edi
mov dword [esp], eax
mov dword [ebp - 0x11c], 8
mov dword [ebp - 0x118], 1
mov dword [ebp - 0x148], 2
mov dword [ebp - 0x144], 0x600800
mov dword [ebp - 0x140], 2
call sym._create_filter_data
mov esi, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], edi
mov dword [ebp - 0x160], eax
call esi
mov dword [esp], ebx
call esi
mov edx, dword [ebp - 0x160]
jmp 0x1000758d
mov byte [ecx], al
add ecx, 1
jmp 0x10007690
mov edx, 0x1000c701
jmp 0x100076f5
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Unhandled_type__lx._n
mov dword [esp + 8], str.property_bag_Read
mov dword [esp + 4], 0x1000a04c
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_2
jmp 0x10007540
mov eax, 0x224c
mov byte [ebp - 0x136], 0x22
lea ecx, [ebp - 0x136]
mov word [ebp - 0x138], ax
lea eax, [ecx + 1]
jmp 0x100078e3
call ebx
mov eax, dword [ebp - 0x160]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov edx, dword [ebp - 0x164]
movzx eax, dx
or eax, 0x80070000
test edx, edx
cmovg edx, eax
jmp 0x1000758d
mov dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp + 0x10]
movzx eax, word [eax]
test ax, ax
jne 0x10007ca9
mov eax, dword [ebp + 0x10]
mov ebx, 0x2011
mov word [eax], bx
lea eax, [ebp - 0x148]
mov dword [ebp - 0x164], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], 0x11
call dword [sym.imp.oleaut32.dll_SafeArrayCreate]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x164]
sub esp, 0xc
test eax, eax
mov dword [ecx + 8], eax
je 0x10007dac
lea ecx, [ebp - 0x14c]
mov dword [ebp - 0x164], edx
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_SafeArrayAccessData]
mov eax, dword [ebp - 0x15c]
mov esi, dword [ebp - 0x160]
sub esp, 8
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x14c]
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._memcpy
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_SafeArrayUnaccessData]
sub esp, 4
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_free]
mov edx, dword [ebp - 0x164]
jmp 0x1000758d
mov eax, dword [ebp + 0x10]
movzx eax, word [eax]
test ax, ax
jne 0x10007d2a
mov eax, dword [ebp + 0x10]
mov edi, 8
mov word [eax], di
mov eax, dword [ebp - 0x15c]
mov esi, dword [ebp - 0x160]
mov dword [ebp - 0x164], edx
shr eax, 1
mov dword [esp], esi
sub eax, 1
mov dword [esp + 4], eax
call dword [sym.imp.oleaut32.dll_SysAllocStringLen]
mov ecx, dword [ebp + 0x10]
sub esp, 8
mov dword [ecx + 8], eax
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_free]
mov edx, dword [ebp - 0x164]
jmp 0x1000758d
mov eax, dword [ebp + 0x10]
movzx eax, word [eax]
test ax, ax
jne 0x10007d88
mov eax, dword [ebp + 0x10]
mov esi, 3
mov word [eax], si
mov ecx, dword [ebp - 0x160]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x164], edx
mov eax, dword [ecx]
mov dword [esi + 8], eax
mov dword [esp], ecx
call dword [sym.imp.ucrtbase.dll_free]
mov edx, dword [ebp - 0x164]
jmp 0x1000758d
cmp ax, 0x2011
je 0x10007b6c
mov edx, 0x80070057
test byte [0x1000a04c], 4
je 0x1000758d
movzx ecx, ax
test ah, 0xf0
jne 0x10007de4
cmp ax, 0x49
jbe 0x10007dd8
mov edx, str.VT_BSTR_BLOB
cmp ax, 0xfff
je 0x10007cf8
mov dword [esp + 4], ecx
mov dword [esp], str.vt_invalid__x_
call sym._wine_dbg_sprintf_2
mov edx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.Invalid_type__s._n
mov dword [esp + 8], str.property_bag_Read
mov dword [esp + 4], 0x1000a04c
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_2
mov edx, 0x80070057
jmp 0x1000758d
cmp ax, 8
je 0x10007c26
mov edx, 0x80070057
test byte [0x1000a04c], 4
je 0x1000758d
mov dword [ebp - 0x160], edx
call sym._wine_dbgstr_vt
mov dword [esp + 0xc], str.Invalid_type__s._n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.property_bag_Read
mov dword [esp + 4], 0x1000a04c
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_2
mov edx, dword [ebp - 0x160]
jmp 0x1000758d
cmp ax, 3
je 0x10007c81
jmp 0x10007d34
mov edx, 0x80004003
jmp 0x1000758d
mov edx, 0x80070490
jmp 0x1000758d
mov eax, dword [ebp - 0x160]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov edx, 0x8007000e
jmp 0x1000758d
mov dword [esp], edx
call dword [sym.imp.ucrtbase.dll_free]
mov edx, 0x8007000e
jmp 0x1000758d
mov edx, dword [ecx*4 + 0x1000d300]
jmp 0x10007cf8
mov edx, eax
shr dx, 0xc
movzx edx, dx
mov ebx, dword [edx*4 + 0x1000d580]
mov edx, eax
and eax, 0xfff
and dx, 0xfff
cmp dx, 0x49
jbe 0x10007e38
cmp dx, 0xfff
je 0x10007e41
mov dword [esp + 4], eax
mov dword [esp], str.vt_invalid__x_
call sym._wine_dbg_sprintf_2
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], str._s_s
call sym._wine_dbg_sprintf_2
mov edx, eax
jmp 0x10007cf8
mov eax, dword [eax*4 + 0x1000d300]
jmp 0x10007e1d
mov eax, str.VT_BSTR_BLOB
jmp 0x10007e1d
mov dword [ebp - 0x160], edx
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_free]
mov edx, dword [ebp - 0x160]
jmp 0x1000758d