Function at 0x100076d0
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 0x100077a0
mov eax, dword [ebp + 0xc]
cmp word [eax], 0
je 0x10007790
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x10007970
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 0x10007857
test byte [0x10016114], 2
je 0x10007790
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], 0x10016114
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 0x10007790
cmp word [ebp - 0x8c], 0
mov edx, dword [ebp - 0x98]
jne 0x100078e0
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x98], edx
test ecx, ecx
je 0x1000797f
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 0x100079ea
test byte [0x10016114], 2
je 0x10007790
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], 0x10016114
mov dword [esp], 1
mov dword [ebp - 0x98], edx
call sym._wine_dbg_log.constprop.0_3
mov edx, dword [ebp - 0x98]
jmp 0x10007792
mov eax, dword [ebp - 0x94]
mov dword [ebp + 0x10], eax
mov eax, dword [0x100160f8]
lea edi, [eax - 4]
cmp eax, 0x100160f8
je 0x100078ba
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, 0x100160f8
jne 0x10007870
test ebx, ebx
jne 0x100078b1
mov eax, dword [0x100160f8]
mov ebx, 1
lea edi, [eax - 4]
cmp eax, 0x100160f8
jne 0x10007870
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 [0x100160f8]
lea edi, [eax - 4]
cmp eax, 0x100160f8
je 0x10007934
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, 0x100160f8
jne 0x100078f0
test ebx, ebx
jne 0x10007934
mov eax, dword [0x100160f8]
mov ebx, 1
lea edi, [eax - 4]
cmp eax, 0x100160f8
jne 0x100078f0
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 0x10007792
mov dword [ebp - 0x94], 0
jmp 0x10007860
mov dword [ebp - 0x94], 0
mov eax, dword [0x100160f8]
lea edx, [eax - 4]
cmp eax, 0x100160f8
je 0x100078ba
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, 0x100160f8
jne 0x100079a0
test ebx, ebx
jne 0x100078b1
mov eax, dword [0x100160f8]
mov ebx, 1
lea edi, [eax - 4]
cmp eax, 0x100160f8
jne 0x100079a0
jmp 0x100078b1
mov eax, dword [ebp - 0x94]
mov dword [ebp + 0x10], eax
jmp 0x10007989