Function at 0x10000119f
Capabilities:
Delete service
Stop service

Disassembly:
jmp 0x1000182a8
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
mov eax, 0x1050
call fcn.100024500
sub rsp, rax
mov rax, qword [0x10002e230]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov rbx, rcx
call fcn.1000015cd
test eax, eax
jne 0x1000182eb
mov eax, 1
jmp 0x10001856d
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
test rax, rax
mov rsi, rax
jne 0x100018379
mov edi, 0x400
lea rdx, [rsp + 0x40]
mov ecx, 0xd80a
mov r8d, edi
call fcn.10000154b
test eax, eax
jne 0x10001836b
lea r8, [0x10000b7f0]
lea rcx, [rsp + 0x40]
mov rdx, rdi
call sub.msvcrt.dll_wcscpy_s
test eax, eax
je 0x10001836b
cmp eax, 0xc
je 0x100018360
cmp eax, 0x16
je 0x100018355
cmp eax, 0x22
je 0x100018355
cmp eax, 0x50
je 0x10001836b
mov ecx, 0x80004005
call fcn.10000110e
int3
mov ecx, 0x80070057
call fcn.10000110e
int3
mov ecx, 0x8007000e
call fcn.10000110e
int3
lea r8, [rbx + 0x68]
lea rdx, [rsp + 0x40]
jmp 0x100018560
lea rbp, [rbx + 0x68]
mov r8d, 0x10020
mov rcx, rax
mov rdx, rbp
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
test rax, rax
mov r12, rax
jne 0x100018412
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, 0x400
lea rdx, [rsp + 0x40]
mov r8d, edi
mov ecx, 0xd80c
call fcn.10000154b
test eax, eax
jne 0x100018408
lea r8, [0x10000b8b8]
lea rcx, [rsp + 0x40]
mov rdx, rdi
call sub.msvcrt.dll_wcscpy_s
test eax, eax
je 0x100018408
cmp eax, 0xc
je 0x1000183fd
cmp eax, 0x16
je 0x1000183f2
cmp eax, 0x22
je 0x1000183f2
cmp eax, 0x50
je 0x100018408
mov ecx, 0x80004005
call fcn.10000110e
int3
mov ecx, 0x80070057
call fcn.10000110e
int3
mov ecx, 0x8007000e
call fcn.10000110e
int3
lea rdx, [rsp + 0x40]
jmp 0x10001855d
lea r8, [rsp + 0x20]
mov edx, 1
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_ControlService]
mov edi, 0x400
test eax, eax
jne 0x1000184c7
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x426
je 0x1000184c7
cmp eax, 0x425
jne 0x100018451
cmp dword [rsp + 0x24], 3
je 0x1000184c7
lea rdx, [rsp + 0x40]
mov r8d, edi
mov ecx, 0xd80e
call fcn.10000154b
test eax, eax
jne 0x1000184b4
lea r8, [0x10000b880]
lea rcx, [rsp + 0x40]
mov rdx, rdi
call sub.msvcrt.dll_wcscpy_s
test eax, eax
je 0x1000184b4
cmp eax, 0xc
je 0x1000184a9
cmp eax, 0x16
je 0x10001849e
cmp eax, 0x22
je 0x10001849e
cmp eax, 0x50
je 0x1000184b4
mov ecx, 0x80004005
call fcn.10000110e
int3
mov ecx, 0x80070057
call fcn.10000110e
int3
mov ecx, 0x8007000e
call fcn.10000110e
int3
lea rdx, [rsp + 0x40]
xor r9d, r9d
mov r8, rbp
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov rcx, r12
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test ebx, ebx
jne 0x1000182e1
lea rdx, [rsp + 0x840]
mov r8d, edi
mov ecx, 0xd80d
call fcn.10000154b
test eax, eax
jne 0x100018555
lea r8, [0x10000b840]
lea rcx, [rsp + 0x840]
mov rdx, rdi
call sub.msvcrt.dll_wcscpy_s
test eax, eax
je 0x100018555
cmp eax, 0xc
je 0x10001854a
cmp eax, 0x16
je 0x10001853f
cmp eax, 0x22
je 0x10001853f
cmp eax, 0x50
je 0x100018555
mov ecx, 0x80004005
call fcn.10000110e
int3
mov ecx, 0x80070057
call fcn.10000110e
int3
mov ecx, 0x8007000e
call fcn.10000110e
int3
lea rdx, [rsp + 0x840]
mov r8, rbp
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1000218f0
lea r11, [rsp + 0x1050]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret