Function at 0x100303b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x638
mov eax, dword [0x100e57c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, str.SOFTWAREConexantThirdPartyAppsMaxxAudio
push esi
mov esi, dword [0x100da014]
shr eax, 0x10
push edi
mov dword [ebp - 0x634], ebx
mov dword [ebp - 0x628], esi
mov dword [ebp - 0x620], esi
test eax, eax
jne 0x100304a7
mov ecx, str.SOFTWAREConexantThirdPartyAppsMaxxAudio
movzx edx, cx
push edx
lea ecx, [ebp - 0x620]
call fcn.100018e0
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 0x100304f8
lea eax, [ebp - 0x624]
push eax
push 0x101
push 0
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
je 0x100304f8
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
xor ecx, ecx
lea edx, [esi - 0xc]
mov word [ebx], cx
cmp edx, dword [0x100da010]
je 0x1003048a
add esi, 0xfffffff4
push esi
call edi
test eax, eax
jg 0x1003048a
push esi
call fcn.1004b641
add esp, 4
mov esi, dword [ebp - 0x628]
lea eax, [esi - 0xc]
cmp eax, dword [0x100da010]
je 0x100305f4
add esi, 0xfffffff4
jmp 0x100305e4
push str.SOFTWAREConexantThirdPartyAppsMaxxAudio
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x1003040b
push edi
lea ecx, [ebp - 0x620]
call fcn.100010e0
test eax, eax
je 0x10030405
lea eax, [edi + edi]
lea ecx, [eax + 2]
cmp ecx, eax
jb 0x10030405
mov esi, dword [ebp - 0x620]
push eax
push str.SOFTWAREConexantThirdPartyAppsMaxxAudio
push esi
call fcn.1004b2e0
add esp, 0xc
jmp 0x1003040b
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 0x1003058d
cmp dword [ebp - 0x620], 0
je 0x1003058d
test eax, eax
je 0x1003058d
cmp dword [ebp - 0x630], 0
je 0x1003058d
cmp dword [ebp - 0x62c], 0
je 0x1003058d
xor edi, edi
jmp 0x10030592
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 [0x100da010]
je 0x100305d0
add esi, 0xfffffff4
push esi
call edi
test eax, eax
jg 0x100305d0
push esi
call fcn.1004b641
add esp, 4
mov eax, dword [ebp - 0x628]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x100da010]
je 0x100305f4
lea esi, [eax - 0xc]
push esi
call edi
test eax, eax
jg 0x100305f4
push esi
call fcn.1004b641
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.1004bb49
mov esp, ebp
pop ebp
ret 8