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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x634
mov eax, dword [0x100f38c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x100e8014]
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 0x10036364
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 - 0x62c], eax
mov dword [ebp - 0x628], eax
mov dword [ebp - 0x630], eax
call edi
test eax, eax
je 0x100363b5
lea eax, [ebp - 0x624]
push eax
push 0x101
push 0
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
je 0x100363b5
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [esi - 0xc]
cmp ecx, dword [0x100e8010]
je 0x1003632e
add esi, 0xfffffff4
push esi
call edi
test eax, eax
jg 0x1003632e
push esi
call fcn.10055c11
add esp, 4
lea edx, [ebx - 0xc]
cmp edx, dword [0x100e8010]
je 0x1003634c
lea esi, [ebx - 0xc]
push esi
call edi
test eax, eax
jg 0x1003634c
push esi
call fcn.10055c11
add esp, 4
pop edi
pop esi
mov eax, 0x80004005
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10055898
mov esp, ebp
pop ebp
ret 4
push str.SOFTWAREConexantThirdPartyAppsMaxxAudio
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x100362b4
push edi
lea ecx, [ebp - 0x620]
call fcn.10001200
test eax, eax
je 0x100362ae
lea eax, [edi + edi]
lea ecx, [eax + 2]
cmp ecx, eax
jb 0x100362ae
mov esi, dword [ebp - 0x620]
push eax
push str.SOFTWAREConexantThirdPartyAppsMaxxAudio
push esi
call fcn.100558b0
add esp, 0xc
jmp 0x100362b4
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 0x1003644a
cmp dword [ebp - 0x620], 0
je 0x1003644a
test eax, eax
je 0x1003644a
cmp dword [ebp - 0x62c], 0
je 0x1003644a
cmp dword [ebp - 0x628], 0
je 0x1003644a
xor edi, edi
jmp 0x1003644f
mov edi, 1
mov eax, dword [ebp - 0x624]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, 1
jne 0x10036481
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 [0x100e8010]
je 0x100364a5
add esi, 0xfffffff4
push esi
call edi
test eax, eax
jg 0x100364a5
push esi
call fcn.10055c11
add esp, 4
mov eax, dword [ebp - 0x634]
lea edx, [eax - 0xc]
cmp edx, dword [0x100e8010]
je 0x100364c9
lea esi, [eax - 0xc]
push esi
call edi
test eax, eax
jg 0x100364c9
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 4