Function at 0x10007c10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
lea eax, [ebp - 0x90]
push ebx
mov ebx, edx
sub esp, 0xa4
mov dword [ebp - 0x90], pe_nt_image_headers32
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x8c]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], ecx
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
je 0x10007ce0
mov eax, dword [ebp + 0xc]
cmp word [eax], 0
je 0x10007cd0
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x10007eb0
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 0x94]
mov eax, dword [eax]
mov dword [esp + 4], edx
mov dword [esp], ecx
call dword [eax + 0x14]
sub esp, 8
test eax, eax
jns 0x10007d97
test byte [0x10018114], 2
je 0x10007cd0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.GetId_failed:__08lx_n
mov dword [esp + 8], str.notify_if_changed
mov dword [esp + 4], 0x10018114
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_3
lea esi, [esi]
xor edx, edx
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x8c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_lstrcmpW]
sub esp, 8
test eax, eax
je 0x10007cd0
cmp word [ebp - 0x8c], 0
mov edx, dword [ebp - 0x98]
jne 0x10007e20
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x98], edx
test ecx, ecx
je 0x10007ebf
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x94]
mov eax, dword [eax]
mov dword [esp + 4], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp], ecx
call dword [eax + 0x14]
mov edx, dword [ebp - 0x98]
sub esp, 8
test eax, eax
jns 0x10007f2a
test byte [0x10018114], 2
je 0x10007cd0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.GetId_failed:__08lx_n
mov dword [esp + 8], str.notify_if_changed
mov dword [esp + 4], 0x10018114
mov dword [esp], 1
mov dword [ebp - 0x98], edx
call sym._wine_dbg_log.constprop.0_3
mov edx, dword [ebp - 0x98]
jmp 0x10007cd2
mov eax, dword [ebp - 0x94]
mov dword [ebp + 0x10], eax
mov eax, dword [0x100180f8]
lea edi, [eax - 4]
cmp eax, 0x100180f8
je 0x10007dfa
nop
mov eax, dword [edi]
mov ecx, dword [ebp + 0x10]
mov edx, dword [eax]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0x18]
mov eax, dword [edi + 4]
sub esp, 0x10
lea edi, [eax - 4]
cmp eax, 0x100180f8
jne 0x10007db0
test ebx, ebx
jne 0x10007df1
mov eax, dword [0x100180f8]
mov ebx, 1
lea edi, [eax - 4]
cmp eax, 0x100180f8
jne 0x10007db0
mov eax, dword [ebp - 0x94]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0xc]
xor edx, edx
mov word [eax], dx
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov edx, 1
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [0x100180f8]
lea edi, [eax - 4]
cmp eax, 0x100180f8
je 0x10007e74
nop
mov eax, dword [edi]
lea ecx, [ebp - 0x8c]
mov edx, dword [eax]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0x18]
mov eax, dword [edi + 4]
sub esp, 0x10
lea edi, [eax - 4]
cmp eax, 0x100180f8
jne 0x10007e30
test ebx, ebx
jne 0x10007e74
mov eax, dword [0x100180f8]
mov ebx, 1
lea edi, [eax - 4]
cmp eax, 0x100180f8
jne 0x10007e30
mov eax, dword [ebp - 0x8c]
mov esi, dword [ebp + 0xc]
mov edx, 1
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp + 0xc]
mov dword [esi + 0x7c], eax
mov eax, dword [ebp + 0xc]
lea esi, [ebp - 0x8c]
lea edi, [eax + 4]
and edi, 0xfffffffc
sub eax, edi
lea ecx, [eax + 0x80]
sub esi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
jmp 0x10007cd2
mov dword [ebp - 0x94], 0
jmp 0x10007da0
mov dword [ebp - 0x94], 0
mov eax, dword [0x100180f8]
lea edx, [eax - 4]
cmp eax, 0x100180f8
je 0x10007dfa
mov edi, edx
nop
mov eax, dword [edi]
mov ecx, dword [ebp + 0x10]
mov edx, dword [eax]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0x18]
mov eax, dword [edi + 4]
sub esp, 0x10
lea edi, [eax - 4]
cmp eax, 0x100180f8
jne 0x10007ee0
test ebx, ebx
jne 0x10007df1
mov eax, dword [0x100180f8]
mov ebx, 1
lea edi, [eax - 4]
cmp eax, 0x100180f8
jne 0x10007ee0
jmp 0x10007df1
mov eax, dword [ebp - 0x94]
mov dword [ebp + 0x10], eax
jmp 0x10007ec9