Function at 0x14001cc20
Capabilities:
Connect pipe
Query service status
Read pipe
Write pipe

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x808]
sub rsp, 0x8e0
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1401cd010]
xor rax, rsp
mov qword [rbp + 0x7d0], rax
mov rsi, rcx
mov qword [rbp - 0x80], rcx
xor r12d, r12d
mov dword [rsp + 0x40], r12d
lea rdx, str.F36AD0D0_B5F0_4C69_AF08_603D177FEF0E
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_char_const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
nop
mov r8d, 0x80000000
lea rdx, str.ServicesActive
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov r14, rax
lea r13d, [r12 + 1]
lea r15d, [r12 + 7]
test rax, rax
je 0x14001cd87
xor bl, bl
lea rdx, [rbp - 0x70]
mov rcx, rsi
call qword [sym.imp.Qt5Core.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_QString::toStdWString_void____ptr64]
nop
cmp qword [rax + 0x18], 8
jb 0x14001ccd3
mov rax, qword [rax]
mov r8d, 0x80000000
mov rdx, rax
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x14001cd2b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001cd26
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001cd26
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e93c4
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r15
mov word [rbp - 0x70], r12w
test rdi, rdi
je 0x14001cd6d
lea rdx, [rbp - 0x50]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x14001cd62
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14001cd87
movzx ebx, bl
cmp dword [rbp - 0x4c], 3
cmove ebx, r13d
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test bl, bl
jne 0x14001cf81
mov ecx, SafeArrayAllocDescriptor
call fcn.1400e8d94
mov rdi, rax
mov qword [rsp + 0x70], rax
xor edx, edx
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QObject::constructor_class_QObject____ptr64____ptr64]
xor edx, edx
lea rcx, [rdi + 0x10]
call fcn.1400c0740
lea rax, vtable.QAxObject.0
mov qword [rdi], rax
lea rax, vtable.QAxObject.1.0
mov qword [rdi + 0x10], rax
lea rdx, [rsp + 0x50]
lea rcx, [rdi + 0x10]
call fcn.1400c09b0
nop
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.140019c70
nop
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x30], 0x3e8
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x800
lea r9, [rbp - 0x30]
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rdx, str.NeedAKey
lea rcx, str..pipeMBLG
call qword [sym.imp.KERNEL32.dll_CallNamedPipeW]
test eax, eax
je 0x14001cf76
mov ecx, dword [rsp + 0x58]
test ecx, ecx
je 0x14001cf76
mov eax, ecx
and eax, 0xfffffffe
cmp eax, 0x800
jae 0x14001ce64
mov eax, ecx
and rax, 0xfffffffffffffffe
cmp rax, 0x800
jae 0x14001cfd4
mov word [rbp + rax - 0x30], r12w
jmp 0x14001ce6c
mov word [rbp + 0x7ce], r12w
mov r8d, 0xffffffff
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const____ptr64__int_]
nop
mov rdx, rax
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov ecx, SafeArrayAllocDescriptor
call fcn.1400e8d94
mov rbx, rax
mov qword [rbp - 0x78], rax
lea rdx, [0x140145418]
lea rcx, [rsp + 0x70]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_char_const____ptr64____ptr64]
nop
mov dword [rsp + 0x40], r13d
mov r8, rax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.14000b620
nop
mov dword [rsp + 0x40], 3
lea r8, [rsp + 0x48]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14000b620
nop
mov dword [rsp + 0x40], r15d
mov rdx, rax
mov rcx, rbx
call fcn.1400dec50
mov rbx, rax
and r15d, 0xfffffffb
mov dword [rsp + 0x40], r15d
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
and r15d, 0xfffffffd
mov dword [rsp + 0x40], r15d
lea rcx, [rsp + 0x58]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
and r15d, 0xfffffffe
mov dword [rsp + 0x40], r15d
lea rcx, [rsp + 0x70]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x68]
call fcn.140019c40
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
mov rcx, rsi
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rax, rbx
jmp 0x14001cfa4
lea rcx, [rsp + 0x68]
call fcn.140019c40
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
mov rcx, rsi
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
xor eax, eax
mov rcx, qword [rbp + 0x7d0]
xor rcx, rsp
call fcn.1400e8850
lea r11, [rsp + 0x8e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400e97f4
nop
int3