Function at 0x14007dce0
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 [0x1401b89e8]
xor rax, rsp
mov qword [rbp + 0x160], rax
xor eax, eax
xor r15d, r15d
mov rdi, rcx
mov qword [rsp + 0x78], rax
xor edx, edx
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x18]
mov qword [rbp - 0x78], rax
lea r8d, [r15 + 0x60]
mov dword [rbp - 0x20], r15d
mov ebx, r15d
call fcn.14008b040
xor edx, edx
mov qword [rsp + 0x68], r15
mov r8d, 0x104
mov qword [rsp + 0x60], r15
lea rcx, [rbp + 0x50]
mov qword [rsp + 0x70], r15
call fcn.14008b040
xor r9d, r9d
mov qword [rsp + 0x20], r15
mov edx, 0x104
lea r8d, [r15 + 6]
lea rcx, [rbp + 0x50]
call fcn.140011e00
lea r8, [rbp + 0x50]
lea rdx, [0x14018818c]
lea rcx, [rbp - 0x70]
call fcn.140077f40
mov r9, qword [rdi + 8]
lea r8, [rbp + 0x50]
lea rdx, str.__S_s_
lea rcx, [rbp - 0x40]
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x58], xmm0
call fcn.140077f40
mov r14, qword [rbp - 0x54]
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
mov rsi, qword [rbp - 0x6c]
test r14, r14
je 0x14007e03e
test rsi, rsi
je 0x14007e036
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
call qword [sym.imp.api_ms_win_core_kernel32_legacy_l1_1_0.dll_WTSGetActiveConsoleSessionId]
mov dword [rdi + 0x20], eax
cmp eax, 0xffffffff
jne 0x14007de35
cmp dword [0x1401b83f0], 4
jl 0x14007e036
test dword [0x1401b846c], 0x10000
je 0x14007e036
lea rax, str.Unable_to_get_session_id.
mov ecx, 0x10000
mov qword [rsp + 0x28], rax
lea r9, str..._rsrc_app.c
lea r8, str.rsrc_app_start_app_in_active_user_session
mov dword [rsp + 0x20], 0x122
lea edx, [r15 + 4]
call fcn.140067120
jmp 0x14007e036
lea rdx, [rsp + 0x68]
mov ecx, eax
call fcn.14007d910
mov ebx, eax
test eax, eax
jne 0x14007dea2
cmp dword [0x1401b83f0], 3
jl 0x14007e036
test dword [0x1401b8454], 0x10000
je 0x14007e036
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [rsp + 0x30], eax
lea r9, str..._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], 0x128
call fcn.140067120
jmp 0x14007e036
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov r9d, 2
xor r8d, r8d
mov dword [rsp + 0x20], 1
mov edx, 0x2000000
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_DuplicateTokenEx]
mov ebx, eax
test eax, eax
jne 0x14007df30
cmp dword [0x1401b83f0], 1
jl 0x14007e036
test dword [0x1401b8424], 0x10000
je 0x14007e036
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.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], 0x133
lea r9, str..._rsrc_app.c
mov edx, 1
lea r8, str.rsrc_app_start_app_in_active_user_session
mov ecx, 0x10000
call fcn.140067120
jmp 0x14007e036
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x70]
xor r8d, r8d
call sub.USERENV.dll_CreateEnvironmentBlock
mov ebx, eax
test eax, eax
jne 0x14007df85
cmp dword [0x1401b83f0], 1
jl 0x14007e036
test dword [0x1401b8424], 0x10000
je 0x14007e036
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.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], 0x13e
jmp 0x14007df0e
xor edx, edx
lea rcx, [rbp - 0x20]
lea r8d, [rdx + 0x68]
call fcn.14008b040
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x50], rax
xor r9d, r9d
lea rax, [rbp - 0x20]
mov dword [rbp - 0x20], 0x68
mov qword [rsp + 0x48], rax
mov r8, rsi
mov rax, qword [rsp + 0x70]
xor edx, edx
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
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateProcessAsUserW]
mov ebx, eax
test eax, eax
jne 0x14007e020
cmp dword [0x1401b83f0], 1
jl 0x14007e036
test dword [0x1401b8424], 0x10000
je 0x14007e036
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [rsp + 0x30], eax
lea rax, str.Unable_to_start_capture_program._Error___d
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x153
jmp 0x14007df0e
mov rax, qword [rsp + 0x78]
mov ebx, 1
mov qword [rdi + 0x10], rax
mov rax, qword [rbp - 0x80]
mov qword [rdi + 0x18], rax
mov rcx, r14
call fcn.140096ac0
test rsi, rsi
je 0x14007e04b
mov rcx, rsi
call fcn.140096ac0
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14007e05b
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14007e06b
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14007e07a
call sub.USERENV.dll_DestroyEnvironmentBlock
mov eax, ebx
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.1400897c0
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