Function at 0x1400100d0
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 [0x14004c010]
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 0x14001032f
mov ecx, 0xe000
call fcn.14001ebfc
xor r13d, r13d
mov r14, rax
mov dword [rbp + 0x17], r13d
test rax, rax
je 0x140010318
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 0x1400102a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x140010302
mov esi, dword [rbp + 0x1b]
mov rcx, r14
add esi, 0xe000
mov edx, esi
mov r15d, esi
call fcn.14001ec20
mov rbx, rax
test rax, rax
je 0x140010310
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 0x140010310
mov ebx, r13d
mov r15b, 1
cmp dword [rbp + 0x17], ebx
jbe 0x1400102e8
nop
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 0x1400102de
inc rdi
cmp rdi, 0xd
jl 0x1400102c0
jmp 0x1400102e1
xor r15b, r15b
inc ebx
cmp ebx, dword [rbp + 0x17]
jb 0x1400102b0
mov rcx, r14
call fcn.14001ec04
test r15b, r15b
je 0x140010324
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x140010340
mov edx, eax
lea rcx, str.ERROR:__u_n
call fcn.140009500
mov rcx, r14
call fcn.14001ec04
lea rcx, str.Failed_to_get_services_list._n
call fcn.140009500
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14001033b
lea rcx, str.Failed_to_get_SCM_handle._n
call fcn.140009500
mov eax, 1
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140016110
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