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

Disassembly:
push 0xffffffffffffffff
push 0x426ab3
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x431c44]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x431c44]
xor eax, esp
push eax
lea eax, [esp + 0x14c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x154], ebx
call fcn.00406171
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x401b7e
push 0x80004005
call fcn.00401850
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
push ebx
mov byte [esp + 0x158], 1
push 2
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x401c16
push 0x42ba68
call fcn.0041129d
lea eax, [esi - 0x10]
add esp, 4
mov byte [esp + 0x154], bl
lea ecx, [eax + 0xc]
or edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401be0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x154], 0xffffffff
mov eax, dword [esp + 0x15c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401c0e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
or eax, 0xffffffff
jmp 0x401db9
lea ecx, [esp + 0x1c]
push ecx
push ebp
call sub.KERNEL32.dll_Process32First
cmp eax, ebx
je 0x401d5d
lea esp, [esp]
lea eax, [esp + 0x40]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x401c37
sub eax, edx
push eax
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x1c]
call fcn.004042a0
mov edx, dword [esp + 0x15c]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x401c7e
push esi
lea ecx, [esp + 0x160]
call fcn.00404340
mov edx, dword [esp + 0x15c]
lea eax, [esi + 1]
push eax
push edx
call fcn.00411746
push eax
call fcn.004017c0
add esp, 0xc
cmp esi, ebx
jl 0x401de1
mov eax, dword [esp + 0x15c]
cmp esi, dword [eax - 8]
jg 0x401de1
mov dword [eax - 0xc], esi
mov ecx, dword [esp + 0x15c]
mov byte [esi + ecx], bl
mov esi, dword [esp + 0x14]
mov edi, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x401cdc
push edi
lea ecx, [esp + 0x18]
call fcn.00404340
mov esi, dword [esp + 0x14]
lea edx, [edi + 1]
push edx
push esi
call fcn.00411746
push eax
call fcn.004017c0
add esp, 0xc
cmp edi, ebx
jl 0x401de1
cmp edi, dword [esi - 8]
jg 0x401de1
mov dword [esi - 0xc], edi
mov byte [edi + esi], bl
mov eax, dword [esp + 0x15c]
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x401b74
push eax
push esi
call fcn.0041215c
add esp, 8
cmp eax, ebx
sete al
cmp al, bl
je 0x401d4a
mov eax, dword [esp + 0x24]
push eax
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 4
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
inc dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push ebp
call sub.KERNEL32.dll_Process32Next
cmp eax, ebx
jne 0x401c30
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi - 0x10]
mov byte [esp + 0x154], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x401d87
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x154], 0xffffffff
mov eax, dword [esp + 0x15c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401db5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.0041128e
add esp, 0x144
ret
push 0x80070057
call fcn.00401850
int3