Function at 0x14002c980
Capabilities:
Check os version
Create service
Modify service
Persist via windows service

Disassembly:
push rbx
sub rsp, 0x5d0
mov rax, qword [0x140093008]
xor rax, rsp
mov qword [rsp + 0x5c0], rax
xor edx, edx
lea rcx, [rsp + 0x3b0]
mov r8d, 0x104
call fcn.1400426d0
mov r8d, 0x104
lea rdx, [rsp + 0x3b0]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleFileNameW]
mov ebx, eax
test eax, eax
jne 0x14002c9ea
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edx, eax
lea rcx, str.Cannot_install_service___lu__n
call fcn.140020490
mov eax, 1
jmp 0x14002cca0
xor edx, edx
mov qword [rsp + 0x5e8], rdi
mov r8d, 0x107
lea rcx, [rsp + 0x1a0]
call fcn.1400426d0
mov edi, 0x22
lea r8, [rsp + 0x3b0]
mov r9, rbx
mov word [rsp + 0x1a0], di
mov edx, 0x106
lea rcx, [rsp + 0x1a2]
call fcn.14004eedc
lea ecx, [rbx + 2]
add rcx, rcx
lea eax, [rbx + 1]
mov word [rsp + rax*2 + 0x1a0], di
cmp rcx, 0x20e
jae 0x14002ccb9
xor ebx, ebx
mov qword [rsp + 0x5e0], rsi
mov word [rsp + rcx + 0x1a0], bx
lea r8d, [rdi - 0x20]
xor ecx, ecx
xor edx, edx
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
jne 0x14002caae
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 5
jne 0x14002ca96
lea rcx, str.ACCESS_DENIED:_administrative_privileges_required._n
call fcn.140020490
lea eax, [rdi - 0x20]
jmp 0x14002cc90
mov edx, eax
lea rcx, str.OpenSCManager_failed___d__n
call fcn.140020490
mov eax, 1
jmp 0x14002cc90
mov qword [rsp + 0x60], rbx
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x58], rbx
lea r8, str.Intel_R__Dynamic_Application_Loader_Host_Interface_Service
mov qword [rsp + 0x50], rbx
lea rdx, str.jhi_service
mov qword [rsp + 0x48], rbx
mov r9d, 0xf01ff
mov qword [rsp + 0x40], rbx
mov rcx, rsi
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CreateServiceW]
mov rdi, rax
test rax, rax
jne 0x14002cb53
mov rcx, rsi
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0x431
jne 0x14002cb3b
lea rcx, str.Install_failed:_service_already_exist._n
call fcn.140020490
lea eax, [rdi + 3]
jmp 0x14002cc90
mov edx, eax
lea rcx, str.Install_failed___d__n
call fcn.140020490
mov eax, 1
jmp 0x14002cc90
xor edx, edx
lea rcx, [rsp + 0x80]
mov r8d, 0x11c
call fcn.1400426d0
mov r8b, 3
mov dword [rsp + 0x80], 0x11c
mov edx, 2
mov qword [rsp + 0x84], 6
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_0.dll_VerSetConditionMask]
mov r8b, 3
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_0.dll_VerSetConditionMask]
mov edx, 3
lea rcx, [rsp + 0x80]
mov r8, rax
call qword [sym.imp.api_ms_win_core_kernel32_legacy_l1_1_1.dll_VerifyVersionInfoW]
mov edx, eax
lea rcx, str.OS_is_vista_or_later_flag:__d_n
mov ebx, eax
call fcn.140003050
cmp ebx, 1
jne 0x14002cc2b
lea r8, [rsp + 0x70]
mov dword [rsp + 0x70], ebx
lea edx, [rbx + 2]
mov rcx, rdi
call qword [sym.imp.api_ms_win_service_management_l2_1_0.dll_ChangeServiceConfig2W]
mov rcx, rdi
test eax, eax
jne 0x14002cc09
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
lea rcx, str.Install_error:_Couldnt_set_the_service_to_delayed_auto_start._n
call fcn.140020490
mov eax, ebx
jmp 0x14002cc90
call fcn.14002c710
test al, al
jne 0x14002cc2b
mov rcx, rdi
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
mov eax, 1
jmp 0x14002cc90
lea rax, str.Intel_R__Dynamic_Application_Loader_Host_Interface_Service___Allows_applications_to_access_the_local_Intel__R__DAL
mov edx, 1
lea r8, [rsp + 0x78]
mov qword [rsp + 0x78], rax
mov rcx, rdi
call qword [sym.imp.api_ms_win_service_management_l2_1_0.dll_ChangeServiceConfig2W]
mov rcx, rdi
test eax, eax
jne 0x14002cc73
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
lea rcx, str.Install_error:_Couldnt_change_the_description_n
call fcn.140020490
mov eax, 1
jmp 0x14002cc90
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
lea rcx, str.JHI_Service_installed_successfully_n
call fcn.140020490
xor eax, eax
mov rsi, qword [rsp + 0x5e0]
mov rdi, qword [rsp + 0x5e8]
mov rcx, qword [rsp + 0x5c0]
xor rcx, rsp
call fcn.14003d770
add rsp, 0x5d0
pop rbx
ret
call fcn.14003df44
int3