Function at 0x10008090
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x248
mov esi, dword [ebp + 8]
test byte [0x1000a04c], 8
jne 0x10008448
mov eax, dword [ebp + 0xc]
xor ebx, ebx
test eax, eax
je 0x100082ba
lea eax, [esi + 4]
xor ebx, ebx
mov edi, esi
mov dword [ebp - 0x230], eax
jmp 0x100081e9
test eax, eax
je 0x10008109
mov ecx, dword [eax]
lea esi, [ebp - 0x228]
mov dword [esp], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], esi
mov dword [esp + 4], 1
call dword [ecx + 0xc]
sub esp, 0x14
test eax, eax
je 0x100083f0
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x10008145
mov ecx, dword [eax]
lea esi, [ebp - 0x228]
mov dword [esp], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], esi
mov dword [esp + 4], 1
call dword [ecx + 0xc]
sub esp, 0x14
test eax, eax
je 0x10008318
lea esi, [ebp - 0x216]
mov dword [esp + 0xc], 0x105
mov ecx, dword [sym.imp.advapi32.dll_RegEnumKeyW]
mov dword [esp + 8], esi
mov eax, dword [edi + 0x24]
mov dword [ebp - 0x234], ecx
mov dword [esp + 4], eax
mov eax, dword [edi + 0x20]
mov dword [esp], eax
call ecx
mov ecx, dword [ebp - 0x234]
sub esp, 0x10
test eax, eax
jne 0x10008370
lea eax, [ebp - 0x22c]
add dword [edi + 0x24], 1
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov eax, dword [edi + 0x20]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
sub esp, 0x14
test eax, eax
jne 0x100082ad
mov eax, dword [ebp - 0x230]
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._filter_moniker_create
test eax, eax
je 0x100084d8
mov edx, dword [ebp + 0x10]
add ebx, 1
mov dword [edx + ebx*4 - 4], eax
cmp dword [ebp + 0xc], ebx
jbe 0x100082ad
mov eax, dword [ebp - 0x230]
mov edx, dword [0x1000fbf0]
cmp dword [eax], edx
je 0x100082e0
mov ecx, 1
mov eax, dword [edi + 0x18]
test ecx, ecx
je 0x100080d0
test eax, eax
je 0x10008145
mov ecx, dword [eax]
lea esi, [ebp - 0x228]
mov dword [esp], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], esi
mov dword [esp + 4], 1
call dword [ecx + 0xc]
sub esp, 0x14
test eax, eax
jne 0x10008145
mov eax, dword [ebp - 0x228]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x224]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x220]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x21c]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 4]
mov dword [esp], eax
mov eax, dword [edi + 8]
mov dword [esp + 4], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0xc], eax
call sym._dmo_moniker_create
test eax, eax
je 0x10008145
mov edx, dword [ebp + 0x10]
add ebx, 1
mov dword [edx + ebx*4 - 4], eax
cmp dword [ebp + 0xc], ebx
ja 0x100081e9
test byte [0x1000a04c], 8
jne 0x100084a0
mov edx, dword [ebp + 0x14]
test edx, edx
je 0x100082c6
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
xor eax, eax
cmp dword [ebp + 0xc], ebx
setne al
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov esi, dword [0x1000fbf4]
cmp dword [eax + 4], esi
jne 0x100081fd
mov esi, dword [0x1000fbf8]
cmp dword [eax + 8], esi
jne 0x100081fd
mov edx, dword [0x1000fbfc]
xor ecx, ecx
cmp dword [eax + 0xc], edx
jne 0x100081fd
jmp 0x10008202
mov eax, dword [ebp - 0x228]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x224]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x220]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x21c]
mov dword [esp + 0x1c], eax
mov eax, dword [0x1000d8c0]
mov dword [esp], eax
mov eax, dword [0x1000d8c4]
mov dword [esp + 4], eax
mov eax, dword [0x1000d8c8]
mov dword [esp + 8], eax
mov eax, dword [0x1000d8cc]
mov dword [esp + 0xc], eax
call sym._dmo_moniker_create
jmp 0x10008292
mov dword [esp + 0xc], 0x105
mov dword [esp + 8], esi
mov eax, dword [edi + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [edi + 0x28]
mov dword [esp], eax
call ecx
sub esp, 0x10
test eax, eax
jne 0x100082ad
lea eax, [ebp - 0x22c]
add dword [edi + 0x2c], 1
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov eax, dword [edi + 0x28]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
sub esp, 0x14
test eax, eax
jne 0x100082ad
mov eax, dword [ebp - 0x230]
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._codec_moniker_create
jmp 0x100081ce
mov eax, dword [ebp - 0x228]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x224]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x220]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x21c]
mov dword [esp + 0x1c], eax
mov eax, dword [0x1000d8e0]
mov dword [esp], eax
mov eax, dword [0x1000d8e4]
mov dword [esp + 4], eax
mov eax, dword [0x1000d8e8]
mov dword [esp + 8], eax
mov eax, dword [0x1000d8ec]
mov dword [esp + 0xc], eax
call sym._dmo_moniker_create
jmp 0x10008292
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.enumerator__p__count__lu__monikers__p__ret_count__p._n
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], str.enum_moniker_Next
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], 0x1000a04c
mov dword [esp + 0x14], eax
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x100080b9
xor ebx, ebx
jmp 0x100082ad
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.Returning__lu_monikers._n
mov dword [esp + 8], str.enum_moniker_Next
mov dword [esp + 4], 0x1000a04c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
mov edx, dword [ebp + 0x14]
test edx, edx
jne 0x100082c1
jmp 0x100082c6
mov eax, 0x8007000e
jmp 0x100082ce