Function at 0x140067fcc
Capabilities:
Delete service
Stop service

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], r12
mov qword [rax + 0x20], r13
push rbp
push r14
push r15
lea rbp, [rax - 0xf68]
mov eax, 0x1050
call fcn.140151e90
sub rsp, rax
mov rax, qword [0x14017a608]
xor rax, rsp
mov qword [rbp + 0xf40], rax
call fcn.140065378
test eax, eax
je 0x140068381
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
nop dword [rax + rax]
mov r15, rax
test rax, rax
jne 0x1400680ec
xor edx, edx
call fcn.14008a7ec
xor ebx, ebx
lea r14d, [r15 + 1]
mov esi, 0x400
test rax, rax
je 0x140068085
test ebx, ebx
jne 0x1400680c8
mov r9d, esi
lea r8, [rsp + 0x40]
mov edx, 0xd80a
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadStringW]
nop dword [rax + rax]
mov edx, r14d
mov ebx, eax
inc r14d
call fcn.14008a7ec
test rax, rax
jne 0x14006804f
test ebx, ebx
jne 0x1400680c8
lea r8, str.Could_not_open_Service_Manager
mov rdx, rsi
lea rcx, [rsp + 0x40]
call qword [sym.imp.msvcrt.dll_wcscpy_s]
nop dword [rax + rax]
test eax, eax
je 0x1400680c8
cmp eax, 0xc
je 0x1400683d8
cmp eax, 0x16
je 0x1400683cd
cmp eax, 0x22
je 0x1400683cd
cmp eax, 0x50
jne 0x1400683c2
lea r8, [0x14017b3f8]
lea rdx, [rsp + 0x40]
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop dword [rax + rax]
xor eax, eax
jmp 0x140068386
lea r14, [0x14017b3f8]
mov r8d, 0x10020
mov rdx, r14
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
nop dword [rax + rax]
mov r12, rax
test rax, rax
jne 0x1400681bf
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop dword [rax + rax]
xor edx, edx
call fcn.14008a7ec
xor ebx, ebx
lea r15d, [r12 + 1]
mov esi, 0x400
test rax, rax
je 0x140068174
test ebx, ebx
jne 0x1400681b7
mov r9d, esi
lea r8, [rsp + 0x40]
mov edx, 0xd80c
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadStringW]
nop dword [rax + rax]
mov edx, r15d
mov ebx, eax
inc r15d
call fcn.14008a7ec
test rax, rax
jne 0x14006813e
test ebx, ebx
jne 0x1400681b7
lea r8, str.Could_not_open_service
mov rdx, rsi
lea rcx, [rsp + 0x40]
call qword [sym.imp.msvcrt.dll_wcscpy_s]
nop dword [rax + rax]
test eax, eax
je 0x1400681b7
cmp eax, 0xc
je 0x1400683f9
cmp eax, 0x16
je 0x1400683ee
cmp eax, 0x22
je 0x1400683ee
cmp eax, 0x50
jne 0x1400683e3
mov r8, r14
jmp 0x1400680cf
lea r8, [rsp + 0x20]
mov edx, 1
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_ControlService]
nop dword [rax + rax]
mov esi, 0x400
test eax, eax
jne 0x1400682b2
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x426
je 0x1400682b2
cmp eax, 0x425
jne 0x14006820e
cmp dword [rsp + 0x24], 3
je 0x1400682b2
xor edx, edx
call fcn.14008a7ec
xor ebx, ebx
lea r13d, [rbx + 1]
test rax, rax
je 0x140068256
test ebx, ebx
jne 0x140068299
mov r9d, esi
lea r8, [rsp + 0x40]
mov edx, 0xd80e
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadStringW]
nop dword [rax + rax]
mov edx, r13d
mov ebx, eax
inc r13d
call fcn.14008a7ec
test rax, rax
jne 0x140068220
test ebx, ebx
jne 0x140068299
lea r8, str.Could_not_stop_service
mov rdx, rsi
lea rcx, [rsp + 0x40]
call qword [sym.imp.msvcrt.dll_wcscpy_s]
nop dword [rax + rax]
test eax, eax
je 0x140068299
cmp eax, 0xc
je 0x14006841a
cmp eax, 0x16
je 0x14006840f
cmp eax, 0x22
je 0x14006840f
cmp eax, 0x50
jne 0x140068404
xor r9d, r9d
lea rdx, [rsp + 0x40]
mov r8, r14
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop dword [rax + rax]
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_DeleteService]
nop dword [rax + rax]
mov rcx, r12
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop dword [rax + rax]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop dword [rax + rax]
test ebx, ebx
jne 0x140068381
xor edx, edx
call fcn.14008a7ec
lea r15d, [rbx + 1]
test rax, rax
je 0x140068331
test ebx, ebx
jne 0x140068372
mov r9d, esi
lea r8, [rbp + 0x740]
mov edx, 0xd80d
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadStringW]
nop dword [rax + rax]
mov edx, r15d
mov ebx, eax
inc r15d
call fcn.14008a7ec
test rax, rax
jne 0x1400682f9
test ebx, ebx
jne 0x140068372
lea r8, str.Could_not_delete_service
mov rdx, rsi
lea rcx, [rbp + 0x740]
call qword [sym.imp.msvcrt.dll_wcscpy_s]
nop dword [rax + rax]
test eax, eax
je 0x140068372
cmp eax, 0xc
je 0x1400683b7
cmp eax, 0x16
je 0x140068430
cmp eax, 0x22
je 0x140068430
cmp eax, 0x50
jne 0x140068425
mov r8, r14
lea rdx, [rbp + 0x740]
jmp 0x1400680d4
mov eax, 1
mov rcx, qword [rbp + 0xf40]
xor rcx, rsp
call fcn.140001d90
lea r11, [rsp + 0x1050]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov r12, qword [r11 + 0x30]
mov r13, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov ecx, 0x8007000e
call fcn.140003714
int3
mov ecx, 0x80004005
call fcn.140003714
int3
mov ecx, 0x80070057
call fcn.140003714
int3
mov ecx, 0x8007000e
call fcn.140003714
int3
mov ecx, 0x80004005
call fcn.140003714
int3
mov ecx, 0x80070057
call fcn.140003714
int3
mov ecx, 0x8007000e
call fcn.140003714
int3
mov ecx, 0x80004005
call fcn.140003714
int3
mov ecx, 0x80070057
call fcn.140003714
int3
mov ecx, 0x8007000e
call fcn.140003714
int3
mov ecx, 0x80004005
call fcn.140003714
int3
mov ecx, 0x80070057
call fcn.140003714
int3