Function at 0x1400a0410
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x140214ec8]
xor rax, rsp
mov qword [rbp + 0x160], rax
xorps xmm1, xmm1
xor r15d, r15d
xor eax, eax
mov qword [rbp - 0x50], r15
mov rdi, rcx
mov qword [rbp - 0x30], rax
xorps xmm0, xmm0
mov qword [rbp + 0x40], rax
lea rcx, [rbp + 0x50]
mov qword [rbp - 0x58], r15
xor edx, edx
mov qword [rbp - 0x48], r15
mov r8d, 0x104
mov ebx, r15d
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.1400ad180
xor r9d, r9d
mov qword [rsp + 0x20], r15
mov edx, 0x104
lea r8d, [r15 + 6]
lea rcx, [rbp + 0x50]
call fcn.140013cb0
lea r8, [rbp + 0x50]
lea rdx, [0x1401dad14]
lea rcx, [rsp + 0x60]
call fcn.140096f30
mov r9, qword [rdi + 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.140096f30
mov r14, qword [rsp + 0x7c]
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
mov rsi, qword [rsp + 0x64]
test r14, r14
je 0x1400a0785
test rsi, rsi
je 0x1400a077d
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
call qword [sym.imp.KERNEL32.DLL_WTSGetActiveConsoleSessionId]
mov dword [rdi + 0x20], eax
cmp eax, 0xffffffff
jne 0x1400a0571
cmp dword [0x14020e430], 4
jl 0x1400a077d
test dword [0x14020e4ac], 0x10000
je 0x1400a077d
lea rax, str.Unable_to_get_session_id.
mov ecx, 0x10000
mov qword [rsp + 0x28], rax
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourceswin_rsrc_app.c
lea r8, str.rsrc_app_start_app_in_active_user_session
mov dword [rsp + 0x20], 0x130
lea edx, [r15 + 4]
call fcn.140078130
jmp 0x1400a077d
lea rdx, [rbp - 0x50]
mov ecx, eax
call fcn.14009fe20
mov ebx, eax
test eax, eax
jne 0x1400a05dd
cmp dword [0x14020e430], 3
jl 0x1400a077d
test dword [0x14020e494], 0x10000
je 0x1400a077d
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rsp + 0x30], eax
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourceswin_rsrc_app.c
lea rax, str.Unable_to_get_active_user_token._Error___d
mov ecx, 0x10000
mov qword [rsp + 0x28], rax
lea r8, str.rsrc_app_start_app_in_active_user_session
lea edx, [rbx + 3]
mov dword [rsp + 0x20], 0x136
call fcn.140078130
jmp 0x1400a077d
mov rcx, qword [rbp - 0x50]
lea rax, [rbp - 0x58]
mov qword [rsp + 0x28], rax
mov r9d, 2
xor r8d, r8d
mov dword [rsp + 0x20], 1
mov edx, 0x2000000
call qword [sym.imp.ADVAPI32.DLL_DuplicateTokenEx]
mov ebx, eax
test eax, eax
jne 0x1400a0669
cmp dword [0x14020e430], 1
jl 0x1400a077d
test dword [0x14020e464], 0x10000
je 0x1400a077d
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rsp + 0x30], eax
lea rax, str.Unable_to_duplicate_the_user_token._Error___d
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x141
mov edx, 1
lea r8, str.rsrc_app_start_app_in_active_user_session
mov ecx, 0x10000
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourceswin_rsrc_app.c
call fcn.140078130
jmp 0x1400a077d
mov rdx, qword [rbp - 0x58]
lea rcx, [rbp - 0x48]
xor r8d, r8d
call sub.USERENV.dll_CreateEnvironmentBlock
mov ebx, eax
test eax, eax
jne 0x1400a06bc
cmp dword [0x14020e430], 1
jl 0x1400a077d
test dword [0x14020e464], 0x10000
je 0x1400a077d
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rsp + 0x30], eax
lea rax, str.Unable_to_create_environmet_block._Error___d
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x14c
jmp 0x1400a0647
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, rsi
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], r14
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x8000428
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
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 ebx, eax
test eax, eax
jne 0x1400a0768
cmp dword [0x14020e430], 2
jl 0x1400a077d
test dword [0x14020e47c], 0x10000
je 0x1400a077d
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rsp + 0x30], eax
lea edx, [rbx + 2]
lea rax, str.Unable_to_start_capture_program._Error___d
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x161
jmp 0x1400a064c
mov rax, qword [rbp - 0x40]
mov ebx, 1
mov qword [rdi + 0x10], rax
mov rax, qword [rbp - 0x38]
mov qword [rdi + 0x18], rax
mov rcx, r14
call fcn.1400bae44
test rsi, rsi
je 0x1400a0792
mov rcx, rsi
call fcn.1400bae44
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x1400a07a1
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x1400a07b0
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1400a07be
call sub.USERENV.dll_DestroyEnvironmentBlock
mov eax, ebx
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.1400ab870
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret