Function at 0x411510
Capabilities:
Modify service
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x420998
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x42e024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 4
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 1
push eax
call fcn.0040d1a0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x3c], 0
je 0x4115ae
cmp dword [ebp - 0x38], 0x10
lea ecx, [ebp - 0x4c]
movzx eax, byte [ebp + 8]
cmovae ecx, dword [ebp - 0x4c]
push eax
push ecx
push str.Launching_service:__s__showdialog:__d
push str.stealth_manager
call fcn.00402620
add esp, 0x10
push 0xf0001
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
mov dword [ebp - 0x70], esi
test esi, esi
jne 0x41162c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Cannot_open_OpenSCManager_error_code__d
push str.stealth_manager
call fcn.00402590
add esp, 0xc
mov byte [ebp - 0x65], 0
mov eax, dword [ebp - 0x38]
cmp eax, 0x10
jb 0x4115c4
inc eax
push eax
push dword [ebp - 0x4c]
call fcn.00404770
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x4c], 0
cmp eax, 0x10
jb 0x4115e8
inc eax
push eax
push dword [ebp + 0xc]
call fcn.00404770
mov ecx, dword [ebp + 0x38]
mov dword [ebp + 0x20], 0xf
mov dword [ebp + 0x1c], 0
mov byte [ebp + 0xc], 0
cmp ecx, 0x10
jb 0x41160c
inc ecx
push ecx
push dword [ebp + 0x24]
call fcn.00404770
mov al, byte [ebp - 0x65]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e02b
mov esp, ebp
pop ebp
ret 0x34
cmp dword [ebp - 0x38], 0x10
lea eax, [ebp - 0x4c]
push 0xa0000012
cmovae eax, dword [ebp - 0x4c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 0x6c], eax
test eax, eax
jne 0x411670
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Cannot_open_service__error_code:__d
push str.stealth_manager
call fcn.00402590
add esp, 0xc
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x4115ae
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x74], ecx
lea ecx, [ebp - 0x84]
push ecx
push 2
push eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x84], 0x15180
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x78], 3
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
push 0x1e
call fcn.0041e087
push 0x200
mov dword [ebp - 0x1c], eax
call fcn.0041e087
push 0x200
mov dword [ebp - 0x18], eax
call fcn.0041e087
mov dword [ebp - 0x14], eax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x1c]
mov ecx, 0x80
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
add esp, 0xc
movups xmmword [eax], xmm0
mov eax, dword [ebp - 0x1c]
movq qword [eax + 0x10], xmm0
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x18], 0
mov eax, dword [ebp - 0x1c]
mov word [eax + 0x1c], 0
xor eax, eax
mov edi, dword [ebp - 0x18]
rep stosd dword es:[edi], eax
mov ecx, 0x80
mov edi, dword [ebp - 0x14]
rep stosd dword es:[edi], eax
cmp byte [ebp + 8], al
je 0x411742
push str.ShowForm
jmp 0x411747
push str.HideForm
push dword [ebp - 0x1c]
call esi
cmp dword [ebp + 0x1c], 0
jbe 0x411775
lea edx, [ebp + 0xc]
lea ecx, [ebp - 0x64]
call fcn.00407070
cmp dword [eax + 0x14], 8
jb 0x411765
mov eax, dword [eax]
push eax
push dword [ebp - 0x18]
call esi
lea ecx, [ebp - 0x64]
call fcn.00403e90
jmp 0x41177f
push str.NoPath
push dword [ebp - 0x18]
call esi
cmp dword [ebp + 0x34], 0
jbe 0x4117a8
lea edx, [ebp + 0x24]
lea ecx, [ebp - 0x64]
call fcn.00407070
cmp dword [eax + 0x14], 8
jb 0x411798
mov eax, dword [eax]
push eax
push dword [ebp - 0x14]
call esi
lea ecx, [ebp - 0x64]
call fcn.00403e90
jmp 0x4117b2
push str.NoPath
push dword [ebp - 0x14]
call esi
mov esi, dword [ebp - 0x6c]
lea eax, [ebp - 0x1c]
push eax
push 3
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov edi, eax
test edi, edi
jne 0x4117e1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_start_the_service__error_code:__d
push str.stealth_manager
call fcn.00402590
add esp, 0xc
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push dword [ebp - 0x70]
call esi
push dword [ebp - 0x1c]
call fcn.0041e03c
push dword [ebp - 0x18]
call fcn.0041e03c
push dword [ebp - 0x14]
call fcn.0041e03c
add esp, 0xc
cmp edi, 1
sete byte [ebp - 0x65]
jmp 0x4115b2