Function at 0x10036760
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x100f38c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ecx, str.SOFTWAREDolbyDolby_Control_Center
push esi
mov esi, dword [0x100e8014]
shr ecx, 0x10
push edi
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x210], esi
test ecx, ecx
jne 0x10036887
mov edx, str.SOFTWAREDolbyDolby_Control_Center
movzx eax, dx
push eax
lea ecx, [ebp - 0x210]
call fcn.100015c0
mov esi, dword [ebp - 0x210]
mov ebx, dword [0x100e8014]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea edx, [ebp - 0x214]
push edx
push 1
push 0
push esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x21c], 0x104
call edi
test eax, eax
je 0x100368d8
lea eax, [ebp - 0x214]
push eax
push 0x101
push 0
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
je 0x100368d8
mov edx, dword [ebp - 0x218]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
xor ecx, ecx
lea eax, [ebx - 0xc]
mov word [edx], cx
cmp eax, dword [0x100e8010]
je 0x10036849
add ebx, 0xfffffff4
push ebx
call edi
test eax, eax
jg 0x10036849
push ebx
call fcn.10055c11
add esp, 4
lea ecx, [esi - 0xc]
cmp ecx, dword [0x100e8010]
je 0x10036867
add esi, 0xfffffff4
push esi
call edi
test eax, eax
jg 0x10036867
push esi
call fcn.10055c11
add esp, 4
mov eax, dword [ebp - 0x220]
lea edx, [eax - 0xc]
cmp edx, dword [0x100e8010]
je 0x100369b1
lea esi, [eax - 0xc]
push esi
call edi
jmp 0x100369a4
push str.SOFTWAREDolbyDolby_Control_Center
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x100367c5
push edi
lea ecx, [ebp - 0x210]
call fcn.10001200
test eax, eax
je 0x100367bf
lea eax, [edi + edi]
lea ecx, [eax + 2]
cmp ecx, eax
jb 0x100367bf
mov esi, dword [ebp - 0x210]
push eax
push str.SOFTWAREDolbyDolby_Control_Center
push esi
call fcn.100558b0
add esp, 0xc
jmp 0x100367c5
push str.InstallPath
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push str.InstallPath
push eax
lea ecx, [ebp - 0x210]
call fcn.100014f0
mov edi, dword [ebp - 0x210]
mov edx, dword [ebp - 0x214]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push 0
push 0
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1003692b
xor ebx, ebx
cmp dword [ebp - 0x21c], ebx
setne bl
jmp 0x10036931
mov ebx, dword [ebp - 0x224]
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x218]
neg ebx
sbb ebx, ebx
mov word [ecx], bx
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [edi - 0xc]
cmp edx, dword [0x100e8010]
je 0x1003696f
add edi, 0xfffffff4
push edi
call ebx
test eax, eax
jg 0x1003696f
push edi
call fcn.10055c11
add esp, 4
lea eax, [esi - 0xc]
cmp eax, dword [0x100e8010]
je 0x1003698d
add esi, 0xfffffff4
push esi
call ebx
test eax, eax
jg 0x1003698d
push esi
call fcn.10055c11
add esp, 4
mov eax, dword [ebp - 0x220]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x100e8010]
je 0x100369b1
lea esi, [eax - 0xc]
push esi
call ebx
test eax, eax
jg 0x100369b1
push esi
call fcn.10055c11
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.10055898
mov esp, ebp
pop ebp
ret 8