Function at 0x10014280
Capabilities:
Query or enumerate registry key
Query or enumerate registry key via stdregprov

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff8
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x280
mov edx, dword [ecx + 0xc]
mov eax, dword [ecx]
mov dword [ebp - 0x258], 0
mov ebx, dword [ecx + 4]
mov esi, dword [ecx + 8]
mov dword [ebp - 0x264], edx
test byte [0x100210a8], 8
jne 0x100144d8
mov eax, dword [esi]
lea edx, [ebp - 0x250]
mov dword [esp], esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], str.hDefKey
call dword [eax + 0x10]
sub esp, 0x18
mov edi, eax
test eax, eax
jne 0x10014335
mov eax, dword [esi]
lea edx, [ebp - 0x240]
mov dword [esp], esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], str.sSubKeyName
call dword [eax + 0x10]
sub esp, 0x18
mov edi, eax
test eax, eax
je 0x10014348
lea esp, [ebp - 0x10]
mov eax, edi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
lea eax, [ebp - 0x25c]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.EnumKey
mov dword [esp + 4], str.StdRegProv
mov dword [esp], 0
call sym._create_signature
mov edi, eax
test eax, eax
jne 0x10014750
mov ecx, dword [ebp - 0x264]
test ecx, ecx
je 0x100143b7
mov eax, dword [ebp - 0x25c]
lea ecx, [ebp - 0x258]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0x3c]
sub esp, 0xc
mov edi, eax
test eax, eax
jne 0x100147f8
lea eax, [ebp - 0x230]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_VariantInit]
mov esi, dword [ebp - 0x238]
mov edi, dword [ebp - 0x248]
sub esp, 4
test byte [0x100210a8], 8
jne 0x10014518
mov dword [esp], 8
call dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x260], eax
test eax, eax
je 0x100148ca
mov eax, ebx
call sym._get_access_mask
lea edx, [ebp - 0x254]
mov dword [esp], edi
mov edi, 2
or eax, 8
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], esi
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
sub esp, 0x14
mov ebx, eax
test eax, eax
jne 0x100147b8
lea esi, [esi]
lea eax, [ebp - 0x210]
mov dword [esp + 0xc], 0x100
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x254]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegEnumKeyW]
sub esp, 0x10
cmp eax, 0x103
je 0x10014550
test eax, eax
jne 0x10014638
mov eax, dword [ebp - 0x260]
lea esi, [eax + ebx*4]
lea eax, [ebp - 0x210]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_SysAllocString]
mov dword [esi], eax
sub esp, 4
test eax, eax
je 0x1001485c
inc ebx
cmp ebx, edi
jb 0x10014440
mov eax, dword [ebp - 0x260]
lea esi, [edi + edi]
shl edi, 3
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_realloc]
test eax, eax
je 0x100148a9
mov dword [ebp - 0x260], eax
mov edi, esi
jmp 0x10014440
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x10027235
mov dword [esp + 8], str.reg_enum_key
mov dword [esp + 4], 0x100210a8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
jmp 0x100142bf
mov eax, esi
call sym._wine_dbgstr_wn.constprop.0_3
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], str._p___s_n
mov dword [esp + 8], str.enum_key
mov dword [esp + 4], 0x100210a8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
jmp 0x100143e2
test ebx, ebx
je 0x10014820
mov eax, dword [ebp - 0x260]
mov edx, ebx
lea ecx, [ebp - 0x230]
xor esi, esi
call sym._to_bstr_array
mov edx, dword [sym.imp.oleaut32.dll_SysFreeString]
mov edi, dword [ebp - 0x260]
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x268], edx
lea esi, [esi]
mov edx, dword [edi + esi*4]
mov eax, dword [ebp - 0x268]
inc esi
mov dword [esp], edx
call eax
sub esp, 4
cmp ebx, esi
jne 0x10014588
lea esi, [ebp - 0x220]
mov dword [esp + 0xc], 0
mov edi, dword [ebp - 0x26c]
mov dword [esp + 0x10], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp], 0x13
call sym._set_variant
mov eax, dword [ebp - 0x254]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, dword [ebp - 0x260]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
test edi, edi
je 0x10014682
lea eax, [ebp - 0x230]
mov ebx, dword [sym.imp.oleaut32.dll_VariantClear]
mov dword [esp], eax
call ebx
lea eax, [ebp - 0x240]
sub esp, 4
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x25c]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x10014720
mov dword [esp + 4], eax
lea esi, [ebp - 0x220]
sar eax, 0x1f
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp], 0x13
call sym._set_variant
mov eax, dword [ebp - 0x254]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, dword [ebp - 0x260]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x258]
test eax, eax
je 0x10014850
mov edx, dword [ebp - 0x218]
test edx, edx
je 0x10014770
mov edx, dword [eax]
mov dword [esp + 0x10], 0x13
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x100272a0
mov dword [esp], eax
call dword [edx + 0x14]
sub esp, 0x14
test eax, eax
mov edi, eax
sete bl
lea eax, [ebp - 0x230]
mov esi, dword [sym.imp.oleaut32.dll_VariantClear]
mov dword [esp], eax
call esi
lea eax, [ebp - 0x240]
sub esp, 4
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x25c]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov ecx, dword [ebp - 0x264]
sub esp, 4
test ecx, ecx
je 0x10014720
test bl, bl
je 0x10014720
mov eax, dword [ebp - 0x258]
mov dword [ecx], eax
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 4]
sub esp, 4
mov eax, dword [ebp - 0x258]
test eax, eax
je 0x10014335
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, edi
sub esp, 4
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
lea eax, [ebp - 0x240]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_VariantClear]
sub esp, 4
jmp 0x10014335
mov edx, dword [eax]
lea ecx, [ebp - 0x230]
mov dword [esp], eax
mov dword [esp + 0x10], 0x2008
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], str.sNames
call dword [edx + 0x14]
sub esp, 0x14
mov edi, eax
test eax, eax
jne 0x100145fb
mov eax, dword [ebp - 0x258]
jmp 0x1001469e
lea esi, [ebp - 0x220]
sar ebx, 0x1f
mov dword [esp + 4], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebx
mov dword [esp], 0x13
call sym._set_variant
mov eax, dword [ebp - 0x260]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x10014682
lea eax, [ebp - 0x240]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_VariantClear]
mov eax, dword [ebp - 0x25c]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x10014335
lea esi, [ebp - 0x220]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], esi
mov dword [esp + 4], 0x103
mov dword [esp + 8], 0
jmp 0x10014655
xor edi, edi
mov ebx, 1
jmp 0x100146cc
dec ebx
js 0x1001487b
mov edi, dword [sym.imp.oleaut32.dll_SysFreeString]
mov esi, dword [ebp - 0x260]
mov eax, dword [esi + ebx*4]
mov dword [esp], eax
call edi
sub esp, 4
sub ebx, 1
jae 0x1001486b
lea eax, [ebp - 0x220]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp], 0x13
call sym._set_variant
mov eax, dword [ebp - 0x254]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, dword [ebp - 0x260]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov edi, 0x8007000e
jmp 0x100145fb