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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x419080
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x421018]
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 0x415ad7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Cannot_install_service___lu__n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
mov eax, 1
jmp 0x415cbc
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 esi, eax
test esi, esi
jne 0x415b77
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x415b5e
push str.ACCESS_DENIED:_administrative_privileges_required._n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
lea eax, [esi + 2]
jmp 0x415cbc
push eax
push str.OpenSCManager_failed___d__n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
mov eax, 1
jmp 0x415cbc
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 esi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov edi, eax
test edi, edi
jne 0x415bed
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
jne 0x415bd4
push str.Install_failed:_service_already_exist._n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
lea eax, [edi + 3]
jmp 0x415cbc
push eax
push str.Install_failed___d__n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
mov eax, 1
jmp 0x415cbc
call fcn.00401990
test al, al
je 0x415c68
lea eax, [ebp - 0x438]
push eax
push 3
push edi
mov dword [ebp - 0x438], 1
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
test eax, eax
jne 0x415c38
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
push esi
call edi
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 0x415cbc
call fcn.00415860
test al, al
jne 0x415c68
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
push esi
call edi
mov eax, 1
jmp 0x415cbc
lea ecx, [ebp - 0x434]
push ecx
push 1
push edi
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 edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test eax, eax
jne 0x415ca7
call edi
push esi
call edi
push str.Install_error:_Couldnt_change_the_description_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
mov eax, 1
jmp 0x415cbc
call edi
push esi
call edi
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.00417cae
mov esp, ebp
pop ebp
ret