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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4210b0
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x42c050]
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 0x41a867
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 0x41aa4c
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 0x41a907
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x41a8ee
push str.ACCESS_DENIED:_administrative_privileges_required._n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
lea eax, [esi + 2]
jmp 0x41aa4c
push eax
push str.OpenSCManager_failed___d__n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
mov eax, 1
jmp 0x41aa4c
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 0x41a97d
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
jne 0x41a964
push str.Install_failed:_service_already_exist._n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
lea eax, [edi + 3]
jmp 0x41aa4c
push eax
push str.Install_failed___d__n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
mov eax, 1
jmp 0x41aa4c
call fcn.00401420
test al, al
je 0x41a9f8
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 0x41a9c8
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 0x41aa4c
call fcn.0041a5f0
test al, al
jne 0x41a9f8
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
push esi
call edi
mov eax, 1
jmp 0x41aa4c
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 0x41aa37
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 0x41aa4c
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.0041d5b4
mov esp, ebp
pop ebp
ret