Function at 0x4e94b0
Capabilities:
Enumerate processes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d79a8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x278
mov eax, dword [0x634254]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x274], 0
call fcn.004ea8a0
call dword [sym.imp.KERNEL32.DLL_WTSGetActiveConsoleSessionId]
mov dword [ebp - 0x284], eax
xor eax, eax
mov dword [ebp - 0x2c], 0
push 0x20
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.005a1c68
add esp, 4
test eax, eax
je 0x4e9793
movups xmm0, xmmword [str.explorer.exe]
xor ecx, ecx
mov dword [ebp - 0x1c], 0xc
mov dword [ebp - 0x18], 0xf
movups xmmword [eax], xmm0
mov dword [ebp - 0x2c], eax
movq xmm0, qword [0x60a0a4]
movq qword [eax + 0x10], xmm0
mov word [eax + 0x18], cx
mov dword [ebp - 4], ecx
xor eax, eax
xor edi, edi
mov dword [ebp - 0x268], eax
xor esi, esi
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x27c], edi
mov dword [ebp - 0x278], esi
push esi
push 2
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
mov dword [ebp - 0x264], eax
cmp eax, 0xffffffff
jne 0x4e95ad
xor eax, eax
mov dword [ebp - 0x268], eax
jmp 0x4e9677
push 0x228
lea eax, [ebp - 0x25c]
push 0
push eax
call fcn.005713c0
add esp, 0xc
mov dword [ebp - 0x260], 0x22c
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.DLL_Process32FirstW]
test eax, eax
je 0x4e966b
nop dword [eax + eax]
push dword [ebp - 0x1c]
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x23c]
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push ecx
push eax
call fcn.005a1fe8
add esp, 0xc
test eax, eax
jne 0x4e9648
cmp edi, esi
je 0x4e9629
mov eax, dword [ebp - 0x258]
mov dword [edi], eax
add edi, 4
mov dword [ebp - 0x27c], edi
jmp 0x4e9648
lea eax, [ebp - 0x258]
push eax
push edi
lea ecx, [ebp - 0x280]
call fcn.004ef180
mov esi, dword [ebp - 0x278]
mov edi, dword [ebp - 0x27c]
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.DLL_Process32NextW]
test eax, eax
jne 0x4e95f0
mov eax, dword [ebp - 0x280]
mov dword [ebp - 0x268], eax
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x4e96b1
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4e96a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e97a4
push edx
push ecx
call fcn.0056d0c8
add esp, 8
mov eax, dword [ebp - 0x268]
mov ecx, eax
mov dword [ebp - 0x270], eax
cmp eax, edi
je 0x4e9704
mov eax, dword [ecx]
lea ecx, [ebp - 0x264]
push ecx
push eax
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x264], 0
call dword [sym.imp.KERNEL32.DLL_ProcessIdToSessionId]
mov eax, dword [ebp - 0x284]
cmp dword [ebp - 0x264], eax
je 0x4e971d
mov ecx, dword [ebp - 0x270]
add ecx, 4
mov dword [ebp - 0x270], ecx
cmp ecx, edi
jne 0x4e96c3
xor eax, eax
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov edi, eax
test edi, edi
jne 0x4e9725
push eax
jmp 0x4e9736
mov eax, dword [ebp - 0x288]
jmp 0x4e9706
lea eax, [ebp - 0x274]
push eax
push 0xe
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0x268]
test eax, eax
je 0x4e976f
sub esi, eax
and esi, 0xfffffffc
cmp esi, 0x1000
jb 0x4e9765
mov ecx, dword [eax - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e97a4
mov eax, ecx
push esi
push eax
call fcn.0056d0c8
add esp, 8
mov eax, dword [ebp - 0x274]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0056d855
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x630328
lea eax, [ebp - 0x269]
push eax
call fcn.0057134b
call fcn.0057b201
int3