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

Disassembly:
sub esp, 0x150
mov eax, dword [0x4260d0]
xor eax, esp
mov dword [esp + 0x14c], eax
fldz
push ebx
push ebp
fst qword [esp + 0x24]
push esi
xor eax, eax
mov word [esp + 0x14], ax
fstp qword [esp + 0x1c]
push edi
xor ebx, ebx
mov dword [esp + 0x14], ebx
push 0x104
mov dword [esp + 0x20], ebx
call fcn.0040b343
add esp, 4
push ebx
push 2
mov edi, eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov cx, word [esp + 0x18]
mov esi, eax
mov eax, dword [0x4248cc]
movsx edx, cx
mov ecx, dword [0x424af8]
add eax, edx
add ecx, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x28], esi
lea ebp, [ebx + 1]
fild dword [esp + 0x10]
fld qword [esp + 0x20]
fsubr qword [0x41f448]
fcompp
fnstsw ax
fld qword [esp + 0x20]
fld1
fadd st(1), st(0)
fxch st(1)
fstp qword [esp + 0x20]
test ah, 0x41
jp 0x40218e
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fld qword [esp + 0x20]
fsub qword [0x41f440]
fsubp st(1)
call fcn.0040b210
mov dword [esp + 0x14], eax
fsubr qword [esp + 0x20]
fstp qword [esp + 0x20]
jmp 0x4021ef
mov ax, word [0x4248e4]
fstp st(0)
mov edx, dword [esp + 0x14]
cwde
add edx, eax
mov eax, dword [0x425f54]
add dword [0x425f54], ebp
mov ecx, 0xe5ed4bba
sub ecx, eax
mov eax, ecx
or ecx, 0xffffffff
add word [0x4248e4], cx
cmp edx, eax
je 0x4021ef
movzx edx, word [0x424a24]
movsx eax, dx
movzx edx, word [0x423158]
movsx edx, dx
lea eax, [edx + eax - 0x167c9de4]
mov edx, dword [0x423870]
add edx, eax
mov word [0x423158], dx
add dword [0x423870], ecx
cmp esi, ebx
je 0x4023bb
lea eax, [esp + 0x34]
push eax
push esi
mov dword [esp + 0x3c], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4023b4
mov ebx, edi
lea ecx, [esp + 0x58]
sub ebx, ecx
lea ebx, [ebx]
mov edx, dword [esp + 0x14]
mov eax, 0x964576f9
sub eax, edx
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fadd qword [esp + 0x2c]
call fcn.0040b210
mov dword [0x42488c], eax
add dword [esp + 0x14], ebp
lea eax, [esp + 0x58]
lea esp, [esp]
mov cl, byte [eax]
mov byte [ebx + eax], cl
add eax, ebp
test cl, cl
jne 0x402250
mov cx, word [0x425f00]
mov edx, dword [esp + 0x14]
movsx eax, cx
sub eax, edx
add eax, 0x4d4c90ae
mov word [0x425f00], ax
push edi
call fcn.0041e3b3
mov ax, word [esp + 0x1c]
movsx ecx, ax
mov edx, 0xc47f10fb
add esp, 4
sub edx, ecx
mov ecx, dword [esp + 0x164]
mov dword [esp + 0x10], edx
mov eax, edi
fild dword [esp + 0x10]
fstp dword [0x425eb4]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4022c5
test dl, dl
je 0x4022c1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4022c5
add eax, 2
add ecx, 2
test dl, dl
jne 0x4022a5
xor eax, eax
jmp 0x4022ca
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40236c
cmp dword [esp + 0x168], eax
je 0x4023b0
mov eax, dword [esp + 0x3c]
push eax
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x402322
mov cx, word [0x424a24]
movzx edx, word [esp + 0x18]
add dword [esp + 0x1c], ebp
movsx eax, cx
sub eax, edx
push 0xffffffffffffffff
mov word [0x424a24], ax
dec dword [esp + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
fld dword [0x4258c4]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x28]
add eax, 0x2489fb68
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fld qword [0x424a60]
dec dword [esp + 0x14]
fsubp st(2)
fucompp
fnstsw ax
test ah, 0x44
jnp 0x40236c
fld qword [esp + 0x2c]
fadd qword [0x41f348]
fstp qword [esp + 0x2c]
fld qword [esp + 0x2c]
fmul qword [esp + 0x20]
fstp qword [esp + 0x20]
add dword [esp + 0x18], ebp
mov cx, word [esp + 0x18]
movsx edx, cx
mov eax, 0xf4609ef3
sub eax, edx
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x34]
push ecx
fild dword [esp + 0x14]
push esi
fadd dword [0x425dc4]
mov dword [esp + 0x3c], 0x128
fstp dword [0x425dc4]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x402220
jmp 0x4023b4
add dword [esp + 0x1c], ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.0040b07b
mov ecx, dword [esp + 0x160]
mov eax, dword [esp + 0x20]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040b775
add esp, 0x150
ret