Function at 0x14000cb20
Capabilities:
Check for time delay via gettickcount
Query service status
Stop service

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
mov qword [rbp - 0x21], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x14009d080]
xor rax, rsp
mov qword [rbp + 0x2f], rax
lea rcx, [rbp + 0xf]
call fcn.140009930
nop
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
lea rax, str.DoStopATKCOMService:_name_
mov qword [rbp - 0x79], rax
mov qword [rbp - 0x71], 0x1c
call fcn.1400087f0
xor r14d, r14d
mov qword [rbp - 0x61], r14
mov qword [rbp - 0x69], r14
mov qword [rbp - 0x59], r14
movaps xmm0, xmmword [rbp - 0x79]
movdqa xmmword [rbp - 0x79], xmm0
movups xmm1, xmmword [rbp - 0x69]
movaps xmmword [rbp - 0x49], xmm1
movsd xmm0, qword [rbp - 0x59]
movsd qword [rbp - 0x39], xmm0
lea rcx, [rbp + 0xf]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x79]
lea rdx, [rbp - 0x49]
mov rcx, qword [rax + 0x1d8]
call fcn.140020130
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rsi, rax
test rax, rax
jne 0x14000cc3e
call fcn.1400087f0
mov qword [rbp - 0x61], r14
lea rcx, str.schSCManager_is_NULL
mov qword [rbp - 0x79], rcx
mov qword [rbp - 0x71], 0x14
movaps xmm0, xmmword [rbp - 0x79]
movdqa xmmword [rbp - 0x79], xmm0
mov qword [rbp - 0x69], r14
mov qword [rbp - 0x59], r14
movups xmm0, xmmword [rbp - 0x69]
movaps xmmword [rbp - 0x49], xmm0
movsd xmm1, qword [rbp - 0x59]
movsd qword [rbp - 0x39], xmm1
lea r9, [rbp - 0x79]
lea r8d, [r14 + 1]
lea rdx, [rbp - 0x49]
mov rcx, qword [rax + 0x1d8]
call fcn.140005930
jmp 0x14000cefa
lea rdx, [rbp + 0xf]
cmp qword [rbp + 0x27], 0x10
cmovae rdx, qword [rbp + 0xf]
mov r8d, 0x24
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rbx, rax
test rax, rax
jne 0x14000ccbf
call fcn.1400087f0
mov qword [rbp - 0x61], r14
lea rcx, str.Service_is_NULL
mov qword [rbp - 0x79], rcx
mov qword [rbp - 0x71], 0xf
movaps xmm0, xmmword [rbp - 0x79]
movdqa xmmword [rbp - 0x79], xmm0
mov qword [rbp - 0x69], r14
mov qword [rbp - 0x59], r14
movups xmm0, xmmword [rbp - 0x69]
movaps xmmword [rbp - 0x49], xmm0
movsd xmm1, qword [rbp - 0x59]
movsd qword [rbp - 0x39], xmm1
lea r9, [rbp - 0x79]
lea r8d, [rbx + 1]
lea rdx, [rbp - 0x49]
mov rcx, qword [rax + 0x1d8]
call fcn.140005930
jmp 0x14000cef0
lea rax, [rbp - 0x29]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, [rbp - 0x19]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x14000cee7
mov eax, dword [rbp - 0x15]
cmp eax, 1
jne 0x14000cd06
call fcn.1400087f0
lea rcx, str.Service_is_already_stopped.
mov qword [rbp - 0x71], 0x1b
jmp 0x14000cea2
cmp eax, 3
jne 0x14000cde0
lea rax, str.Service_stop_pending...
mov qword [rbp - 0x79], rax
mov qword [rbp - 0x71], 0x17
mov r15d, 0x2ee0
movaps xmm6, xmmword [rbp - 0x79]
nop dword [rax]
call fcn.1400087f0
mov qword [rbp - 0x61], r14
movdqa xmmword [rbp - 0x79], xmm6
mov qword [rbp - 0x69], r14
mov qword [rbp - 0x59], r14
movups xmm0, xmmword [rbp - 0x69]
movaps xmmword [rbp - 0x49], xmm0
movsd xmm1, qword [rbp - 0x59]
movsd qword [rbp - 0x39], xmm1
lea r9, [rbp - 0x79]
mov r8d, 1
lea rdx, [rbp - 0x49]
mov rcx, qword [rax + 0x1d8]
call fcn.140005930
mov eax, 0xcccccccd
mul dword [rbp - 1]
shr edx, 3
cmp edx, 0x3e8
jae 0x14000cd8c
mov edx, 0x3e8
jmp 0x14000cd93
cmp edx, r15d
cmova edx, r15d
mov ecx, edx
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rbp - 0x29]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, [rbp - 0x19]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x14000ce25
cmp dword [rbp - 0x15], 1
je 0x14000ce8e
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x7530
ja 0x14000ce0f
cmp dword [rbp - 0x15], 3
je 0x14000cd30
lea r8, [rbp - 0x19]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x14000ce33
call fcn.1400087f0
lea rcx, str.ControlService_failed
mov qword [rbp - 0x71], 0x15
jmp 0x14000cea2
call fcn.1400087f0
lea rcx, str.Service_stop_timed_out
mov qword [rbp - 0x71], 0x16
jmp 0x14000cea2
call fcn.1400087f0
lea rcx, str.SQueryServiceStatusEx_failed
jmp 0x14000ce9a
cmp dword [rbp - 0x15], 1
je 0x14000ce8e
nop dword [rax]
mov ecx, dword [rbp - 1]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rbp - 0x29]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, [rbp - 0x19]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x14000cf79
cmp dword [rbp - 0x15], 1
je 0x14000ce8e
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x7530
ja 0x14000cf5f
cmp dword [rbp - 0x15], 1
jne 0x14000ce40
call fcn.1400087f0
lea rcx, str.Service_stopped_successfully
mov qword [rbp - 0x71], 0x1c
mov qword [rbp - 0x79], rcx
movaps xmm0, xmmword [rbp - 0x79]
movdqa xmmword [rbp - 0x79], xmm0
mov qword [rbp - 0x61], r14
mov qword [rbp - 0x69], r14
mov qword [rbp - 0x59], r14
movups xmm0, xmmword [rbp - 0x69]
movsd xmm1, qword [rbp - 0x59]
movaps xmmword [rbp - 0x49], xmm0
movsd qword [rbp - 0x39], xmm1
lea r9, [rbp - 0x79]
mov r8d, 1
lea rdx, [rbp - 0x49]
mov rcx, qword [rax + 0x1d8]
call fcn.140005930
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 0x10
jb 0x14000cf31
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cf2c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cf92
call fcn.14002d510
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14002d4b0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1400087f0
nop
lea rcx, str.Wait_timed_out
mov qword [rbp - 0x71], 0xe
jmp 0x14000cea2
call fcn.1400087f0
lea rcx, str.QueryServiceStatusEx_failed
mov qword [rbp - 0x71], 0x1b
jmp 0x14000cea2
call fcn.14004ecdc
int3