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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41aff0
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x425018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x104
lea eax, [ebp - 0x430]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x430]
push ecx
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, eax
test esi, esi
jne 0x416ed7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Cannot_install_service___d__n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
mov eax, 1
jmp 0x4170be
push 0x107
lea edx, [ebp - 0x228]
push 0
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
push esi
lea ecx, [ebp - 0x430]
push ecx
lea edx, [ebp - 0x226]
mov eax, 0x22
push 0x106
push edx
mov word [ebp - 0x228], ax
call dword [sym.imp.MSVCR100.dll_wcsncpy_s]
add esp, 0x10
xor ecx, ecx
push 2
push ecx
mov eax, 0x22
push ecx
mov word [ebp + esi*2 - 0x226], ax
mov word [ebp + esi*2 - 0x224], cx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x416f77
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x416f5e
push str.ACCESS_DENIED:_administrative_privileges_required._n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
lea eax, [edi + 2]
jmp 0x4170be
push eax
push str.OpenSCManager_failed___d__n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
mov eax, 1
jmp 0x4170be
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x228]
push edx
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 0x416fed
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
jne 0x416fd4
push str.Install_failed:_service_already_exist._n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
lea eax, [esi + 3]
jmp 0x4170be
push eax
push str.Install_failed___d__n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
mov eax, 1
jmp 0x4170be
call fcn.00401990
test al, al
je 0x41706a
lea eax, [ebp - 0x438]
push eax
push 3
push esi
mov dword [ebp - 0x438], 1
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
test eax, eax
jne 0x417038
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 dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
mov eax, 1
jmp 0x4170be
mov ecx, esi
call fcn.00416c20
test al, al
jne 0x41706a
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
mov eax, 1
jmp 0x4170be
lea ecx, [ebp - 0x434]
push ecx
push 1
push esi
mov dword [ebp - 0x434], str.Intel_R__Dynamic_Application_Loader_Host_Interface_Service___Allows_applications_to_access_the_local_Intel__R__DAL
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test eax, eax
jne 0x4170a9
call esi
push edi
call esi
push str.Install_error:_Couldnt_change_the_description_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
mov eax, 1
jmp 0x4170be
call esi
push edi
call esi
push str.JHI_Service_installed_successfully_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00419b16
mov esp, ebp
pop ebp
ret