Function at 0x450470
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4838f6
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
mov eax, dword [0x49b950]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push str._install
push edi
xor esi, esi
call fcn.0045f548
add esp, 8
test eax, eax
jne 0x4504bd
call fcn.00450db0
jmp 0x4507d3
push str._uninstall
push edi
call fcn.0045f548
add esp, 8
test eax, eax
jne 0x4504d9
call fcn.00450f70
jmp 0x4507d3
push str._start
push edi
call fcn.0045f548
add esp, 8
test eax, eax
jne 0x45064f
push str.start___1__
lea ecx, [ebp - 0x150]
call fcn.00451bc0
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00452660
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.00451d20
lea ecx, [ebp - 0x150]
call fcn.004507f0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x7c], 0x3c
mov dword [ebp - 0x6c], 0x48d638
mov dword [ebp - 0x78], 0x240
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], str.open
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0x1d
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x4505ee
mov eax, dword [0x49df20]
cmp eax, 0x49df20
je 0x4505ad
test byte [eax + 0x1c], 1
je 0x4505ad
cmp byte [eax + 0x19], 3
jb 0x4505ad
push dword [eax + 0x14]
mov edx, 0x48daf8
push dword [eax + 0x10]
mov ecx, 0x11
call fcn.00401000
mov ecx, dword [ebp - 0x44]
add esp, 8
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x49df20]
cmp eax, 0x49df20
je 0x450635
test byte [eax + 0x1c], 1
je 0x450635
cmp byte [eax + 0x19], 3
jb 0x450635
push dword [eax + 0x14]
mov edx, 0x48daf8
push dword [eax + 0x10]
mov ecx, 0x12
call fcn.00401000
jmp 0x450632
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [0x49df20]
cmp eax, 0x49df20
je 0x450627
test byte [eax + 0x1c], 1
je 0x450627
cmp byte [eax + 0x19], 3
jb 0x450627
push esi
push dword [eax + 0x14]
mov edx, 0x48daf8
push dword [eax + 0x10]
mov ecx, 0x13
call fcn.0041cd10
add esp, 0xc
push esi
push str.Start_Failed__08x_n
call fcn.0045f923
add esp, 8
cmp dword [ebp - 0x14], 8
jb 0x4507d1
push dword [ebp - 0x28]
call fcn.0045d2e7
add esp, 4
jmp 0x4507d1
push str._stop
push edi
call fcn.0045f548
add esp, 8
test eax, eax
jne 0x4507d1
push str.stop___1__
lea ecx, [ebp - 0x1e8]
call fcn.00451bc0
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.00452660
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.00451d20
lea ecx, [ebp - 0x1e8]
call fcn.004507f0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xb8]
push eax
mov dword [ebp - 0xb8], 0x3c
mov dword [ebp - 0xa8], 0x48d638
mov dword [ebp - 0xb4], 0x240
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], str.open
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0x1d
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [ebp - 0x80]
test ecx, ecx
je 0x450782
mov eax, dword [0x49df20]
cmp eax, 0x49df20
je 0x450741
test byte [eax + 0x1c], 1
je 0x450741
cmp byte [eax + 0x19], 3
jb 0x450741
push dword [eax + 0x14]
mov edx, 0x48daf8
push dword [eax + 0x10]
mov ecx, 0x14
call fcn.00401000
mov ecx, dword [ebp - 0x80]
add esp, 8
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x49df20]
cmp eax, 0x49df20
je 0x4507c9
test byte [eax + 0x1c], 1
je 0x4507c9
cmp byte [eax + 0x19], 3
jb 0x4507c9
push dword [eax + 0x14]
mov edx, 0x48daf8
push dword [eax + 0x10]
mov ecx, 0x15
call fcn.00401000
jmp 0x4507c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [0x49df20]
cmp eax, 0x49df20
je 0x4507bb
test byte [eax + 0x1c], 1
je 0x4507bb
cmp byte [eax + 0x19], 3
jb 0x4507bb
push esi
push dword [eax + 0x14]
mov edx, 0x48daf8
push dword [eax + 0x10]
mov ecx, 0x16
call fcn.0041cd10
add esp, 0xc
push esi
push str.Start_Failed__08x_n
call fcn.0045f923
add esp, 8
lea ecx, [ebp - 0x40]
call fcn.004306c0
mov eax, esi
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.0045d289
mov esp, ebp
pop ebp
ret