Function at 0x422e2c
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x64
mov eax, 0x4e0295
call fcn.004bee78
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x24], ebx
call fcn.004aa2e3
push eax
lea ecx, [ebp - 0x28]
call fcn.0042249b
xor edi, edi
lea eax, [ebp - 0x48]
inc edi
push eax
mov dword [ebp - 4], edi
call fcn.00424bec
push ecx
mov eax, esp
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], esp
push dword [esi + 0xc]
mov dword [ebp - 0x18], ebx
push str.EnumVirtServiceRegKeys_AppID_s_
push eax
call fcn.0046aaf0
add esp, 0xc
call fcn.00422dfc
pop ecx
lea eax, [ebp - 0x18]
push eax
push 0x109
push ebx
push str.RegistryMachineSystemCurrentControlSetServices
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x422ead
lea eax, [ebp - 0x48]
push eax
push dword [ebp + 8]
call fcn.00424c24
jmp 0x4231aa
push ecx
mov eax, esp
mov dword [ebp - 0x20], esp
push dword [esi + 0xc]
push str.EnumVirtServiceRegKeys:__s:_browsing_service_keys
push eax
call fcn.0046aaf0
add esp, 0xc
call fcn.00422dfc
pop ecx
mov dword [ebp - 0x20], ebx
lea esi, [ebp - 0x70]
call fcn.004228f9
mov byte [ebp - 4], 3
call fcn.004aa2e3
push eax
lea ecx, [ebp - 0x1c]
call fcn.0042249b
mov byte [ebp - 4], 4
call fcn.004aa2e3
push eax
lea ecx, [ebp - 0x14]
call fcn.0042249b
mov esi, 0x104
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.004224cd
push esi
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.00424b01
cmp esi, ebx
jne 0x423173
push ebx
lea eax, [ebp - 0x54]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.Type
call fcn.004247f3
push ecx
mov byte [ebp - 4], 6
lea eax, [ebp - 0x14]
mov dword [ebp - 0x30], esp
mov ecx, esp
push eax
call fcn.00424efd
push dword [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.0046b850
add esp, 0x14
cmp eax, ebx
jne 0x422fac
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push eax
push str.EnumVirtServiceRegKeys:_could_NOT_read_value_Start__LE_d_._Skipping_this_service.
push ecx
call fcn.0046aaf0
add esp, 0xc
call fcn.00422dfc
pop ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0042201a
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0042201a
lea esi, [ebp - 0x70]
call fcn.00422db2
jmp 0x42316b
push ebx
lea eax, [ebp - 0x50]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.Start
call fcn.004247f3
push ecx
mov byte [ebp - 4], 7
lea eax, [ebp - 0x14]
mov dword [ebp - 0x2c], esp
mov ecx, esp
push eax
call fcn.00424efd
push dword [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.0046b850
add esp, 0x14
cmp eax, ebx
je 0x422f68
push ebx
push ebx
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.DisplayName
lea edi, [ebp - 0x6c]
call fcn.004247f3
push ecx
mov byte [ebp - 4], 8
lea eax, [ebp - 0x14]
mov dword [ebp - 0x2c], esp
mov ecx, esp
push eax
call fcn.00424efd
push dword [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.0046b5d0
add esp, 0x18
push ebx
push ebx
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.Group
lea edi, [ebp - 0x58]
call fcn.004247f3
push ecx
mov byte [ebp - 4], 9
lea eax, [ebp - 0x14]
mov dword [ebp - 0x2c], esp
mov ecx, esp
push eax
call fcn.00424efd
push dword [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.0046b5d0
add esp, 0x18
push ebx
lea eax, [ebp - 0x4c]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.ErrorControl
call fcn.004247f3
push ecx
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x14]
mov dword [ebp - 0x2c], esp
mov ecx, esp
push eax
call fcn.00424efd
push dword [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.0046b850
add esp, 0x14
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x70]
call fcn.00424f1e
push ebx
push ebx
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.ImagePath
lea edi, [ebp - 0x1c]
call fcn.004247f3
push ecx
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x2c], esp
mov ecx, esp
lea eax, [ebp - 0x14]
push eax
call fcn.00424efd
push dword [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.0046b5d0
add esp, 0x14
mov eax, edi
mov dword [ebp - 0x30], esp
mov ecx, esp
push eax
call fcn.00424efd
lea eax, [ebp - 0x70]
push eax
call fcn.0042293e
test byte [ebp - 0x54], 0x30
mov eax, str.Win32
jne 0x4230f9
mov eax, str.Kernel
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push dword [ebp - 0x54]
push dword [ebp - 0x50]
push dword [ebp - 0x64]
push eax
push dword [ebp - 0x70]
push str.EnumVirtServiceRegKeys:_service_found:__s__s:_s__start_d__type_d_
push ecx
call fcn.0046aaf0
add esp, 0x1c
call fcn.00422dfc
mov eax, esp
mov dword [ebp - 0x30], esp
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push str.EnumVirtServiceRegKeys:_decomposed:_Exe_s__Args_s
push eax
call fcn.0046aaf0
add esp, 0x10
call fcn.00422dfc
pop ecx
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x48]
call fcn.00424cfb
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0042201a
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0042201a
lea esi, [ebp - 0x70]
call fcn.00422db2
xor edi, edi
inc edi
inc dword [ebp - 0x20]
jmp 0x422ecd
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0042201a
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0042201a
lea esi, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.00422db2
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x48]
push eax
push dword [ebp + 8]
call fcn.00424c24
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x24], edi
mov byte [ebp - 4], 1
call fcn.00424ccf
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.0042201a
mov eax, dword [ebp + 8]
call fcn.004bef50
ret