Function at 0x14000f980
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, [0x14023ccd8]
mov byte [rsp + 0x20], 1
mov r14, rcx
mov r8, qword [r8 + 8]
call sym.SystemInformer.exe_Ordinal_1695
test al, al
jne 0x14000f9c1
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 0x14000f9dd
mov r8, qword [rax + 8]
jmp 0x14000f9e0
mov r8, r12
mov edx, 0x10000
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x80]
call sym.SystemInformer.exe_Ordinal_1936
mov ebp, eax
test eax, eax
js 0x14000fa52
mov rbx, qword [rsp + 0x80]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x14000fa70
cmp dword [0x1402bbf68], 0xffffffff
jae 0x14000fa31
mov rax, qword gs:[0x30]
mov rbx, qword [rsp + 0x80]
mov eax, dword [rax + 0x68]
jmp 0x14000fa37
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call sym.SystemInformer.exe_Ordinal_1343
mov ebp, eax
test eax, eax
jns 0x14000fa70
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 0x14000fa85
mov r13, qword [rax + 8]
jmp 0x14000fa88
mov rcx, rbx
mov byte [rsp + 0x78], 1
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
jmp 0x14000feca
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 0x14000faca
movdqu xmm0, xmmword [rdx]
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
mov dword [rsp + 0x80], ecx
je 0x14000fac6
mov edx, ecx
shr rdx, 1
jmp 0x14000fb0d
add rdx, 0x10
movdqu xmm0, xmmword [rdx]
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
bsf ecx, eax
mov dword [rsp + 0x80], ecx
jne 0x14000faff
movdqu xmm0, xmmword [rdx + 0x10]
add rdx, 0x10
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
bsf ecx, eax
mov dword [rsp + 0x80], ecx
je 0x14000fae2
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 0x14000fb4d
movdqu xmm0, xmmword ds:[rsi]
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
mov dword [rsp + 0x80], ecx
je 0x14000fb49
mov esi, ecx
shr rsi, 1
jmp 0x14000fb9b
add rsi, 0x10
movdqu xmm0, xmmword [rsi]
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
bsf ecx, eax
mov dword [rsp + 0x80], ecx
jne 0x14000fb8d
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 0x14000fb70
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 [0x1402c5ff0]
lea rcx, [rbx + 0x12]
call sym.SystemInformer.exe_Ordinal_1240
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.14020c7e0
mov rcx, qword [rdi + 8]
mov r8, rsi
add rcx, qword [rsp + 0x88]
mov rdx, r13
call fcn.14020c7e0
mov rcx, rdi
call sym.SystemInformer.exe_Ordinal_1238
lea rcx, ds:[rsp + 0x88]
mov r8d, ebp
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x80]
mov rcx, r14
mov rdx, qword [rax + 8]
call fcn.140001ae0
mov r13, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x48]
test al, al
je 0x14000fdb7
nop word [rax + rax]
cmp byte [rsp + 0x80], r12b
je 0x14000fec5
mov rax, qword [r15 + 0x10]
test rax, rax
je 0x14000fc5b
mov r12, qword [rax + 8]
mov edx, 5
mov rcx, r12
call fcn.1400a5000
mov edi, eax
test eax, eax
js 0x14000fc7d
mov byte [rsp + 0x78], 1
call sym.SystemInformer.exe_Ordinal_1190
jmp 0x14000fec5
mov r8, qword [r15 + 0x10]
lea rdx, [0x14023ccd8]
lea rcx, str.Unable_to__s__s.
mov r8, qword [r8 + 8]
call fcn.140001a60
mov rbx, qword ds:[rax + 8]
cmp edi, 0xc0000022
je 0x14000fcd5
cmp edi, 0xc0000005
je 0x14000fcd5
mov eax, edi
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x14000fcc3
movzx eax, di
jmp 0x14000fce6
mov eax, edi
and eax, 0xfff0000
cmp eax, 0xb0000
jne 0x14000fcea
mov eax, edi
jmp 0x14000fce6
lfence
mov ecx, edi
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
test eax, eax
jne 0x14000fcf6
lfence
mov ecx, edi
call sym.SystemInformer.exe_Ordinal_1660
jmp 0x14000fd05
lfence
mov ecx, eax
call sym.SystemInformer.exe_Ordinal_1670
lea rcx, [0x14023c43c]
mov rdi, rax
mov r8d, 0xfffe
test rbx, rbx
je 0x14000fd2f
test rax, rax
je 0x14000fd26
mov edx, 0x21
jmp 0x14000fd40
lea r9, [0x14023aad8]
jmp 0x14000fd96
lea rbx, [0x14023aad8]
test rdi, rdi
je 0x14000fd8f
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_Ordinal_1699
lfence
lea rcx, [rdi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14000fdad
lfence
call fcn.140143da0
call sym.SystemInformer.exe_Ordinal_1190
jmp 0x14000fec5
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_Ordinal_1699
call sym.SystemInformer.exe_Ordinal_1190
jmp 0x14000fec5
mov r8, qword [r15 + 0x10]
lea rdx, [0x14023ccd8]
lea rcx, str.Unable_to__s__s.
mov r8, qword [r8 + 8]
call fcn.140001a60
mov rbx, qword [rax + 8]
cmp ebp, 0xc0000022
je 0x14000fe0d
nop
cmp ebp, 0xc0000005
je 0x14000fe0d
mov eax, ebp
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x14000fdfb
movzx eax, bp
jmp 0x14000fe15
mov eax, ebp
and eax, 0xfff0000
cmp eax, 0xb0000
jne 0x14000fe19
mov eax, ebp
jmp 0x14000fe15
mov ecx, ebp
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
test eax, eax
jne 0x14000fe27
mov ecx, ebp
call sym.SystemInformer.exe_Ordinal_1660
jmp 0x14000fe2e
mov ecx, eax
call sym.SystemInformer.exe_Ordinal_1670
lea rcx, [0x14023c43c]
mov rdi, rax
mov r8d, 0xfffe
test rbx, rbx
je 0x14000fe5a
test rax, rax
je 0x14000fe51
mov edx, 0x21
jmp 0x14000fe6b
lea r9, [0x14023aad8]
jmp 0x14000feae
lea rbx, [0x14023aad8]
test rdi, rdi
je 0x14000fea7
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_Ordinal_1699
lea rcx, [rdi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14000fec5
nop
call fcn.140143da0
jmp 0x14000fec5
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_Ordinal_1699
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