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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x1401c5538]
xor rax, rsp
mov qword [rbp + 0x80], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x70], eax
mov ebx, edx
movups xmmword [rsp + 0x60], xmm0
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, rsi
mov edi, eax
call fcn.140070c80
mov rcx, qword [rsi + 0x10]
lea rax, [rsp + 0x30]
mov r9d, 0x24
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x50]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x1400715ea
mov eax, dword [rsp + 0x54]
cmp eax, 1
je 0x140071561
mov qword [rsp + 0x1b8], r14
cmp eax, 3
jne 0x1400714ed
mov r14d, 0x2710
nop dword [rax]
mov eax, 0xcccccccd
mul dword [rsp + 0x68]
shr edx, 3
cmp edx, 0x3e8
jae 0x14007149b
mov edx, 0x3e8
jmp 0x1400714a2
cmp edx, r14d
cmova edx, r14d
mov ecx, edx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rsi + 0x10]
lea rax, [rsp + 0x30]
mov r9d, 0x24
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x50]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x1400716b8
cmp dword [rsp + 0x54], 1
je 0x140071559
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, ebx
ja 0x140071559
cmp dword [rsp + 0x54], 3
je 0x140071480
mov rcx, qword [rsi + 0x10]
lea r8, [rsp + 0x50]
mov edx, 1
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x140071651
cmp dword [rsp + 0x54], 1
je 0x140071559
mov ecx, dword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rsi + 0x10]
lea rax, [rsp + 0x30]
mov r9d, 0x24
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x50]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x140071583
cmp dword [rsp + 0x54], 1
je 0x140071559
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, ebx
ja 0x140071559
cmp dword [rsp + 0x54], 1
jne 0x140071510
mov r14, qword [rsp + 0x1b8]
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.1401453a0
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x190
pop rdi
pop rsi
pop rbp
ret
xor edx, edx
mov byte [rbp - 0x80], 0
mov r8d, 0xff
lea rcx, [rbp - 0x7f]
call fcn.140147800
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x28], eax
lea r9, str.WinScCtrl::stop
lea rax, [0x14017f8f0]
mov edx, 0x100
lea r8, [0x14017f800]
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x80]
call fcn.140017490
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x38]
call fcn.14001bb20
lea rdx, [0x1401bdee0]
lea rcx, [rsp + 0x38]
call fcn.1401463c0
int3
xor edx, edx
mov byte [rbp - 0x80], 0
mov r8d, 0xff
lea rcx, [rbp - 0x7f]
call fcn.140147800
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x28], eax
lea r9, str.WinScCtrl::stop
lea rax, [0x14017f810]
mov edx, 0x100
lea r8, [0x14017f800]
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x80]
call fcn.140017490
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x38]
call fcn.14001bb20
lea rdx, [0x1401bdee0]
lea rcx, [rsp + 0x38]
call fcn.1401463c0
int3
xor edx, edx
mov byte [rbp - 0x80], 0
mov r8d, 0xff
lea rcx, [rbp - 0x7f]
call fcn.140147800
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x28], eax
lea r9, str.WinScCtrl::stop
lea rax, [0x14017f8d8]
mov edx, 0x100
lea r8, [0x14017f800]
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x80]
call fcn.140017490
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x38]
call fcn.14001bb20
lea rdx, [0x1401bdee0]
lea rcx, [rsp + 0x38]
call fcn.1401463c0
int3
xor edx, edx
mov byte [rbp - 0x80], 0
mov r8d, 0xff
lea rcx, [rbp - 0x7f]
call fcn.140147800
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x28], eax
lea r9, str.WinScCtrl::stop
lea rax, [0x14017f810]
mov edx, 0x100
lea r8, [0x14017f800]
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x80]
call fcn.140017490
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x38]
call fcn.14001bb20
lea rdx, [0x1401bdee0]
lea rcx, [rsp + 0x38]
call fcn.1401463c0
int3