Function at 0x14000cf40
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 0x14000cf6b
mov r8, qword [r8 + 8]
jmp 0x14000cf6e
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 0x14000cfde
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 0x14000cfff
cmp dword [0x1402bff40], 0xffffffff
jae 0x14000cfc2
mov rax, qword gs:[0x30]
mov rbx, qword [rsp + 0x78]
mov eax, dword [rax + 0x68]
jmp 0x14000cfc8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call sym.SystemInformer.exe_PhDosErrorToNtStatus
mov ebp, eax
test eax, eax
jns 0x14000cfff
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 0x14000d01d
mov r8, qword [rax + 8]
mov qword [rsp + 0x80], r8
jmp 0x14000d028
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 0x14000d067
movdqu xmm0, xmmword [rdx]
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
mov dword [rsp + 0x78], ecx
je 0x14000d063
mov edx, ecx
shr rdx, 1
jmp 0x14000d0a8
add rdx, 0x10
movdqu xmm0, xmmword [rdx]
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
bsf ecx, eax
mov dword [rsp + 0x78], ecx
jne 0x14000d09a
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 0x14000d080
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 0x14000d0e7
movdqu xmm0, xmmword [rsi]
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
mov dword [rsp + 0x78], ecx
je 0x14000d0e3
mov esi, ecx
shr rsi, 1
jmp 0x14000d128
add rsi, 0x10
movdqu xmm0, xmmword [rsi]
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
bsf ecx, eax
mov dword [rsp + 0x78], ecx
jne 0x14000d11a
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 0x14000d100
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 [0x1402ca998]
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.14020af00
mov rcx, qword [rdi + 8]
mov r8, rsi
add rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
call fcn.14020af00
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 0x14000d317
cmp byte [rsp + 0x78], r12b
je 0x14000d425
mov rax, qword [r13 + 0x10]
test rax, rax
je 0x14000d1ca
mov r12, qword [rax + 8]
mov edx, 1
mov rcx, r12
call fcn.1400a3cc0
mov edi, eax
test eax, eax
js 0x14000d1ea
mov r14b, 1
call sym.SystemInformer.exe_PhUiDisconnectFromPhSvc
jmp 0x14000d425
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 0x14000d23e
cmp edi, 0xc0000005
je 0x14000d23e
mov eax, edi
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x14000d22c
movzx eax, di
jmp 0x14000d249
mov eax, edi
and eax, 0xfff0000
cmp eax, 0xb0000
jne 0x14000d24d
mov eax, edi
jmp 0x14000d249
lfence
mov ecx, edi
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
test eax, eax
jne 0x14000d259
lfence
mov ecx, edi
call sym.SystemInformer.exe_PhGetNtMessage
jmp 0x14000d265
lfence
mov ecx, eax
call sym.SystemInformer.exe_PhGetWin32Message
lea rcx, [0x14023a10c]
mov rdi, rax
mov r8d, 0xfffe
test rbx, rbx
je 0x14000d28f
test rax, rax
je 0x14000d286
mov edx, 0x21
jmp 0x14000d2a0
lea r9, [0x1402386c8]
jmp 0x14000d2f6
lea rbx, [0x1402386c8]
test rdi, rdi
je 0x14000d2ef
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 0x14000d30d
lfence
call fcn.140141ea0
call sym.SystemInformer.exe_PhUiDisconnectFromPhSvc
jmp 0x14000d425
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 0x14000d425
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 0x14000d36d
nop
cmp ebp, 0xc0000005
je 0x14000d36d
mov eax, ebp
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x14000d35b
movzx eax, bp
jmp 0x14000d375
mov eax, ebp
and eax, 0xfff0000
cmp eax, 0xb0000
jne 0x14000d379
mov eax, ebp
jmp 0x14000d375
mov ecx, ebp
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
test eax, eax
jne 0x14000d387
mov ecx, ebp
call sym.SystemInformer.exe_PhGetNtMessage
jmp 0x14000d38e
mov ecx, eax
call sym.SystemInformer.exe_PhGetWin32Message
lea rcx, [0x14023a10c]
mov rdi, rax
mov r8d, 0xfffe
test rbx, rbx
je 0x14000d3ba
test rax, rax
je 0x14000d3b1
mov edx, 0x21
jmp 0x14000d3cb
lea r9, [0x1402386c8]
jmp 0x14000d40e
lea rbx, [0x1402386c8]
test rdi, rdi
je 0x14000d407
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 0x14000d425
nop
call fcn.140141ea0
jmp 0x14000d425
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