Function at 0x14000db80
Capabilities:
Delete service

Disassembly:
push r14
push r15
sub rsp, 0x68
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 + 0x88], 0
lea rdx, [0x140233768]
mov byte [rsp + 0x20], 1
mov r14, rcx
mov r8, qword [r8 + 8]
call sym.SystemInformer.exe_PhShowConfirmMessage
test al, al
jne 0x14000dbc3
add rsp, 0x68
pop r15
pop r14
ret
mov rax, qword [r15 + 0x10]
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x48], r12
xor r12d, r12d
test rax, rax
je 0x14000dbdf
mov r8, qword [rax + 8]
jmp 0x14000dbe2
mov r8, r12
mov edx, 0x10000
mov qword [rsp + 0x80], rbx
lea rcx, [rsp + 0x38]
call sym.SystemInformer.exe_PhOpenService
mov ebp, eax
test eax, eax
js 0x14000dc35
mov rbx, qword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x14000dc53
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call sym.SystemInformer.exe_PhDosErrorToNtStatus
mov ebp, eax
test eax, eax
jns 0x14000dc53
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov byte [rsp + 0x88], r12b
mov rax, qword [r15 + 0x10]
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], r13
test rax, rax
je 0x14000dc6b
mov r13, qword [rax + 8]
jmp 0x14000dc6e
mov rcx, rbx
mov byte [rsp + 0x88], 1
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14000e08a
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 0x14000dcad
movdqu xmm0, xmmword ds:[rdx]
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
mov dword [rsp + 0x98], ecx
je 0x14000dca9
mov edx, ecx
shr rdx, 1
jmp 0x14000dcfb
add rdx, 0x10
movdqu xmm0, xmmword [rdx]
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
bsf ecx, eax
mov dword [rsp + 0x98], ecx
jne 0x14000dced
nop word [rax + rax]
movdqu xmm0, xmmword [rdx + 0x10]
add rdx, 0x10
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
bsf ecx, eax
mov dword [rsp + 0x98], ecx
je 0x14000dcd0
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 + 0x90], rdx
mov ecx, r13d
and ecx, 0xf
je 0x14000dd37
movdqu xmm0, xmmword [rsi]
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
mov dword [rsp + 0x30], ecx
je 0x14000dd33
mov esi, ecx
shr rsi, 1
jmp 0x14000dd78
add rsi, 0x10
movdqu xmm0, xmmword [rsi]
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
bsf ecx, eax
mov dword [rsp + 0x30], ecx
jne 0x14000dd6a
nop dword [rax]
movdqu xmm0, xmmword [rsi + 0x10]
add rsi, 0x10
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
bsf ecx, eax
mov dword [rsp + 0x30], ecx
je 0x14000dd50
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 [0x1402bfcf8]
lea rcx, [rbx + 0x12]
call sym.SystemInformer.exe_PhCreateObject
mov r8, qword [rsp + 0x90]
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.1401e3aa0
mov rcx, qword [rdi + 8]
mov r8, rsi
add rcx, qword [rsp + 0x90]
mov rdx, r13
call fcn.1401e3aa0
mov rcx, rdi
call sym.SystemInformer.exe_PhAutoDereferenceObject
lea r9, [rsp + 0x90]
mov r8d, ebp
mov rcx, r14
mov rdx, qword [rax + 8]
call fcn.140001980
mov r13, qword ss:[rsp + 0x40]
mov rsi, qword [rsp + 0x58]
test al, al
je 0x14000df77
cmp byte [rsp + 0x90], r12b
je 0x14000e085
mov rax, qword [r15 + 0x10]
test rax, rax
je 0x14000de23
mov r12, qword [rax + 8]
mov edx, 5
mov rcx, r12
call fcn.1400a1540
mov edi, eax
test eax, eax
js 0x14000de4a
mov byte ds:[rsp + 0x88], 1
call sym.SystemInformer.exe_PhUiDisconnectFromPhSvc
jmp 0x14000e085
mov r8, qword [r15 + 0x10]
lea rdx, [0x140233768]
lea rcx, str.Unable_to__s__s.
mov r8, qword [r8 + 8]
call fcn.1400017c0
mov rbx, qword [rax + 8]
cmp edi, 0xc0000022
je 0x14000de9e
cmp edi, 0xc0000005
je 0x14000de9e
mov eax, edi
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x14000de8c
movzx eax, di
jmp 0x14000dea9
mov eax, edi
and eax, 0xfff0000
cmp eax, 0xb0000
jne 0x14000dead
mov eax, edi
jmp 0x14000dea9
lfence
mov ecx, edi
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
test eax, eax
jne 0x14000deb9
lfence
mov ecx, edi
call sym.SystemInformer.exe_PhGetNtMessage
jmp 0x14000dec5
lfence
mov ecx, eax
call sym.SystemInformer.exe_PhGetWin32Message
lea rcx, [0x140232c58]
mov rdi, rax
mov r8d, 0xfffe
test rbx, rbx
je 0x14000deef
test rax, rax
je 0x14000dee6
mov edx, 0x21
jmp 0x14000df00
lea r9, [0x140231658]
jmp 0x14000df56
lea rbx, [0x140231658]
test rdi, rdi
je 0x14000df4f
mov edx, 9
mov eax, 8
mov r9, rdi
lfence
mov rax, qword [rdi + rax]
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 0x14000df6d
lfence
call fcn.14013d2a0
call sym.SystemInformer.exe_PhUiDisconnectFromPhSvc
jmp 0x14000e085
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 0x14000e085
mov r8, qword [r15 + 0x10]
lea rdx, [0x140233768]
lea rcx, str.Unable_to__s__s.
mov r8, qword [r8 + 8]
call fcn.1400017c0
mov rbx, qword [rax + 8]
cmp ebp, 0xc0000022
je 0x14000dfcd
nop
cmp ebp, 0xc0000005
je 0x14000dfcd
mov eax, ebp
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x14000dfbb
movzx eax, bp
jmp 0x14000dfd5
mov eax, ebp
and eax, 0xfff0000
cmp eax, 0xb0000
jne 0x14000dfd9
mov eax, ebp
jmp 0x14000dfd5
mov ecx, ebp
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
test eax, eax
jne 0x14000dfe7
mov ecx, ebp
call sym.SystemInformer.exe_PhGetNtMessage
jmp 0x14000dfee
mov ecx, eax
call sym.SystemInformer.exe_PhGetWin32Message
lea rcx, [0x140232c58]
mov rdi, rax
mov r8d, 0xfffe
test rbx, rbx
je 0x14000e01a
test rax, rax
je 0x14000e011
mov edx, 0x21
jmp 0x14000e02b
lea r9, [0x140231658]
jmp 0x14000e06e
lea rbx, [0x140231658]
test rdi, rdi
je 0x14000e067
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 0x14000e085
nop
call fcn.14013d2a0
jmp 0x14000e085
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 + 0x50]
movzx eax, byte [rsp + 0x88]
mov r12, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x80]
add rsp, 0x68
pop r15
pop r14
ret