Function at 0x1400133c0
Capabilities:
Create service
Get common file path
Modify service
Persist via windows service

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1e8]
sub rsp, 0x2e0
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1400273a8]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
lea rcx, str.Entering_InstallService
call fcn.140001140
xor bl, bl
xor esi, esi
mov qword [rsp + 0x70], rsi
lea rdx, [rbp - 0x40]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea r9, [0x140019f10]
lea r8, [rbp - 0x40]
mov edx, 0x1c4
lea rcx, str.SrcPROSetMonitor.cpp
call fcn.1400054f0
lea r9, str.IProsetMonitor.exe
lea r8, [rbp - 0x40]
mov edx, 0x1c5
lea rcx, str.SrcPROSetMonitor.cpp
call fcn.1400054f0
mov r8d, 0xf003f
lea rdx, str.ServicesActive
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
mov qword [rsp + 0x78], rax
test rax, rax
jne 0x14001348e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR:__Unable_to_open_the_service_control_manager____error_d
call fcn.140001140
jmp 0x1400135df
lea rcx, str.Successfully_opened_the_service_control_manager
call fcn.140001140
mov r8d, 0xf01ff
lea rdx, str.Intel_R__PROSet_Monitoring_Service
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rsp + 0x70], rax
test rax, rax
je 0x1400134cd
lea rcx, str.WARNING:__Service_already_exists__skipping_install.
call fcn.140001140
mov bl, 1
jmp 0x1400135df
lea rcx, str.The_service_does_not_exist___creating_it.
call fcn.140001140
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
lea rax, [rbp - 0x40]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 0x10
mov r9d, 2
lea r8, str.Intel_R__PROSet_Monitoring_Service
lea rdx, str.Intel_R__PROSet_Monitoring_Service
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov rdi, rax
mov qword [rsp + 0x70], rax
test rax, rax
jne 0x140013556
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR:__Unable_to_create_the_service____error_d
call fcn.140001140
jmp 0x1400135df
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], rsi
mov word [rbp - 0x70], si
lea rcx, [rbp - 0x70]
call fcn.140013310
test al, al
jne 0x140013582
lea rcx, str.ERROR:__Unable_to_retrieve_the_service_description_
call fcn.140001140
nop
jmp 0x1400135cf
lea rax, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rax, qword [rbp - 0x70]
mov qword [rbp - 0x80], rax
lea r8, [rbp - 0x80]
mov edx, 1
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
test eax, eax
jne 0x1400135c1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR:__Unable_to_add_a_description_to_the_service____error_d
call fcn.140001140
nop
jmp 0x1400135cf
lea rcx, str.Successfully_created_the_service.
call fcn.140001140
mov bl, 1
cmp qword [rbp - 0x58], 8
jb 0x1400135df
mov rcx, qword [rbp - 0x70]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x78]
call fcn.140012de0
test al, al
jne 0x140013600
lea rcx, str.ERROR:__Unable_to_close_the_service_handle
call fcn.140001140
xor bl, bl
movzx edx, bl
lea rcx, str.Exiting_InstallService___Success_d
call fcn.140001140
movzx eax, bl
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.140013da0
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret