Function at 0x14000b110
Capabilities:
Query service status
Terminate process

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x110
mov rax, qword [0x140241cc0]
xor rax, rsp
mov qword [rsp + 0x108], rax
mov r14, rdx
mov qword [rsp + 0x78], rdx
mov r15, r8
mov qword [rsp + 0x70], r8
xor edi, edi
lea rax, str.restart:__
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], recvfrom
mov rcx, rdx
cmp qword [rdx + 0x18], 7
jbe 0x14000b177
mov rcx, qword [rdx]
mov rax, qword [r14 + 0x10]
mov qword [rsp + 0xf0], rcx
mov qword [rsp + 0xf8], rax
movups xmm0, xmmword [rsp + 0xf0]
movups xmmword [rsp + 0xa8], xmm0
movabs rax, 0xc000000000000000
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xf0], 1
lea rax, [rsp + 0xa0]
mov qword [rsp + 0xf8], rax
movaps xmm0, xmmword [rsp + 0xf0]
movdqa xmmword [rsp + 0x60], xmm0
movaps xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x40], xmm1
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xb8]
call fcn.140023580
nop
lea rdx, [rsp + 0xb8]
cmp qword [rsp + 0xd0], 7
cmova rdx, qword [rsp + 0xb8]
mov r8, qword [rsp + 0xc8]
mov rcx, r15
call fcn.140023930
nop
lea rcx, [rsp + 0xb8]
call fcn.140025f00
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
call fcn.140063780
mov r8d, 1
mov edx, ebx
mov ecx, dword [rax + 0x20]
call fcn.140033340
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0xf0], xmm0
mov byte [rsp + 0xf0], 0
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0xf8], rax
xor edx, edx
call fcn.140084b90
mov rcx, r14
call fcn.140023760
test al, al
jne 0x14000b4ee
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Failed_to_StopService:__
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], 0x1b
mov dword [rsp + 0x58], eax
movabs r12, 0x2000000000000000
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x40], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movaps xmm1, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm1
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0xb8]
call fcn.140023580
nop
lea rdx, [rsp + 0xb8]
cmp qword [rsp + 0xd0], 7
cmova rdx, qword [rsp + 0xb8]
mov r8, qword [rsp + 0xc8]
mov rcx, r15
call fcn.140023930
nop
lea rcx, [rsp + 0xb8]
call fcn.140025f00
xor r13b, r13b
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
je 0x14000b440
mov rdx, r14
cmp qword [r14 + 0x18], 7
jbe 0x14000b35c
mov rdx, qword [r14]
mov r8d, 4
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
test rax, rax
je 0x14000b421
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x424
je 0x14000b421
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0xb8], xmm0
movups xmmword [rsp + 0xc8], xmm0
mov dword [rsp + 0xd8], eax
mov dword [rsp + 0xe0], edi
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, [rsp + 0xb8]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x14000b419
mov r8d, dword [rsp + 0xd4]
xor edx, edx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
mov edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
setne r13b
test eax, eax
jne 0x14000b409
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rdi, rdi
je 0x14000b42c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000b42c
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000b42c
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rbx, rbx
je 0x14000b435
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14000b446
call qword [sym.imp.KERNEL32.dll_GetLastError]
test r13b, r13b
jne 0x14000b4f8
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Failed_to_KillProcess:_
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], 0x19
mov dword [rsp + 0x68], eax
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x40], 1
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movaps xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm1
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xb8]
call fcn.140023580
nop
lea rdx, [rsp + 0xb8]
cmp qword [rsp + 0xd0], 7
cmova rdx, qword [rsp + 0xb8]
mov r8, qword [rsp + 0xc8]
mov rcx, r15
call fcn.140023930
nop
lea rcx, [rsp + 0xb8]
call fcn.140025f00
jmp 0x14000b4f8
movabs r12, 0x2000000000000000
cmp byte [rsp + 0xf0], 0
jne 0x14000b508
call fcn.14000bc70
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
call fcn.140063780
xor r8d, r8d
mov edx, ebx
mov ecx, dword [rax + 0x20]
call fcn.140033340
nop
jmp 0x14000b539
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edx, 0x4e20
mov rcx, r14
call fcn.140025590
movzx ebx, al
test al, al
jne 0x14000b5fa
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Failed_to_LaunchService:__
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], 0x1d
mov dword [rsp + 0x68], eax
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x40], 1
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movaps xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm1
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xb8]
call fcn.140023580
nop
lea rdx, [rsp + 0xb8]
cmp qword [rsp + 0xd0], 7
cmova rdx, qword [rsp + 0xb8]
mov r8, qword [rsp + 0xc8]
mov rcx, r15
call fcn.140023930
nop
lea rcx, [rsp + 0xb8]
call fcn.140025f00
nop
jmp 0x14000b606
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
movzx eax, bl
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.140144310
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret