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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68bd73
mov eax, dword fs:[0]
push eax
sub esp, 0x47c
mov eax, dword [0x7851cc]
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.0063d140
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 0x47b88c
push 0x100
lea eax, [ebp - 0x338]
push 0
push eax
call fcn.0063d140
add esp, 0xc
mov ecx, 0x6d4f44
movzx eax, byte [ecx]
inc ecx
mov byte [ebp + eax - 0x338], 1
cmp ecx, 0x6d4f46
jne 0x47b7a3
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 0x47b7e9
cmp ecx, esi
je 0x47b88c
movzx eax, byte [ecx - 1]
dec ecx
cmp byte [ebp + eax - 0x338], 0
je 0x47b7d2
sub ecx, esi
cmp ecx, 0xffffffff
je 0x47b88c
lea edx, [ecx + 1]
mov dword [ebp - 0x478], 0
mov dword [ebp - 0x474], 0xf
mov byte [ebp - 0x488], 0
cmp edi, edx
jb 0x47bb50
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.0045e120
lea eax, [ebp - 0x488]
push eax
lea ecx, [ebp - 0x238]
call fcn.0045f450
mov edx, dword [ebp - 0x474]
cmp edx, 0x10
jb 0x47b8a3
mov ecx, dword [ebp - 0x488]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x47b880
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47bb55
push edx
push ecx
call fcn.0062706d
add esp, 8
jmp 0x47b8a3
cmp ebx, 0x10
lea eax, [ebp + 8]
push edi
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0x238]
push eax
call fcn.0045e120
cmp byte [ebp + 0x24], 0
push 3
jne 0x47b8ce
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 0x47b8df
lea eax, [ebp - 0x338]
mov dword [ebp - 0x33c], eax
push str.explorer.exe
lea ecx, [ebp - 0x33c]
call fcn.00476440
push dword [ebp - 0x33c]
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00652efb
mov eax, dword [ebp - 0x33c]
lea ecx, [ebp - 0x338]
add esp, 0xc
cmp eax, ecx
je 0x47b91d
push eax
call fcn.00651bd0
add esp, 4
push 0
push 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x47baa9
lea eax, [ebp - 0x464]
mov dword [ebp - 0x464], 0x22c
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x47baa2
lea ecx, [ebp - 0x218]
lea eax, [ebp - 0x440]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47b986
test dx, dx
je 0x47b982
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47b986
add eax, 4
add ecx, 4
test dx, dx
jne 0x47b960
xor eax, eax
jmp 0x47b98b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x47ba76
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 0x47ba76
cmp dword [ebp - 0x21c], 0xffffffff
je 0x47ba76
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 0x47ba1f
mov edx, dword [ebp - 0x21c]
xor eax, eax
mov esi, dword [ebp - 0x468]
test edx, edx
je 0x47ba19
lea ecx, [esi + 8]
cmp dword [ecx], 0
je 0x47ba13
inc eax
add ecx, 0xc
cmp eax, edx
jb 0x47ba04
jmp 0x47ba19
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 0x47ba76
cmp byte [ebp + 0x24], 0
jne 0x47ba8d
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.0044cc50
push dword [ebp - 0x45c]
call fcn.0047c850
add esp, 0x1c
test al, al
jne 0x47ba8d
lea eax, [ebp - 0x464]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x47b950
jmp 0x47baa2
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 0x47bae3
mov ecx, dword [ebp - 0x238]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x47bad9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47bb55
push edx
push ecx
call fcn.0062706d
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 0x47bb2e
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x47bb24
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47bb55
push edx
push ecx
call fcn.0062706d
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.0062702c
mov esp, ebp
pop ebp
ret
call fcn.00469510
call fcn.00646804
int3