Function at 0x10013c40
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 edi, dword [ecx + 8]
mov dword [ebp - 0x268], edx
test byte [0x10021820], 8
jne 0x10013f20
mov eax, dword [edi]
lea edx, [ebp - 0x250]
mov dword [esp], edi
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 esi, eax
test eax, eax
jne 0x10013cf5
mov eax, dword [edi]
lea esi, [ebp - 0x240]
mov dword [esp], edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.sSubKeyName
call dword [eax + 0x10]
sub esp, 0x18
mov esi, eax
test eax, eax
je 0x10013d08
lea esp, [ebp - 0x10]
mov eax, esi
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 esi, eax
test eax, eax
jne 0x10014148
mov eax, dword [ebp - 0x268]
test eax, eax
je 0x10013d77
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 0x100141a8
lea eax, [ebp - 0x230]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_VariantInit]
mov eax, dword [ebp - 0x238]
mov edi, dword [ebp - 0x248]
sub esp, 4
mov dword [ebp - 0x264], eax
test byte [0x10021820], 8
jne 0x10013f60
mov dword [esp], 8
call dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x260], eax
test eax, eax
je 0x100142c9
mov eax, ebx
xor ebx, ebx
call sym._get_access_mask
lea edx, [ebp - 0x254]
mov dword [esp + 8], 0
or eax, 8
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x264]
mov dword [esp], edi
mov edi, 2
mov dword [esp + 4], eax
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
mov dword [ebp - 0x26c], eax
sub esp, 0x14
test eax, eax
jne 0x10014058
mov dword [ebp - 0x270], esi
jmp 0x10013e50
test eax, eax
jne 0x10013fa0
mov dword [ebp - 0x264], eax
mov eax, dword [ebp - 0x260]
mov dword [esp], ecx
lea esi, [eax + ebx*4]
call dword [sym.imp.oleaut32.dll_SysAllocString]
mov dword [esi], eax
sub esp, 4
test eax, eax
je 0x1001423a
add ebx, 1
cmp ebx, edi
jb 0x10013e7d
lea esi, [edi + edi]
shl edi, 3
mov dword [esp + 4], edi
mov eax, dword [ebp - 0x260]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_realloc]
test eax, eax
je 0x100142aa
mov dword [ebp - 0x260], eax
mov edi, esi
lea ecx, [ebp - 0x210]
mov dword [esp + 0xc], 0x100
mov dword [esp + 8], ecx
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x254]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegEnumKeyW]
lea ecx, [ebp - 0x210]
sub esp, 0x10
cmp eax, 0x103
mov edx, eax
jne 0x10013e20
mov esi, dword [ebp - 0x270]
test ebx, ebx
je 0x100141d8
mov edi, dword [ebp - 0x260]
mov edx, ebx
lea ecx, [ebp - 0x230]
mov eax, edi
call sym._to_bstr_array
mov dword [ebp - 0x264], esi
mov dword [ebp - 0x26c], eax
lea eax, [ebx - 1]
mov ebx, edi
mov edi, dword [sym.imp.oleaut32.dll_SysFreeString]
mov esi, eax
lea esi, [esi]
mov edx, dword [ebx]
add ebx, 4
mov dword [esp], edx
call edi
sub esp, 4
sub esi, 1
jae 0x10013ef8
mov esi, dword [ebp - 0x264]
xor eax, eax
xor edx, edx
jmp 0x10013fa9
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x1002af85
mov dword [esp + 8], str.reg_enum_key
mov dword [esp + 4], 0x10021820
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
jmp 0x10013c7f
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], 0x10021820
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
jmp 0x10013da8
mov esi, dword [ebp - 0x270]
mov eax, edx
cdq
lea ebx, [ebp - 0x220]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 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, dword [ebp - 0x26c]
test edi, edi
je 0x10014090
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
mov eax, dword [ebp - 0x258]
test eax, eax
je 0x10014046
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov esi, dword [ebp - 0x26c]
jmp 0x10013cf5
mov dword [esp + 4], eax
lea ebx, [ebp - 0x220]
sar eax, 0x1f
mov dword [esp + 8], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0
mov dword [esp], 0x13
call sym._set_variant
mov eax, dword [ebp - 0x260]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x258]
test eax, eax
je 0x10014230
mov edx, dword [eax]
mov ecx, dword [ebp - 0x218]
mov edx, dword [edx + 0x14]
test ecx, ecx
je 0x10014160
mov edx, dword [eax]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 0x13
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1002aff0
mov dword [esp], eax
call dword [edx + 0x14]
sub esp, 0x14
test eax, eax
mov esi, eax
sete bl
lea eax, [ebp - 0x230]
mov edi, dword [sym.imp.oleaut32.dll_VariantClear]
mov dword [esp], eax
call edi
lea eax, [ebp - 0x240]
sub esp, 4
mov dword [esp], eax
call edi
mov eax, dword [ebp - 0x25c]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0x268]
sub esp, 4
test eax, eax
je 0x10014139
test bl, bl
je 0x10014139
mov eax, dword [ebp - 0x258]
mov ebx, dword [ebp - 0x268]
mov dword [ebx], eax
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 4]
sub esp, 4
mov dword [ebp - 0x26c], esi
jmp 0x10014031
lea eax, [ebp - 0x240]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_VariantClear]
sub esp, 4
jmp 0x10013cf5
lea edi, [ebp - 0x230]
mov dword [esp + 0x10], 0x2008
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], str.sNames
mov dword [esp], eax
call edx
mov dword [ebp - 0x26c], eax
sub esp, 0x14
test eax, eax
jne 0x10013ffe
mov eax, dword [ebp - 0x258]
jmp 0x100140b1
lea eax, [ebp - 0x240]
mov esi, edi
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 0x10013cf5
lea ebx, [ebp - 0x220]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], ebx
mov dword [esp + 4], 0x103
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]
jmp 0x10014090
mov ebx, 1
jmp 0x100140df
mov esi, dword [ebp - 0x270]
lea eax, [ebx - 1]
test ebx, ebx
je 0x10014286
mov edi, dword [sym.imp.oleaut32.dll_SysFreeString]
mov ebx, dword [ebp - 0x260]
mov dword [ebp - 0x26c], esi
mov esi, eax
mov edx, dword [ebx + esi*4]
mov dword [esp], edx
call edi
sub esp, 4
sub esi, 1
jae 0x1001425b
mov esi, dword [ebp - 0x26c]
mov edx, dword [ebp - 0x264]
mov dword [ebp - 0x26c], 0x8007000e
jmp 0x10013fa6
lea eax, [ebp - 0x220]
mov dword [esp], 0x13
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call sym._set_variant
mov eax, dword [ebp - 0x254]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
push eax
mov eax, dword [ebp - 0x260]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0x26c], 0x8007000e
jmp 0x10013ffe