Function at 0x71054940
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, 0xac
mov dword [ebp - 0x70], 0
mov edi, dword [ebp + 0x10]
test byte [0x710600a8], 8
jne 0x71054c10
mov eax, dword [edi]
lea edx, [ebp - 0x68]
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 ebx, eax
test eax, eax
jne 0x71054bfd
mov eax, dword [edi]
lea esi, [ebp - 0x58]
mov dword [esp], edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], str.sSubKeyName
call dword [eax + 0x10]
sub esp, 0x18
mov ebx, eax
test eax, eax
jne 0x71054bfd
mov eax, dword [edi]
lea ecx, [ebp - 0x48]
mov dword [esp], edi
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.sValueName
call dword [eax + 0x10]
sub esp, 0x18
mov ebx, eax
test eax, eax
jne 0x71054c58
lea eax, [ebp - 0x74]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.GetStringValue
mov dword [esp + 4], str.StdRegProv
mov dword [esp], 0
call sym._create_signature
mov ebx, eax
test eax, eax
jne 0x71054d90
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x71054a7a
mov eax, dword [ebp - 0x74]
lea ecx, [ebp - 0x70]
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 0x71054e50
lea eax, [ebp - 0x38]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_VariantInit]
mov eax, dword [ebp - 0x40]
sub esp, 4
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x84], eax
test byte [0x710600a8], 8
jne 0x71054d40
mov eax, dword [ebp + 0xc]
mov edi, 0x10002
call sym._reg_get_access_mask
test ah, 1
jne 0x71054ad3
and eax, 0x200
cmp eax, 1
sbb edi, edi
and edi, 0xfffe0000
add edi, 0x20002
lea eax, [ebp - 0x6c]
mov ecx, dword [ebp - 0x80]
mov edx, dword [ebp - 0x84]
mov dword [esp + 0xc], edi
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x7c]
mov dword [esp + 0x14], 0
mov dword [esp + 8], eax
mov eax, dword [sym.imp.advapi32.dll_RegGetValueW]
mov dword [esp + 0x10], 0
mov dword [esp + 4], ecx
mov dword [esp], edx
mov dword [ebp - 0x8c], eax
call eax
mov dword [ebp - 0x88], 0
sub esp, 0x1c
test eax, eax
je 0x71054c70
mov dword [esp + 4], eax
lea edi, [ebp - 0x28]
sar eax, 0x1f
mov dword [esp + 8], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
mov dword [esp], 0x13
call sym._set_variant
mov eax, dword [ebp - 0x88]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_SysFreeString]
sub esp, 4
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x71054e80
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x71054db0
mov edx, dword [eax]
mov dword [esp + 0x10], 0x13
mov dword [esp + 0xc], edi
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 byte [ebp - 0x7c]
lea eax, [ebp - 0x48]
mov edi, dword [sym.imp.oleaut32.dll_VariantClear]
mov dword [esp], eax
call edi
sub esp, 4
mov dword [esp], esi
call edi
mov eax, dword [ebp - 0x74]
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 0x71054beb
cmp byte [ebp - 0x7c], 0
je 0x71054beb
mov eax, dword [ebp - 0x70]
mov esi, dword [ebp + 0x14]
mov dword [esi], eax
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 4]
sub esp, 4
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x71054bfd
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x18], edi
mov dword [esp + 0xc], 0x71066135
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], str.reg_get_stringvalue
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 0x71054963
mov dword [esp], esi
call dword [sym.imp.oleaut32.dll_VariantClear]
mov eax, ebx
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [ebp - 0x6c]
mov dword [esp], 0
shr ecx, 1
mov eax, ecx
dec eax
mov dword [esp + 4], eax
call dword [sym.imp.oleaut32.dll_SysAllocStringLen]
mov dword [ebp - 0x88], eax
sub esp, 8
test eax, eax
je 0x71054de8
lea edx, [ebp - 0x6c]
mov ecx, dword [ebp - 0x80]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x7c]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edi
mov dword [esp], edx
call eax
mov ecx, dword [ebp - 0x90]
sub esp, 0x1c
test eax, eax
jne 0x71054b27
lea eax, [ebp - 0x38]
mov dword [esp + 0xc], ecx
lea edi, [ebp - 0x28]
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp], 8
call sym._set_variant
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
jmp 0x71054b5f
mov eax, dword [ebp - 0x7c]
call sym._wine_dbgstr_wn.constprop.0_3
mov edi, eax
mov eax, dword [ebp - 0x80]
call sym._wine_dbgstr_wn.constprop.0_3
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x84]
mov dword [esp + 0xc], str._p___s___s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.get_stringvalue
mov dword [esp + 4], 0x710600a8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
jmp 0x71054aab
lea eax, [ebp - 0x48]
mov edi, dword [sym.imp.oleaut32.dll_VariantClear]
mov dword [esp], eax
call edi
sub esp, 4
mov dword [esp], esi
call edi
sub esp, 4
jmp 0x71054bfd
mov edx, dword [eax]
lea ecx, [ebp - 0x38]
mov dword [esp], eax
mov dword [esp + 0x10], 8
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], str.sValue
call dword [edx + 0x14]
sub esp, 0x14
mov ebx, eax
test eax, eax
jne 0x71054e20
mov eax, dword [ebp - 0x70]
jmp 0x71054b75
lea eax, [ebp - 0x28]
mov dword [esp + 0xc], 0
mov ebx, 0x8007000e
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp], 0x13
call sym._set_variant
lea esi, [esi]
nop
lea eax, [ebp - 0x48]
mov edi, dword [sym.imp.oleaut32.dll_VariantClear]
mov dword [esp], eax
call edi
sub esp, 4
mov dword [esp], esi
call edi
mov eax, dword [ebp - 0x74]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x71054beb
lea eax, [ebp - 0x48]
mov ebx, dword [sym.imp.oleaut32.dll_VariantClear]
mov dword [esp], eax
call ebx
sub esp, 4
mov dword [esp], esi
call ebx
mov eax, dword [ebp - 0x74]
mov ebx, edi
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x71054bfd
mov byte [ebp - 0x7c], 1
jmp 0x71054ba4