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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44c566
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x458
mov eax, dword [0x46420c]
push ebx
push esi
mov dword [esp + 0x458], eax
mov eax, dword [ebp + 8]
push edi
push eax
lea ecx, [esp + 0x18]
call fcn.004028f0
xor ebx, ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x46c], ebx
call fcn.00402570
push ebx
xor eax, eax
mov dword [esp + 0x24], ebx
mov ecx, 0x8a
lea edi, [esp + 0x28]
push 2
mov dword [esp + 0x24], ebx
rep stosd dword es:[edi], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x18], esi
je 0x409af9
lea eax, [esp + 0x20]
push eax
push esi
mov dword [esp + 0x28], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x409aef
jmp 0x409960
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x254]
push 0x44fd08
push edx
call fcn.0042b87a
add esp, 0xc
lea eax, [esp + 0x250]
push eax
lea ecx, [esp + 0x14]
call fcn.004028f0
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 4]
mov esi, dword [edx - 0xc]
mov edi, 1
mov ecx, edi
sub ecx, eax
mov eax, dword [edx - 8]
sub eax, esi
or eax, ecx
mov byte [esp + 0x46c], 1
jge 0x4099bd
push esi
lea ecx, [esp + 0x14]
call fcn.004022f0
mov edx, dword [esp + 0x10]
push edx
call fcn.0042b8e9
add esp, 4
cmp esi, ebx
jl 0x409ae5
mov eax, dword [esp + 0x10]
cmp esi, dword [eax - 8]
jg 0x409ae5
mov dword [eax - 0xc], esi
mov ecx, dword [esp + 0x10]
mov word [ecx + esi*2], bx
mov eax, dword [esp + 0x10]
cmp dword [eax - 4], edi
jle 0x4099fc
mov edx, dword [eax - 0xc]
push edx
lea ecx, [esp + 0x14]
call fcn.004021d0
mov eax, dword [esp + 0x14]
cmp dword [eax - 4], edi
jle 0x409a16
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0x18]
call fcn.004021d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push ecx
push eax
call fcn.0042bea1
add esp, 8
test eax, eax
mov eax, dword [esp + 0x10]
mov byte [esp + 0x46c], bl
je 0x409ac1
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409a51
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x409960
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x1c]
push eax
push edi
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, ebx
je 0x409af9
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x409af9
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x46c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409abd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, edi
jmp 0x409b24
mov edx, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x1c], edx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409a68
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x409a68
push 0x80070057
call fcn.00402100
mov edi, 1
jmp 0x409a6c
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x46c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409b22
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov ecx, dword [esp + 0x464]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x45c]
call fcn.0042b3a1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4