Function at 0x424de0
Capabilities:
Acquire debug privileges
Create process on windows
Create process suspended
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426018
mov eax, dword fs:[0]
push eax
sub esp, 0x2f0
mov eax, dword [0x43c06c]
xor eax, ebp
mov dword [ebp - 0x44], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.CCommon::LaunchAppIntoDifferentSession_sFile___s_sArgs___s_n
call fcn.00401000
add esp, 0xc
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2e4], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov dword [ebp - 0x14], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x424ea2
mov dword [ebp - 0x2f4], 1
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401840
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401840
mov eax, dword [ebp - 0x2f4]
jmp 0x42529f
mov dword [ebp - 0x274], 0x22c
lea edx, [ebp - 0x274]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x424f07
cmp dword [ebp - 0x1c], 0
je 0x424ed7
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x2f8], 1
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401840
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401840
mov eax, dword [ebp - 0x2f8]
jmp 0x42529f
push 0x4383fc
lea edx, [ebp - 0x250]
push edx
call fcn.00406100
add esp, 8
test eax, eax
jne 0x424f57
mov dword [ebp - 0x2e8], 0
lea eax, [ebp - 0x2e8]
push eax
mov ecx, dword [ebp - 0x26c]
push ecx
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x424f57
mov edx, dword [ebp - 0x2e8]
cmp edx, dword [ebp - 0x14]
jne 0x424f57
mov eax, dword [ebp - 0x26c]
mov dword [ebp - 0x24], eax
jmp 0x424f6b
lea ecx, [ebp - 0x274]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x424f07
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.WTSAPI32.dll_WTSQueryUserToken
mov dword [ebp - 0x10], 0x30
push 0x44
push 0
lea edx, [ebp - 0x2c4]
push edx
call fcn.00406570
add esp, 0xc
mov dword [ebp - 0x2c4], 0x44
mov dword [ebp - 0x2bc], str.winsta0default
push 0x10
push 0
lea eax, [ebp - 0x3c]
push eax
call fcn.00406570
add esp, 0xc
mov ecx, dword [ebp - 0x24]
push ecx
push 0
push 0x2000000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x2c]
push edx
push 0x201eb
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x425001
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2ec], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Process_token_open_Error:__u_n
call fcn.00401000
add esp, 8
lea ecx, [ebp - 0x2d0]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x42502d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Lookup_Privilege_value_Error:__u_n
call fcn.00401000
add esp, 8
mov dword [ebp - 0x2e0], 1
mov edx, dword [ebp - 0x2d0]
mov dword [ebp - 0x2dc], edx
mov eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x2d8], eax
mov dword [ebp - 0x2d4], 2
lea ecx, [ebp - 0x2e4]
push ecx
push 1
push 1
push 0
push 0x2000000
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2c8], eax
push 4
mov eax, dword [ebp - 0x14]
push eax
push 0xc
mov ecx, dword [ebp - 0x2e4]
push ecx
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
push 0
push 0
push 0x10
lea edx, [ebp - 0x2e0]
push edx
push 0
mov eax, dword [ebp - 0x2e4]
push eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x4250d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2f0], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4385c0
call fcn.00401000
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x514
jne 0x4250f0
push str.CCommon::LaunchAppIntoDifferentSession_Token_does_not_have_the_provilege_n
call fcn.00401000
add esp, 4
mov dword [ebp - 0x27c], 0
push 1
mov ecx, dword [ebp - 0x2e4]
push ecx
lea edx, [ebp - 0x27c]
push edx
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x425120
mov eax, dword [ebp - 0x10]
or eax, 0x400
mov dword [ebp - 0x10], eax
jmp 0x42512a
mov dword [ebp - 0x27c], 0
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x40]
call fcn.004017a0
mov byte [ebp - 4], 2
push 0x4385bc
lea ecx, [ebp - 0x40]
call fcn.004018a0
lea edx, [ebp + 0xc]
push edx
lea ecx, [ebp - 0x40]
call fcn.00401880
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x2c4]
push ecx
push 0
mov edx, dword [ebp - 0x27c]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x40]
call fcn.00404600
push eax
push 0
mov ecx, dword [ebp - 0x2e4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov dword [ebp - 0x278], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x278], 0
je 0x4251db
cmp dword [ebp - 0x3c], 0
je 0x4251be
cmp dword [ebp - 0x3c], 0xffffffff
je 0x4251be
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x3c], 0
cmp dword [ebp - 0x38], 0
je 0x4251db
cmp dword [ebp - 0x38], 0xffffffff
je 0x4251db
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x18]
push ecx
push str.CCommon::LaunchAppIntoDifferentSession_iResultOfCreateProcessAsUser___d_n
call fcn.00401000
add esp, 8
cmp dword [ebp - 0x20], 0
je 0x425203
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x20], 0
cmp dword [ebp - 0x28], 0
je 0x42521a
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x28], 0
cmp dword [ebp - 0x2e4], 0
je 0x42523a
mov ecx, dword [ebp - 0x2e4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x2e4], 0
cmp dword [ebp - 0x2c], 0
je 0x425251
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x2c], 0
cmp dword [ebp - 0x1c], 0
je 0x425268
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x2fc], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00401840
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401840
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401840
mov eax, dword [ebp - 0x2fc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x44]
xor ecx, ebp
call fcn.00405b1d
mov esp, ebp
pop ebp
ret