Function at 0x10002610
Capabilities:
Enumerate processes
Terminate process
Terminate process by name

Disassembly:
push 0xffffffffffffffff
push 0x1000d67c
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x10015070]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10015070]
xor eax, esp
push eax
lea eax, [esp + 0x158]
mov dword fs:[0], eax
mov ebp, ecx
push 0
push 2
mov byte [esp + 0x23], 0
mov dword [esp + 0x34], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [esp + 0x24], ebx
cmp ebx, 0xffffffff
je 0x100028ae
lea eax, [esp + 0x2c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x100028a7
lea ebx, [esp + 0x50]
shr ebx, 0x10
mov dword [esp + 0x28], ebx
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x20], edi
mov dword [esp + 0x160], 0
lea eax, [esp + 0x50]
test ebx, ebx
jne 0x100026d5
movzx esi, ax
mov ecx, esi
call fcn.10003480
test eax, eax
je 0x100026f1
push esi
push eax
lea ecx, [esp + 0x28]
call fcn.10002f00
jmp 0x100026ed
push eax
call fcn.10005db0
add esp, 4
lea ecx, [esp + 0x20]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.10003180
mov edi, dword [esp + 0x20]
mov dword [esp + 0x160], 1
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
mov byte [esp + 0x160], 2
test ebp, ebp
je 0x1000274a
test ebp, 0xffff0000
jne 0x1000273f
movzx ebx, bp
mov ecx, ebx
call fcn.10003480
test eax, eax
je 0x1000275b
push ebx
push eax
lea ecx, [esp + 0x24]
call fcn.10002f00
jmp 0x10002757
push ebp
call fcn.10005db0
add esp, 4
jmp 0x1000274c
xor eax, eax
push eax
push ebp
lea ecx, [esp + 0x24]
call fcn.10003180
mov esi, dword [esp + 0x1c]
mov byte [esp + 0x160], 3
mov ebx, dword [edi - 0xc]
test ebx, ebx
js 0x1000289d
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, ebx
or eax, ecx
jge 0x1000278d
push ebx
lea ecx, [esp + 0x24]
call fcn.10002fc0
mov edi, dword [esp + 0x20]
lea eax, [ebx + 1]
push eax
push edi
call fcn.100062ca
push eax
call fcn.100035a0
add esp, 0xc
cmp ebx, dword [edi - 8]
jg 0x1000289d
mov dword [edi - 0xc], ebx
mov byte [ebx + edi], 0
mov ebx, dword [esi - 0xc]
test ebx, ebx
js 0x1000289d
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x100027da
push ebx
lea ecx, [esp + 0x20]
call fcn.10002fc0
mov esi, dword [esp + 0x1c]
lea eax, [ebx + 1]
push eax
push esi
call fcn.100062ca
push eax
call fcn.100035a0
add esp, 0xc
cmp ebx, dword [esi - 8]
jg 0x1000289d
push esi
mov dword [esi - 0xc], ebx
push edi
mov byte [ebx + esi], 0
call fcn.100063d6
add esp, 8
test eax, eax
sete al
test al, al
je 0x10002838
push dword [esp + 0x34]
push 0
push 0x401
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0x1b], 1
add esi, 0xfffffff0
mov byte [esp + 0x160], 1
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1000285a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov dword [esp + 0x160], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1000287f
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [esp + 0x24]
lea eax, [esp + 0x2c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
jne 0x100028a7
mov ebx, dword [esp + 0x28]
jmp 0x10002693
push 0x80070057
call fcn.10003640
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [esp + 0x1b]
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.1000398b
add esp, 0x150
ret