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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a4
mov eax, dword [0x616dec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x44
lea eax, [ebp - 0x29c]
mov byte [ebp - 0x29d], dl
push 0
push eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x254], 0
call fcn.00556fd0
add esp, 0xc
mov dword [ebp - 0x294], str.winsta0default
xorps xmm0, xmm0
mov dword [ebp - 0x29c], 0x44
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
push 0
push 2
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x432a7a
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x2a4], 0
push eax
push esi
mov dword [ebp - 0x24c], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x43297e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x432a7a
mov ebx, dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
nop word [eax + eax]
lea eax, [ebp - 0x228]
push str.winlogon.exe
push eax
call fcn.0056e531
add esp, 8
test eax, eax
jne 0x4329c3
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x244]
call ebx
test eax, eax
je 0x432972
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
je 0x4329d3
lea eax, [ebp - 0x24c]
push eax
push esi
call edi
test eax, eax
jne 0x432990
jmp 0x4329df
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x2a4], eax
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
push dword [ebp - 0x2a4]
push 0
push 0x2000000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
lea eax, [ebp - 0x258]
push eax
push 0x201eb
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push esi
test eax, eax
je 0x432a78
call edi
lea eax, [ebp - 0x250]
push eax
push 1
push 1
push 0
push 0x2000000
push dword [ebp - 0x258]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
push dword [ebp - 0x258]
mov esi, eax
call edi
test esi, esi
je 0x432a7a
mov esi, dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
lea eax, [ebp - 8]
push 4
push eax
push 0xc
push dword [ebp - 0x250]
call esi
push 1
push dword [ebp - 0x250]
lea eax, [ebp - 0x254]
push eax
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
jne 0x432aa4
push dword [ebp - 0x250]
call edi
xor bl, bl
mov ecx, dword [ebp + 0x1c]
cmp ecx, 8
jb 0x432a91
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.00424d00
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005540cc
mov esp, ebp
pop ebp
ret
push 4
lea eax, [ebp - 0x10]
push eax
push 0xc
push dword [ebp - 0x250]
call esi
cmp byte [ebp - 0x29d], 1
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x29c]
push ecx
push 0
push dword [ebp - 0x254]
lea eax, [ebp + 8]
jne 0x432ada
push 0x430
jmp 0x432adf
push 0x8000430
cmp dword [ebp + 0x1c], 8
push 0
cmovae eax, dword [ebp + 8]
push 0
push 0
push eax
push 0
push dword [ebp - 0x250]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov esi, eax
mov eax, dword [ebp - 0x254]
test eax, eax
je 0x432b0f
push eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
push dword [ebp - 0x250]
call edi
test esi, esi
je 0x432a7a
mov bl, 1
jmp 0x432a7c