Function at 0x100272a0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x1008d775
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100d4254]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x100272e6
push eax
call esi
mov dword [ebp + 0xc], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x100272f7
push eax
call esi
mov dword [ebp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
push 0x40
mov dword [esp + 0x38], eax
lea eax, [esp + 0x74]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [esp + 0x6c], 0x44
cmp byte [ebp + 0x21], 0
xorps xmm0, xmm0
movdqu xmmword [esp + 0x48], xmm0
jne 0x1002733e
xor eax, eax
mov dword [esp + 0x98], 1
mov word [esp + 0x9c], ax
lea eax, [esp + 0x24]
mov ecx, ebp
push eax
call fcn.10026280
cmp byte [ebp + 0x28], 0
mov dword [esp + 0xb8], 0
je 0x1002738b
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 + 0x20]
push eax
call fcn.10009120
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 + 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x68]
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 + 0xb8], 1
push ecx
push str.commandLine
mov ecx, eax
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___class_QString_const__]
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb8], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ebx, dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea ecx, [esp + 0x2c]
push ecx
push 2
push eax
call ebx
mov edi, dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
lea eax, [esp + 0x28]
push eax
push 1
push 1
push 0
push 0x2000000
push dword [esp + 0x40]
call edi
push 4
lea eax, [esp + 0x38]
push eax
push 0xc
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
lea eax, [esp + 0x34]
mov dword [esp + 0x30], 0
push eax
mov ecx, ebp
call fcn.10026700
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
lea eax, [esp + 0x40]
push eax
push 2
push esi
call ebx
lea eax, [esp + 0x20]
push eax
push 1
push 2
push 0
push 0x2000000
push dword [esp + 0x54]
call edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
push 0
push dword [esp + 0x24]
lea eax, [esp + 0x38]
push eax
call sub.USERENV.dll_CreateEnvironmentBlock
push dword [esp + 0x20]
test eax, eax
setne bl
call edi
test bl, bl
jne 0x1002753f
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 + 0x24], eax
add esp, 4
mov byte [esp + 0x40], 0x20
mov ecx, esp
mov byte [esp + 0xbc], 2
push dword [esp + 0x40]
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 + 0x24]
push eax
lea ecx, [esp + 0x30]
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 + 0x44]
mov byte [esp + 0xb8], 3
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x68]
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 + 0xbc], 4
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___class_QString_const__]
mov ebx, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
lea ecx, [esp + 0x44]
mov byte [esp + 0xb8], 3
call ebx
lea ecx, [esp + 0x14]
mov byte [esp + 0xb8], 2
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x1c]
jmp 0x10027748
lea eax, [ebp + 4]
push eax
lea ecx, [esp + 0x1c]
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 0x1009e95c
mov byte [esp + 0xc0], 5
call esi
mov dword [esp + 0x28], eax
push 1
push 0x1009e960
mov byte [esp + 0xc8], 6
call esi
add esp, 0x10
mov dword [esp + 0x1c], eax
push 1
lea eax, [esp + 0x24]
mov byte [esp + 0xbc], 7
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
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 + 0x1c]
call dword [0x1009d4c4]
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb8], 6
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x20]
mov byte [esp + 0xb8], 5
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
cmp byte [ebp + 0x28], 0
je 0x10027603
push ecx
lea eax, [esp + 0x1c]
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.10009120
add esp, 8
lea ecx, [esp + 0x18]
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_]
push ecx
lea eax, [esp + 0x1c]
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.10007e70
add esp, 8
lea ecx, [esp + 0x18]
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 + 0x68]
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 + 0x18]
mov byte [esp + 0xb8], 8
push ecx
push str.commandPath
mov ecx, eax
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___class_QString_const__]
mov ebx, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
lea ecx, [esp + 0x14]
mov byte [esp + 0xb8], 5
call ebx
mov esi, dword [sym.imp.Qt5Core.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const]
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x20]
call esi
push eax
push dword [esp + 0x3c]
lea ecx, [esp + 0x34]
push 0x430
push 0
push 0
push 0
call esi
push eax
push 0
push dword [esp + 0x50]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov eax, dword [esp + 0x50]
push dword [ebp + 0x14]
mov dword [ebp + 0x24], eax
call edi
push dword [ebp + 0x18]
mov dword [ebp + 0x14], 0
call edi
push dword [esp + 0x28]
mov dword [ebp + 0x18], 0
call edi
push dword [esp + 0x2c]
call edi
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x58]
mov dword [ebp + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [ebp + 0xc], eax
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 + 0x50]
mov ecx, eax
mov byte [esp + 0xbc], 9
push str.CreateProcessAsUser_success
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 + 0xb8], 5
call ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0xb8], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x24]
mov dword [esp + 0xb8], 0xffffffff
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret