Function at 0x140069208
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 [0x140094940]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor ebx, ebx
mov qword [rbp + 7], rcx
mov rax, rcx
mov dword [rbp - 9], r9d
xor ecx, ecx
mov dword [rbp - 0x19], r8d
mov qword [rbp + 0x17], rcx
mov rsi, rdx
mov qword [rbp + 0x1f], rcx
mov edi, ebx
mov qword [rbp + 0x27], rcx
mov dword [rbp + 0x2f], ecx
mov qword [rbp + 0xf], rbx
mov qword [rbp - 0x11], rbx
mov qword [rbp - 1], rbx
mov rcx, qword [str.___t_]
lea rdx, str.___t_
cmp rcx, rdx
je 0x140069293
test byte [rcx + 0x1c], 2
je 0x140069293
cmp byte [rcx + 0x19], 5
jb 0x140069293
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x20]
lea r8, [0x140084580]
call fcn.140001010
mov rax, qword [rbp + 7]
lea rcx, [rbp + 0x1b]
mov rdx, rsi
mov qword [rsp + 0x30], rcx
lea r9, [rbp - 0x11]
mov rcx, rax
mov dword [rsp + 0x28], 0x2c
lea r8, [rbp + 0xf]
call fcn.14006899c
mov rsi, qword [rbp - 0x11]
test eax, eax
jne 0x140069525
cmp dword [rbp + 0x1b], 1
jne 0x140069305
mov rcx, qword [str.___t_]
lea rdx, str.___t_
cmp rcx, rdx
je 0x1400692fb
test byte [rcx + 0x1c], 2
je 0x1400692fb
cmp byte [rcx + 0x19], 5
jb 0x1400692fb
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x21]
lea r8, [0x140084580]
call fcn.140001010
mov ebx, 1
jmp 0x14006952d
cmp dword [rbp - 0x19], ebx
je 0x1400694af
xor r9d, r9d
mov dword [rbp - 0x19], ebx
lea rax, [rbp - 0x19]
mov dword [rbp - 0x11], ebx
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rbp - 0x11]
mov rcx, rsi
lea edx, [r9 + 1]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
jne 0x14006940b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x140069396
mov rcx, qword [str.___t_]
lea rdx, str.___t_
cmp rcx, rdx
je 0x14006952d
test byte [rcx + 0x1c], 2
je 0x14006952d
cmp byte [rcx + 0x19], 5
jb 0x14006952d
mov edx, 0x22
mov rcx, qword [rcx + 0x10]
lea r8, [0x140084580]
mov r9d, eax
call fcn.140001030
jmp 0x14006952d
cmp dword [rbp - 0x11], ebx
je 0x1400694af
mov ecx, dword [rbp - 0x11]
call fcn.1400625b8
mov qword [rbp - 1], rax
mov rdi, rax
test rax, rax
jne 0x14006940b
mov rax, qword [str.___t_]
lea rdx, str.___t_
cmp rax, rdx
je 0x14006952d
test byte [rax + 0x1c], 2
je 0x14006952d
cmp byte [rax + 0x19], 5
jb 0x14006952d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea edx, [rdi + 0x23]
mov r9d, dword [rbp - 0x11]
lea r8, [0x140084580]
mov dword [rsp + 0x20], eax
mov rcx, qword [rcx + 0x10]
call fcn.1400011ac
jmp 0x14006952d
mov r9d, dword [rbp - 0x11]
lea rax, [rbp - 0x19]
mov qword [rsp + 0x28], rax
mov r8, rdi
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 0x140069478
mov rax, qword [str.___t_]
lea rdx, str.___t_
cmp rax, rdx
je 0x14006952d
test byte [rax + 0x1c], 2
je 0x14006952d
cmp byte [rax + 0x19], 5
jb 0x14006952d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
mov edx, 0x24
jmp 0x14006937e
mov edi, ebx
cmp dword [rbp - 0x19], ebx
jbe 0x1400694af
mov rcx, qword [rbp + 7]
or r9d, 0xffffffff
mov eax, edi
xor r8d, r8d
lea rdx, [rax + rax*2]
mov rax, qword [rbp - 1]
add rdx, rdx
mov rdx, qword [rax + rdx*8]
call fcn.140069208
test eax, eax
je 0x14006952d
inc edi
cmp edi, dword [rbp - 0x19]
jb 0x14006947f
mov edi, 1
lea r8, [rbp + 0x17]
mov edx, edi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x14006950b
mov rax, qword [str.___t_]
lea rdx, str.___t_
cmp rax, rdx
je 0x14006952d
test byte [rax + 0x1c], 2
je 0x14006952d
cmp byte [rax + 0x19], 2
jb 0x14006952d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea edx, [rdi + 0x24]
mov r9d, eax
lea r8, [0x140084580]
mov rcx, qword [rcx + 0x10]
call fcn.140001030
jmp 0x14006952d
mov eax, dword [rbp - 9]
test eax, eax
jne 0x140069516
mov ebx, edi
jmp 0x14006952d
mov r8d, eax
mov rcx, rsi
call fcn.14006a034
test eax, eax
je 0x140069512
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbp - 1]
call fcn.140062654
mov rcx, qword [rbp + 0xf]
mov rdx, rsi
call fcn.140068b3c
mov eax, ebx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140077900
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret