Function at 0x14000ad00
Capabilities:
Start service

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
push rbx
push rsi
push r12
push r14
push r15
sub rsp, 0x70
xor r15b, r15b
mov ebx, r8d
mov byte [rsp + 0x30], r15b
mov r14, rdx
mov r12, rcx
mov sil, 1
test r8d, r8d
je 0x14000b377
lea rax, str.EnableWarnings
mov qword [rsp + 0x48], 0x1c
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x50], rax
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
test eax, eax
je 0x14000ad8e
lea rax, str.the_selected_services
mov byte [rsp + 0x20], r15b
cmp ebx, 1
lea r8, str.the_selected_service
lea r9, str.Starting_a_service_might_prevent_the_system_from_functioning_properly.
mov rcx, r12
cmovne r8, rax
lea rdx, str.start
call sym.SystemInformer.exe_PhShowConfirmMessage
test al, al
je 0x14000b377
xor edx, edx
mov dword [rsp + 0x3c], edx
test ebx, ebx
je 0x14000b366
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x60], r13
mov r13, qword [rsp + 0xb8]
mov qword [rsp + 0xa0], rbp
nop word [rax + rax]
mov rax, qword [r14]
mov rbx, r13
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x14000add5
mov rsi, qword [rcx + 8]
jmp 0x14000add8
mov rsi, rdx
xor eax, eax
lock cmpxchg qword [0x1402c3420], rdx
mov rdi, rax
jne 0x14000ae19
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 5]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rcx, rax
test rax, rax
je 0x14000ae19
xor eax, eax
lock cmpxchg qword [0x1402c3420], rcx
mov rdi, rax
jne 0x14000ae13
mov rdi, rcx
jmp 0x14000ae19
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov r8d, 0x10
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov r13, rax
test rax, rax
je 0x14000ae38
mov rbx, rax
jmp 0x14000ae4e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call sym.SystemInformer.exe_PhDosErrorToNtStatus
mov ebp, eax
mov r13, rbx
test eax, eax
js 0x14000ae86
xor r8d, r8d
xor edx, edx
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
nop dword [rax]
test eax, eax
jne 0x14000aeac
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call sym.SystemInformer.exe_PhDosErrorToNtStatus
mov ebp, eax
test eax, eax
jns 0x14000aeac
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor sil, sil
mov byte [rsp + 0xb8], sil
test r15b, r15b
jne 0x14000b200
mov rax, qword [r14]
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x14000aebd
mov r14, qword [rcx + 8]
jmp 0x14000aec0
mov rcx, rbx
mov sil, 1
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14000b32c
xor r14d, r14d
lea r8, str.Unable_to_start
xorps xmm1, xmm1
mov rax, r8
mov rcx, r8
and rax, 0xfffffffffffffff1
and ecx, 0xf
je 0x14000aefb
movdqu xmm0, xmmword [rax]
pcmpeqw xmm0, xmm1
pmovmskb edx, xmm0
shr edx, cl
bsf ecx, edx
mov dword [rsp + 0x34], ecx
je 0x14000aef7
mov eax, ecx
shr rax, 1
jmp 0x14000af38
add rax, 0x10
movdqu xmm0, xmmword [rax]
pcmpeqw xmm0, xmm1
pmovmskb ecx, xmm0
bsf edx, ecx
mov dword [rsp + 0x34], edx
jne 0x14000af2a
movdqu xmm0, xmmword [rax + 0x10]
add rax, 0x10
pcmpeqw xmm0, xmm1
pmovmskb ecx, xmm0
bsf edx, ecx
mov dword [rsp + 0x34], edx
je 0x14000af10
sub rax, r8
mov ecx, edx
sar rax, 1
shr rcx, 1
add rax, rcx
mov rsi, r14
lea r15, [rax + rax]
and rsi, 0xfffffffffffffff1
mov ecx, r14d
and ecx, 0xf
je 0x14000af6d
movdqu xmm0, xmmword [rsi]
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
mov dword [rsp + 0x38], ecx
je 0x14000af69
mov esi, ecx
shr rsi, 1
jmp 0x14000afaa
add rsi, 0x10
movdqu xmm0, xmmword [rsi]
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
bsf ecx, eax
mov dword [rsp + 0x38], ecx
jne 0x14000af9c
movdqu xmm0, xmmword [rsi + 0x10]
add rsi, 0x10
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
bsf ecx, eax
mov dword [rsp + 0x38], ecx
je 0x14000af82
sub rsi, r14
mov eax, ecx
sar rsi, 1
shr rax, 1
add rsi, rax
mov rdx, qword [0x1402bfcf8]
add rsi, rsi
lea rbx, [rsi + r15]
lea rcx, [rbx + 0x12]
call sym.SystemInformer.exe_PhCreateObject
mov rdi, rax
lea rdx, str.Unable_to_start
mov r8, r15
lea rcx, [rax + 0x10]
mov qword [rax], rbx
mov qword [rax + 8], rcx
xor eax, eax
mov word [rcx + rbx], ax
mov rcx, qword [rdi + 8]
call fcn.1401e3aa0
mov rcx, qword [rdi + 8]
mov r8, rsi
add rcx, r15
mov rdx, r14
call fcn.1401e3aa0
mov rcx, rdi
call sym.SystemInformer.exe_PhAutoDereferenceObject
lea r9, [rsp + 0x31]
mov r8d, ebp
mov rcx, r12
mov rdx, qword [rax + 8]
call fcn.140001980
mov r14, qword [rsp + 0xa8]
test al, al
je 0x14000b1f2
cmp byte [rsp + 0x31], 0
je 0x14000b1dd
mov rax, qword ds:[r14]
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x14000b04b
mov rcx, qword [rcx + 8]
jmp 0x14000b04f
xor eax, eax
mov ecx, eax
mov edx, 1
call fcn.1400a1540
mov ebx, eax
test eax, eax
js 0x14000b072
mov sil, 1
call sym.SystemInformer.exe_PhUiDisconnectFromPhSvc
movzx r15d, byte [rsp + 0x30]
jmp 0x14000b32c
mov rax, qword [r14]
lea rdx, str.start
lea rcx, str.Unable_to__s__s.
mov r8, qword [rax + 0x10]
mov r8, qword [r8 + 8]
call fcn.1400017c0
mov rdi, qword [rax + 8]
cmp ebx, 0xc0000022
je 0x14000b0cd
nop dword [rax]
cmp ebx, 0xc0000005
je 0x14000b0cd
mov eax, ebx
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x14000b0bb
movzx eax, bx
jmp 0x14000b0d8
mov eax, ebx
and eax, 0xfff0000
cmp eax, 0xb0000
jne 0x14000b0dc
mov eax, ebx
jmp 0x14000b0d8
lfence
mov ecx, ebx
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
test eax, eax
jne 0x14000b0e8
lfence
mov ecx, ebx
call sym.SystemInformer.exe_PhGetNtMessage
jmp 0x14000b0f2
lfence
mov ecx, eax
call sym.SystemInformer.exe_PhGetWin32Message
mov rbx, rax
mov rcx, r12
mov r8d, 0xfffe
test rdi, rdi
je 0x14000b127
test rax, rax
je 0x14000b111
mov edx, 0x21
jmp 0x14000b138
mov qword [rsp + 0x28], rdi
lea r9, [0x140231658]
mov edx, 9
jmp 0x14000b1b0
mov edx, 9
test rbx, rbx
je 0x14000b19d
lea rdi, [0x140231658]
mov r10d, 8
lea r9, [0x140232c58]
mov rax, rbx
lfence
mov rax, qword [rbx + r10]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r9
mov r9, rdi
call sym.SystemInformer.exe_PhShowMessage2
lfence
lea rcx, [rbx - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14000b1c5
lfence
call fcn.14013d2a0
movzx esi, byte [rsp + 0xb8]
call sym.SystemInformer.exe_PhUiDisconnectFromPhSvc
movzx r15d, byte [rsp + 0x30]
jmp 0x14000b32c
lea rax, [0x140231658]
mov qword [rsp + 0x28], rax
lea r9, str.Unable_to_perform_the_operation.
lea rax, [0x140232c58]
mov qword ss:[rsp + 0x20], rax
call sym.SystemInformer.exe_PhShowMessage2
movzx esi, byte [rsp + 0xb8]
call sym.SystemInformer.exe_PhUiDisconnectFromPhSvc
movzx r15d, byte [rsp + 0x30]
jmp 0x14000b32c
movzx esi, byte [rsp + 0xb8]
mov r15b, 1
mov byte [rsp + 0x30], r15b
jmp 0x14000b32c
movzx esi, byte [rsp + 0xb8]
movzx r15d, byte [rsp + 0x30]
mov rax, qword [r14]
lea rdx, str.start
lea rcx, str.Unable_to__s__s.
mov r8, qword [rax + 0x10]
mov r8, qword [r8 + 8]
call fcn.1400017c0
mov rdi, qword [rax + 8]
cmp ebp, 0xc0000022
je 0x14000b25e
cmp ebp, 0xc0000005
je 0x14000b25e
mov eax, ebp
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x14000b24c
movzx eax, bp
jmp 0x14000b266
mov eax, ebp
and eax, 0xfff0000
cmp eax, 0xb0000
jne 0x14000b26a
mov eax, ebp
jmp 0x14000b266
mov ecx, ebp
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
test eax, eax
jne 0x14000b273
mov ecx, ebp
call sym.SystemInformer.exe_PhGetNtMessage
jmp 0x14000b27a
mov ecx, eax
call sym.SystemInformer.exe_PhGetWin32Message
mov rbx, rax
mov rcx, r12
mov r8d, 0xfffe
test rdi, rdi
je 0x14000b2a5
test rax, rax
je 0x14000b297
mov edx, 0x21
jmp 0x14000b2b6
mov qword [rsp + 0x28], rdi
lea r9, [0x140231658]
jmp 0x14000b30b
test rbx, rbx
je 0x14000b2f8
mov edx, 9
lea rdi, [0x140231658]
mov r10d, 8
lea r9, [0x140232c58]
mov rax, rbx
mov rax, qword [r10 + rbx]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r9
mov r9, rdi
call sym.SystemInformer.exe_PhShowMessage2
mov edi, eax
lea rcx, [rbx - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14000b327
call fcn.14013d2a0
jmp 0x14000b327
lea rax, [0x140231658]
mov qword [rsp + 0x28], rax
lea r9, str.Unable_to_perform_the_operation.
lea rax, [0x140232c58]
mov edx, 9
mov qword [rsp + 0x20], rax
call sym.SystemInformer.exe_PhShowMessage2
mov edi, eax
cmp edi, 1
jne 0x14000b354
mov edx, dword [rsp + 0x3c]
add r14, 8
inc edx
mov qword [rsp + 0xa8], r14
cmp edx, dword [rsp + 0xb0]
mov dword [rsp + 0x3c], edx
mov edx, 0
jb 0x14000adc0
mov rbp, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0x68]
mov r13, qword [rsp + 0x60]
movzx eax, sil
add rsp, 0x70
pop r15
pop r14
pop r12
pop rsi
pop rbx
ret
xor al, al
add rsp, 0x70
pop r15
pop r14
pop r12
pop rsi
pop rbx
ret