Function at 0x14000fa80
Capabilities:
Delete service

Disassembly:
push r14
push r15
sub rsp, 0x58
mov r8, qword [rdx + 0x10]
lea r9, str.Deleting_a_service_can_prevent_the_system_from_starting_or_functioning_properly.
mov r15, rdx
mov byte [rsp + 0x78], 0
lea rdx, [0x14023a9a8]
mov byte [rsp + 0x20], 1
mov r14, rcx
mov r8, qword [r8 + 8]
call sym.SystemInformer.exe_PhShowConfirmMessage
test al, al
jne 0x14000fac1
add rsp, 0x58
pop r15
pop r14
ret
mov rax, qword [r15 + 0x10]
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x38], r12
xor r12d, r12d
test rax, rax
je 0x14000fadd
mov r8, qword [rax + 8]
jmp 0x14000fae0
mov r8, r12
mov edx, 0x10000
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x80]
call sym.SystemInformer.exe_PhOpenService
mov ebp, eax
test eax, eax
js 0x14000fb52
mov rbx, qword [rsp + 0x80]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x14000fb70
cmp dword [0x1402bff40], 0xffffffff
jae 0x14000fb31
mov rax, qword gs:[0x30]
mov rbx, qword [rsp + 0x80]
mov eax, dword [rax + 0x68]
jmp 0x14000fb37
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call sym.SystemInformer.exe_PhDosErrorToNtStatus
mov ebp, eax
test eax, eax
jns 0x14000fb70
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov byte [rsp + 0x78], r12b
mov rax, qword [r15 + 0x10]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x30], r13
test rax, rax
je 0x14000fb85
mov r13, qword [rax + 8]
jmp 0x14000fb88
mov rcx, rbx
mov byte [rsp + 0x78], 1
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
jmp 0x14000ffaa
mov r13, r12
lea r8, str.Unable_to_delete
xorps xmm1, xmm1
mov rdx, r8
mov rcx, r8
and rdx, 0xfffffffffffffff1
and ecx, 0xf
je 0x14000fbca
movdqu xmm0, xmmword [rdx]
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
mov dword [rsp + 0x80], ecx
je 0x14000fbc6
mov edx, ecx
shr rdx, 1
jmp 0x14000fc0d
add rdx, 0x10
movdqu xmm0, xmmword [rdx]
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
bsf ecx, eax
mov dword [rsp + 0x80], ecx
jne 0x14000fbff
movdqu xmm0, xmmword [rdx + 0x10]
add rdx, 0x10
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
bsf ecx, eax
mov dword [rsp + 0x80], ecx
je 0x14000fbe2
sub rdx, r8
mov eax, ecx
sar rdx, 1
shr rax, 1
add rdx, rax
add rdx, rdx
mov rsi, r13
and rsi, 0xfffffffffffffff1
mov qword [rsp + 0x88], rdx
mov ecx, r13d
and ecx, 0xf
je 0x14000fc4d
movdqu xmm0, xmmword ds:[rsi]
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
mov dword [rsp + 0x80], ecx
je 0x14000fc49
mov esi, ecx
shr rsi, 1
jmp 0x14000fc9b
add rsi, 0x10
movdqu xmm0, xmmword [rsi]
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
bsf ecx, eax
mov dword [rsp + 0x80], ecx
jne 0x14000fc8d
nop word [rax + rax]
movdqu xmm0, xmmword [rsi + 0x10]
add rsi, 0x10
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
bsf ecx, eax
mov dword [rsp + 0x80], ecx
je 0x14000fc70
sub rsi, r13
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_delete
mov rdi, rax
lea rcx, [rax + 0x10]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov word [rcx + rbx], r12w
mov rcx, qword [rax + 8]
call fcn.14020af00
mov rcx, qword [rdi + 8]
mov r8, rsi
add rcx, qword [rsp + 0x88]
mov rdx, r13
call fcn.14020af00
mov rcx, rdi
call sym.SystemInformer.exe_PhAutoDereferenceObject
lea r9, [rsp + 0x80]
mov r8d, ebp
mov rcx, r14
mov rdx, qword [rax + 8]
call fcn.140001ae0
mov r13, qword ss:[rsp + 0x30]
mov rsi, qword [rsp + 0x48]
test al, al
je 0x14000fe97
cmp byte [rsp + 0x80], r12b
je 0x14000ffa5
mov rax, qword [r15 + 0x10]
test rax, rax
je 0x14000fd43
mov r12, qword [rax + 8]
mov edx, 5
mov rcx, r12
call fcn.1400a3cc0
mov edi, eax
test eax, eax
js 0x14000fd6a
mov byte ds:[rsp + 0x78], 1
call sym.SystemInformer.exe_PhUiDisconnectFromPhSvc
jmp 0x14000ffa5
mov r8, qword [r15 + 0x10]
lea rdx, [0x14023a9a8]
lea rcx, str.Unable_to__s__s.
mov r8, qword [r8 + 8]
call fcn.140001a60
mov rbx, qword [rax + 8]
cmp edi, 0xc0000022
je 0x14000fdbe
cmp edi, 0xc0000005
je 0x14000fdbe
mov eax, edi
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x14000fdac
movzx eax, di
jmp 0x14000fdc9
mov eax, edi
and eax, 0xfff0000
cmp eax, 0xb0000
jne 0x14000fdcd
mov eax, edi
jmp 0x14000fdc9
lfence
mov ecx, edi
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
test eax, eax
jne 0x14000fdd9
lfence
mov ecx, edi
call sym.SystemInformer.exe_PhGetNtMessage
jmp 0x14000fde5
lfence
mov ecx, eax
call sym.SystemInformer.exe_PhGetWin32Message
lea rcx, [0x14023a10c]
mov rdi, rax
mov r8d, 0xfffe
test rbx, rbx
je 0x14000fe0f
test rax, rax
je 0x14000fe06
mov edx, 0x21
jmp 0x14000fe20
lea r9, [0x1402386c8]
jmp 0x14000fe76
lea rbx, [0x1402386c8]
test rdi, rdi
je 0x14000fe6f
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, r14
call sym.SystemInformer.exe_PhShowMessage2
lfence
lea rcx, [rdi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14000fe8d
lfence
call fcn.140141ea0
call sym.SystemInformer.exe_PhUiDisconnectFromPhSvc
jmp 0x14000ffa5
lea r9, str.Unable_to_perform_the_operation.
mov qword [rsp + 0x28], rbx
mov edx, 9
mov qword [rsp + 0x20], rcx
mov rcx, r14
call sym.SystemInformer.exe_PhShowMessage2
call sym.SystemInformer.exe_PhUiDisconnectFromPhSvc
jmp 0x14000ffa5
mov r8, qword [r15 + 0x10]
lea rdx, [0x14023a9a8]
lea rcx, str.Unable_to__s__s.
mov r8, qword [r8 + 8]
call fcn.140001a60
mov rbx, qword [rax + 8]
cmp ebp, 0xc0000022
je 0x14000feed
nop
cmp ebp, 0xc0000005
je 0x14000feed
mov eax, ebp
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x14000fedb
movzx eax, bp
jmp 0x14000fef5
mov eax, ebp
and eax, 0xfff0000
cmp eax, 0xb0000
jne 0x14000fef9
mov eax, ebp
jmp 0x14000fef5
mov ecx, ebp
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
test eax, eax
jne 0x14000ff07
mov ecx, ebp
call sym.SystemInformer.exe_PhGetNtMessage
jmp 0x14000ff0e
mov ecx, eax
call sym.SystemInformer.exe_PhGetWin32Message
lea rcx, [0x14023a10c]
mov rdi, rax
mov r8d, 0xfffe
test rbx, rbx
je 0x14000ff3a
test rax, rax
je 0x14000ff31
mov edx, 0x21
jmp 0x14000ff4b
lea r9, [0x1402386c8]
jmp 0x14000ff8e
lea rbx, [0x1402386c8]
test rdi, rdi
je 0x14000ff87
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, r14
call sym.SystemInformer.exe_PhShowMessage2
lea rcx, [rdi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14000ffa5
nop
call fcn.140141ea0
jmp 0x14000ffa5
lea r9, str.Unable_to_perform_the_operation.
mov qword [rsp + 0x28], rbx
mov edx, 9
mov qword [rsp + 0x20], rcx
mov rcx, r14
call sym.SystemInformer.exe_PhShowMessage2
mov rdi, qword [rsp + 0x40]
movzx eax, byte [rsp + 0x78]
mov r12, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x70]
add rsp, 0x58
pop r15
pop r14
ret