Function at 0x180001000
Capabilities:
Enumerate services
Query service status
Stop service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push r15
sub rsp, 0xc0
mov rax, qword [0x1800060c0]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x30], rsp
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rsi, rax
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov r15, rax
test rax, rax
je 0x18000113e
mov r8d, 0x2c
lea rdx, str.StorSvc
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
jne 0x180001085
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x18000113e
lea rax, [rsp + 0x84]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 1
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
jne 0x1800012cb
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x18000113c
mov ebx, dword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8d, ebx
mov edx, 8
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x18000113c
lea rax, [rsp + 0x84]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x80]
mov r8, r14
mov edx, 1
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
jne 0x18000116c
lea rdx, [0x18000113c]
mov rcx, qword [rsp + 0x30]
call sub.msvcrt.dll__local_unwind
nop
xor eax, eax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.180002340
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
xor edi, edi
mov dword [rsp + 0x38], edi
cmp edi, dword [rsp + 0x84]
jae 0x1800012b7
lea rcx, [rdi + rdi*2]
add rcx, rcx
movups xmm0, xmmword [r14 + rcx*8 + 0x10]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [r14 + rcx*8 + 0x20]
movups xmmword [rsp + 0x70], xmm1
mov r8d, 0x24
mov rdx, qword [r14 + rcx*8]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x1800011d3
lea rdx, [0x1800011ce]
mov rcx, qword [rsp + 0x30]
call sub.msvcrt.dll__local_unwind
nop
jmp 0x18000113c
lea r8, [rsp + 0x88]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x180001210
lea rdx, [0x180001200]
mov rcx, qword [rsp + 0x30]
call sub.msvcrt.dll__local_unwind
nop
nop
jmp 0x18000113c
cmp dword [rsp + 0x8c], 1
je 0x1800012a7
mov ecx, dword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, [rsp + 0x88]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x18000126d
lea rdx, [0x180001268]
mov rcx, qword [rsp + 0x30]
call sub.msvcrt.dll__local_unwind
nop
nop
jmp 0x18000113c
cmp dword [rsp + 0x8c], 1
je 0x1800012a7
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, esi
sub rax, rcx
cmp rax, 0x7530
jbe 0x1800012a2
lea rdx, [0x18000129d]
mov rcx, qword [rsp + 0x30]
call sub.msvcrt.dll__local_unwind
nop
nop
jmp 0x18000113c
jmp 0x180001210
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
inc edi
jmp 0x18000116e
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, r14
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 1
jmp 0x18000113e