Function at 0x421d4d
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x60
mov eax, 0x4d1223
call fcn.004b17f0
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x14], edi
call fcn.0049d1fb
push eax
lea ecx, [ebp - 0x24]
call fcn.0042149e
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 4], 1
call fcn.004237b9
push ecx
mov byte [ebp - 4], 2
mov eax, esp
mov dword [ebp - 0x1c], esp
push dword [esi + 0xc]
push str.EnumVirtServiceRegKeys_AppID_s_
push eax
call fcn.00466a00
add esp, 0xc
call fcn.00421d1d
pop ecx
push dword [esi + 0xc]
lea eax, [ebp - 0x18]
push str.SoftwareVOS_s
push eax
call fcn.00466a00
add esp, 0xc
push str.RegistryMachineSystemCurrentControlSetServices
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 3
call fcn.0042366e
add esp, 0xc
lea ecx, [ebp - 0x14]
push ecx
push 0x109
mov byte [ebp - 4], 4
mov eax, dword [eax]
push edi
push eax
call fcn.00478650
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov ebx, eax
call fcn.0042101a
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0042101a
cmp ebx, edi
je 0x421e1a
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 8]
call fcn.004237f1
jmp 0x4220f6
push ecx
mov eax, esp
mov dword [ebp - 0x1c], esp
push dword [esi + 0xc]
push str.EnumVirtServiceRegKeys:__s:_browsing_service_keys
push eax
call fcn.00466a00
add esp, 0xc
call fcn.00421d1d
pop ecx
mov dword [ebp - 0x1c], edi
lea esi, [ebp - 0x6c]
call fcn.004218f2
mov byte [ebp - 4], 5
call fcn.0049d1fb
push eax
lea ecx, [ebp - 0x18]
call fcn.0042149e
mov byte [ebp - 4], 6
call fcn.0049d1fb
push eax
lea ecx, [ebp - 0x10]
call fcn.0042149e
mov esi, 0x104
push esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.004214c6
push esi
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.0042372d
cmp esi, edi
jne 0x4220bf
push edi
lea eax, [ebp - 0x50]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.Type
call fcn.0042341f
push ecx
mov byte [ebp - 4], 8
lea eax, [ebp - 0x10]
mov dword [ebp - 0x2c], esp
mov ecx, esp
push eax
call fcn.00423aca
push dword [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.00467ab0
add esp, 0x14
cmp eax, edi
jne 0x421efb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
push str.EnumVirtServiceRegKeys:_could_NOT_read_value_Start__LE_d_._Skipping_this_service.
push ecx
call fcn.00466a00
add esp, 0xc
call fcn.00421d1d
pop ecx
jmp 0x422099
push edi
lea eax, [ebp - 0x4c]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.Start
call fcn.0042341f
push ecx
mov byte [ebp - 4], 9
lea eax, [ebp - 0x10]
mov dword [ebp - 0x28], esp
mov ecx, esp
push eax
call fcn.00423aca
push dword [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.00467ab0
add esp, 0x14
cmp eax, edi
je 0x421ed5
push edi
push edi
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.DisplayName
lea ebx, [ebp - 0x68]
call fcn.0042341f
push ecx
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x10]
mov dword [ebp - 0x28], esp
mov ecx, esp
push eax
call fcn.00423aca
push dword [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.004677d0
add esp, 0x18
push edi
push edi
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.Group
lea ebx, [ebp - 0x54]
call fcn.0042341f
push ecx
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x10]
mov dword [ebp - 0x28], esp
mov ecx, esp
push eax
call fcn.00423aca
push dword [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.004677d0
add esp, 0x18
push edi
lea eax, [ebp - 0x48]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.ErrorControl
call fcn.0042341f
push ecx
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x10]
mov dword [ebp - 0x28], esp
mov ecx, esp
push eax
call fcn.00423aca
push dword [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.00467ab0
add esp, 0x14
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00423aeb
push edi
push edi
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.ImagePath
lea ebx, [ebp - 0x18]
call fcn.0042341f
push ecx
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x28], esp
mov ecx, esp
lea eax, [ebp - 0x10]
push eax
call fcn.00423aca
push dword [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.004677d0
add esp, 0x14
mov eax, ebx
mov dword [ebp - 0x2c], esp
mov ecx, esp
push eax
call fcn.00423aca
lea eax, [ebp - 0x6c]
push eax
call fcn.00421937
test byte [ebp - 0x50], 0x30
mov eax, str.Win32
jne 0x422048
mov eax, str.Kernel
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x50]
push dword [ebp - 0x4c]
push dword [ebp - 0x60]
push eax
push dword [ebp - 0x6c]
push str.EnumVirtServiceRegKeys:_service_found:__s__s:_s__start_d__type_d_
push ecx
call fcn.00466a00
add esp, 0x1c
call fcn.00421d1d
mov eax, esp
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push str.EnumVirtServiceRegKeys:_decomposed:_Exe_s__Args_s
push eax
call fcn.00466a00
add esp, 0x10
call fcn.00421d1d
pop ecx
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x44]
call fcn.004238c8
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0042101a
lea esi, [ebp - 0x6c]
call fcn.00421cd3
inc dword [ebp - 0x1c]
jmp 0x421e3a
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0042101a
lea esi, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.00421cd3
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 8]
call fcn.004237f1
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x20], 1
mov byte [ebp - 4], 1
call fcn.0042389c
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.0042101a
mov eax, dword [ebp + 8]
call fcn.004b18c8
ret