Function at 0x180036d90
Capabilities:
Query service status
Start service
Stop service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xf0
mov rax, qword [0x1800af040]
xor rax, rsp
mov qword [rbp + 0x3f], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 1], xmm0
mov qword [rbp + 0xf], rax
movups xmmword [rbp - 0x69], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x59], xmm1
mov r8d, 5
lea rdx, str.csrss
lea rcx, [rbp - 0x69]
call fcn.1800381a0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x39], xmm1
mov r8d, 8
lea rdx, str.explorer
lea rcx, [rbp - 0x49]
call fcn.1800381a0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x19], xmm1
mov r8d, 0xc
lea rdx, str.explorer.exe
lea rcx, [rbp - 0x29]
call fcn.1800381a0
nop
lea rax, [rbp - 0x69]
mov qword [rbp - 0x79], rax
lea rax, [rbp - 9]
mov qword [rbp - 0x71], rax
movaps xmm0, xmmword [rbp - 0x79]
movdqa xmmword [rbp - 0x79], xmm0
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 1]
call fcn.18003a420
nop
lea r9, [fcn.18003ac60]
mov edx, 0x20
mov r8d, 3
lea rcx, [rbp - 0x69]
call fcn.18003d630
mov r14, qword [rbp + 7]
mov rdi, qword [rbp - 1]
cmp rdi, r14
je 0x18003701a
lea r15, [0x1800ce918]
nop dword [rax]
nop dword [rax + rax]
xor edx, edx
xor ecx, ecx
mov r8d, 1
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rsi, rax
test rax, rax
jne 0x180036f4b
mov rax, qword [0x1800ce930]
cmp rax, 0x1e
jb 0x180036efe
mov rbx, r15
cmp rax, 0xf
cmova rbx, qword [0x1800ce918]
mov qword [0x1800ce928], 0x1e
mov r8d, 0x1e
lea rdx, str.Failed_To_Open_Service_Manager
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x1e], sil
jmp 0x180036f0f
lea r9, str.Failed_To_Open_Service_Manager
mov edx, 0x1e
call fcn.18003c160
lea rdx, str.Failed_to_open_service_manager:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.18003b5b0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rdx, [0x18003b790]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x18003700d
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x180036f58
mov rdx, qword [rdi]
mov r8d, 0x24
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rbx, rax
test rax, rax
je 0x180036fcd
lea rax, [rbp - 9]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, [rbp + 0x17]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x180036fc2
cmp dword [rbp + 0x1b], 4
jne 0x180036fb4
lea r8, [rbp + 0x17]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ControlService]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_StartServiceA]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x180037004
lea rdx, str.Failed_to_open_service:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.18003b5b0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rdx, [0x18003b790]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
add rdi, 0x20
cmp rdi, r14
jne 0x180036ea0
lea rcx, [rbp - 1]
call fcn.18003b240
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.18003d610
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret