Function at 0x1400f9ba0
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
push rbp
push rsi
lea rbp, [r11 - 0x198]
sub rsp, 0x288
mov rax, qword [0x1402854d8]
xor rax, rsp
mov qword [rbp + 0x160], rax
xorps xmm1, xmm1
mov qword [r11 + 0x18], rdi
xor edi, edi
mov qword [r11 - 0x18], r12
mov qword [r11 - 0x20], r14
xor eax, eax
mov r14, rcx
mov qword [r11 - 0x28], r15
xorps xmm0, xmm0
mov qword [rbp - 0x30], rax
lea rcx, [rbp + 0x50]
mov qword [rbp + 0x40], rax
xor edx, edx
mov qword [rbp - 0x50], rdi
mov r8d, 0x104
mov qword [rbp - 0x58], rdi
mov esi, edi
mov qword [rbp - 0x48], rdi
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x20], xmm1
movups xmmword [rbp - 0x10], xmm1
movups xmmword [rbp], xmm1
movups xmmword [rbp + 0x10], xmm1
movups xmmword [rbp + 0x20], xmm1
movups xmmword [rbp + 0x30], xmm1
call fcn.140107f60
xor r9d, r9d
mov qword [rsp + 0x20], rdi
mov edx, 0x104
lea r8d, [rdi + 6]
lea rcx, [rbp + 0x50]
call fcn.140049e50
lea r8, [rbp + 0x50]
lea rdx, [0x14023adb0]
lea rcx, [rsp + 0x60]
call fcn.1400ee2e0
mov r9, qword [r14 + 8]
lea r8, [rbp + 0x50]
lea rdx, str.__S_s_
lea rcx, [rbp - 0x70]
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
call fcn.1400ee2e0
mov r12, qword [rsp + 0x7c]
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
mov r15, qword [rsp + 0x64]
test r12, r12
je 0x1400f9ff0
test r15, r15
je 0x1400f9fe8
mov qword [rsp + 0x2a8], rbx
mov qword [r14 + 0x10], rdi
mov qword [r14 + 0x18], rdi
call qword [sym.imp.KERNEL32.DLL_WTSGetActiveConsoleSessionId]
mov dword [r14 + 0x20], eax
cmp eax, 0xffffffff
jne 0x1400f9d31
cmp dword [0x14027edf0], 4
jl 0x1400f9cce
test dword [0x14027ee6c], 0x10000
lea ebx, [rdi + 1]
jne 0x1400f9cd0
mov ebx, edi
mov edx, 4
mov ecx, 0x10000
call fcn.1400e8cc0
test ebx, ebx
jne 0x1400f9ceb
test eax, eax
je 0x1400f9fe0
lea rcx, str.Unable_to_get_session_id.
mov r9d, 4
mov qword [rsp + 0x38], rcx
mov r8d, 0x10000
lea rcx, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourceswin_rsrc_app.c
mov dword [rsp + 0x30], 0x12c
mov qword [rsp + 0x28], rcx
mov edx, eax
lea rcx, str.rsrc_app_start_app_in_active_user_session
mov qword [rsp + 0x20], rcx
mov ecx, ebx
call fcn.1400bfc30
jmp 0x1400f9fe0
lea rdx, [rbp - 0x50]
mov ecx, eax
call fcn.1400f9500
mov esi, eax
test eax, eax
jne 0x1400f9dcd
cmp dword [0x14027edf0], 3
jl 0x1400f9d5e
test dword [0x14027ee54], 0x10000
lea ebx, [rax + 1]
jne 0x1400f9d60
mov ebx, edi
mov edx, 3
mov ecx, 0x10000
call fcn.1400e8cc0
mov edi, eax
test ebx, ebx
jne 0x1400f9d7d
test eax, eax
je 0x1400f9fe0
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rsp + 0x40], eax
lea rcx, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourceswin_rsrc_app.c
lea rax, str.Unable_to_get_active_user_token._Error___d
mov r9d, 3
mov qword [rsp + 0x38], rax
mov edx, edi
mov dword [rsp + 0x30], 0x132
mov r8d, 0x10000
mov qword [rsp + 0x28], rcx
lea rcx, str.rsrc_app_start_app_in_active_user_session
mov qword [rsp + 0x20], rcx
mov ecx, ebx
call fcn.1400bfc30
jmp 0x1400f9fe0
mov rcx, qword [rbp - 0x50]
lea rax, [rbp - 0x58]
mov ebx, 1
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov dword [rsp + 0x20], ebx
mov edx, 0x2000000
lea r9d, [rbx + 1]
call qword [sym.imp.ADVAPI32.DLL_DuplicateTokenEx]
mov esi, eax
test eax, eax
jne 0x1400f9e4c
cmp dword [0x14027edf0], ebx
jl 0x1400f9e11
test dword [0x14027ee24], 0x10000
je 0x1400f9e11
mov edi, ebx
mov edx, ebx
mov ecx, 0x10000
call fcn.1400e8cc0
mov r14d, eax
test edi, edi
jne 0x1400f9e2c
test eax, eax
je 0x1400f9fe0
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rsp + 0x40], eax
lea rax, str.Unable_to_duplicate_the_user_token._Error___d
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x13d
jmp 0x1400f9eb1
mov rdx, qword [rbp - 0x58]
lea rcx, [rbp - 0x48]
xor r8d, r8d
call sub.USERENV.dll_CreateEnvironmentBlock
mov esi, eax
test eax, eax
jne 0x1400f9ee1
cmp dword [0x14027edf0], ebx
jl 0x1400f9e78
test dword [0x14027ee24], 0x10000
je 0x1400f9e78
mov edi, ebx
mov edx, ebx
mov ecx, 0x10000
call fcn.1400e8cc0
mov r14d, eax
test edi, edi
jne 0x1400f9e93
test eax, eax
je 0x1400f9fe0
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rsp + 0x40], eax
lea rax, str.Unable_to_create_environmet_block._Error___d
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x148
lea rcx, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourceswin_rsrc_app.c
mov r9d, ebx
mov qword [rsp + 0x28], rcx
mov edx, r14d
lea rcx, str.rsrc_app_start_app_in_active_user_session
mov r8d, 0x10000
mov qword [rsp + 0x20], rcx
mov ecx, edi
call fcn.1400bfc30
jmp 0x1400f9fe0
mov rcx, qword [rbp - 0x58]
xorps xmm0, xmm0
xor eax, eax
mov dword [rbp - 0x20], 0x68
mov dword [rbp + 0x44], eax
xor r9d, r9d
lea rax, [rbp - 0x40]
mov r8, r15
mov qword [rsp + 0x50], rax
xor edx, edx
lea rax, [rbp - 0x20]
mov qword [rsp + 0x48], rax
mov rax, qword [rbp - 0x48]
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x8000428
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
movups xmmword [rbp - 0x1c], xmm0
movups xmmword [rbp - 0xc], xmm0
movups xmmword [rbp + 4], xmm0
movups xmmword [rbp + 0x14], xmm0
movups xmmword [rbp + 0x24], xmm0
movups xmmword [rbp + 0x34], xmm0
call qword [sym.imp.ADVAPI32.DLL_CreateProcessAsUserW]
mov esi, eax
test eax, eax
jne 0x1400f9fce
cmp dword [0x14027edf0], 2
jl 0x1400f9f66
test dword [0x14027ee3c], 0x10000
jne 0x1400f9f68
mov ebx, edi
mov edx, 2
mov ecx, 0x10000
call fcn.1400e8cc0
mov edi, eax
test ebx, ebx
jne 0x1400f9f81
test eax, eax
je 0x1400f9fe0
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rsp + 0x40], eax
lea rcx, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourceswin_rsrc_app.c
lea rax, str.Unable_to_start_capture_program._Error___d
mov r9d, 2
mov qword [rsp + 0x38], rax
mov r8d, 0x10000
mov dword [rsp + 0x30], 0x15d
mov edx, edi
mov qword [rsp + 0x28], rcx
lea rcx, str.rsrc_app_start_app_in_active_user_session
mov qword [rsp + 0x20], rcx
mov ecx, ebx
call fcn.1400bfc30
jmp 0x1400f9fe0
mov rax, qword [rbp - 0x40]
mov esi, ebx
mov qword [r14 + 0x10], rax
mov rax, qword [rbp - 0x38]
mov qword [r14 + 0x18], rax
mov rbx, qword [rsp + 0x2a8]
mov rcx, r12
call fcn.140115d24
mov r14, qword [rsp + 0x278]
mov r12, qword [rsp + 0x280]
mov rdi, qword [rsp + 0x2b0]
test r15, r15
je 0x1400fa015
mov rcx, r15
call fcn.140115d24
mov rcx, qword [rbp - 0x50]
mov r15, qword [rsp + 0x270]
test rcx, rcx
je 0x1400fa02c
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x1400fa03b
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1400fa049
call sub.USERENV.dll_DestroyEnvironmentBlock
mov eax, esi
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140106650
add rsp, 0x288
pop rsi
pop rbp
ret