Function at 0x1400917e0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
cmp byte [rcx], 1
mov r14, r9
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
jne 0x140091822
lea rdx, str.SITrayApplication::Start_already_running_n
mov ecx, 0xffffffff
call fcn.140093500
mov al, 1
mov rbp, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
mov qword [rsp + 0x80], r15
lea rcx, str..pipe_spacedeskServiceTrayPipe
xor r15d, r15d
xor r9d, r9d
mov qword [rsp + 0x30], r15
mov edx, 0xc0000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
lea r8d, [r15 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
je 0x14009186a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x78], rbx
mov rbx, qword [rsp + 0x90]
mov r8, rbx
cmp byte [rsp + 0x98], r15b
je 0x14009188b
call fcn.1400939d0
jmp 0x140091890
call fcn.140093ea0
test al, al
jne 0x1400918ac
lea rdx, str.SITrayApplication::Start_SEUtilProcessCreateAsUser_failed__n
mov ecx, 1
call fcn.140093500
xor al, al
jmp 0x1400919ee
mov rdx, qword [rbx]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov rcx, rbp
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x40], r15
call fcn.140091a30
test al, al
jne 0x140091907
lea rdx, str.SITrayApplication::Start_PipeManager.Initialize_failed__n
mov ecx, 1
call fcn.140093500
mov rcx, qword [rbx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov qword [rbx], 0xffffffffffffffff
jmp 0x1400919ee
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, qword [rsp + 0x70]
mov r9, rsi
mov rcx, qword [rbx]
mov r8, rax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x140091970
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.SITrayApplication::Start_DuplicateHandle__1__failed__LastError:__d
mov ecx, 1
mov r8d, eax
call fcn.140093500
mov rcx, qword [rbx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov qword [rbx], 0xffffffffffffffff
jmp 0x1400919ee
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, qword [rsp + 0x40]
mov r9, r14
mov rcx, qword [rbx]
mov r8, rax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x1400919e9
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.SITrayApplication::Start_DuplicateHandle__2__failed__LastError:__d
mov ecx, 1
mov r8d, eax
call fcn.140093500
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsi], 0xffffffffffffffff
xor edx, edx
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov qword [rbx], 0xffffffffffffffff
jmp 0x1400919ee
mov byte [rdi], 1
mov al, 1
mov rbx, qword [rsp + 0x78]
mov r15, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret