Function at 0x14000cfa0
Capabilities:
Start service

Disassembly:
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r8, qword [rdx + 0x10]
xor r14b, r14b
xor r12d, r12d
mov r13, rdx
mov r15, rcx
test r8, r8
je 0x14000cfcb
mov r8, qword [r8 + 8]
jmp 0x14000cfce
mov r8, r12
mov edx, 0x10
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x78]
call sym.SystemInformer.exe_PhOpenService
mov ebp, eax
test eax, eax
js 0x14000d03e
mov rbx, qword [rsp + 0x78]
xor r8d, r8d
mov rcx, rbx
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
nop
test eax, eax
jne 0x14000d05f
cmp dword [0x1402bff40], 0xffffffff
jae 0x14000d022
mov rax, qword gs:[0x30]
mov rbx, qword [rsp + 0x78]
mov eax, dword [rax + 0x68]
jmp 0x14000d028
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call sym.SystemInformer.exe_PhDosErrorToNtStatus
mov ebp, eax
test eax, eax
jns 0x14000d05f
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rax, qword [r13 + 0x10]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rdi
test rax, rax
je 0x14000d07d
mov r8, qword [rax + 8]
mov qword [rsp + 0x80], r8
jmp 0x14000d088
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, 1
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov r8, r12
mov qword [rsp + 0x80], r12
lea r9, str.Unable_to_start
xorps xmm1, xmm1
mov rdx, r9
mov rcx, r9
and rdx, 0xfffffffffffffff1
and ecx, 0xf
je 0x14000d0c7
movdqu xmm0, xmmword [rdx]
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
mov dword [rsp + 0x78], ecx
je 0x14000d0c3
mov edx, ecx
shr rdx, 1
jmp 0x14000d108
add rdx, 0x10
movdqu xmm0, xmmword [rdx]
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
bsf ecx, eax
mov dword [rsp + 0x78], ecx
jne 0x14000d0fa
nop dword [rax]
movdqu xmm0, xmmword [rdx + 0x10]
add rdx, 0x10
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
bsf ecx, eax
mov dword [rsp + 0x78], ecx
je 0x14000d0e0
sub rdx, r9
mov eax, ecx
sar rdx, 1
shr rax, 1
add rdx, rax
add rdx, rdx
mov rsi, r8
and rsi, 0xfffffffffffffff1
mov qword [rsp + 0x88], rdx
mov ecx, r8d
and ecx, 0xf
je 0x14000d147
movdqu xmm0, xmmword [rsi]
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
mov dword [rsp + 0x78], ecx
je 0x14000d143
mov esi, ecx
shr rsi, 1
jmp 0x14000d188
add rsi, 0x10
movdqu xmm0, xmmword [rsi]
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
bsf ecx, eax
mov dword [rsp + 0x78], ecx
jne 0x14000d17a
nop dword [rax]
movdqu xmm0, xmmword [rsi + 0x10]
add rsi, 0x10
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
bsf ecx, eax
mov dword [rsp + 0x78], ecx
je 0x14000d160
sub rsi, r8
mov eax, ecx
sar rsi, 1
shr rax, 1
add rsi, rax
add rsi, rsi
lea rbx, [rsi + rdx]
mov rdx, qword [0x1402ca978]
lea rcx, [rbx + 0x12]
call sym.SystemInformer.exe_PhCreateObject
mov r8, qword [rsp + 0x88]
lea rdx, str.Unable_to_start
mov rdi, rax
mov qword [rax], rbx
add rax, 0x10
mov qword [rdi + 8], rax
mov word [rax + rbx], r12w
mov rcx, qword [rdi + 8]
call fcn.14020a640
mov rcx, qword [rdi + 8]
mov r8, rsi
add rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
call fcn.14020a640
mov rcx, rdi
call sym.SystemInformer.exe_PhAutoDereferenceObject
lea r9, ds:[rsp + 0x78]
mov r8d, ebp
mov rcx, r15
mov rdx, qword [rax + 8]
call fcn.140001ae0
mov rsi, qword [rsp + 0x38]
test al, al
je 0x14000d377
cmp byte [rsp + 0x78], r12b
je 0x14000d485
mov rax, qword [r13 + 0x10]
test rax, rax
je 0x14000d22a
mov r12, qword [rax + 8]
mov edx, 1
mov rcx, r12
call fcn.1400a3ca0
mov edi, eax
test eax, eax
js 0x14000d24a
mov r14b, 1
call sym.SystemInformer.exe_PhUiDisconnectFromPhSvc
jmp 0x14000d485
mov r8, qword [r13 + 0x10]
lea rdx, str.start
lea rcx, str.Unable_to__s__s.
mov r8, qword [r8 + 8]
call fcn.140001a60
mov rbx, qword [rax + 8]
cmp edi, 0xc0000022
je 0x14000d29e
cmp edi, 0xc0000005
je 0x14000d29e
mov eax, edi
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x14000d28c
movzx eax, di
jmp 0x14000d2a9
mov eax, edi
and eax, 0xfff0000
cmp eax, 0xb0000
jne 0x14000d2ad
mov eax, edi
jmp 0x14000d2a9
lfence
mov ecx, edi
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
test eax, eax
jne 0x14000d2b9
lfence
mov ecx, edi
call sym.SystemInformer.exe_PhGetNtMessage
jmp 0x14000d2c5
lfence
mov ecx, eax
call sym.SystemInformer.exe_PhGetWin32Message
lea rcx, [0x14023a10c]
mov rdi, rax
mov r8d, 0xfffe
test rbx, rbx
je 0x14000d2ef
test rax, rax
je 0x14000d2e6
mov edx, 0x21
jmp 0x14000d300
lea r9, [0x1402386c8]
jmp 0x14000d356
lea rbx, [0x1402386c8]
test rdi, rdi
je 0x14000d34f
mov edx, 9
mov eax, 8
mov r9, rdi
lfence
mov rax, qword [rax + rdi]
mov r9, rbx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov rcx, r15
call sym.SystemInformer.exe_PhShowMessage2
lfence
lea rcx, [rdi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14000d36d
lfence
call fcn.140141ca0
call sym.SystemInformer.exe_PhUiDisconnectFromPhSvc
jmp 0x14000d485
lea r9, str.Unable_to_perform_the_operation.
mov qword [rsp + 0x28], rbx
mov edx, 9
mov qword [rsp + 0x20], rcx
mov rcx, r15
call sym.SystemInformer.exe_PhShowMessage2
call sym.SystemInformer.exe_PhUiDisconnectFromPhSvc
jmp 0x14000d485
mov r8, qword [r13 + 0x10]
lea rdx, str.start
lea rcx, str.Unable_to__s__s.
mov r8, qword [r8 + 8]
call fcn.140001a60
mov rbx, qword [rax + 8]
cmp ebp, 0xc0000022
je 0x14000d3cd
nop
cmp ebp, 0xc0000005
je 0x14000d3cd
mov eax, ebp
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x14000d3bb
movzx eax, bp
jmp 0x14000d3d5
mov eax, ebp
and eax, 0xfff0000
cmp eax, 0xb0000
jne 0x14000d3d9
mov eax, ebp
jmp 0x14000d3d5
mov ecx, ebp
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
test eax, eax
jne 0x14000d3e7
mov ecx, ebp
call sym.SystemInformer.exe_PhGetNtMessage
jmp 0x14000d3ee
mov ecx, eax
call sym.SystemInformer.exe_PhGetWin32Message
lea rcx, [0x14023a10c]
mov rdi, rax
mov r8d, 0xfffe
test rbx, rbx
je 0x14000d41a
test rax, rax
je 0x14000d411
mov edx, 0x21
jmp 0x14000d42b
lea r9, [0x1402386c8]
jmp 0x14000d46e
lea rbx, [0x1402386c8]
test rdi, rdi
je 0x14000d467
mov edx, 9
mov eax, 8
mov r9, rdi
mov r9, rbx
mov rax, qword [rax + rdi]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov rcx, r15
call sym.SystemInformer.exe_PhShowMessage2
lea rcx, [rdi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14000d485
nop
call fcn.140141ca0
jmp 0x14000d485
lea r9, str.Unable_to_perform_the_operation.
mov qword [rsp + 0x28], rbx
mov edx, 9
mov qword [rsp + 0x20], rcx
mov rcx, r15
call sym.SystemInformer.exe_PhShowMessage2
mov rdi, qword [rsp + 0x30]
movzx eax, r14b
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rbp
ret