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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54c
mov eax, dword [0x47900c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00437ca0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, eax
test esi, esi
jne 0x424940
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Cannot_install_service___lu__n
call fcn.0041c910
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434098
mov esp, ebp
pop ebp
ret
push 0x105
lea eax, [ebp - 0x216]
push 0
push eax
call fcn.00437ca0
add esp, 0xc
lea eax, [ebp - 0x420]
mov edi, 0x22
mov word [ebp - 0x218], di
push esi
push eax
lea eax, [ebp - 0x216]
push 0x106
push eax
call fcn.0044459d
mov word [ebp + esi*2 - 0x216], di
add esp, 0x10
lea esi, [esi*2 + 4]
cmp esi, 0x20e
jae 0x424b94
xor eax, eax
push 2
push eax
push eax
mov word [ebp + esi - 0x218], ax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
jne 0x4249ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x4249df
push str.ACCESS_DENIED:_administrative_privileges_required._n
call fcn.0041c910
add esp, 4
lea eax, [edi - 0x20]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434098
mov esp, ebp
pop ebp
ret
push eax
push str.OpenSCManager_failed___d__n
jmp 0x424922
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x218]
push eax
push 1
push 2
push 0x10
push 0xf01ff
push str.Intel_R__Dynamic_Application_Loader_Host_Interface_Service
push str.jhi_service
push ebx
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov edi, eax
test edi, edi
jne 0x424a5d
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
jne 0x424a52
push str.Install_failed:_service_already_exist._n
call fcn.0041c910
add esp, 4
lea eax, [edi + 3]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434098
mov esp, ebp
pop ebp
ret
push eax
push str.Install_failed___d__n
jmp 0x424922
push pe_nt_image_headers32
lea eax, [ebp - 0x53c]
push 0
push eax
call fcn.00437ca0
add esp, 0xc
mov dword [ebp - 0x548], 0x11c
mov dword [ebp - 0x544], 6
mov dword [ebp - 0x540], 0
push 3
push 2
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push 3
push 1
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
push 3
lea eax, [ebp - 0x548]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
mov esi, eax
push esi
push str.OS_is_vista_or_later_flag:__d_n
call fcn.00402c70
add esp, 8
cmp esi, 1
jne 0x424b29
lea eax, [ebp - 0x424]
mov dword [ebp - 0x424], esi
push eax
push 3
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
test eax, eax
jne 0x424b0b
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push str.Install_error:_Couldnt_set_the_service_to_delayed_auto_start._n
call fcn.0041c910
add esp, 4
jmp 0x42492a
mov ecx, edi
call fcn.004246a0
test al, al
jne 0x424b29
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x42492a
lea eax, [ebp - 0x54c]
mov dword [ebp - 0x54c], str.Intel_R__Dynamic_Application_Loader_Host_Interface_Service___Allows_applications_to_access_the_local_Intel__R__DAL
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
push edi
test eax, eax
jne 0x424b67
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push str.Install_error:_Couldnt_change_the_description_n
call fcn.0041c910
add esp, 4
jmp 0x42492a
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push str.JHI_Service_installed_successfully_n
call fcn.0041c910
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
xor eax, eax
pop edi
pop esi
pop ebx
call fcn.00434098
mov esp, ebp
pop ebp
ret
call fcn.004346f1
int3