Function at 0x4062b6
Capabilities:
Create process on windows
Create process suspended
Enumerate processes on remote desktop session host

Disassembly:
push 0x8c
mov eax, 0x54e19d
call fcn.00534dad
mov edi, ecx
lea eax, [ebp - 0x18]
push eax
call fcn.00406660
test al, al
jne 0x4062ea
push dword [ebp - 0x18]
push str.LaunchAppInActiveConsoleSessionElevated__:_no_active_session__0x_08lX_
push edi
call fcn.00403070
add esp, 0xc
jmp 0x406658
mov ebx, dword [ebp + 8]
mov ecx, ebx
call fcn.0040af30
test eax, eax
je 0x40634f
mov ecx, dword [ebx + 4]
add ecx, 4
mov eax, dword [ecx]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 0x18]
push eax
lea eax, [ebp - 0x28]
push str.LaunchAppInActiveConsoleSessionElevated__:_signature_verification_failed_for_file__s
push eax
call fcn.00411470
add esp, 0xc
and dword [ebp - 4], 0
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 4]
add eax, 4
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 0x18]
push eax
push edi
call fcn.00403070
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov dword [ebp - 0x28], vtable.MA::StringT_wchar_t__char_.0
lea ecx, [ebp - 0x24]
jmp 0x406653
push str.localhost
call dword [sym.imp.WTSAPI32.dll_WTSOpenServerW]
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x20]
push ecx
push 1
push 0
push eax
mov dword [ebp - 0x40], eax
call dword [sym.imp.WTSAPI32.dll_WTSEnumerateProcessesW]
test eax, eax
je 0x406626
mov eax, dword [ebp - 0x2c]
xor esi, esi
test eax, eax
je 0x406612
mov ebx, dword [ebp - 0x18]
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x20]
cmp dword [ecx + edx], ebx
jne 0x406424
push dword [ecx + edx + 8]
lea ecx, [ebp - 0x34]
call fcn.0040301a
push str.winlogon.exe
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 1
call fcn.0040301a
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.004082df
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.004090f5
mov ebx, eax
neg ebx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
sbb bl, bl
mov dword [ebp - 0x14], vtable.MA::StringT_wchar_t__char_.0
call fcn.00402ee1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x3c], vtable.MA::StringT_wchar_t__char_.0
call fcn.00402ee1
inc bl
jne 0x406438
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x34], vtable.MA::StringT_wchar_t__char_.0
call fcn.00402ee1
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
inc esi
add ecx, 0x10
mov dword [ebp - 0x1c], ecx
cmp esi, eax
jb 0x40638d
jmp 0x406612
mov eax, dword [ebp - 0x20]
add esi, esi
push dword [eax + esi*8 + 4]
push 0
push 0x2000000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x38], esi
test esi, esi
je 0x4065d0
lea eax, [ebp - 0x18]
push eax
push 2
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x40659c
lea eax, [ebp - 0x1c]
push eax
push 1
push 1
push 0
push 0x2000000
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x406566
push 0x44
pop esi
push esi
lea eax, [ebp - 0x98]
push 0
push eax
call dword [sym.imp.MSVCR110.dll_memset]
add esp, 0xc
lea ecx, [ebp - 0x14]
push dword [ebp + 0xc]
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x90], str.winsta0default
call fcn.00401704
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 4
mov ecx, dword [ecx + 4]
add ecx, 4
mov eax, dword [ecx]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 0x18]
mov esi, eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x98]
push eax
xor eax, eax
push eax
push eax
push 0x30
push eax
push eax
push eax
push eax
lea ecx, [ebp - 0x14]
call fcn.004013c3
push eax
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x40651a
push dword [ebp - 0x50]
call ebx
push dword [ebp - 0x4c]
call ebx
jmp 0x406549
push str.CreateProcessAsUser_failed
lea ecx, [ebp - 0x28]
call fcn.0040301a
lea eax, [ebp - 0x28]
push eax
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.0040da99
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x28], vtable.MA::StringT_wchar_t__char_.0
call fcn.00402ee1
push dword [ebp - 0x1c]
call ebx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], vtable.MA::StringT_wchar_t__char_.0
call fcn.00402ee1
mov esi, dword [ebp - 0x38]
jmp 0x406595
push str.DuplicateTokenEx___failed
lea ecx, [ebp - 0x14]
call fcn.0040301a
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.0040da99
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], vtable.MA::StringT_wchar_t__char_.0
call fcn.00402ee1
push dword [ebp - 0x18]
call ebx
jmp 0x4065cb
push str.OpenProcessToken___failed
lea ecx, [ebp - 0x14]
call fcn.0040301a
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.0040da99
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], vtable.MA::StringT_wchar_t__char_.0
call fcn.00402ee1
push esi
call ebx
jmp 0x4065ff
push str.OpenProcess___failed
lea ecx, [ebp - 0x14]
call fcn.0040301a
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.0040da99
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], vtable.MA::StringT_wchar_t__char_.0
call fcn.00402ee1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x34], vtable.MA::StringT_wchar_t__char_.0
call fcn.00402ee1
push dword [ebp - 0x20]
call dword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
push dword [ebp - 0x40]
call dword [sym.imp.WTSAPI32.dll_WTSCloseServer]
jmp 0x406658
push str.WTSEnumerateProcesses___failed
lea ecx, [ebp - 0x14]
call fcn.0040301a
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
mov dword [ebp - 4], 9
call fcn.0040da99
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], vtable.MA::StringT_wchar_t__char_.0
lea ecx, [ebp - 0x10]
call fcn.00402ee1
call fcn.00534d7b
ret 8