Function at 0x14000de00
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, [0x1402378a8]
mov byte [rsp + 0x20], 1
mov r14, rcx
mov r8, qword [r8 + 8]
call sym.SystemInformer.exe_QiShowConfirmMessage
test al, al
jne 0x14000de43
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 0x14000de5f
mov r8, qword [rax + 8]
jmp 0x14000de62
mov r8, r12
mov edx, 0x10000
mov qword [rsp + 0x80], rbx
lea rcx, [rsp + 0x38]
call sym.SystemInformer.exe_QiOpenService
mov ebp, eax
test eax, eax
js 0x14000deb5
mov rbx, qword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x14000ded3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call sym.SystemInformer.exe_QiDosErrorToNtStatus
mov ebp, eax
test eax, eax
jns 0x14000ded3
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 0x14000deeb
mov r13, qword [rax + 8]
jmp 0x14000deee
mov rcx, rbx
mov byte [rsp + 0x88], 1
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14000e30a
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 0x14000df2d
movdqu xmm0, xmmword ds:[rdx]
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
mov dword [rsp + 0x98], ecx
je 0x14000df29
mov edx, ecx
shr rdx, 1
jmp 0x14000df7b
add rdx, 0x10
movdqu xmm0, xmmword [rdx]
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
bsf ecx, eax
mov dword [rsp + 0x98], ecx
jne 0x14000df6d
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 0x14000df50
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 0x14000dfb7
movdqu xmm0, xmmword [rsi]
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
mov dword [rsp + 0x30], ecx
je 0x14000dfb3
mov esi, ecx
shr rsi, 1
jmp 0x14000dff8
add rsi, 0x10
movdqu xmm0, xmmword [rsi]
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
bsf ecx, eax
mov dword [rsp + 0x30], ecx
jne 0x14000dfea
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 0x14000dfd0
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 [0x1402c4fb8]
lea rcx, [rbx + 0x12]
call sym.SystemInformer.exe_QiCreateObject
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.1402074d0
mov rcx, qword [rdi + 8]
mov r8, rsi
add rcx, qword [rsp + 0x90]
mov rdx, r13
call fcn.1402074d0
mov rcx, rdi
call sym.SystemInformer.exe_QiAutoDereferenceObject
lea r9, [rsp + 0x90]
mov r8d, ebp
mov rcx, r14
mov rdx, qword [rax + 8]
call fcn.140001c40
mov r13, qword ss:[rsp + 0x40]
mov rsi, qword [rsp + 0x58]
test al, al
je 0x14000e1f7
cmp byte [rsp + 0x90], r12b
je 0x14000e305
mov rax, qword [r15 + 0x10]
test rax, rax
je 0x14000e0a3
mov r12, qword [rax + 8]
mov edx, 5
mov rcx, r12
call fcn.1400a2600
mov edi, eax
test eax, eax
js 0x14000e0ca
mov byte ds:[rsp + 0x88], 1
call sym.SystemInformer.exe_QiUiDisconnectFromPhSvc
jmp 0x14000e305
mov r8, qword [r15 + 0x10]
lea rdx, [0x1402378a8]
lea rcx, str.Unable_to__s__s.
mov r8, qword [r8 + 8]
call fcn.140001a80
mov rbx, qword [rax + 8]
cmp edi, 0xc0000022
je 0x14000e11e
cmp edi, 0xc0000005
je 0x14000e11e
mov eax, edi
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x14000e10c
movzx eax, di
jmp 0x14000e129
mov eax, edi
and eax, 0xfff0000
cmp eax, 0xb0000
jne 0x14000e12d
mov eax, edi
jmp 0x14000e129
lfence
mov ecx, edi
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
test eax, eax
jne 0x14000e139
lfence
mov ecx, edi
call sym.SystemInformer.exe_QiGetNtMessage
jmp 0x14000e145
lfence
mov ecx, eax
call sym.SystemInformer.exe_QiGetWin32Message
lea rcx, [0x140236d98]
mov rdi, rax
mov r8d, 0xfffe
test rbx, rbx
je 0x14000e16f
test rax, rax
je 0x14000e166
mov edx, 0x21
jmp 0x14000e180
lea r9, [0x1402332cc]
jmp 0x14000e1d6
lea rbx, [0x1402332cc]
test rdi, rdi
je 0x14000e1cf
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_QiShowMessage2
lfence
lea rcx, [rdi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14000e1ed
lfence
call fcn.14013fb00
call sym.SystemInformer.exe_QiUiDisconnectFromPhSvc
jmp 0x14000e305
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_QiShowMessage2
call sym.SystemInformer.exe_QiUiDisconnectFromPhSvc
jmp 0x14000e305
mov r8, qword [r15 + 0x10]
lea rdx, [0x1402378a8]
lea rcx, str.Unable_to__s__s.
mov r8, qword [r8 + 8]
call fcn.140001a80
mov rbx, qword [rax + 8]
cmp ebp, 0xc0000022
je 0x14000e24d
nop
cmp ebp, 0xc0000005
je 0x14000e24d
mov eax, ebp
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x14000e23b
movzx eax, bp
jmp 0x14000e255
mov eax, ebp
and eax, 0xfff0000
cmp eax, 0xb0000
jne 0x14000e259
mov eax, ebp
jmp 0x14000e255
mov ecx, ebp
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
test eax, eax
jne 0x14000e267
mov ecx, ebp
call sym.SystemInformer.exe_QiGetNtMessage
jmp 0x14000e26e
mov ecx, eax
call sym.SystemInformer.exe_QiGetWin32Message
lea rcx, [0x140236d98]
mov rdi, rax
mov r8d, 0xfffe
test rbx, rbx
je 0x14000e29a
test rax, rax
je 0x14000e291
mov edx, 0x21
jmp 0x14000e2ab
lea r9, [0x1402332cc]
jmp 0x14000e2ee
lea rbx, [0x1402332cc]
test rdi, rdi
je 0x14000e2e7
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_QiShowMessage2
lea rcx, [rdi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14000e305
nop
call fcn.14013fb00
jmp 0x14000e305
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_QiShowMessage2
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