Function at 0x44ac30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b8341
mov eax, dword fs:[0]
push eax
sub esp, 0x410
mov eax, dword [0x6319d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x400], esi
mov dword [ebp - 0x414], ebx
call fcn.0046d4f0
test eax, eax
je 0x44acfa
push 0
push str.CInstallHDAudioBus_::_ValidateService
push 0x6766b0
call fcn.00599ee3
mov eax, dword [str.ENTRY:]
mov ecx, dword [0x5ccf7c]
mov dword [0x6765b0], eax
mov eax, 0x6766b0
mov dword [0x6765b4], ecx
add esp, 0xc
mov ecx, eax
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x44acb0
mov edi, 0x6765b0
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x44acc1
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d500
push 0x6765b0
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
mov esi, dword [ebp - 0x400]
call fcn.0046d4f0
test eax, eax
je 0x44ad28
push ebx
push esi
push str.szServiceName___s__szServiceFileName___s_n
push 0x6764b0
call fcn.00599ee3
add esp, 0x10
push 0x6764b0
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
mov eax, ebx
mov dword [ebp - 0x404], 0
mov dword [ebp - 0x408], 0x3e8
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x44ad41
sub eax, ecx
push esi
lea ecx, [ebp - 0x41c]
mov ebx, eax
call fcn.00403380
mov esi, eax
push str.SYSTEMCurrentControlSetServices_
lea ecx, [ebp - 0x418]
mov dword [ebp - 4], 0
call fcn.00403380
push esi
push eax
lea edx, [ebp - 0x40c]
push edx
mov byte [ebp - 4], 1
call fcn.00402910
add esp, 0xc
mov eax, dword [ebp - 0x418]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44adac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x41c]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44add2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebp - 0x40c]
lea ecx, [ebp - 0x410]
push ecx
push 0x20019
push 0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44aef4
mov edx, dword [ebp - 0x410]
lea eax, [ebp - 0x408]
push eax
lea ecx, [ebp - 0x3f8]
push ecx
push 0
push 0
push str.ImagePath
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x44aee7
xor esi, esi
mov dword [ebp - 0x400], esi
cmp dword [ebp - 0x408], esi
jbe 0x44aee7
lea ebx, [ebx]
mov al, byte [ebp + esi - 0x3f8]
mov ecx, dword [ebp - 0x414]
mov dl, byte [ecx]
lea edi, [ebp + esi - 0x3f8]
mov byte [ebp - 0x3f9], al
push 1
lea eax, [ebp - 0x3fa]
push eax
lea ecx, [ebp - 0x3f9]
push ecx
mov byte [ebp - 0x3fa], dl
call fcn.0059bff8
add esp, 0xc
test eax, eax
jne 0x44aec8
lea esi, [eax + 1]
cmp ebx, esi
jbe 0x44aebe
mov dl, byte [edi + esi]
mov eax, dword [ebp - 0x414]
mov cl, byte [eax + esi]
mov byte [ebp - 0x3f9], dl
push 1
lea edx, [ebp - 0x3fa]
push edx
lea eax, [ebp - 0x3f9]
push eax
mov byte [ebp - 0x3fa], cl
call fcn.0059bff8
add esp, 0xc
test eax, eax
jne 0x44aebe
inc esi
cmp esi, ebx
jb 0x44ae85
cmp esi, ebx
je 0x44aedd
mov esi, dword [ebp - 0x400]
inc esi
mov dword [ebp - 0x400], esi
cmp esi, dword [ebp - 0x408]
jb 0x44ae40
jmp 0x44aee7
mov dword [ebp - 0x404], 1
mov ecx, dword [ebp - 0x410]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0046d4f0
test eax, eax
je 0x44af77
mov edx, dword [ebp - 0x404]
push edx
push str.CInstallHDAudioBus_::_ValidateService_:_bRetVal___d_n
push 0x6763b0
call fcn.00599ee3
mov eax, dword [str.EXIT:]
mov ecx, dword [0x5ccefc]
mov dword [0x6762b0], eax
mov eax, 0x6763b0
mov dword [0x6762b4], ecx
add esp, 0xc
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x44af33
mov edi, 0x6762b0
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x44af44
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0x6762b0
rep movsb byte es:[edi], byte [esi]
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d510
mov eax, dword [ebp - 0x40c]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44afa0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x404]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00599ed4
mov esp, ebp
pop ebp
ret 8