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

Disassembly:
push rbx
sub rsp, 0x5d0
mov rax, qword [0x14008e010]
xor rax, rsp
mov qword [rsp + 0x5c0], rax
xor edx, edx
lea rcx, [rsp + 0x3b0]
mov r8d, 0x104
call fcn.14003d8e0
mov r8d, 0x104
lea rdx, [rsp + 0x3b0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
mov ebx, eax
test eax, eax
jne 0x14002828a
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov edx, eax
lea rcx, str.Cannot_install_service___lu__n
call fcn.14001f150
mov eax, 1
jmp 0x140028540
xor edx, edx
mov qword [rsp + 0x5e8], rdi
mov r8d, 0x105
lea rcx, [rsp + 0x1a2]
call fcn.14003d8e0
mov edi, 0x22
lea r8, [rsp + 0x3b0]
mov r9, rbx
mov word [rsp + 0x1a0], di
mov edx, 0x106
lea rcx, [rsp + 0x1a2]
call fcn.14004c704
lea ecx, [rbx + 2]
add rcx, rcx
lea eax, [rbx + 1]
mov word [rsp + rax*2 + 0x1a0], di
cmp rcx, 0x20e
jae 0x140028559
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.ADVAPI32.DLL_OpenSCManagerW]
mov rsi, rax
test rax, rax
jne 0x14002834e
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 5
jne 0x140028336
lea rcx, str.ACCESS_DENIED:_administrative_privileges_required._n
call fcn.14001f150
lea eax, [rdi - 0x20]
jmp 0x140028530
mov edx, eax
lea rcx, str.OpenSCManager_failed___d__n
call fcn.14001f150
mov eax, 1
jmp 0x140028530
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.ADVAPI32.DLL_CreateServiceW]
mov rdi, rax
test rax, rax
jne 0x1400283f3
mov rcx, rsi
call qword [sym.imp.ADVAPI32.DLL_CloseServiceHandle]
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x431
jne 0x1400283db
lea rcx, str.Install_failed:_service_already_exist._n
call fcn.14001f150
lea eax, [rdi + 3]
jmp 0x140028530
mov edx, eax
lea rcx, str.Install_failed___d__n
call fcn.14001f150
mov eax, 1
jmp 0x140028530
xor edx, edx
lea rcx, [rsp + 0x8c]
mov r8d, 0x110
call fcn.14003d8e0
mov r8b, 3
mov dword [rsp + 0x80], 0x11c
mov edx, 2
mov qword [rsp + 0x84], 6
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_VerSetConditionMask]
mov r8b, 3
mov edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_VerSetConditionMask]
mov edx, 3
lea rcx, [rsp + 0x80]
mov r8, rax
call qword [sym.imp.KERNEL32.DLL_VerifyVersionInfoW]
mov edx, eax
lea rcx, str.OS_is_vista_or_later_flag:__d_n
mov ebx, eax
call fcn.1400031b0
cmp ebx, 1
jne 0x1400284cb
lea r8, [rsp + 0x78]
mov dword [rsp + 0x78], ebx
lea edx, [rbx + 2]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.DLL_ChangeServiceConfig2W]
mov rcx, rdi
test eax, eax
jne 0x1400284a9
call qword [sym.imp.ADVAPI32.DLL_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.DLL_CloseServiceHandle]
lea rcx, str.Install_error:_Couldnt_set_the_service_to_delayed_auto_start._n
call fcn.14001f150
mov eax, ebx
jmp 0x140028530
call fcn.140027f90
test al, al
jne 0x1400284cb
mov rcx, rdi
call qword [sym.imp.ADVAPI32.DLL_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.DLL_CloseServiceHandle]
mov eax, 1
jmp 0x140028530
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 + 0x70]
mov qword [rsp + 0x70], rax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.DLL_ChangeServiceConfig2W]
mov rcx, rdi
test eax, eax
jne 0x140028513
call qword [sym.imp.ADVAPI32.DLL_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.DLL_CloseServiceHandle]
lea rcx, str.Install_error:_Couldnt_change_the_description_n
call fcn.14001f150
mov eax, 1
jmp 0x140028530
call qword [sym.imp.ADVAPI32.DLL_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.DLL_CloseServiceHandle]
lea rcx, str.JHI_Service_installed_successfully_n
call fcn.14001f150
xor eax, eax
mov rsi, qword [rsp + 0x5e0]
mov rdi, qword [rsp + 0x5e8]
mov rcx, qword [rsp + 0x5c0]
xor rcx, rsp
call fcn.140038b50
add rsp, 0x5d0
pop rbx
ret
call fcn.140039214
int3