Function at 0x140068f20
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
xor r15d, r15d
xor eax, eax
mov rsi, rcx
lea rcx, [rbp - 0x38]
lea r8d, [r15 + 0x60]
xor edx, edx
mov edi, r15d
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov dword [rbp - 0x40], r15d
call fcn.14006c5d0
lea rdx, [rsi + 8]
lea rcx, [rsp + 0x78]
mov qword [rbp + 0x68], r15
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x70], r15
call fcn.1400010e1
lea rdx, [rsi + 8]
lea rcx, [rbp - 0x58]
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
mov eax, dword [rax + 0x10]
mov dword [rbp - 0x60], eax
call fcn.140001069
movups xmm0, xmmword [rax]
mov eax, dword [rax + 0x10]
mov dword [rbp - 0x78], eax
movups xmmword [rsp + 0x78], xmm0
cmp qword [rbp - 0x6c], rdi
je 0x140069209
mov rbx, qword [rsp + 0x7c]
test rbx, rbx
je 0x140069209
mov qword [rsi + 0x48], r15
mov qword [rsi + 0x50], r15
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov dword [rsi + 0x58], eax
cmp eax, 0xffffffff
jne 0x14006901d
cmp dword [section..data], 4
jl 0x140069209
test byte [0x1400f6060], 1
je 0x140069209
lea edx, [r15 + 4]
lea rax, str.Unable_to_get_session_id.
lea r9, str..._rsrc_app.c
mov qword [rsp + 0x28], rax
lea ecx, [rdx - 3]
lea r8, str.rsrc_app_start_app_in_active_user_session
mov dword [rsp + 0x20], 0x116
call fcn.140001a82
jmp 0x140069209
lea rdx, [rbp + 0x68]
mov ecx, eax
call sub.WTSAPI32.dll_WTSQueryUserToken
mov edi, eax
test eax, eax
jne 0x140069084
cmp dword [section..data], 3
jl 0x140069209
test byte [0x1400f604f], 1
je 0x140069209
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str..._rsrc_app.c
lea r8, str.rsrc_app_start_app_in_active_user_session
mov dword [rsp + 0x30], eax
lea rax, str.Unable_to_get_active_user_token._Error___d
lea edx, [rdi + 3]
mov qword [rsp + 0x28], rax
lea ecx, [rdi + 1]
mov dword [rsp + 0x20], 0x11c
call fcn.140001a82
jmp 0x140069209
mov rcx, qword [rbp + 0x68]
lea rax, [rbp + 0x60]
mov r9d, 2
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov edx, 0x2000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov edi, eax
test eax, eax
jne 0x14006910a
cmp dword [section..data], 1
jl 0x140069209
test byte [0x1400f602d], 1
je 0x140069209
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], 0x128
mov edx, 1
lea r9, str..._rsrc_app.c
lea r8, str.rsrc_app_start_app_in_active_user_session
mov ecx, edx
call fcn.140001a82
jmp 0x140069209
mov rdx, qword [rbp + 0x60]
lea rcx, [rbp + 0x70]
xor r8d, r8d
call sub.USERENV.dll_CreateEnvironmentBlock
mov edi, eax
test eax, eax
jne 0x14006915a
cmp dword [section..data], 1
jl 0x140069209
test byte [0x1400f602d], 1
je 0x140069209
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], 0x133
jmp 0x1400690eb
xor edx, edx
lea rcx, [rbp - 0x40]
lea r8d, [rdx + 0x68]
call fcn.14006c5d0
mov rdx, qword [rbp - 0x6c]
mov rcx, qword [rbp + 0x60]
lea rax, [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x40]
mov dword [rbp - 0x40], 0x68
mov qword [rsp + 0x48], rax
mov rax, qword [rbp + 0x70]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x8000428
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov edi, eax
test eax, eax
jne 0x1400691f2
cmp dword [section..data], 1
jl 0x140069209
test byte [0x1400f602d], 1
je 0x140069209
call qword [sym.imp.KERNEL32.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], 0x148
jmp 0x1400690eb
mov rax, qword [rsp + 0x60]
mov edi, 1
mov qword [rsi + 0x48], rax
mov rax, qword [rsp + 0x68]
mov qword [rsi + 0x50], rax
mov rcx, qword [rbp + 0x68]
test rcx, rcx
je 0x140069218
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x60]
test rcx, rcx
je 0x140069227
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x70]
test rcx, rcx
je 0x140069235
call sub.USERENV.dll_DestroyEnvironmentBlock
mov eax, edi
add rsp, 0x130
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret