Function at 0x140079108
Capabilities:
Enumerate services
Stop service

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor ebx, ebx
mov dword [rbp - 0x19], r8d
mov qword [rbp + 7], rcx
mov rsi, rdx
lea rcx, [rbp + 0x1b]
lea r8d, [rbx + 0x18]
xor edx, edx
mov dword [rbp - 1], r9d
mov qword [rbp + 0xf], rbx
mov qword [rbp - 0x11], rbx
mov dword [rbp + 0x17], ebx
call sub.msvcrt.dll_memset
mov edi, ebx
mov qword [rbp - 9], rbx
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x14007918d
test byte [rcx + 0x1c], 2
je 0x14007918d
cmp byte [rcx + 0x19], 5
jb 0x14007918d
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x20]
lea r8, [0x140005aa0]
call fcn.14000e618
mov rcx, qword [rbp + 7]
lea rax, [rbp + 0x1b]
lea r9, [rbp - 0x11]
mov qword [rsp + 0x30], rax
lea r8, [rbp + 0xf]
mov rdx, rsi
mov dword [rsp + 0x28], 0x2c
call fcn.140078870
mov rsi, qword [rbp - 0x11]
test eax, eax
jne 0x140079420
cmp dword [rbp + 0x1b], 1
jne 0x140079200
mov rcx, qword [str.___t_]
lea rdx, str.___t_
cmp rcx, rdx
je 0x1400791f6
test byte [rcx + 0x1c], 2
je 0x1400791f6
cmp byte [rcx + 0x19], 5
jb 0x1400791f6
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x21]
lea r8, [0x140005aa0]
call fcn.14000e618
mov ebx, 1
jmp 0x140079428
cmp dword [rbp - 0x19], ebx
je 0x1400793aa
lea rax, [rbp - 0x19]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x11]
lea edx, [r9 + 1]
mov rcx, rsi
mov dword [rbp - 0x19], ebx
mov dword [rbp - 0x11], ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
jne 0x1400792f3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x14007927e
mov rcx, qword [str.___t_]
lea rdx, str.___t_
cmp rcx, rdx
je 0x140079428
test byte [rcx + 0x1c], 2
je 0x140079428
cmp byte [rcx + 0x19], 5
jb 0x140079428
mov edx, 0x22
jmp 0x14007935b
cmp dword [rbp - 0x11], ebx
je 0x1400793aa
mov ecx, dword [rbp - 0x11]
call fcn.140072274
mov rdi, rax
mov qword [rbp - 9], rax
test rax, rax
jne 0x1400792f3
mov rax, qword [str.___t_]
lea rdx, str.___t_
cmp rax, rdx
je 0x140079428
test byte [rax + 0x1c], 2
je 0x140079428
cmp byte [rax + 0x19], 5
jb 0x140079428
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
mov r9d, dword [rbp - 0x11]
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x23]
lea r8, [0x140005aa0]
mov dword [rsp + 0x20], eax
call fcn.14000e820
jmp 0x140079428
mov r9d, dword [rbp - 0x11]
lea rax, [rbp - 0x19]
mov r8, rdi
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x11]
mov edx, 1
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
jne 0x140079373
mov rax, qword [str.___t_]
lea rdx, str.___t_
cmp rax, rdx
je 0x140079428
test byte [rax + 0x1c], 2
je 0x140079428
cmp byte [rax + 0x19], 5
jb 0x140079428
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
mov edx, 0x24
mov rcx, qword [rcx + 0x10]
lea r8, [0x140005aa0]
mov r9d, eax
call fcn.14000e63c
jmp 0x140079428
mov edi, ebx
cmp dword [rbp - 0x19], ebx
jbe 0x1400793aa
mov rcx, qword [rbp + 7]
mov eax, edi
or r9d, 0xffffffff
lea rdx, [rax + rax*2]
mov rax, qword [rbp - 9]
xor r8d, r8d
add rdx, rdx
mov rdx, qword [rax + rdx*8]
call fcn.140079108
test eax, eax
je 0x140079428
inc edi
cmp edi, dword [rbp - 0x19]
jb 0x14007937a
mov edi, 1
lea r8, [rbp + 0x17]
mov rcx, rsi
mov edx, edi
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x140079406
mov rax, qword [str.___t_]
lea rdx, str.___t_
cmp rax, rdx
je 0x140079428
test byte [rax + 0x1c], 2
je 0x140079428
cmp byte [rax + 0x19], 2
jb 0x140079428
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea edx, [rdi + 0x24]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140005aa0]
mov r9d, eax
call fcn.14000e63c
jmp 0x140079428
mov eax, dword [rbp - 1]
test eax, eax
jne 0x140079411
mov ebx, edi
jmp 0x140079428
mov r8d, eax
mov rcx, rsi
call fcn.140079f4c
test eax, eax
je 0x14007940d
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbp - 9]
call fcn.140072328
mov rcx, qword [rbp + 0xf]
mov rdx, rsi
call fcn.140078a14
mov eax, ebx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140088640
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret