Function at 0x14000c840
Capabilities:
Enumerate services
Stop service

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xe0
mov rax, qword [0x14020c040]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r14, rdx
mov rdi, rcx
mov qword [rbp - 0x59], rcx
xor esi, esi
mov dword [rbp - 0x69], esi
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov r13d, 1
mov dword [rbp - 0x69], r13d
xor edx, edx
xor ecx, ecx
mov r8d, 5
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov r12, rax
test rax, rax
je 0x14000cb9e
mov dword [rbp - 0x51], esi
mov dword [rbp - 0x4d], esi
mov dword [rbp - 0x49], esi
mov qword [rsp + 0x48], rsi
lea rax, [rbp - 0x49]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x4d]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x51]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
xor edx, edx
mov r9d, 3
mov r8d, 0x30
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusExW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x14000cb95
xorps xmm0, xmm0
mov eax, dword [rbp - 0x51]
mov r15d, eax
movdqu xmmword [rbp - 0x41], xmm0
mov qword [rbp - 0x31], rsi
test eax, eax
je 0x14000c97c
cmp rax, 0x1000
jb 0x14000c954
lea rcx, [rax + 0x27]
cmp rcx, rax
jbe 0x14000cbc8
call fcn.140010140
mov rcx, rax
test rax, rax
je 0x14000cb89
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14000c95c
mov rcx, r15
call fcn.140010140
mov qword [rbp - 0x41], rax
lea rbx, [rax + r15]
mov qword [rbp - 0x31], rbx
mov r8, r15
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x39], rbx
mov eax, dword [rbp - 0x51]
mov rbx, qword [rbp - 0x41]
mov qword [rbp - 0x61], rbx
mov qword [rsp + 0x48], rsi
lea rcx, [rbp - 0x49]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp - 0x4d]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x51]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
xor edx, edx
mov r9d, 3
mov r8d, 0x30
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusExW]
test eax, eax
je 0x14000cb58
cmp dword [rbp - 0x4d], 0
jbe 0x14000cb58
nop word [rax + rax]
mov eax, esi
imul rcx, rax, 0x38
mov r15, qword [rcx + rbx]
mov rdx, r15
lea rcx, [rbp - 9]
call fcn.140009960
nop
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 7
cmova rdx, qword [rbp - 9]
mov rax, qword [rbp + 7]
lea r8, [rdx + rax*2]
lea rdx, [rbp - 9]
cmova rdx, qword [rbp - 9]
lea rcx, [rbp - 0x29]
call fcn.14000e560
or r13d, 2
mov dword [rbp - 0x69], r13d
mov rdx, qword [rbp + 0xf]
cmp rdx, 7
jbe 0x14000ca68
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ca62
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cb4a
call fcn.1400103c4
nop
mov rax, qword [r14 + 0x10]
mov r9, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x14000ca79
mov r9, qword [r14]
lea rcx, [rbp - 0x29]
mov rbx, qword [rbp - 0x11]
cmp rbx, 0xf
cmova rcx, qword [rbp - 0x29]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, qword [rbp - 0x19]
call fcn.140009bd0
cmp rax, 0xffffffffffffffff
je 0x14000cb06
mov rax, qword [rdi + 8]
cmp rax, qword [rdi + 0x10]
je 0x14000cabe
lea rdx, [rbp - 0x29]
mov rcx, rax
call fcn.140008ef0
add qword [rdi + 8], 0x20
jmp 0x14000cacd
lea r8, [rbp - 0x29]
mov rdx, rax
mov rcx, rdi
call fcn.14000f390
mov r8d, 0x24
mov rdx, r15
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
test rax, rax
je 0x14000cb02
lea r8, [rbp - 9]
mov edx, 1
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_ControlService]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rbx, qword [rbp - 0x11]
cmp rbx, 0xf
jbe 0x14000cb3a
lea rdx, [rbx + 1]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cb35
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cb51
call fcn.1400103c4
inc esi
cmp esi, dword [rbp - 0x4d]
jae 0x14000cb58
mov rbx, qword [rbp - 0x61]
jmp 0x14000c9e0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x14000cb95
mov rdx, qword [rbp - 0x31]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cb90
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000cb90
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400103c4
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rax, rdi
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140010120
mov rbx, qword [rsp + 0x130]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400017b0
int3