Function at 0x10036000
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x638
mov eax, dword [0x100f38c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, str.SOFTWAREConexantThirdPartyAppsMaxxAudio
push esi
mov esi, dword [0x100e8014]
shr eax, 0x10
push edi
mov dword [ebp - 0x634], ebx
mov dword [ebp - 0x628], esi
mov dword [ebp - 0x620], esi
test eax, eax
jne 0x100360f7
mov ecx, str.SOFTWAREConexantThirdPartyAppsMaxxAudio
movzx edx, cx
push edx
lea ecx, [ebp - 0x620]
call fcn.100015c0
mov esi, dword [ebp - 0x620]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea edx, [ebp - 0x624]
push edx
push 1
push 0
mov eax, 0x104
push esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x630], eax
mov dword [ebp - 0x62c], eax
mov dword [ebp - 0x638], eax
call edi
test eax, eax
je 0x10036148
lea eax, [ebp - 0x624]
push eax
push 0x101
push 0
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
je 0x10036148
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
xor ecx, ecx
lea edx, [esi - 0xc]
mov word [ebx], cx
cmp edx, dword [0x100e8010]
je 0x100360da
add esi, 0xfffffff4
push esi
call edi
test eax, eax
jg 0x100360da
push esi
call fcn.10055c11
add esp, 4
mov esi, dword [ebp - 0x628]
lea eax, [esi - 0xc]
cmp eax, dword [0x100e8010]
je 0x10036244
add esi, 0xfffffff4
jmp 0x10036234
push str.SOFTWAREConexantThirdPartyAppsMaxxAudio
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x1003605b
push edi
lea ecx, [ebp - 0x620]
call fcn.10001200
test eax, eax
je 0x10036055
lea eax, [edi + edi]
lea ecx, [eax + 2]
cmp ecx, eax
jb 0x10036055
mov esi, dword [ebp - 0x620]
push eax
push str.SOFTWAREConexantThirdPartyAppsMaxxAudio
push esi
call fcn.100558b0
add esp, 0xc
jmp 0x1003605b
mov eax, dword [ebp - 0x624]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x630]
push ecx
lea edx, [ebp - 0x61c]
push edx
push 0
push 0
push str.InstallationDirectory
push eax
call edi
lea ecx, [ebp - 0x62c]
push ecx
lea edx, [ebp - 0x414]
push edx
push 0
push 0
mov ebx, eax
mov eax, dword [ebp - 0x624]
push str.ExecutionCommand
push eax
call edi
lea ecx, [ebp - 0x638]
push ecx
lea edx, [ebp - 0x20c]
push edx
push 0
push 0
mov dword [ebp - 0x620], eax
mov eax, dword [ebp - 0x624]
push str.ExecutionParameters
push eax
call edi
test ebx, ebx
je 0x100361dd
cmp dword [ebp - 0x620], 0
je 0x100361dd
test eax, eax
je 0x100361dd
cmp dword [ebp - 0x630], 0
je 0x100361dd
cmp dword [ebp - 0x62c], 0
je 0x100361dd
xor edi, edi
jmp 0x100361e2
mov edi, 1
mov ecx, dword [ebp - 0x624]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x634]
neg edi
sbb edi, edi
mov word [edx], di
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea eax, [esi - 0xc]
cmp eax, dword [0x100e8010]
je 0x10036220
add esi, 0xfffffff4
push esi
call edi
test eax, eax
jg 0x10036220
push esi
call fcn.10055c11
add esp, 4
mov eax, dword [ebp - 0x628]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x100e8010]
je 0x10036244
lea esi, [eax - 0xc]
push esi
call edi
test eax, eax
jg 0x10036244
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