Function at 0x10008740
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x13c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x114], 0
mov eax, dword [eax]
cmp dword [0x1000ddfc], eax
je 0x10008810
lea ebx, [ebp - 0x10c]
mov esi, dword [sym.imp.ucrtbase.dll_wcscpy]
mov dword [esp + 4], str.CLSID_
mov dword [esp], ebx
call esi
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_wcslen]
lea edx, [eax + eax]
mov eax, pe_nt_image_headers32
lea edi, [ebx + edx]
sar edx, 1
sub eax, edx
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
sub esp, 0xc
lea eax, [edi + eax*2 - 2]
lea edi, [ebp - 0x114]
mov dword [esp + 4], str.ScriptletURL
mov dword [esp], eax
call esi
mov dword [esp + 0xc], edi
mov esi, dword [sym.imp.advapi32.dll_RegQueryValueW]
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], 0x80000000
call esi
sub esp, 0x10
test eax, eax
je 0x100089f0
mov ebx, 0x80040111
test byte [0x1000a0bc], 1
jne 0x10008880
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
cmp dword [0x1000de00], eax
jne 0x10008767
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
cmp dword [0x1000de04], eax
jne 0x10008767
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
cmp dword [0x1000de08], eax
jne 0x10008767
test byte [0x1000a0bc], 8
jne 0x10008a89
mov eax, dword [ebp + 0x10]
mov dword [esp], 0x1000a020
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [0x1000a020]
call dword [eax]
mov ebx, eax
sub esp, 0xc
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x10008bd0
mov eax, dword [ebp + 0xc]
shr eax, 0x10
je 0x10008bb0
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0xf]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0xe]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0xd]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0xb]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0xa]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 9]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 8]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
movzx eax, word [eax + 6]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, word [eax + 4]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [esp + 4], eax
mov dword [esp], str._08x__04x__04x__02x_02x__02x_02x_02x_02x_02x_02x
call sym._wine_dbg_sprintf
mov ebx, eax
mov eax, dword [ebp + 8]
shr eax, 0x10
je 0x10008b90
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0xf]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0xe]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0xd]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0xb]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0xa]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 9]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 8]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 8]
movzx eax, word [eax + 6]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
movzx eax, word [eax + 4]
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp + 4], eax
mov dword [esp], str._08x__04x__04x__02x_02x__02x_02x_02x_02x_02x_02x
call sym._wine_dbg_sprintf
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x14], ebx
mov ebx, 0x80040111
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0xc], str._s__s__p_n
mov dword [esp + 8], str.DllGetClassObject
mov dword [esp + 4], 0x1000a0bc
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov eax, dword [ebp - 0x114]
add eax, eax
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
test eax, eax
je 0x10008bda
mov dword [esp + 4], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
mov dword [ebp - 0x118], eax
mov dword [esp], 0x80000000
call esi
mov ecx, dword [ebp - 0x118]
lea edx, [ebp - 0x110]
sub esp, 0x10
mov eax, ecx
call sym._create_scriptlet_factory
mov ecx, dword [ebp - 0x118]
mov ebx, eax
mov dword [esp], ecx
call dword [sym.imp.ucrtbase.dll_free]
test ebx, ebx
js 0x10008802
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp + 0x10]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dword [edx]
mov ebx, eax
mov eax, dword [ebp - 0x110]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x10008802
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x10008b80
mov eax, dword [ebp + 0xc]
shr eax, 0x10
je 0x10008b60
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0xf]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0xe]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0xd]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0xb]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0xa]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 9]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 8]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
movzx eax, word [eax + 6]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, word [eax + 4]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [esp + 4], eax
mov dword [esp], str._08x__04x__04x__02x_02x__02x_02x_02x_02x_02x_02x
call sym._wine_dbg_sprintf
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str._Scriptlet.TypeLib__s__p__n
mov dword [esp + 0x14], ecx
mov dword [esp + 8], str.DllGetClassObject
mov dword [esp + 4], 0x1000a0bc
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x10008853
movzx eax, word [ebp + 0xc]
mov dword [esp], str._guid_0x_04hx_
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf
jmp 0x10008b23
mov eax, str._null_
jmp 0x10008b23
movzx eax, word [ebp + 8]
mov dword [esp], str._guid_0x_04hx_
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf
jmp 0x100089ab
movzx eax, word [ebp + 0xc]
mov dword [esp], str._guid_0x_04hx_
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf
mov ebx, eax
jmp 0x1000891c
mov ebx, str._null_
jmp 0x1000891c
mov ebx, 0x8007000e
jmp 0x10008802