Function at 0x469ad0
Capabilities:
Create process on windows
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c23c2
mov eax, dword fs:[0]
push eax
mov eax, 0x2b7c
call fcn.004b3620
mov eax, dword [0x4f9008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x28a0]
push 0x11
mov dword [ebp - 0x2b2c], eax
mov eax, dword [ebp + 0x1c]
push str.WTSQueryUserToken
mov dword [ebp - 0x2b28], eax
mov dword [ebp - 0x2890], 0
mov dword [ebp - 0x288c], 0xf
mov byte [ebp - 0x28a0], 0
call fcn.004094a0
push str.wtsapi32.dll
lea ecx, [ebp - 0x28bc]
mov dword [ebp - 4], 0
call sym.XNewLook.exe_public:_void___thiscall_LString::constructor_char_const__
xor esi, esi
lea eax, [ebp - 0x28b8]
cmp dword [ebp - 0x28a4], 8
mov dword [ebp - 0x2b34], esi
cmovae eax, dword [ebp - 0x28b8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, eax
mov dword [ebp - 0x2b30], ecx
test ecx, ecx
je 0x469baa
cmp dword [ebp - 0x288c], 0x10
lea eax, [ebp - 0x28a0]
cmovae eax, dword [ebp - 0x28a0]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov dword [ebp - 0x2b34], esi
lea ecx, [ebp - 0x28bc]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x288c]
cmp edx, 0x10
jb 0x469bf3
mov ecx, dword [ebp - 0x28a0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x469be9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46a175
push edx
push ecx
call fcn.00475891
add esp, 8
mov dword [ebp - 0x2890], 0
mov dword [ebp - 0x288c], 0xf
mov byte [ebp - 0x28a0], 0
test esi, esi
je 0x46a147
lea eax, [ebp - 0x2b20]
mov dword [ebp - 0x2b20], 0
push eax
push 0x2000000
mov dword [ebp - 0x2b08], 0
mov dword [ebp - 0x2b1c], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x469c59
or esi, 0xffffffff
jmp 0x46a147
lea eax, [ebp - 0x2b08]
push eax
push 1
push 1
push 0
push 0x2000000
push dword [ebp - 0x2b20]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
jne 0x469c83
lea esi, [eax - 2]
jmp 0x46a147
cmp dword [ebp + 0xc], 0
jne 0x469d6f
push 0x1c
xor edi, edi
mov dword [ebp - 0x2870], 0xf
push str.WTSGetActiveConsoleSessionId
lea ecx, [ebp - 0x2884]
mov dword [ebp - 0x2874], edi
mov byte [ebp - 0x2884], 0
call fcn.004094a0
push str.Kernel32.dll
lea ecx, [ebp - 0x28d8]
mov byte [ebp - 4], 3
call sym.XNewLook.exe_public:_void___thiscall_LString::constructor_char_const__
lea eax, [ebp - 0x2884]
push eax
lea eax, [ebp - 0x28d8]
push eax
lea ecx, [ebp - 0x2b14]
call sym.XNewLook.exe_public:_void___thiscall_LDynamicFnBase::constructor_class_LString_const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
lea ecx, [ebp - 0x28d8]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x2870]
cmp edx, 0x10
jb 0x469d2e
mov ecx, dword [ebp - 0x2884]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x469d24
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46a17a
push edx
push ecx
call fcn.00475891
add esp, 8
mov eax, dword [ebp - 0x2b14]
mov dword [ebp - 0x2874], 0
mov dword [ebp - 0x2870], 0xf
mov byte [ebp - 0x2884], 0
test eax, eax
je 0x469d57
call eax
mov edi, eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2b10]
test ecx, ecx
je 0x469d6c
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp + 0xc], edi
push 4
lea eax, [ebp + 0xc]
push eax
push 0xc
push dword [ebp - 0x2b08]
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
jne 0x469d97
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 0xfffffffd
jmp 0x46a147
push 0x2654
lea eax, [ebp - 0x286c]
push 0
push eax
call fcn.004773d0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004773d0
mov ecx, dword [ebp + 8]
add esp, 0x18
add ecx, 4
cmp dword [ecx + 0x14], 8
jb 0x469dce
mov ecx, dword [ecx]
lea edx, [ebp - 0x286c]
sub edx, ecx
nop word [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x469de0
lea eax, [ebp - 0x2b0c]
mov dword [ebp - 0x2b18], 0
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x2b0c], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x469efb
xor eax, eax
push eax
push 2
mov dword [ebp - 0x2b10], eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x469efb
lea eax, [ebp - 0x2b04]
mov dword [ebp - 0x2b04], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x469ec0
nop word [eax + eax]
lea eax, [ebp - 0x2ae0]
push str.explorer.exe
push eax
call fcn.0047cdb1
add esp, 8
test eax, eax
jne 0x469ea0
mov dword [ebp - 0x2b24], eax
lea eax, [ebp - 0x2b24]
push eax
push dword [ebp - 0x2afc]
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x469ea0
mov eax, dword [ebp - 0x2b24]
cmp eax, dword [ebp + 0xc]
je 0x469eb4
lea eax, [ebp - 0x2b04]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x469e60
jmp 0x469ec0
mov eax, dword [ebp - 0x2afc]
mov dword [ebp - 0x2b10], eax
push esi
call edi
mov eax, dword [ebp - 0x2b10]
test eax, eax
je 0x469efb
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x469efb
lea eax, [ebp - 0x2b0c]
push eax
push 0xf00ff
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x469efb
push esi
call edi
mov eax, dword [ebp - 0x2b0c]
test eax, eax
je 0x469f1e
lea ecx, [ebp - 0x2b1c]
push ecx
push 1
push 1
push 0
push 0x2000000
push eax
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov eax, dword [ebp - 0x2b1c]
test eax, eax
mov ecx, dword [ebp - 0x2b08]
push 1
cmovne ecx, eax
lea eax, [ebp - 0x2b18]
push ecx
push eax
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
mov ecx, 0x430
push 0x44
lea eax, [ebp - 0x2b88]
mov esi, 0x30
push 0
push eax
cmovne esi, ecx
call fcn.004773d0
mov ax, word [ebp + 0x18]
add esp, 0xc
mov word [ebp - 0x2b58], ax
xor eax, eax
mov dword [ebp - 0x2b88], 0x44
mov dword [ebp - 0x2b5c], 1
mov dword [ebp - method.LString.virtual_0], vtable.LString.0
mov dword [ebp - 0x2874], 0
mov dword [ebp - 0x2870], 7
mov word [ebp - 0x2884], ax
push 8
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2884]
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
push str.WinSta0_
call fcn.00409940
push dword [ebp - 0x2b28]
lea eax, [ebp - 0x2888]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x28bc]
push eax
call sym.XNewLook.exe_class_LString___cdecl_operator_class_LString_const___class_LString_const__
add esp, 0xc
lea ecx, [ebp - 0x2888]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
cmp dword [ebp - 0x28a4], 8
lea ecx, [ebp - 0x28b8]
lea edx, [ebp - 0x218]
cmovae ecx, dword [ebp - 0x28b8]
sub edx, ecx
nop word [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x46a010
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x28bc]
mov dword [ebp - 0x2b80], eax
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
mov eax, dword [ebp - 0x2b2c]
xorps xmm0, xmm0
add eax, 4
movups xmmword [ebp - 0x2b44], xmm0
cmp dword [eax + 0x14], 8
jb 0x46a052
mov eax, dword [eax]
lea ecx, [ebp - 0x2b44]
push ecx
lea ecx, [ebp - 0x2b88]
push ecx
push eax
push dword [ebp - 0x2b18]
lea eax, [ebp - 0x286c]
push esi
push 0
push 0
push 0
push eax
push 0
push dword [ebp - 0x2b08]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x46a08f
lea esi, [eax - 4]
jmp 0x46a147
mov eax, dword [ebp + 0x10]
xor esi, esi
test eax, eax
js 0x46a0f2
jne 0x46a0aa
push 0xffffffffffffffff
push dword [ebp - 0x2b44]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x46a0c4
imul eax, eax, 0x3e8
push eax
push dword [ebp - 0x2b44]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x46a0ed
lea eax, [ebp - 0x2b10]
mov dword [ebp - 0x2b10], esi
push eax
push dword [ebp - 0x2b44]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
mov esi, 0xffffcfc7
cmovne esi, dword [ebp - 0x2b10]
jmp 0x46a0f2
mov esi, 0xfffffed4
push dword [ebp - 0x2b44]
call edi
push dword [ebp - 0x2b40]
call edi
mov eax, dword [ebp - 0x2b18]
test eax, eax
je 0x46a113
push eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov eax, dword [ebp - 0x2b0c]
test eax, eax
je 0x46a120
push eax
call edi
mov eax, dword [ebp - 0x2b1c]
test eax, eax
je 0x46a12d
push eax
call edi
mov eax, dword [ebp - 0x2b20]
test eax, eax
je 0x46a13a
push eax
call edi
mov eax, dword [ebp - 0x2b08]
test eax, eax
je 0x46a147
push eax
call edi
mov eax, dword [ebp - 0x2b30]
test eax, eax
je 0x46a158
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00475880
mov esp, ebp
pop ebp
ret
call fcn.0047cd61
call fcn.0047cd61
int3