Function at 0x14000fe90
Capabilities:
Enumerate services

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
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 r13, rax
test rax, rax
je 0x140010109
mov ecx, 0xe000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov dword [rbp + 0x17], 0
mov r15, rax
test rax, rax
je 0x1400100f2
mov rdi, rax
xor edx, edx
xor eax, eax
mov ecx, 0xe000
mov qword [rsp + 0x48], rax
rep stosb byte [rdi], al
mov dword [rbp + 0x1b], eax
lea r9d, [rdx + 3]
mov dword [rbp + 0x1f], eax
lea r8d, [rdx + 0xb]
lea rax, [rbp + 0x1f]
mov rcx, r13
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x17]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x1b]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0xe000
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusExW]
test eax, eax
je 0x14000ffe8
mov r14, r15
jmp 0x14001006c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x1400100db
mov esi, dword [rbp + 0x1b]
mov rcx, r15
add esi, 0xe000
mov edx, esi
mov r14d, esi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov rbx, rax
test rax, rax
je 0x1400100e9
mov rdi, rax
mov r15, rax
xor eax, eax
xor edx, edx
mov qword [rsp + 0x48], rax
mov ecx, r14d
mov qword [rsp + 0x40], rax
rep stosb byte [rdi], al
lea rax, [rbp + 0x17]
mov rcx, r13
mov qword [rsp + 0x38], rax
lea r9d, [rdx + 3]
lea rax, [rbp + 0x1b]
mov qword [rsp + 0x30], rax
lea r8d, [rdx + 0xb]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusExW]
test eax, eax
je 0x1400100e9
mov r14, rbx
xor ebx, ebx
mov qword [rsp + 0x110], r12
mov r12b, 1
cmp dword [rbp + 0x17], ebx
jbe 0x1400100b8
nop
xor edi, edi
mov eax, ebx
imul rsi, rax, 0x38
nop dword [rax + rax]
mov rdx, qword [rbp + rdi*8 - 0x59]
mov rcx, qword [rsi + r14]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x1400100ae
inc rdi
cmp rdi, 0xd
jl 0x140010090
jmp 0x1400100b1
xor r12b, r12b
inc ebx
cmp ebx, dword [rbp + 0x17]
jb 0x140010080
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test r12b, r12b
mov r12, qword [rsp + 0x110]
je 0x1400100fe
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x14001011a
mov edx, eax
lea rcx, str.ERROR:__u_n
call fcn.140008920
mov rcx, r15
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.140008920
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x140010115
lea rcx, str.Failed_to_get_SCM_handle._n
call fcn.140008920
mov eax, 1
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400160d0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret