Function at 0x14000ffe0
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 [0x140027040]
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 0x140010251
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 0x14001023a
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
mov r9d, 3
lea rax, [rbp + 0x17]
mov r8d, 0xb
mov qword [rsp + 0x38], rax
mov rcx, r12
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 0x1400101c1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x140010223
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 0x140010231
mov rdi, rax
mov qword [rsp + 0x48], r13
mov r14, rax
mov qword [rsp + 0x40], r13
xor eax, eax
mov ecx, r15d
rep stosb byte [rdi], al
lea rax, [rbp + 0x17]
xor edx, edx
mov qword [rsp + 0x38], rax
mov r9d, 3
lea rax, [rbp + 0x1b]
mov r8d, 0xb
mov qword [rsp + 0x30], rax
mov rcx, r12
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusExW]
test eax, eax
je 0x140010231
mov ebx, r13d
mov r15b, 1
cmp dword [rbp + 0x17], ebx
jbe 0x140010208
nop dword [rax]
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 0x1400101fe
inc rdi
cmp rdi, 0xd
jl 0x1400101e0
jmp 0x140010201
xor r15b, r15b
inc ebx
cmp ebx, dword [rbp + 0x17]
jb 0x1400101d0
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test r15b, r15b
je 0x140010246
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x140010262
mov edx, eax
lea rcx, str.ERROR:__u_n
call fcn.140008d00
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.140008d00
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14001025d
lea rcx, str.Failed_to_get_SCM_handle._n
call fcn.140008d00
mov eax, 1
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140016040
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