Function at 0x71054050
Capabilities:
Query or enumerate registry value
Query or enumerate registry value via stdregprov

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xcc
mov dword [ebp - 0x7c], 0
mov esi, dword [ebp + 0x10]
test byte [0x710600a8], 8
jne 0x710542f8
mov eax, dword [esi]
lea edx, [ebp - 0x68]
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 ebx, eax
test eax, eax
jne 0x710540e3
mov eax, dword [esi]
lea ecx, [ebp - 0x58]
mov dword [esp], esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], str.sSubKeyName
call dword [eax + 0x10]
sub esp, 0x18
mov ebx, eax
test eax, eax
je 0x710540f0
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebp - 0x80]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.EnumValues
mov dword [esp + 4], str.StdRegProv
mov dword [esp], 0
call sym._create_signature
mov ebx, eax
test eax, eax
jne 0x710544f0
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x71054153
mov eax, dword [ebp - 0x80]
lea ecx, [ebp - 0x7c]
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 esi, eax
test eax, eax
jne 0x71054580
lea eax, [ebp - 0x48]
mov esi, dword [sym.imp.oleaut32.dll_VariantInit]
mov dword [esp], eax
call esi
lea eax, [ebp - 0x38]
sub esp, 4
mov dword [esp], eax
call esi
mov edi, dword [ebp - 0x50]
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0x78], 0
sub esp, 4
test byte [0x710600a8], 8
jne 0x710544b8
mov eax, dword [ebp + 0xc]
call sym._reg_get_access_mask
lea edx, [ebp - 0x78]
mov dword [esp + 8], 0
or eax, 1
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
sub esp, 0x14
test eax, eax
je 0x71054340
mov dword [ebp - 0x90], 0
cdq
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x8c], 0
lea edi, [ebp - 0x28]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], edi
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp], 0x13
call sym._set_variant
mov eax, dword [ebp - 0x78]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, dword [ebp - 0x8c]
mov esi, dword [sym.imp.ucrtbase.dll_free]
sub esp, 4
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x94]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x90]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x710546b0
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x71054508
mov edx, dword [eax]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], 0x13
mov dword [esp + 8], 0
mov dword [esp + 4], 0x710661a0
mov dword [esp], eax
call dword [edx + 0x14]
sub esp, 0x14
test eax, eax
mov ebx, eax
sete al
mov edi, eax
lea eax, [ebp - 0x38]
mov esi, dword [sym.imp.oleaut32.dll_VariantClear]
mov dword [esp], eax
call esi
lea eax, [ebp - 0x48]
sub esp, 4
mov dword [esp], eax
call esi
lea eax, [ebp - 0x58]
sub esp, 4
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x80]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp + 0x14]
sub esp, 4
test eax, eax
je 0x710542d2
mov eax, edi
test al, al
je 0x710542d2
mov eax, dword [ebp - 0x7c]
mov edi, dword [ebp + 0x14]
mov dword [edi], eax
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 4]
sub esp, 4
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x710540e3
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, ebx
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x18], esi
mov dword [esp + 0xc], 0x71066135
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], str.reg_enum_values
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0x710600a8
mov dword [esp + 0x10], eax
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
jmp 0x71054073
lea eax, [ebp - 0x70]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], eax
lea eax, [ebp - 0x74]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryInfoKeyW]
sub esp, 0x30
mov esi, eax
test eax, eax
jne 0x710541bf
mov edx, dword [ebp - 0x70]
mov edi, dword [sym.imp.ucrtbase.dll_malloc]
inc edx
lea eax, [edx + edx]
mov dword [ebp - 0x98], edx
mov dword [esp], eax
call edi
mov dword [ebp - 0x90], eax
test eax, eax
je 0x7105486c
mov ecx, dword [ebp - 0x74]
shl ecx, 2
mov dword [esp], ecx
mov dword [ebp - 0x94], ecx
call edi
mov dword [ebp - 0x8c], eax
test eax, eax
je 0x71054853
mov ecx, dword [ebp - 0x94]
mov dword [esp], ecx
call edi
mov dword [ebp - 0x94], eax
mov edi, eax
test eax, eax
je 0x71054837
mov dword [ebp - 0x9c], ebx
mov edx, dword [ebp - 0x98]
mov ebx, dword [ebp - 0x90]
jmp 0x71054457
test eax, eax
jne 0x710546c0
mov dword [esp], ebx
add edi, 4
call dword [sym.imp.oleaut32.dll_SysAllocString]
mov ecx, dword [ebp - 0x8c]
sub esp, 4
mov dword [ecx + esi*4], eax
test eax, eax
je 0x71054817
mov eax, dword [ebp - 0x70]
inc esi
lea edx, [eax + 1]
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], edx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegEnumValueW]
sub esp, 0x20
cmp eax, 0x103
jne 0x71054428
mov ebx, dword [ebp - 0x9c]
test esi, esi
jne 0x710545a8
mov eax, 0x103
xor edx, edx
jmp 0x710541de
mov eax, edi
call sym._wine_dbgstr_wn.constprop.0_3
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], str._p___s_n
mov dword [esp + 8], str.enum_values
mov dword [esp + 4], 0x710600a8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
jmp 0x71054189
lea eax, [ebp - 0x58]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_VariantClear]
sub esp, 4
jmp 0x710540e3
mov edx, dword [eax]
lea ecx, [ebp - 0x48]
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 ebx, eax
test eax, eax
jne 0x71054672
mov eax, dword [ebp - 0x7c]
lea ecx, [ebp - 0x38]
mov edx, dword [eax]
mov dword [esp + 0x10], 0x2003
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], str.Types
mov dword [esp], eax
call dword [edx + 0x14]
sub esp, 0x14
mov ebx, eax
test eax, eax
jne 0x71054672
mov eax, dword [ebp - 0x7c]
jmp 0x7105424d
lea eax, [ebp - 0x58]
mov ebx, esi
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_VariantClear]
mov eax, dword [ebp - 0x80]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x710540e3
mov edi, dword [ebp - 0x8c]
lea ecx, [ebp - 0x48]
mov edx, esi
mov eax, edi
call sym._to_bstr_array
mov ecx, dword [sym.imp.oleaut32.dll_SysFreeString]
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0x98], eax
lea eax, [edi + esi*4]
mov dword [ebp - 0xa0], ebx
mov esi, eax
mov ebx, edi
mov edi, ecx
lea esi, [esi]
nop
mov edx, dword [ebx]
add ebx, 4
mov dword [esp], edx
call edi
sub esp, 4
cmp ebx, esi
jne 0x710545e0
mov ecx, dword [ebp - 0x98]
mov esi, dword [ebp - 0x9c]
mov ebx, dword [ebp - 0xa0]
test ecx, ecx
je 0x710546cc
lea eax, [ebp - 0x28]
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 - 0x78]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, dword [ebp - 0x8c]
mov ebx, dword [sym.imp.ucrtbase.dll_free]
sub esp, 4
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x94]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x90]
mov dword [esp], eax
call ebx
mov ebx, dword [ebp - 0x98]
lea eax, [ebp - 0x38]
mov esi, dword [sym.imp.oleaut32.dll_VariantClear]
mov dword [esp], eax
call esi
lea eax, [ebp - 0x48]
sub esp, 4
mov dword [esp], eax
call esi
lea eax, [ebp - 0x58]
sub esp, 4
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x80]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x710542d2
mov edi, 1
jmp 0x7105427d
mov ebx, dword [ebp - 0x9c]
cdq
jmp 0x710541de
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], 3
call dword [sym.imp.oleaut32.dll_SafeArrayCreateVector]
mov dword [ebp - 0x98], eax
sub esp, 0xc
mov ecx, eax
test eax, eax
je 0x71054846
mov dword [ebp - 0x9c], ebx
xor eax, eax
lea edi, [ebp - 0x28]
mov ebx, ecx
mov dword [ebp - 0x28], 0
jmp 0x7105471f
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp esi, eax
jbe 0x710547c3
mov ecx, dword [ebp - 0x94]
mov dword [esp + 4], edi
mov dword [esp], ebx
lea eax, [ecx + eax*4]
mov dword [esp + 8], eax
call dword [sym.imp.oleaut32.dll_SafeArrayPutElement]
sub esp, 0xc
test eax, eax
je 0x71054710
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x98]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_SafeArrayDestroy]
mov edx, dword [ebp - 0x9c]
sub esp, 4
mov ebx, edx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp], 0x13
call sym._set_variant
mov eax, dword [ebp - 0x78]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, dword [ebp - 0x8c]
mov esi, dword [sym.imp.ucrtbase.dll_free]
sub esp, 4
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x94]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x90]
mov dword [esp], eax
call esi
jmp 0x71054672
lea eax, [ebp - 0x38]
mov dword [esp + 4], 0
mov ebx, dword [ebp - 0x9c]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x98]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov dword [esp], 0x2003
call sym._set_variant
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
jmp 0x710541f5
lea ebx, [esi - 1]
test esi, esi
je 0x71054837
mov eax, dword [sym.imp.oleaut32.dll_SysFreeString]
mov esi, ecx
mov edi, eax
mov eax, dword [esi + ebx*4]
mov dword [esp], eax
call edi
sub esp, 4
sub ebx, 1
jae 0x71054827
mov dword [ebp - 0x98], 0x8007000e
jmp 0x7105460b
mov ebx, 0x8007000e
lea edi, [ebp - 0x28]
jmp 0x71054760
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x98], 0x8007000e
jmp 0x7105460b
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x98], 0x8007000e
jmp 0x7105460b