Function at 0x1400223c0
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x60
mov qword [r11 - 0x48], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov rax, qword [0x1400a6188]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, rcx
xor ebp, ebp
mov edi, ebp
xor eax, eax
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
mov dword [rsp + 0x50], eax
lea rcx, [r11 - 0x38]
call fcn.14002d4c0
nop
xor edx, edx
xor ecx, ecx
lea r8d, [rbp + 1]
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
jne 0x14002243d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edx, eax
lea rcx, str.OpenSCManager_failed_w_err_0x_08lx_n
call fcn.14001d050
jmp 0x14002253a
mov r8d, 0x10024
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_OpenServiceW]
mov rdi, rax
test rax, rax
jne 0x140022470
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edx, eax
lea rcx, str.OpenService_failed_w_err_0x_08lx_n
call fcn.14001d050
jmp 0x14002253a
lea r8, [rsp + 0x38]
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_service_winsvc_l1_1_0.dll_ControlService]
test eax, eax
je 0x140022508
mov rdx, rbx
lea rcx, str.Stopping__s.
call fcn.14001d050
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
lea rdx, [rsp + 0x38]
mov rcx, rdi
call qword [sym.imp.api_ms_win_service_winsvc_l1_1_0.dll_QueryServiceStatus]
test eax, eax
je 0x1400224e9
mov eax, dword [rsp + 0x3c]
cmp eax, 3
jne 0x1400224ed
lea rcx, [0x140074098]
call fcn.14001d050
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
lea rdx, [rsp + 0x38]
mov rcx, rdi
call qword [sym.imp.api_ms_win_service_winsvc_l1_1_0.dll_QueryServiceStatus]
test eax, eax
jne 0x1400224b7
mov eax, dword [rsp + 0x3c]
mov rdx, rbx
cmp eax, 1
lea rcx, str._n_s_is_stopped._n
je 0x140022503
lea rcx, str._n_s_failed_to_stop._n
call fcn.14001d050
mov rcx, rdi
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_DeleteService]
test eax, eax
jne 0x14002252b
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edx, eax
lea rcx, str.DeleteService_failed_w_err_0x_08lx_n
call fcn.14001d050
jmp 0x14002253a
mov rdx, rbx
lea rcx, str._s_is_removed._n
call fcn.14001d050
mov ebx, ebp
nop dword [rax]
mov dword [rsp + 0x28], ebp
lea rdx, str.HPHotkeyNotification.exe
lea rcx, [rsp + 0x30]
call fcn.14002d7c0
lea r8, [rsp + 0x28]
lea rdx, str.HPHotkeyNotification.exe
lea rcx, [rsp + 0x30]
call fcn.14002d620
inc ebx
cmp dword [rsp + 0x28], 0
je 0x140022579
cmp ebx, 0x64
jl 0x140022540
test rsi, rsi
je 0x140022587
mov rcx, rsi
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
test rdi, rdi
je 0x140022596
mov rcx, rdi
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
nop
lea rcx, [rsp + 0x30]
call fcn.14002d540
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400264a0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret