Function at 0x430970
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x490b51
push eax
mov dword fs:[0], esp
sub esp, 0x808
push ebx
push esi
push edi
call fcn.0044bde0
test eax, eax
je 0x430a28
push 0
lea eax, [esp + 0x30]
push str.CInstallHDAudioBus_::_ValidateService
push eax
call fcn.00471c30
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.0044bd70
mov ecx, eax
call fcn.0044be10
lea eax, [esp + 0x12c]
push eax
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
call fcn.0044bde0
mov ebx, dword [esp + 0x828]
mov esi, dword [esp + 0x824]
test eax, eax
je 0x430a64
push ebx
push esi
lea ecx, [esp + 0x34]
push str.szServiceName___s__szServiceFileName___s_n
push ecx
call fcn.00471c30
add esp, 0x10
lea edx, [esp + 0x2c]
push edx
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
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.004822f6
mov esi, eax
push str.SYSTEMCurrentControlSetServices_
lea ecx, [esp + 0x2c]
mov dword [esp + 0x824], 0
call fcn.004822f6
push esi
push eax
lea eax, [esp + 0x24]
mov byte [esp + 0x828], 1
push eax
call fcn.0048246b
lea ecx, [esp + 0x28]
mov byte [esp + 0x820], 4
call fcn.00482288
lea ecx, [esp + 0x2c]
mov byte [esp + 0x820], 3
call fcn.00482288
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 0x430bcb
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 0x430bc0
mov eax, dword [esp + 0x14]
xor esi, esi
test eax, eax
mov dword [esp + 0x24], esi
jbe 0x430bc0
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.0047f5b0
add esp, 0xc
test eax, eax
jne 0x430ba9
mov esi, 1
cmp ebp, esi
jbe 0x430ba1
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.0047f5b0
add esp, 0xc
test eax, eax
jne 0x430ba1
inc esi
cmp esi, ebp
jb 0x430b76
cmp esi, ebp
je 0x430bb8
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
mov dword [esp + 0x24], esi
jb 0x430b3d
jmp 0x430bc0
mov dword [esp + 0x18], 1
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0044bde0
test eax, eax
pop ebp
je 0x430c6f
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x32c]
push eax
push str.CInstallHDAudioBus_::_ValidateService_:_bRetVal___d_n
push ecx
call fcn.00471c30
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.0044bd70
mov ecx, eax
call fcn.0044c180
call fcn.0044bd70
mov ecx, eax
call fcn.0044be20
lea ecx, [esp + 0x18]
mov dword [esp + 0x81c], 0xffffffff
call fcn.00482288
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