Function at 0x47ecf4
Capabilities:
Enumerate processes
Get number of processors
Terminate process
Terminate process by name

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c6506
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x4f06b4]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push esi
push edi
mov eax, dword [0x4f06b4]
xor eax, esp
push eax
lea eax, [esp + 0x288]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
mov dword [esp + 0x48], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor esi, esi
mov dword [esp + 0x40], eax
mov dword [esp + 0x38], esi
call fcn.0048081b
mov dword [esp + 0x34], eax
mov dword [eax], eax
mov eax, dword [esp + 0x34]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x34]
mov dword [eax + 8], eax
mov eax, dword [esp + 0x34]
mov byte [eax + 0x10], 1
mov eax, dword [esp + 0x34]
mov byte [eax + 0x11], 1
mov dword [esp + 0x290], esi
call fcn.0047e572
mov dword [esp + 0x44], eax
mov dword [esp + 0x14], esi
push 0
push 2
mov byte [esp + 0x1b], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
je 0x47eee4
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x1c]
mov dword [esp + 0x54], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x47eeb1
mov ecx, dword [edi]
mov eax, dword [edi + 4]
sub eax, ecx
push 0x1c
cdq
pop ebx
idiv ebx
xor esi, esi
test eax, eax
jle 0x47eea2
and dword [esp + 0x1c], esi
add ecx, dword [esp + 0x1c]
cmp dword [ecx + 0x14], 8
jb 0x47ede9
mov ecx, dword [ecx]
push ecx
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x47ee03
mov eax, dword [esp + 0x40]
cmp eax, dword [esp + 0x54]
jne 0x47ee1f
mov ecx, dword [edi]
mov eax, dword [edi + 4]
sub eax, ecx
push 0x1c
cdq
pop ebx
idiv ebx
add dword [esp + 0x1c], 0x1c
inc esi
cmp esi, eax
jl 0x47eddd
jmp 0x47eea2
mov ecx, dword [esp + 0x48]
xor ebx, ebx
cmp ecx, ebx
je 0x47ee38
imul esi, esi, 0x1c
add esi, dword [edi]
push 0xffffffffffffffff
push ebx
mov eax, esi
call fcn.0040a347
push dword [esp + 0x54]
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [esp + 0x1c], esi
cmp esi, ebx
je 0x47eea2
push esi
call fcn.0047e545
pop ecx
cmp eax, dword [esp + 0x44]
je 0x47eea2
mov ecx, dword [0x4f5464]
lea eax, [esp + 0x70]
push eax
push dword [esp + 0x18]
mov byte [esp + 0x1b], 1
push str.TerminateProcess__d_:__s
push ebx
call fcn.0047b708
add esp, 0x10
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea eax, [esp + 0x1c]
push eax
lea esi, [esp + 0x34]
call fcn.00480f3a
push eax
mov eax, esi
push eax
lea esi, [esp + 0x28]
call fcn.00480b3d
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x47edc2
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esp + 0x13], 0
je 0x47eee4
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 0xc9
jl 0x47ed8a
xor esi, esi
cmp dword [esp + 0x38], esi
je 0x47efe7
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov byte [esp + 0x290], 1
mov eax, dword [esp + 0x34]
mov edi, dword [eax]
mov dword [esp + 0x18], edi
cmp edi, eax
je 0x47ef7f
add edi, 0xc
cmp edi, esi
jae 0x47ef46
cmp ebx, edi
ja 0x47ef46
sub edi, ebx
sar edi, 2
cmp esi, dword [esp + 0x28]
jne 0x47ef3b
lea eax, [esp + 0x20]
call fcn.00495597
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
lea eax, [ebx + edi*4]
test esi, esi
je 0x47ef65
mov eax, dword [eax]
jmp 0x47ef63
cmp esi, dword [esp + 0x28]
jne 0x47ef5d
lea eax, [esp + 0x20]
call fcn.00495597
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
test esi, esi
je 0x47ef65
mov eax, dword [edi]
mov dword [esi], eax
add esi, 4
lea eax, [esp + 0x18]
mov dword [esp + 0x24], esi
call fcn.0047f94c
mov edi, dword [esp + 0x18]
cmp edi, dword [esp + 0x34]
jne 0x47ef14
push 0x3e8
mov edi, esi
push 1
sub edi, ebx
push ebx
sar edi, 2
push edi
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
call dword [sym.imp.KERNEL32.dll_GetLastError]
and dword [esp + 0x14], 0
test edi, edi
je 0x47efd4
mov eax, dword [esp + 0x14]
push dword [ebx + eax*4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, esi
je 0x47efc3
push 0
push esi
push ebx
call fcn.004a5a30
add esp, 0xc
mov esi, ebx
inc dword [esp + 0x14]
mov eax, esi
sub eax, ebx
sar eax, 2
cmp dword [esp + 0x14], eax
jb 0x47efa4
mov byte [esp + 0x290], 0
test ebx, ebx
je 0x47efe7
push ebx
call fcn.004a5452
pop ecx
movzx eax, byte [esp + 0x13]
mov ecx, dword [0x4f5464]
push eax
push str.TerminateProcess_Return_Value_bFoundAndTryKill_:__d
push 0
call fcn.0047b68e
add esp, 0xc
cmp byte [esp + 0x13], 0
lea eax, [esp + 0x30]
sete bl
or dword [esp + 0x290], 0xffffffff
push eax
call fcn.0047f906
mov al, bl
mov ecx, dword [esp + 0x288]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.004a545d
mov esp, ebp
pop ebp
ret