Function at 0x10030610
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x634
mov eax, dword [0x100e57c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x100da014]
mov eax, str.SOFTWAREConexantThirdPartyAppsMaxxAudio
shr eax, 0x10
mov ebx, esi
push edi
mov dword [ebp - 0x634], ebx
mov dword [ebp - 0x620], esi
test eax, eax
jne 0x10030714
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 - 0x62c], eax
mov dword [ebp - 0x628], eax
mov dword [ebp - 0x630], eax
call edi
test eax, eax
je 0x10030765
lea eax, [ebp - 0x624]
push eax
push 0x101
push 0
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
je 0x10030765
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [esi - 0xc]
cmp ecx, dword [0x100da010]
je 0x100306de
add esi, 0xfffffff4
push esi
call edi
test eax, eax
jg 0x100306de
push esi
call fcn.1004b641
add esp, 4
lea edx, [ebx - 0xc]
cmp edx, dword [0x100da010]
je 0x100306fc
lea esi, [ebx - 0xc]
push esi
call edi
test eax, eax
jg 0x100306fc
push esi
call fcn.1004b641
add esp, 4
pop edi
pop esi
mov eax, 0x80004005
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004bb49
mov esp, ebp
pop ebp
ret 4
push str.SOFTWAREConexantThirdPartyAppsMaxxAudio
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x10030664
push edi
lea ecx, [ebp - 0x620]
call fcn.100010e0
test eax, eax
je 0x1003065e
lea eax, [edi + edi]
lea ecx, [eax + 2]
cmp ecx, eax
jb 0x1003065e
mov esi, dword [ebp - 0x620]
push eax
push str.SOFTWAREConexantThirdPartyAppsMaxxAudio
push esi
call fcn.1004b2e0
add esp, 0xc
jmp 0x10030664
mov edx, dword [ebp - 0x624]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x62c]
push eax
lea ecx, [ebp - 0x61c]
push ecx
push 0
push 0
push str.InstallationDirectory
push edx
call edi
mov edx, dword [ebp - 0x624]
mov ebx, eax
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push 0
push 0
push str.ExecutionCommand
push edx
call edi
mov edx, dword [ebp - 0x624]
mov dword [ebp - 0x620], eax
lea eax, [ebp - 0x630]
push eax
lea ecx, [ebp - 0x414]
push ecx
push 0
push 0
push str.ExecutionParameters
push edx
call edi
test ebx, ebx
je 0x100307fa
cmp dword [ebp - 0x620], 0
je 0x100307fa
test eax, eax
je 0x100307fa
cmp dword [ebp - 0x62c], 0
je 0x100307fa
cmp dword [ebp - 0x628], 0
je 0x100307fa
xor edi, edi
jmp 0x100307ff
mov edi, 1
mov eax, dword [ebp - 0x624]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, 1
jne 0x10030831
push edi
lea ecx, [ebp - 0x61c]
push ecx
lea edx, [ebp - 0x414]
push edx
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [esi - 0xc]
cmp ecx, dword [0x100da010]
je 0x10030855
add esi, 0xfffffff4
push esi
call edi
test eax, eax
jg 0x10030855
push esi
call fcn.1004b641
add esp, 4
mov eax, dword [ebp - 0x634]
lea edx, [eax - 0xc]
cmp edx, dword [0x100da010]
je 0x10030879
lea esi, [eax - 0xc]
push esi
call edi
test eax, eax
jg 0x10030879
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 4