Function at 0x14001d1f0
Capabilities:
Check for time delay via gettickcount
Enumerate processes
Query service status
Stop service

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x2f0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x14014c228]
xor rax, rsp
mov qword [rsp + 0x2e0], rax
mov rbx, rcx
mov ecx, 8
call fcn.1400a72cc
mov r12, rax
xor esi, esi
test rax, rax
je 0x14001d241
mov qword [rax], rsi
jmp 0x14001d244
mov r12, rsi
mov qword [rsp + 0x40], r12
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov qword [r12], rax
test rax, rax
jne 0x14001d269
xor bl, bl
jmp 0x14001d436
mov ecx, 8
call fcn.1400a72cc
mov r15, rax
test rax, rax
je 0x14001d280
mov qword [rax], rsi
jmp 0x14001d283
mov r15, rsi
mov qword [rsp + 0x48], r15
mov r8d, 0x10024
mov rdx, qword [rbx]
mov rcx, qword [r12]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [r15], rax
test rax, rax
jne 0x14001d2b6
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x424
sete bl
jmp 0x14001d41a
mov edi, esi
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
mov r9d, 0x24
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x14001d2e1
xor bpl, bpl
jmp 0x14001d2eb
mov edi, dword [rsp + 0x8c]
mov bpl, 1
lea r8, [rsp + 0x50]
mov edx, 1
mov rcx, qword [r15]
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x14001d365
mov r14, qword [r15]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
cmp dword [rsp + 0x54], 1
je 0x14001d365
mov ecx, dword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x14001d365
mov eax, dword [rsp + 0x74]
cmp eax, 1
je 0x14001d365
mov dword [rsp + 0x54], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, 0x7530
ja 0x14001d365
cmp dword [rsp + 0x54], 1
jne 0x14001d314
test bpl, bpl
je 0x14001d418
mov ebp, esi
mov dword [rsp + 0xa0], 0x238
mov ecx, 8
call fcn.1400a72cc
mov rbx, rax
test rax, rax
je 0x14001d392
mov qword [rax], rsi
jmp 0x14001d395
mov rbx, rsi
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rbx], rax
lea rdx, [rsp + 0xa0]
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
mov rcx, qword [rbx]
test eax, eax
je 0x14001d400
cmp dword [rsp + 0xa8], edi
je 0x14001d3d1
lea rdx, [rsp + 0xa0]
call sub.KERNEL32.dll_Process32NextW
jmp 0x14001d3b2
test rcx, rcx
je 0x14001d3dc
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 8
mov rcx, rbx
call fcn.1400a7308
cmp ebp, 0xf
jg 0x14001d418
inc ebp
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001d370
test rcx, rcx
je 0x14001d40b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 8
mov rcx, rbx
call fcn.1400a7308
mov bl, 1
mov rcx, qword [r15]
test rcx, rcx
je 0x14001d428
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, 8
mov rcx, r15
call fcn.1400a7308
nop
mov rcx, qword [r12]
test rcx, rcx
je 0x14001d445
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, 8
mov rcx, r12
call fcn.1400a7308
movzx eax, bl
mov rcx, qword [rsp + 0x2e0]
xor rcx, rsp
call fcn.1400a79f0
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret