Function at 0x14002bec0
Capabilities:
Enumerate services

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov rax, qword [0x1400be080]
xor rax, rsp
mov qword [rbp + 0x27], rax
lea rax, str.VBoxWddm
mov r8d, 5
mov qword [rbp - 0x59], rax
lea rdx, str.ServicesActive
lea rax, str.VBoxSF
xor ecx, ecx
mov qword [rbp - 0x51], rax
lea rax, str.VBoxMouse
mov qword [rbp - 0x49], rax
lea rax, str.VBoxGuest
mov qword [rbp - 0x41], rax
lea rax, str.vmci
mov qword [rbp - 0x39], rax
lea rax, str.vmhgfs
mov qword [rbp - 0x31], rax
lea rax, str.vmmouse
mov qword [rbp - 0x29], rax
lea rax, str.vmmemctl
mov qword [rbp - 0x21], rax
lea rax, str.vmusb
mov qword [rbp - 0x19], rax
lea rax, str.vmusbmouse
mov qword [rbp - 0x11], rax
lea rax, str.vmx_svga
mov qword [rbp - 9], rax
lea rax, str.vmxnet
mov qword [rbp - 1], rax
lea rax, str.vmx86
mov qword [rbp + 7], rax
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov r12, rax
test rax, rax
je 0x14002c121
mov ecx, 0xe000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
xor r13d, r13d
mov r14, rax
mov dword [rbp + 0x17], r13d
test rax, rax
je 0x14002c10a
mov rdi, rax
mov qword [rsp + 0x48], r13
xor eax, eax
mov dword [rbp + 0x1b], r13d
mov ecx, 0xe000
mov dword [rbp + 0x1f], r13d
rep stosb byte [rdi], al
lea rax, [rbp + 0x1f]
xor edx, edx
mov qword [rsp + 0x40], rax
lea r9d, [r13 + 3]
lea rax, [rbp + 0x17]
mov rcx, r12
mov qword [rsp + 0x38], rax
lea r8d, [r13 + 0xb]
lea rax, [rbp + 0x1b]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0xe000
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusExW]
test eax, eax
jne 0x14002c095
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x14002c0f3
mov esi, dword [rbp + 0x1b]
mov rcx, r14
add esi, 0xe000
mov edx, esi
mov r15d, esi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov rbx, rax
test rax, rax
je 0x14002c101
mov rdi, rax
mov qword [rsp + 0x48], r13
mov r14, rax
mov qword [rsp + 0x40], r13
xor eax, eax
lea r9d, [r13 + 3]
mov ecx, r15d
lea r8d, [r13 + 0xb]
rep stosb byte [rdi], al
lea rax, [rbp + 0x17]
xor edx, edx
mov qword [rsp + 0x38], rax
mov rcx, r12
lea rax, [rbp + 0x1b]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusExW]
test eax, eax
je 0x14002c101
mov ebx, r13d
mov r15b, 1
cmp dword [rbp + 0x17], ebx
jbe 0x14002c0d8
mov eax, ebx
mov rdi, r13
imul rsi, rax, 0x38
nop dword [rax]
mov rdx, qword [rbp + rdi*8 - 0x59]
mov rcx, qword [rsi + r14]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x14002c0ce
inc rdi
cmp rdi, 0xd
jl 0x14002c0b0
jmp 0x14002c0d1
xor r15b, r15b
inc ebx
cmp ebx, dword [rbp + 0x17]
jb 0x14002c0a0
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test r15b, r15b
je 0x14002c116
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x14002c132
mov edx, eax
lea rcx, str.ERROR:__u_n
call fcn.140001cc0
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, str.Failed_to_get_services_list._n
call fcn.140001cc0
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14002c12d
lea rcx, str.Failed_to_get_SCM_handle._n
call fcn.140001cc0
mov eax, 1
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14008f700
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret