Function at 0x10015730
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, 0x98
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x68], 0
mov eax, dword [ecx]
mov esi, dword [ecx + 4]
mov dword [ebp - 0x70], edx
mov edi, dword [ecx + 8]
test byte [0x100210a8], 8
jne 0x10015a00
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 0x100159ed
mov eax, dword [edi]
lea edx, [ebp - 0x50]
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.sSubKeyName
call dword [eax + 0x10]
sub esp, 0x18
mov ebx, eax
test eax, eax
jne 0x100159ed
mov eax, dword [edi]
lea ebx, [ebp - 0x40]
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.sValueName
call dword [eax + 0x10]
sub esp, 0x18
mov ebx, eax
test eax, eax
jne 0x10015a40
lea eax, [ebp - 0x6c]
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 0x10015b78
mov ecx, dword [ebp - 0x70]
test ecx, ecx
je 0x10015880
mov eax, dword [ebp - 0x6c]
lea edi, [ebp - 0x68]
mov ecx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [ecx + 0x3c]
sub esp, 0xc
mov edi, eax
test eax, eax
jne 0x10015be0
lea eax, [ebp - 0x30]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_VariantInit]
mov eax, dword [ebp - 0x38]
mov edi, dword [ebp - 0x48]
sub esp, 4
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x78], eax
test byte [0x100210a8], 8
jne 0x10015b28
mov eax, esi
mov esi, 0x10002
call sym._get_access_mask
test ah, 1
jne 0x100158d2
and eax, 0x200
cmp eax, 1
sbb esi, esi
and esi, 0xfffe0000
add esi, 0x20002
lea eax, [ebp - 0x64]
mov edx, dword [ebp - 0x78]
mov ecx, dword [sym.imp.advapi32.dll_RegGetValueW]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x7c], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], edx
call ecx
xor ecx, ecx
sub esp, 0x1c
test eax, eax
je 0x10015a60
mov dword [esp + 4], eax
lea esi, [ebp - 0x20]
sar eax, 0x1f
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp], 0x13
mov dword [ebp - 0x74], ecx
call sym._set_variant
mov ecx, dword [ebp - 0x74]
mov dword [esp], ecx
call dword [sym.imp.oleaut32.dll_SysFreeString]
sub esp, 4
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x10015c18
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x10015ba0
mov edx, dword [eax]
mov dword [esp + 0xc], esi
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 esi, eax
lea eax, [ebp - 0x40]
mov edi, dword [sym.imp.oleaut32.dll_VariantClear]
mov dword [esp], eax
call edi
lea eax, [ebp - 0x50]
sub esp, 4
mov dword [esp], eax
call edi
mov eax, dword [ebp - 0x6c]
sub esp, 4
mov ecx, dword [eax]
mov dword [esp], eax
call dword [ecx + 8]
mov edi, dword [ebp - 0x70]
sub esp, 4
test edi, edi
je 0x100159db
mov eax, esi
test al, al
je 0x100159db
mov eax, dword [ebp - 0x68]
mov dword [edi], eax
mov ecx, dword [eax]
mov dword [esp], eax
call dword [ecx + 4]
sub esp, 4
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x100159ed
mov ecx, dword [eax]
mov dword [esp], eax
call dword [ecx + 8]
sub esp, 4
lea esp, [ebp - 0x10]
mov eax, ebx
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_get_stringvalue
mov dword [esp + 4], 0x100210a8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
jmp 0x10015769
lea eax, [ebp - 0x50]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_VariantClear]
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 eax, dword [ebp - 0x64]
mov dword [esp], 0
shr eax, 1
dec eax
mov dword [esp + 4], eax
call dword [sym.imp.oleaut32.dll_SysAllocStringLen]
mov dword [ebp - 0x84], eax
sub esp, 8
mov edx, eax
test eax, eax
je 0x10015c22
lea eax, [ebp - 0x64]
mov dword [esp + 0x14], edx
mov ecx, dword [ebp - 0x7c]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x80], edx
mov edx, dword [ebp - 0x78]
mov dword [esp + 0x10], 0
mov dword [esp], edx
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], edi
call ecx
mov edx, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x84]
sub esp, 0x1c
test eax, eax
jne 0x10015916
lea eax, [ebp - 0x30]
mov dword [esp + 0xc], edx
lea esi, [ebp - 0x20]
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], esi
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp], 0x13
call sym._set_variant
jmp 0x1001594e
mov eax, dword [ebp - 0x74]
call sym._wine_dbgstr_wn.constprop.0_3
mov dword [ebp - 0x7c], eax
mov eax, edi
call sym._wine_dbgstr_wn.constprop.0_3
mov edx, dword [ebp - 0x7c]
mov dword [esp + 0xc], str._p___s___s_n
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.get_stringvalue
mov dword [esp + 4], 0x100210a8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
jmp 0x100158ab
lea eax, [ebp - 0x40]
mov esi, dword [sym.imp.oleaut32.dll_VariantClear]
mov dword [esp], eax
call esi
lea eax, [ebp - 0x50]
sub esp, 4
mov dword [esp], eax
call esi
sub esp, 4
jmp 0x100159ed
mov edx, dword [eax]
lea ebx, [ebp - 0x30]
mov dword [esp], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 8
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 0x10015c30
mov eax, dword [ebp - 0x68]
jmp 0x10015964
lea eax, [ebp - 0x40]
mov ebx, dword [sym.imp.oleaut32.dll_VariantClear]
mov dword [esp], eax
call ebx
lea eax, [ebp - 0x50]
sub esp, 4
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x6c]
mov ebx, edi
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x100159ed
mov esi, 1
jmp 0x10015994
mov ebx, 0x8007000e
lea esi, [esi]
nop
lea eax, [ebp - 0x40]
mov esi, dword [sym.imp.oleaut32.dll_VariantClear]
mov dword [esp], eax
call esi
lea eax, [ebp - 0x50]
sub esp, 4
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x6c]
sub esp, 4
mov ecx, dword [eax]
mov dword [esp], eax
call dword [ecx + 8]
sub esp, 4
jmp 0x100159db