Function at 0x140069e98
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.1401540e0
sub rsp, rax
mov rax, qword [0x140183808]
xor rax, rsp
mov qword [rbp + 0xf40], rax
call fcn.140069cdc
test eax, eax
je 0x14006a251
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 0x140069fb8
xor edx, edx
call fcn.14008f094
xor ebx, ebx
lea r14d, [r15 + 1]
mov esi, 0x400
test rax, rax
je 0x140069f51
test ebx, ebx
jne 0x140069f94
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
call fcn.14008f094
inc r14d
test rax, rax
jne 0x140069f1b
test ebx, ebx
jne 0x140069f94
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 0x140069f94
cmp eax, 0xc
je 0x14006a29d
cmp eax, 0x16
je 0x14006a292
cmp eax, 0x22
je 0x14006a292
cmp eax, 0x50
jne 0x14006a287
lea r8, [0x140184858]
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 0x14006a256
lea r14, [0x140184858]
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 0x14006a08b
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop dword [rax + rax]
xor edx, edx
call fcn.14008f094
xor ebx, ebx
lea r15d, [r12 + 1]
mov esi, 0x400
test rax, rax
je 0x14006a040
test ebx, ebx
jne 0x14006a083
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
call fcn.14008f094
inc r15d
test rax, rax
jne 0x14006a00a
test ebx, ebx
jne 0x14006a083
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 0x14006a083
cmp eax, 0xc
je 0x14006a2be
cmp eax, 0x16
je 0x14006a2b3
cmp eax, 0x22
je 0x14006a2b3
cmp eax, 0x50
jne 0x14006a2a8
mov r8, r14
jmp 0x140069f9b
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 0x14006a17e
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x426
je 0x14006a17e
cmp eax, 0x425
jne 0x14006a0da
cmp dword [rsp + 0x24], 3
je 0x14006a17e
xor edx, edx
call fcn.14008f094
xor ebx, ebx
lea r13d, [rbx + 1]
test rax, rax
je 0x14006a122
test ebx, ebx
jne 0x14006a165
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
call fcn.14008f094
inc r13d
test rax, rax
jne 0x14006a0ec
test ebx, ebx
jne 0x14006a165
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 0x14006a165
cmp eax, 0xc
je 0x14006a2df
cmp eax, 0x16
je 0x14006a2d4
cmp eax, 0x22
je 0x14006a2d4
cmp eax, 0x50
jne 0x14006a2c9
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 0x14006a251
xor edx, edx
call fcn.14008f094
lea r15d, [rbx + 1]
test rax, rax
je 0x14006a1fd
test ebx, ebx
jne 0x14006a242
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
call fcn.14008f094
inc r15d
test rax, rax
jne 0x14006a1c5
test ebx, ebx
jne 0x14006a242
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 0x14006a242
cmp eax, 0xc
je 0x14006a300
cmp eax, 0x16
je 0x14006a2f5
cmp eax, 0x22
je 0x14006a2f5
cmp eax, 0x50
jne 0x14006a2ea
mov r8, r14
lea rdx, [rbp + 0x740]
jmp 0x140069fa0
mov eax, 1
mov rcx, qword [rbp + 0xf40]
xor rcx, rsp
call fcn.1401534b0
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, 0x80004005
call fcn.140001b90
int3
mov ecx, 0x80070057
call fcn.140001b90
int3
mov ecx, 0x8007000e
call fcn.140001b90
int3
mov ecx, 0x80004005
call fcn.140001b90
int3
mov ecx, 0x80070057
call fcn.140001b90
int3
mov ecx, 0x8007000e
call fcn.140001b90
int3
mov ecx, 0x80004005
call fcn.140001b90
int3
mov ecx, 0x80070057
call fcn.140001b90
int3
mov ecx, 0x8007000e
call fcn.140001b90
int3
mov ecx, 0x80004005
call fcn.140001b90
int3
mov ecx, 0x80070057
call fcn.140001b90
int3
mov ecx, 0x8007000e
call fcn.140001b90
int3