Function at 0x4bf250
Capabilities:
Enumerate processes
Enumerate processes on remote desktop session host

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6d4633
mov eax, dword fs:[0]
push eax
sub esp, 0x47c
mov eax, dword [0x806f14]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x20]
mov dword [ebp - 0x470], ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0xf
mov byte [ebp - 0x238], 0
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.00682620
mov edi, dword [ebp + 0x18]
lea esi, [ebp + 8]
add esp, 0xc
mov dword [ebx], 0
mov ebx, dword [ebp + 0x1c]
cmp ebx, 0x10
mov byte [ebp - 0x469], 0
cmovae esi, dword [ebp + 8]
test edi, edi
je 0x4bf3ec
push 0x100
lea eax, [ebp - 0x338]
push 0
push eax
call fcn.00682620
add esp, 0xc
mov ecx, 0x72b92c
movzx eax, byte [ecx]
inc ecx
mov byte [ebp + eax - 0x338], 1
cmp ecx, 0x72b92e
jne 0x4bf303
or ecx, 0xffffffff
lea eax, [edi - 1]
cmp eax, ecx
cmovb ecx, eax
movzx eax, byte [ecx + esi]
add ecx, esi
cmp byte [ebp + eax - 0x338], 0
jne 0x4bf349
cmp ecx, esi
je 0x4bf3ec
movzx eax, byte [ecx - 1]
dec ecx
cmp byte [ebp + eax - 0x338], 0
je 0x4bf332
sub ecx, esi
cmp ecx, 0xffffffff
je 0x4bf3ec
lea edx, [ecx + 1]
mov dword [ebp - 0x478], 0
mov dword [ebp - 0x474], 0xf
mov byte [ebp - 0x488], 0
cmp edi, edx
jb 0x4bf6b0
sub edi, edx
lea eax, [ebp + 8]
or ecx, 0xffffffff
cmp edi, 0xffffffff
cmovb ecx, edi
cmp ebx, 0x10
push ecx
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0x488]
add eax, edx
push eax
call fcn.0049f560
lea eax, [ebp - 0x488]
push eax
lea ecx, [ebp - 0x238]
call fcn.004a0520
mov edx, dword [ebp - 0x474]
cmp edx, 0x10
jb 0x4bf403
mov ecx, dword [ebp - 0x488]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4bf3e0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bf6b5
push edx
push ecx
call fcn.0066c54d
add esp, 8
jmp 0x4bf403
cmp ebx, 0x10
lea eax, [ebp + 8]
push edi
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0x238]
push eax
call fcn.0049f560
cmp byte [ebp + 0x24], 0
push 3
jne 0x4bf42e
cmp dword [ebp - 0x224], 0x10
lea eax, [ebp - 0x238]
lea ecx, [ebp - 0x338]
cmovae eax, dword [ebp - 0x238]
mov dword [ebp - 0x33c], ecx
push eax
jmp 0x4bf43f
lea eax, [ebp - 0x338]
mov dword [ebp - 0x33c], eax
push str.explorer.exe
lea ecx, [ebp - 0x33c]
call fcn.004b9e20
push dword [ebp - 0x33c]
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00697afb
mov eax, dword [ebp - 0x33c]
lea ecx, [ebp - 0x338]
add esp, 0xc
cmp eax, ecx
je 0x4bf47d
push eax
call fcn.006970b0
add esp, 4
push 0
push 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4bf609
lea eax, [ebp - 0x464]
mov dword [ebp - 0x464], 0x22c
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4bf602
lea ecx, [ebp - 0x218]
lea eax, [ebp - 0x440]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4bf4e6
test dx, dx
je 0x4bf4e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4bf4e6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4bf4c0
xor eax, eax
jmp 0x4bf4eb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4bf5d6
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0xffffffff
push eax
push dword [ebp - 0x45c]
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x4bf5d6
cmp dword [ebp - 0x21c], 0xffffffff
je 0x4bf5d6
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0
push eax
lea eax, [ebp - 0x468]
or edi, 0xffffffff
push eax
push 1
push 0
push 0
call sub.WTSAPI32.dll_WTSEnumerateSessionsW
test eax, eax
je 0x4bf57f
mov edx, dword [ebp - 0x21c]
xor eax, eax
mov esi, dword [ebp - 0x468]
test edx, edx
je 0x4bf579
lea ecx, [esi + 8]
cmp dword [ecx], 0
je 0x4bf573
inc eax
add ecx, 0xc
cmp eax, edx
jb 0x4bf564
jmp 0x4bf579
lea eax, [eax + eax*2]
mov edi, dword [esi + eax*4]
push esi
call sub.WTSAPI32.dll_WTSFreeMemory
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0xffffffff
push eax
push dword [ebp - 0x45c]
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
mov ecx, dword [ebp - 0x220]
test eax, eax
mov eax, 0xffffffff
cmove ecx, eax
cmp edi, ecx
jne 0x4bf5d6
cmp byte [ebp + 0x24], 0
jne 0x4bf5ed
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.0048d880
push dword [ebp - 0x45c]
call fcn.004c0460
add esp, 0x1c
test al, al
jne 0x4bf5ed
lea eax, [ebp - 0x464]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4bf4b0
jmp 0x4bf602
mov ecx, dword [ebp - 0x470]
mov eax, dword [ebp - 0x45c]
mov byte [ebp - 0x469], 1
mov dword [ecx], eax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x224]
cmp edx, 0x10
jb 0x4bf643
mov ecx, dword [ebp - 0x238]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4bf639
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bf6b5
push edx
push ecx
call fcn.0066c54d
add esp, 8
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0xf
mov byte [ebp - 0x238], 0
cmp edx, 0x10
jb 0x4bf68e
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4bf684
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bf6b5
push edx
push ecx
call fcn.0066c54d
add esp, 8
mov al, byte [ebp - 0x469]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0066c50c
mov esp, ebp
pop ebp
ret
call fcn.004aa7e0
call fcn.0068bce4
int3