Function at 0x140011300
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x140020578]
xor rax, rsp
mov qword [rbp + 0x58], rax
mov r13, rdx
mov r15, rcx
xor r12d, r12d
mov ebx, r12d
mov dword [rsp + 0x60], ebx
mov ecx, dword [rdx + 0x18]
test ecx, ecx
jne 0x140011352
lea r8d, [r12 + 0x18]
lea rdx, str.client_pid_not_specified
jmp 0x1400118db
mov dword [rsp + 0x64], r12d
lea rdx, [rsp + 0x64]
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x1400118ce
mov qword [rsp + 0x68], r12
lea rdx, [rsp + 0x68]
mov ecx, dword [rsp + 0x64]
call sub.WTSAPI32.dll_WTSQueryUserToken
test eax, eax
jne 0x140011421
call qword [sym.imp.logger.dll_public:_static_class_QtAppLogger____ptr64___cdecl_QtAppDefaultLogger::instance_void_]
mov qword [rbp + 0x20], rax
mov dword [rbp + 0x28], 1
mov byte [rbp + 0x2c], 1
lea rcx, [rbp + 0x30]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
nop
mov r8d, 3
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x48]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QTextStream::constructor_class_QString____ptr64__class_QFlags_enum_QIODeviceBase::OpenModeFlag_____ptr64]
nop
mov ebx, 1
mov dword [rsp + 0x60], ebx
lea rdx, str.ASSERTION_FAILED:
lea rcx, [rbp + 0x48]
call qword [sym.imp.Qt6Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___char_const____ptr64____ptr64]
lea rdx, str.WTSQueryUserToken__sessionId__token_
mov rcx, rax
call qword [sym.imp.Qt6Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___char_const____ptr64____ptr64]
lea rdx, [0x140017d54]
mov rcx, rax
call qword [sym.imp.Qt6Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___char_const____ptr64____ptr64]
lea rdx, str....._src_vmsclqt_admintasksprocessorcreateprocesstaskprocessor.cpp
mov rcx, rax
call qword [sym.imp.Qt6Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___char_const____ptr64____ptr64]
lea rdx, [0x140017e64]
mov rcx, rax
call qword [sym.imp.Qt6Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___char_const____ptr64____ptr64]
lea edx, [rbx + 0x71]
mov rcx, rax
call qword [sym.imp.Qt6Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___int____ptr64]
nop
test bl, 1
je 0x140011473
and ebx, 0xfffffffe
lea rcx, [rbp + 0x48]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QTextStream::flush_void____ptr64]
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x14001144d
lea r8, [rbp + 0x30]
mov edx, dword [rbp + 0x28]
call qword [sym.imp.logger.dll_public:_void___cdecl_QtAppLogger::log_int__class_QString_const____ptr64____ptr64]
mov rcx, qword [rbp + 0x20]
cmp byte [rbp + 0x2c], 0
je 0x14001145e
test rcx, rcx
je 0x14001145e
call qword [sym.imp.logger.dll_public:_int___cdecl_QtAppLogger::verbosityLevel_void_const___ptr64]
lea rcx, [rbp + 0x48]
call qword [sym.imp.Qt6Core.dll_public_virtual:_void___cdecl_QTextStream::destructor_void____ptr64]
lea rcx, [rbp + 0x30]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
mov rdx, qword [rsp + 0x68]
test rdx, rdx
je 0x1400118ce
mov qword [rsp + 0x70], r12
xor r8d, r8d
lea rcx, [rsp + 0x70]
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
jne 0x140011537
call qword [sym.imp.logger.dll_public:_static_class_QtAppLogger____ptr64___cdecl_QtAppDefaultLogger::instance_void_]
mov qword [rbp + 0x20], rax
mov dword [rbp + 0x28], 1
mov byte [rbp + 0x2c], 1
lea rcx, [rbp + 0x30]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
nop
mov r8d, 3
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x48]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QTextStream::constructor_class_QString____ptr64__class_QFlags_enum_QIODeviceBase::OpenModeFlag_____ptr64]
nop
or ebx, 2
mov dword [rsp + 0x60], ebx
lea rdx, str.ASSERTION_FAILED:
lea rcx, [rbp + 0x48]
call qword [sym.imp.Qt6Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___char_const____ptr64____ptr64]
lea rdx, str.CreateEnvironmentBlock_env__token__FALSE_
mov rcx, rax
call qword [sym.imp.Qt6Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___char_const____ptr64____ptr64]
lea rdx, [0x140017d54]
mov rcx, rax
call qword [sym.imp.Qt6Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___char_const____ptr64____ptr64]
lea rdx, str....._src_vmsclqt_admintasksprocessorcreateprocesstaskprocessor.cpp
mov rcx, rax
call qword [sym.imp.Qt6Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___char_const____ptr64____ptr64]
lea rdx, [0x140017e64]
mov rcx, rax
call qword [sym.imp.Qt6Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___char_const____ptr64____ptr64]
mov edx, 0x77
mov rcx, rax
call qword [sym.imp.Qt6Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___int____ptr64]
nop
test bl, 2
je 0x140011586
lea rcx, [rbp + 0x48]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QTextStream::flush_void____ptr64]
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x140011560
lea r8, [rbp + 0x30]
mov edx, dword [rbp + 0x28]
call qword [sym.imp.logger.dll_public:_void___cdecl_QtAppLogger::log_int__class_QString_const____ptr64____ptr64]
mov rcx, qword [rbp + 0x20]
cmp byte [rbp + 0x2c], 0
je 0x140011571
test rcx, rcx
je 0x140011571
call qword [sym.imp.logger.dll_public:_int___cdecl_QtAppLogger::verbosityLevel_void_const___ptr64]
lea rcx, [rbp + 0x48]
call qword [sym.imp.Qt6Core.dll_public_virtual:_void___cdecl_QTextStream::destructor_void____ptr64]
lea rcx, [rbp + 0x30]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rbp - 0x1c], xmm0
mov dword [rbp - 0xc], eax
mov dword [rbp - 0x70], 0x68
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rax
mov qword [rbp], r12
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], 7
mov word [rbp], r12w
lea rdx, [0x140018084]
lea rcx, [rbp]
call fcn.1400111c0
lea rdx, [r13 + 0x30]
lea rcx, [rbp + 0x20]
call fcn.1400128f0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x1400115f7
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp]
call fcn.140010a30
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x140011647
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011642
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140011642
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013754
mov r8d, 2
lea rdx, [0x140018088]
lea rcx, [rbp]
call fcn.140010a30
lea rdx, [r13 + 0x50]
lea rcx, [rbp + 0x20]
call fcn.1400128f0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x140011679
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp]
call fcn.140010a30
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x1400116c9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400116c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400116c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013754
mov r14, qword [rbp + 0x10]
mov rsi, qword [rbp + 0x18]
cmp r14, rsi
jae 0x1400116f8
lea rax, [r14 + 1]
mov qword [rbp + 0x10], rax
lea rax, [rbp]
cmp rsi, 8
cmovae rax, qword [rbp]
mov dword [rax + r14*2], r12d
mov rdi, qword [rbp]
jmp 0x1400117c9
movabs rbx, 0x7ffffffffffffffe
mov rax, rbx
sub rax, r14
cmp rax, 1
jb 0x140011913
lea r12, [r14 + 1]
mov rcx, r12
or rcx, 7
cmp rcx, rbx
ja 0x140011741
mov rdx, rsi
shr rdx, 1
mov rax, rbx
sub rax, rdx
cmp rsi, rax
ja 0x140011741
lea rax, [rsi + rdx]
mov rbx, rcx
cmp rcx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp]
call fcn.140010820
mov rdi, rax
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], rbx
add r14, r14
mov r8, r14
mov rcx, rax
cmp rsi, 8
jb 0x1400117b5
mov rbx, qword [rbp]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
xor r12d, r12d
mov dword [rdi + r14], r12d
lea rdx, [rsi*2 + 2]
cmp rdx, 0x1000
jb 0x1400117a4
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x1400117ae
mov rbx, rcx
mov rcx, rbx
call fcn.140013754
jmp 0x1400117c5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rdx, [rbp]
call sub.VCRUNTIME140.dll_memcpy
xor r12d, r12d
mov dword [rdi + r14], r12d
mov qword [rbp], rdi
lea r8, [rbp]
cmp qword [rbp + 0x18], 8
cmovae r8, rdi
lea rax, [rsp + 0x78]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], r12
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x400
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
setne bl
test eax, eax
je 0x14001186c
cmp byte [r13 + 0x70], 0
je 0x140011857
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x60], r12d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [rsp + 0x60]
mov dword [r15 + 0x58], eax
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14001187b
call sub.USERENV.dll_DestroyEnvironmentBlock
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x1400118ca
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400118c5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400118c5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013754
test bl, bl
jne 0x1400118e4
mov r8d, 7
lea rdx, str.unknown
lea rcx, [r15 + 0x28]
call fcn.140009a10
mov rcx, r15
call fcn.14000fc50
mov rcx, qword [rbp + 0x58]
xor rcx, rsp
call fcn.140013a40
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140009870
nop
int3