Function at 0x1001e100
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x100668c5
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1009b004]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1001e146
push eax
call ebx
mov dword [edi + 0xc], 0
mov eax, dword [edi + 0x10]
test eax, eax
je 0x1001e157
push eax
call ebx
mov dword [edi + 0x10], 0
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
push 0x40
mov dword [esp + 0x24], eax
lea eax, [esp + 0x6c]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [esp + 0x64], 0x44
cmp byte [edi + 0x21], 0
xorps xmm0, xmm0
movdqu xmmword [esp + 0x40], xmm0
jne 0x1001e19e
xor eax, eax
mov dword [esp + 0x90], 1
mov word [esp + 0x94], ax
lea eax, [esp + 0x24]
mov ecx, edi
push eax
call fcn.1001d5d0
cmp byte [edi + 0x28], 0
mov dword [esp + 0xb0], 0
je 0x1001e1eb
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
lea eax, [esp + 0x18]
push eax
call fcn.10008340
add esp, 8
lea ecx, [esp + 0x24]
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [esp + 0x14]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x60]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const__]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug___thiscall_QMessageLogger::debug_void_]
push dword [esp + 0x20]
mov ecx, eax
mov byte [esp + 0xb4], 1
push str.sessionID_old
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___unsigned_long_int_]
mov ebp, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
lea ecx, [esp + 0x14]
mov byte [esp + 0xb0], 0
call ebp
lea eax, [esp + 0x20]
mov ecx, edi
push eax
call fcn.1001da50
mov esi, eax
lea ecx, [esp + 0x50]
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const__]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug___thiscall_QMessageLogger::debug_void_]
push dword [esp + 0x20]
mov ecx, eax
mov byte [esp + 0xb4], 2
push str.sessionID_new
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___unsigned_long_int_]
lea ecx, [esp + 0x14]
mov byte [esp + 0xb0], 0
call ebp
test esi, esi
je 0x1001e2ad
push esi
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
jne 0x1001e2b3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [esp + 0x38]
push ecx
push 2
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea eax, [esp + 0x2c]
push eax
push 1
push 2
push 0
push 0x2000000
push dword [esp + 0x4c]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
push 4
lea eax, [esp + 0x24]
push eax
push 0xc
push dword [esp + 0x38]
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
push 0
push dword [esp + 0x30]
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 0
push eax
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
setne al
test al, al
jne 0x1001e3bb
push 0x23
push str.CreateEnvironmentBlock_LastError:_1
call dword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
mov dword [esp + 0x30], eax
add esp, 4
mov byte [esp + 0x18], 0x20
mov ecx, esp
mov byte [esp + 0xb4], 3
push dword [esp + 0x18]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
push 0xa
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QString::arg_unsigned_long_int__int__int__class_QChar_]
mov esi, eax
lea eax, [esp + 0x3c]
mov byte [esp + 0xb0], 4
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x60]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const__]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug___thiscall_QMessageLogger::warning_void_]
push esi
mov ecx, eax
mov byte [esp + 0xb4], 5
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___class_QString_const__]
lea ecx, [esp + 0x3c]
mov byte [esp + 0xb0], 4
call ebp
lea ecx, [esp + 0x18]
mov byte [esp + 0xb0], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x28]
jmp 0x1001e5ab
lea eax, [edi + 4]
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov esi, dword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
push 1
push 0x100724bc
mov byte [esp + 0xb8], 6
call esi
mov dword [esp + 0x1c], eax
push 1
push 0x100724c0
mov byte [esp + 0xc0], 7
call esi
add esp, 0x10
mov dword [esp + 0x28], eax
push 1
lea eax, [esp + 0x18]
mov byte [esp + 0xb4], 8
push eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x28]
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::replace_class_QString_const___class_QString_const___enum_Qt::CaseSensitivity_]
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
lea ecx, [esp + 0x28]
mov byte [esp + 0xb0], 7
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x14]
mov byte [esp + 0xb0], 6
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
cmp byte [edi + 0x28], 0
je 0x1001e47f
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
lea eax, [esp + 0x1c]
push eax
call fcn.10008340
add esp, 8
lea ecx, [esp + 0x1c]
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [esp + 0x18]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
lea eax, [esp + 0x1c]
push eax
call fcn.10007140
add esp, 8
lea ecx, [esp + 0x1c]
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [esp + 0x18]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
call dword [sym.imp.Qt5Core.dll_public:_static_enum_QSysInfo::WinVersion___cdecl_QSysInfo::windowsVersion_void_]
cmp eax, 0x40
jg 0x1001e532
cmp dword [esp + 0x20], 0
je 0x1001e532
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x60]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const__]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug___thiscall_QMessageLogger::debug_void_]
lea ecx, [esp + 0x24]
mov byte [esp + 0xb0], 9
push ecx
push dword [esp + 0x24]
mov ecx, eax
push str.CurrentConsoleProcessByExplorer_xp_createRemoteSession
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___unsigned_long_int_]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___class_QString_const__]
lea ecx, [esp + 0x18]
mov byte [esp + 0xb0], 6
call ebp
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x28]
call fcn.1001c6b0
add esp, 0xc
jmp 0x1001e56e
mov esi, dword [sym.imp.Qt5Core.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const]
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x24]
call esi
push eax
push dword [esp + 0x3c]
movzx eax, byte [edi + 0x20]
lea ecx, [esp + 0x34]
push 0x420
push eax
push 0
push 0
call esi
push eax
push 0
push dword [esp + 0x54]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov eax, dword [esp + 0x48]
push dword [edi + 0x14]
mov dword [edi + 0x24], eax
call ebx
push dword [edi + 0x18]
mov dword [edi + 0x14], 0
call ebx
push dword [esp + 0x2c]
mov dword [edi + 0x18], 0
call ebx
push dword [esp + 0x38]
call ebx
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x1c]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x40]
mov dword [edi + 0xc], eax
mov byte [esp + 0xb0], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x24]
mov dword [esp + 0xb0], 0xffffffff
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret