Function at 0x1400e98e0
Capabilities:
Query service status
Terminate process

Disassembly:
push rbp
push rdi
sub rsp, 0x208
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
lea rax, [rbp]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 1]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp]
movzx r8d, byte [rbp + 1]
movzx edx, byte [rbp + 0xa]
lea rcx, [rbp + 0xc0]
call fcn.1400d2370
mov rcx, rax
call fcn.1400eb110
mov qword [rbp + 0x20], rax
mov r8d, 1
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov qword [rbp + 0x28], rax
mov r8d, 4
mov rdx, qword [rbp + 0x20]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov qword [rbp + 0x10], rax
cmp qword [rbp + 0x10], 0
jne 0x1400e9a07
lea rax, [rbp + 2]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 3]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [rbp + 0x38], rax
movzx r9d, byte [rbp + 2]
movzx r8d, byte [rbp + 3]
movzx edx, byte [rbp + 0xb]
lea rcx, [rbp + 0x100]
call fcn.1400d37f0
mov rcx, rax
call fcn.1400eb430
mov qword [rbp + 0x30], rax
mov rdx, qword [rbp + 0x30]
mov rcx, qword [rbp + 0x38]
call fcn.1400c24f0
mov qword [rbp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x18], eax
mov edx, dword [rbp + 0x18]
mov rcx, qword [rbp + 0x40]
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]
mov qword [rbp + 0x48], rax
lea rdx, [0x1400c3490]
mov rcx, qword [rbp + 0x48]
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 eax, 1
jmp 0x1400e9bf6
lea rdx, [rbp + 0xa0]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x1400e9ac1
lea rax, [rbp + 4]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 5]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [rbp + 0x58], rax
movzx r9d, byte [rbp + 4]
movzx r8d, byte [rbp + 5]
movzx edx, byte [rbp + 0xc]
lea rcx, [rbp + 0x140]
call fcn.1400d4420
mov rcx, rax
call fcn.1400eb430
mov qword [rbp + 0x50], rax
mov rdx, qword [rbp + 0x50]
mov rcx, qword [rbp + 0x58]
call fcn.1400c24f0
mov qword [rbp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x1c], eax
mov edx, dword [rbp + 0x1c]
mov rcx, qword [rbp + 0x60]
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]
mov qword [rbp + 0x68], rax
lea rdx, [0x1400c3490]
mov rcx, qword [rbp + 0x68]
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, qword [rbp + 0x10]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
jmp 0x1400e9bf6
lea rax, [rbp + 6]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 7]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [rbp + 0x78], rax
movzx r9d, byte [rbp + 6]
movzx r8d, byte [rbp + 7]
movzx edx, byte [rbp + 0xd]
lea rcx, [rbp + 0xe0]
call fcn.1400d4ea0
mov rcx, rax
call fcn.1400eb250
mov qword [rbp + 0x70], rax
mov rdx, qword [rbp + 0x70]
mov rcx, qword [rbp + 0x78]
call fcn.1400c24f0
mov qword [rbp + 0x80], rax
lea rdx, [0x1400c3490]
mov rcx, qword [rbp + 0x80]
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 ecx, 0x320
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [rbp + 0xa4], 4
jne 0x1400e9bea
lea rax, [rbp + 8]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 9]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [rbp + 0x90], rax
movzx r9d, byte [rbp + 8]
movzx r8d, byte [rbp + 9]
movzx edx, byte [rbp + 0xe]
lea rcx, [rbp + 0x180]
call fcn.1400d5710
mov rcx, rax
call fcn.1400eb430
mov qword [rbp + 0x88], rax
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rbp + 0x90]
call fcn.1400c24f0
mov qword [rbp + 0x98], rax
lea rdx, [0x1400c3490]
mov rcx, qword [rbp + 0x98]
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 ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
add rsp, 0x208
pop rdi
pop rbp
ret