Function at 0x428e00
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x484181
push eax
mov dword fs:[0], esp
sub esp, 0x808
push ebx
push esi
push edi
call fcn.00441cf0
test eax, eax
je 0x428eb8
push 0
lea eax, [esp + 0x30]
push str.CInstallHDAudioBus_::_ValidateService
push eax
call fcn.00465850
mov edi, str.ENTRY:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x12c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x12c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00441c80
mov ecx, eax
call fcn.00441d20
lea eax, [esp + 0x12c]
push eax
call fcn.00441c80
mov ecx, eax
call fcn.00442090
call fcn.00441cf0
mov ebx, dword [esp + 0x828]
mov esi, dword [esp + 0x824]
test eax, eax
je 0x428ef4
push ebx
push esi
lea ecx, [esp + 0x34]
push str.szServiceName___s__szServiceFileName___s_n
push ecx
call fcn.00465850
add esp, 0x10
lea edx, [esp + 0x2c]
push edx
call fcn.00441c80
mov ecx, eax
call fcn.00442090
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
push ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
push esi
mov ebp, ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0x3e8
call fcn.00475f16
mov esi, eax
push str.SYSTEMCurrentControlSetServices_
lea ecx, [esp + 0x2c]
mov dword [esp + 0x824], 0
call fcn.00475f16
push esi
push eax
lea eax, [esp + 0x24]
mov byte [esp + 0x828], 1
push eax
call fcn.0047608b
lea ecx, [esp + 0x28]
mov byte [esp + 0x820], 4
call fcn.00475ea8
lea ecx, [esp + 0x2c]
mov byte [esp + 0x820], 3
call fcn.00475ea8
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push 0x20019
push 0
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42905b
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x430]
push eax
push ecx
push 0
push 0
push str.ImagePath
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x429050
mov eax, dword [esp + 0x14]
xor esi, esi
test eax, eax
mov dword [esp + 0x24], esi
jbe 0x429050
mov al, byte [esp + esi + 0x430]
mov cl, byte [ebx]
lea edi, [esp + esi + 0x430]
mov byte [esp + 0x12], al
lea edx, [esp + 0x13]
push 1
lea eax, [esp + 0x16]
push edx
push eax
mov byte [esp + 0x1f], cl
call fcn.004731d0
add esp, 0xc
test eax, eax
jne 0x429039
mov esi, 1
cmp ebp, esi
jbe 0x429031
mov cl, byte [edi + esi]
lea eax, [esp + 0x13]
mov byte [esp + 0x12], cl
mov dl, byte [esi + ebx]
push 1
lea ecx, [esp + 0x16]
push eax
push ecx
mov byte [esp + 0x1f], dl
call fcn.004731d0
add esp, 0xc
test eax, eax
jne 0x429031
inc esi
cmp esi, ebp
jb 0x429006
cmp esi, ebp
je 0x429048
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
mov dword [esp + 0x24], esi
jb 0x428fcd
jmp 0x429050
mov dword [esp + 0x18], 1
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00441cf0
test eax, eax
pop ebp
je 0x4290ff
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x32c]
push eax
push str.CInstallHDAudioBus_::_ValidateService_:_bRetVal___d_n
push ecx
call fcn.00465850
mov edi, str.EXIT:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x22c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x22c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x32c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x22c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00441c80
mov ecx, eax
call fcn.00442090
call fcn.00441c80
mov ecx, eax
call fcn.00441d30
lea ecx, [esp + 0x18]
mov dword [esp + 0x81c], 0xffffffff
call fcn.00475ea8
mov ecx, dword [esp + 0x814]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x814
ret 8