Function at 0x10015140
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, 0x90
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 0x10015458
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 0x10015446
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 0x10015446
mov eax, dword [edi]
lea edx, [ebp - 0x40]
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.sValueName
call dword [eax + 0x10]
sub esp, 0x18
mov ebx, eax
test eax, eax
jne 0x10015498
lea eax, [ebp - 0x6c]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.GetBinaryValue
mov dword [esp + 4], str.StdRegProv
mov dword [esp], 0
call sym._create_signature
mov ebx, eax
test eax, eax
jne 0x10015508
mov edi, dword [ebp - 0x70]
test edi, edi
je 0x10015290
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 0x10015668
lea eax, [ebp - 0x30]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_VariantInit]
mov eax, dword [ebp - 0x38]
sub esp, 4
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x7c], eax
test byte [0x100210a8], 8
jne 0x100154b8
mov eax, esi
mov esi, 0x10008
call sym._get_access_mask
test ah, 1
jne 0x100152e5
and eax, 0x200
cmp eax, 1
sbb esi, esi
and esi, 0xfffe0000
add esi, 0x20008
lea eax, [ebp - 0x64]
mov dword [esp + 0x14], 0
xor edi, edi
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x74]
mov dword [esp + 0x10], 0
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 0xc], esi
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x7c]
mov dword [esp], eax
mov eax, dword [sym.imp.advapi32.dll_RegGetValueW]
mov dword [ebp - 0x80], eax
call eax
sub esp, 0x1c
test eax, eax
jne 0x10015378
mov eax, dword [ebp - 0x64]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov edi, eax
test eax, eax
je 0x10015720
lea eax, [ebp - 0x64]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x74]
mov dword [esp + 0x10], 0
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 0xc], esi
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x7c]
mov dword [esp], eax
mov eax, dword [ebp - 0x80]
call eax
sub esp, 0x1c
test eax, eax
je 0x10015570
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
call sym._set_variant
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x100156a0
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x10015530
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 edx, dword [ebp - 0x70]
sub esp, 4
test edx, edx
je 0x10015434
mov eax, esi
test al, al
je 0x10015434
mov eax, dword [ebp - 0x68]
mov dword [edx], 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 0x10015446
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_binaryvalue
mov dword [esp + 4], 0x100210a8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
jmp 0x10015179
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 - 0x74]
call sym._wine_dbgstr_wn.constprop.0_3
mov edi, eax
mov eax, dword [ebp - 0x78]
call sym._wine_dbgstr_wn.constprop.0_3
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x7c]
mov dword [esp + 0xc], str._p___s___s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.get_binaryvalue
mov dword [esp + 4], 0x100210a8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
jmp 0x100152be
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 0x10015446
mov edx, dword [eax]
lea ebx, [ebp - 0x30]
mov dword [esp], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 0x2011
mov dword [esp + 8], 0
mov dword [esp + 4], str.uValue
call dword [edx + 0x14]
sub esp, 0x14
mov ebx, eax
test eax, eax
jne 0x10015632
mov eax, dword [ebp - 0x68]
jmp 0x100153bd
mov eax, dword [ebp - 0x64]
mov dword [esp + 4], 0
mov dword [esp], 0x11
mov dword [ebp - 0x74], eax
mov dword [esp + 8], eax
call dword [sym.imp.oleaut32.dll_SafeArrayCreateVector]
mov dword [ebp - 0x78], eax
sub esp, 0xc
test eax, eax
je 0x10015713
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x20], 0
xor eax, eax
lea esi, [ebp - 0x20]
test ecx, ecx
je 0x100156b3
mov dword [ebp - 0x7c], ebx
mov ebx, dword [ebp - 0x78]
jmp 0x100155d0
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x74], eax
jbe 0x100156b0
add eax, edi
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp], ebx
call dword [sym.imp.oleaut32.dll_SafeArrayPutElement]
sub esp, 0xc
test eax, eax
je 0x100155c0
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x78]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_SafeArrayDestroy]
mov ecx, dword [ebp - 0x70]
sub esp, 4
mov ebx, ecx
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
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_free]
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 0x10015434
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 0x10015446
mov esi, 1
jmp 0x100153ed
mov ebx, dword [ebp - 0x7c]
lea eax, [ebp - 0x30]
mov dword [esp + 4], 0
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov dword [esp], 0x2011
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
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x100153a7
mov ebx, 0x8007000e
lea esi, [ebp - 0x20]
jmp 0x10015601
mov ebx, 0x8007000e
jmp 0x10015632