Function at 0x100148e0
Capabilities:
Query or enumerate registry value
Query or enumerate registry value 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, 0xb8
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x74], 0
mov eax, dword [ecx]
mov esi, dword [ecx + 4]
mov dword [ebp - 0x7c], edx
mov edi, dword [ecx + 8]
test byte [0x100210a8], 8
jne 0x10014ba8
mov eax, dword [edi]
lea edx, [ebp - 0x60]
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 0x10014989
mov eax, dword [edi]
lea ebx, [ebp - 0x50]
mov dword [esp], edi
mov dword [esp + 0xc], ebx
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 ebx, eax
test eax, eax
je 0x100149a0
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
lea eax, [ebp - 0x78]
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 0x10014da0
mov edi, dword [ebp - 0x7c]
test edi, edi
je 0x10014a03
mov eax, dword [ebp - 0x78]
lea ecx, [ebp - 0x74]
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 0x10014e30
lea eax, [ebp - 0x40]
mov edi, dword [sym.imp.oleaut32.dll_VariantInit]
mov dword [esp], eax
call edi
lea eax, [ebp - 0x30]
sub esp, 4
mov dword [esp], eax
call edi
mov eax, dword [ebp - 0x58]
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x70], 0
sub esp, 4
mov dword [ebp - 0x80], eax
test byte [0x100210a8], 8
jne 0x10014d60
mov eax, esi
call sym._get_access_mask
lea edx, [ebp - 0x70]
mov dword [esp + 4], edi
or eax, 1
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x80]
mov dword [esp + 8], 0
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
sub esp, 0x14
test eax, eax
je 0x10014be8
mov dword [ebp - 0x84], 0
cdq
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x80], 0
lea edi, [ebp - 0x20]
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 - 0x70]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, dword [ebp - 0x80]
mov esi, dword [sym.imp.ucrtbase.dll_free]
sub esp, 4
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x88]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x84]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x10014f60
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x10014db8
mov edx, dword [eax]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], 0x13
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 ebx, eax
sete al
mov edi, eax
lea eax, [ebp - 0x30]
mov esi, dword [sym.imp.oleaut32.dll_VariantClear]
mov dword [esp], eax
call esi
lea eax, [ebp - 0x40]
sub esp, 4
mov dword [esp], eax
call esi
lea eax, [ebp - 0x50]
sub esp, 4
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x78]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov esi, dword [ebp - 0x7c]
sub esp, 4
test esi, esi
je 0x10014b7e
mov eax, edi
test al, al
je 0x10014b7e
mov eax, dword [ebp - 0x74]
mov dword [esi], eax
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 4]
sub esp, 4
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x10014989
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, ebx
sub esp, 4
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x10027235
mov dword [esp + 8], str.reg_enum_values
mov dword [esp + 4], 0x100210a8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
jmp 0x10014919
lea eax, [ebp - 0x68]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], eax
lea eax, [ebp - 0x6c]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x70]
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 0x10014a74
mov edx, dword [ebp - 0x68]
mov edi, dword [sym.imp.ucrtbase.dll_malloc]
inc edx
lea eax, [edx + edx]
mov dword [ebp - 0x8c], edx
mov dword [esp], eax
call edi
mov dword [ebp - 0x84], eax
test eax, eax
je 0x10015113
mov edx, dword [ebp - 0x6c]
lea ecx, [edx*4]
mov dword [esp], ecx
mov dword [ebp - 0x88], ecx
call edi
mov dword [ebp - 0x80], eax
test eax, eax
je 0x100150fa
mov ecx, dword [ebp - 0x88]
mov dword [esp], ecx
call edi
mov dword [ebp - 0x88], eax
mov edi, eax
test eax, eax
je 0x100150de
mov dword [ebp - 0x90], ebx
mov edx, dword [ebp - 0x8c]
mov ebx, dword [ebp - 0x84]
jmp 0x10014cfc
test eax, eax
jne 0x10014f70
mov dword [esp], ebx
add edi, 4
call dword [sym.imp.oleaut32.dll_SysAllocString]
mov edx, dword [ebp - 0x80]
sub esp, 4
mov dword [edx + esi*4], eax
test eax, eax
je 0x100150be
mov eax, dword [ebp - 0x68]
inc esi
lea edx, [eax + 1]
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], edx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x70]
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 0x10014cd0
mov ebx, dword [ebp - 0x90]
test esi, esi
jne 0x10014e58
mov eax, 0x103
xor edx, edx
jmp 0x10014a90
mov eax, edi
call sym._wine_dbgstr_wn.constprop.0_3
mov dword [esp + 0xc], str._p___s_n
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x80]
mov dword [esp + 8], str.enum_values
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x100210a8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
jmp 0x10014a3c
lea eax, [ebp - 0x50]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_VariantClear]
sub esp, 4
jmp 0x10014989
mov edx, dword [eax]
lea esi, [ebp - 0x40]
mov dword [esp], eax
mov dword [esp + 0x10], 0x2008
mov dword [esp + 0xc], esi
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 0x10014f1f
mov eax, dword [ebp - 0x74]
lea esi, [ebp - 0x30]
mov edx, dword [eax]
mov dword [esp + 0x10], 0x2003
mov dword [esp + 0xc], esi
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 0x10014f1f
mov eax, dword [ebp - 0x74]
jmp 0x10014afc
lea eax, [ebp - 0x50]
mov ebx, edi
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_VariantClear]
mov eax, dword [ebp - 0x78]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x10014989
mov edi, dword [ebp - 0x80]
mov edx, esi
lea ecx, [ebp - 0x40]
mov eax, edi
call sym._to_bstr_array
mov edx, dword [sym.imp.oleaut32.dll_SysFreeString]
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x8c], eax
lea eax, [edi + esi*4]
mov dword [ebp - 0x94], ebx
mov esi, eax
mov ebx, edi
mov edi, edx
lea esi, [esi]
nop
mov edx, dword [ebx]
add ebx, 4
mov dword [esp], edx
call edi
sub esp, 4
cmp ebx, esi
jne 0x10014e90
mov ecx, dword [ebp - 0x8c]
mov esi, dword [ebp - 0x90]
mov ebx, dword [ebp - 0x94]
test ecx, ecx
je 0x10014f7c
lea eax, [ebp - 0x20]
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 - 0x70]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, dword [ebp - 0x80]
mov ebx, dword [sym.imp.ucrtbase.dll_free]
sub esp, 4
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x88]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x84]
mov dword [esp], eax
call ebx
mov ebx, dword [ebp - 0x8c]
lea eax, [ebp - 0x30]
mov esi, dword [sym.imp.oleaut32.dll_VariantClear]
mov dword [esp], eax
call esi
lea eax, [ebp - 0x40]
sub esp, 4
mov dword [esp], eax
call esi
lea eax, [ebp - 0x50]
sub esp, 4
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x78]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x10014b7e
mov edi, 1
jmp 0x10014b2c
mov ebx, dword [ebp - 0x90]
cdq
jmp 0x10014a90
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], 3
call dword [sym.imp.oleaut32.dll_SafeArrayCreateVector]
mov dword [ebp - 0x8c], eax
sub esp, 0xc
mov edx, eax
test eax, eax
je 0x100150ed
mov dword [ebp - 0x90], ebx
xor eax, eax
lea edi, [ebp - 0x20]
mov ebx, edx
mov dword [ebp - 0x20], 0
jmp 0x10014fcf
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp esi, eax
jbe 0x1001506a
mov ecx, dword [ebp - 0x88]
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 0x10014fc0
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_SafeArrayDestroy]
mov edx, dword [ebp - 0x7c]
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 - 0x70]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, dword [ebp - 0x80]
mov esi, dword [sym.imp.ucrtbase.dll_free]
sub esp, 4
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x88]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x84]
mov dword [esp], eax
call esi
jmp 0x10014f1f
lea eax, [ebp - 0x30]
mov dword [esp + 4], 0
mov ebx, dword [ebp - 0x90]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x8c]
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 0x10014aa7
lea ebx, [esi - 1]
test esi, esi
je 0x100150de
mov eax, dword [sym.imp.oleaut32.dll_SysFreeString]
mov esi, edx
mov edi, eax
mov eax, dword [esi + ebx*4]
mov dword [esp], eax
call edi
sub esp, 4
sub ebx, 1
jae 0x100150ce
mov dword [ebp - 0x8c], 0x8007000e
jmp 0x10014ebb
mov ebx, 0x8007000e
lea edi, [ebp - 0x20]
jmp 0x1001500a
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x8c], 0x8007000e
jmp 0x10014ebb
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x8c], 0x8007000e
jmp 0x10014ebb