Function at 0x14000fae0
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 0x14000fb21
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 0x14000fb3d
mov r8, qword [rax + 8]
jmp 0x14000fb40
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 0x14000fbb2
mov rbx, qword [rsp + 0x80]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x14000fbd0
cmp dword [0x1402bff40], 0xffffffff
jae 0x14000fb91
mov rax, qword gs:[0x30]
mov rbx, qword [rsp + 0x80]
mov eax, dword [rax + 0x68]
jmp 0x14000fb97
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call sym.SystemInformer.exe_PhDosErrorToNtStatus
mov ebp, eax
test eax, eax
jns 0x14000fbd0
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 0x14000fbe5
mov r13, qword [rax + 8]
jmp 0x14000fbe8
mov rcx, rbx
mov byte [rsp + 0x78], 1
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
jmp 0x14001000a
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 0x14000fc2a
movdqu xmm0, xmmword [rdx]
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
mov dword [rsp + 0x80], ecx
je 0x14000fc26
mov edx, ecx
shr rdx, 1
jmp 0x14000fc6d
add rdx, 0x10
movdqu xmm0, xmmword [rdx]
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
bsf ecx, eax
mov dword [rsp + 0x80], ecx
jne 0x14000fc5f
movdqu xmm0, xmmword [rdx + 0x10]
add rdx, 0x10
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
bsf ecx, eax
mov dword [rsp + 0x80], ecx
je 0x14000fc42
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 0x14000fcad
movdqu xmm0, xmmword ds:[rsi]
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
mov dword [rsp + 0x80], ecx
je 0x14000fca9
mov esi, ecx
shr rsi, 1
jmp 0x14000fcfb
add rsi, 0x10
movdqu xmm0, xmmword [rsi]
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
bsf ecx, eax
mov dword [rsp + 0x80], ecx
jne 0x14000fced
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 0x14000fcd0
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 [0x1402ca978]
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.14020a640
mov rcx, qword [rdi + 8]
mov r8, rsi
add rcx, qword [rsp + 0x88]
mov rdx, r13
call fcn.14020a640
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 0x14000fef7
cmp byte [rsp + 0x80], r12b
je 0x140010005
mov rax, qword [r15 + 0x10]
test rax, rax
je 0x14000fda3
mov r12, qword [rax + 8]
mov edx, 5
mov rcx, r12
call fcn.1400a3ca0
mov edi, eax
test eax, eax
js 0x14000fdca
mov byte ds:[rsp + 0x78], 1
call sym.SystemInformer.exe_PhUiDisconnectFromPhSvc
jmp 0x140010005
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 0x14000fe1e
cmp edi, 0xc0000005
je 0x14000fe1e
mov eax, edi
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x14000fe0c
movzx eax, di
jmp 0x14000fe29
mov eax, edi
and eax, 0xfff0000
cmp eax, 0xb0000
jne 0x14000fe2d
mov eax, edi
jmp 0x14000fe29
lfence
mov ecx, edi
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
test eax, eax
jne 0x14000fe39
lfence
mov ecx, edi
call sym.SystemInformer.exe_PhGetNtMessage
jmp 0x14000fe45
lfence
mov ecx, eax
call sym.SystemInformer.exe_PhGetWin32Message
lea rcx, [0x14023a10c]
mov rdi, rax
mov r8d, 0xfffe
test rbx, rbx
je 0x14000fe6f
test rax, rax
je 0x14000fe66
mov edx, 0x21
jmp 0x14000fe80
lea r9, [0x1402386c8]
jmp 0x14000fed6
lea rbx, [0x1402386c8]
test rdi, rdi
je 0x14000fecf
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 0x14000feed
lfence
call fcn.140141ca0
call sym.SystemInformer.exe_PhUiDisconnectFromPhSvc
jmp 0x140010005
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 0x140010005
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 0x14000ff4d
nop
cmp ebp, 0xc0000005
je 0x14000ff4d
mov eax, ebp
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x14000ff3b
movzx eax, bp
jmp 0x14000ff55
mov eax, ebp
and eax, 0xfff0000
cmp eax, 0xb0000
jne 0x14000ff59
mov eax, ebp
jmp 0x14000ff55
mov ecx, ebp
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
test eax, eax
jne 0x14000ff67
mov ecx, ebp
call sym.SystemInformer.exe_PhGetNtMessage
jmp 0x14000ff6e
mov ecx, eax
call sym.SystemInformer.exe_PhGetWin32Message
lea rcx, [0x14023a10c]
mov rdi, rax
mov r8d, 0xfffe
test rbx, rbx
je 0x14000ff9a
test rax, rax
je 0x14000ff91
mov edx, 0x21
jmp 0x14000ffab
lea r9, [0x1402386c8]
jmp 0x14000ffee
lea rbx, [0x1402386c8]
test rdi, rdi
je 0x14000ffe7
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 0x140010005
nop
call fcn.140141ca0
jmp 0x140010005
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