Function at 0x40182a
Capabilities:
Create process on windows
Create service
Modify service
Persist via windows service
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7a8
mov eax, dword [0x417008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push str.Installing_service_n
call fcn.00402b29
mov dword [esp], 0x258
lea eax, [ebp - 0x76c]
push eax
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x401873
push str.Installation_of_Start10_has_failed_n
call fcn.00402b29
pop ecx
jmp 0x401a7e
push esi
push edi
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebx, eax
push 0x22
pop eax
test ebx, ebx
je 0x4019d3
lea edx, [ebp - 0x76c]
mov word [ebp - 0x30c], ax
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x40189e
lea edi, [ebp - 0x30c]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4018ae
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x30c]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4018cb
mov ax, word [0x4155d0]
xor esi, esi
push esi
push esi
push 0x415510
push esi
push str.UIGroup
mov word [edi], ax
lea eax, [ebp - 0x30c]
push eax
push 1
push 2
push 0x10
push 0xf01ff
push 0x41561c
push str.Start10
push ebx
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov edi, eax
test edi, edi
je 0x4019bf
lea eax, [ebp - 0x794]
mov dword [ebp - 0x790], esi
mov esi, dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
push eax
push 1
push edi
mov dword [ebp - 0x794], 0x415630
call esi
mov eax, 0x7d0
mov dword [ebp - 0x79c], 3
mov dword [ebp - 0x788], eax
xor ecx, ecx
mov dword [ebp - 0x780], eax
inc ecx
mov dword [ebp - 0x778], eax
lea eax, [ebp - 0x78c]
mov dword [ebp - 0x798], eax
lea eax, [ebp - 0x7a8]
push eax
mov dword [ebp - 0x78c], ecx
mov dword [ebp - 0x784], ecx
xor ecx, ecx
push 2
push edi
mov dword [ebp - 0x77c], ecx
mov dword [ebp - 0x7a0], ecx
mov dword [ebp - 0x7a4], ecx
mov dword [ebp - 0x7a8], 0x15180
call esi
push 0
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
push str.Stardock_Start10_has_been_installed_on_your_PC_n
call fcn.00402b29
pop ecx
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x4019ca
push str.Failure_during_CreateProcess
call fcn.00402b29
pop ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x4019de
push str.Failure_during_OpenSCManager
call fcn.00402b29
pop ecx
lea ecx, [ebp - 0x104]
call fcn.00401345
call fcn.004011d5
lea edi, [ebp - 0x104]
dec edi
test eax, eax
je 0x401a0c
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4019f9
mov esi, 0x4155b0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x401a1d
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x401a0c
mov esi, 0x4155c0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push 0x22
pop eax
lea edx, [ebp - 0x104]
mov word [ebp - 0x514], ax
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x401a2f
lea edi, [ebp - 0x514]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x401a3f
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x514]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x401a5c
mov ax, word [0x4155d0]
mov word [edi], ax
lea eax, [ebp - 0x514]
push 5
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004021da
mov esp, ebp
pop ebp
ret