Function at 0x1400624f8
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.14014c320
sub rsp, rax
mov rax, qword [0x14017a608]
xor rax, rsp
mov qword [rbp + 0xf40], rax
call fcn.14006233c
test eax, eax
je 0x1400628b1
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 0x140062618
xor edx, edx
call fcn.140087294
xor ebx, ebx
lea r14d, [r15 + 1]
mov esi, 0x400
test rax, rax
je 0x1400625b1
test ebx, ebx
jne 0x1400625f4
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.140087294
inc r14d
test rax, rax
jne 0x14006257b
test ebx, ebx
jne 0x1400625f4
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 0x1400625f4
cmp eax, 0xc
je 0x1400628fd
cmp eax, 0x16
je 0x1400628f2
cmp eax, 0x22
je 0x1400628f2
cmp eax, 0x50
jne 0x1400628e7
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 0x1400628b6
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 0x1400626eb
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop dword [rax + rax]
xor edx, edx
call fcn.140087294
xor ebx, ebx
lea r15d, [r12 + 1]
mov esi, 0x400
test rax, rax
je 0x1400626a0
test ebx, ebx
jne 0x1400626e3
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.140087294
inc r15d
test rax, rax
jne 0x14006266a
test ebx, ebx
jne 0x1400626e3
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 0x1400626e3
cmp eax, 0xc
je 0x14006291e
cmp eax, 0x16
je 0x140062913
cmp eax, 0x22
je 0x140062913
cmp eax, 0x50
jne 0x140062908
mov r8, r14
jmp 0x1400625fb
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 0x1400627de
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x426
je 0x1400627de
cmp eax, 0x425
jne 0x14006273a
cmp dword [rsp + 0x24], 3
je 0x1400627de
xor edx, edx
call fcn.140087294
xor ebx, ebx
lea r13d, [rbx + 1]
test rax, rax
je 0x140062782
test ebx, ebx
jne 0x1400627c5
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.140087294
inc r13d
test rax, rax
jne 0x14006274c
test ebx, ebx
jne 0x1400627c5
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 0x1400627c5
cmp eax, 0xc
je 0x14006293f
cmp eax, 0x16
je 0x140062934
cmp eax, 0x22
je 0x140062934
cmp eax, 0x50
jne 0x140062929
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 0x1400628b1
xor edx, edx
call fcn.140087294
lea r15d, [rbx + 1]
test rax, rax
je 0x14006285d
test ebx, ebx
jne 0x1400628a2
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.140087294
inc r15d
test rax, rax
jne 0x140062825
test ebx, ebx
jne 0x1400628a2
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 0x1400628a2
cmp eax, 0xc
je 0x140062960
cmp eax, 0x16
je 0x140062955
cmp eax, 0x22
je 0x140062955
cmp eax, 0x50
jne 0x14006294a
mov r8, r14
lea rdx, [rbp + 0x740]
jmp 0x140062600
mov eax, 1
mov rcx, qword [rbp + 0xf40]
xor rcx, rsp
call fcn.14014b700
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.140001950
int3
mov ecx, 0x80070057
call fcn.140001950
int3
mov ecx, 0x8007000e
call fcn.140001950
int3
mov ecx, 0x80004005
call fcn.140001950
int3
mov ecx, 0x80070057
call fcn.140001950
int3
mov ecx, 0x8007000e
call fcn.140001950
int3
mov ecx, 0x80004005
call fcn.140001950
int3
mov ecx, 0x80070057
call fcn.140001950
int3
mov ecx, 0x8007000e
call fcn.140001950
int3
mov ecx, 0x80004005
call fcn.140001950
int3
mov ecx, 0x80070057
call fcn.140001950
int3
mov ecx, 0x8007000e
call fcn.140001950
int3