Function at 0x41c3a0
Capabilities:
Create service
Modify service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x42e00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x104
lea eax, [ebp - 0x420]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
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 0x41c40e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Cannot_install_service___lu__n
call fcn.00412630
add esp, 8
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e725
mov esp, ebp
pop ebp
ret
push 0x107
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
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 dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov word [ebp + esi*2 - 0x216], di
add esp, 0x10
lea esi, [esi*2 + 4]
cmp esi, 0x20e
jae 0x41c5eb
xor eax, eax
push 2
push eax
push eax
mov word [ebp + esi - 0x218], ax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x41c4b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x41c4ad
push str.ACCESS_DENIED:_administrative_privileges_required._n
call fcn.00412630
add esp, 4
lea eax, [edi + 2]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e725
mov esp, ebp
pop ebp
ret
push eax
push str.OpenSCManager_failed___d__n
jmp 0x41c3f1
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 edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov esi, eax
test esi, esi
jne 0x41c52a
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
jne 0x41c51f
push str.Install_failed:_service_already_exist._n
call fcn.00412630
add esp, 4
lea eax, [esi + 3]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e725
mov esp, ebp
pop ebp
ret
push eax
push str.Install_failed___d__n
jmp 0x41c3f1
call fcn.00402080
test al, al
je 0x41c58b
lea eax, [ebp - 0x424]
mov dword [ebp - 0x424], 1
push eax
push 3
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
test eax, eax
jne 0x41c56f
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
push str.Install_error:_Couldnt_set_the_service_to_delayed_auto_start._n
call fcn.00412630
add esp, 4
jmp 0x41c3f9
mov ecx, esi
call fcn.0041c1a0
test al, al
jne 0x41c58b
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
jmp 0x41c3f9
lea eax, [ebp - 0x428]
mov dword [ebp - 0x428], str.Intel_R__Dynamic_Application_Loader_Host_Interface_Service___Allows_applications_to_access_the_local_Intel__R__DAL
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test eax, eax
jne 0x41c5c7
call esi
push edi
call esi
push str.Install_error:_Couldnt_change_the_description_n
call fcn.00412630
add esp, 4
jmp 0x41c3f9
call esi
push edi
call esi
push str.JHI_Service_installed_successfully_n
call fcn.00412630
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
xor eax, eax
pop edi
pop esi
call fcn.0041e725
mov esp, ebp
pop ebp
ret
call fcn.0041ee3c
int3