Function at 0x140080f20
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.14008ca20
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.140001d7a
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.14000106e
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 0x140081209
mov rbx, qword [rsp + 0x7c]
test rbx, rbx
je 0x140081209
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 0x14008101d
cmp dword [reloc.WSOCK32.dll_accept], 4
jl 0x140081209
test byte [0x140124900], 1
je 0x140081209
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.140001a41
jmp 0x140081209
lea rdx, [rbp + 0x68]
mov ecx, eax
call sub.WTSAPI32.dll_WTSQueryUserToken
mov edi, eax
test eax, eax
jne 0x140081084
cmp dword [reloc.WSOCK32.dll_accept], 3
jl 0x140081209
test byte [0x1401248ef], 1
je 0x140081209
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.140001a41
jmp 0x140081209
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 0x14008110a
cmp dword [reloc.WSOCK32.dll_accept], 1
jl 0x140081209
test byte [0x1401248cd], 1
je 0x140081209
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.140001a41
jmp 0x140081209
mov rdx, qword [rbp + 0x60]
lea rcx, [rbp + 0x70]
xor r8d, r8d
call sub.USERENV.dll_CreateEnvironmentBlock
mov edi, eax
test eax, eax
jne 0x14008115a
cmp dword [reloc.WSOCK32.dll_accept], 1
jl 0x140081209
test byte [0x1401248cd], 1
je 0x140081209
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 0x1400810eb
xor edx, edx
lea rcx, [rbp - 0x40]
lea r8d, [rdx + 0x68]
call fcn.14008ca20
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 0x1400811f2
cmp dword [reloc.WSOCK32.dll_accept], 1
jl 0x140081209
test byte [0x1401248cd], 1
je 0x140081209
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 0x1400810eb
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 0x140081218
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x60]
test rcx, rcx
je 0x140081227
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x70]
test rcx, rcx
je 0x140081235
call sub.USERENV.dll_DestroyEnvironmentBlock
mov eax, edi
add rsp, 0x130
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret