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

Disassembly:
sub esp, 0x144
mov eax, dword [0x425fa0]
xor eax, esp
mov dword [esp + 0x140], eax
fldz
push ebx
push ebp
xor eax, eax
mov word [esp + 0x18], ax
xor ecx, ecx
mov word [esp + 8], cx
fstp qword [esp + 0x10]
push esi
xor ebp, ebp
push 0x104
mov dword [esp + 0x14], ebp
call fcn.0040b068
add esp, 4
push ebp
push 2
mov ebx, eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 0x20], esi
cmp esi, ebp
je 0x401b8a
fld qword [0x4255c0]
lea edx, [esp + 0x24]
fmul qword [0x41f3d8]
push edx
mov dword [esp + 0x28], 0x128
push esi
fstp qword [0x4255c0]
call sub.KERNEL32.dll_Process32First
mov ecx, dword [0x4231c4]
imul ecx, ecx, 0xfa333f2c
mov dword [0x4231c4], ecx
cmp eax, ebp
je 0x401ae4
push edi
mov edi, ebx
lea edx, [esp + 0x4c]
sub edi, edx
mov edi, edi
lea eax, [esp + 0x4c]
mov cl, byte [eax]
mov byte [edi + eax], cl
inc eax
test cl, cl
jne 0x4019c4
push ebx
call fcn.0041e2d3
mov ecx, dword [esp + 0x15c]
add esp, 4
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x401a00
test dl, dl
je 0x4019fc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x401a00
add eax, 2
add ecx, 2
test dl, dl
jne 0x4019e0
xor eax, eax
jmp 0x401a05
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x401ac5
fld qword [esp + 0x18]
fadd qword [0x41f3d0]
fmul dword [0x424684]
fstp dword [0x424684]
cmp dword [esp + 0x15c], eax
je 0x401ae2
mov eax, dword [esp + 0x30]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
fld qword [esp + 0x18]
fld1
mov esi, eax
fsub st(1), st(0)
fxch st(1)
fstp qword [esp + 0x18]
fld qword [0x425e30]
fadd st(1)
fstp qword [0x425e30]
mov cx, word [0x4247d0]
movsx edx, cx
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fsub qword [esp + 0x18]
fld qword [esp + 0x18]
fsub qword [0x425e30]
fadd qword [0x41f3c8]
fcompp
fnstsw ax
fsubr qword [esp + 0x18]
fstp qword [esp + 0x18]
test ah, 0x41
jne 0x401aac
dec dword [0x4246b8]
movzx eax, word [esp + 0x10]
mov ecx, dword [0x4246b8]
sub eax, ecx
mov word [esp + 0x10], ax
test esi, esi
je 0x401ac1
push 0xffffffffffffffff
push esi
inc ebp
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x24]
lea edx, [esp + 0x28]
push edx
push esi
mov dword [esp + 0x30], 0x128
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4019c0
jmp 0x401ae3
inc ebp
pop edi
inc dword [0x4247c8]
mov eax, dword [0x423b40]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fadd qword [0x425c80]
mov cx, word [0x423180]
mov edx, dword [0x4247c8]
movsx eax, cx
fadd qword [0x41f3c0]
lea eax, [edx + eax + 0x60fbffcf]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fcompp
fnstsw ax
fld qword [0x425c80]
fld1
fadd st(1), st(0)
fxch st(1)
fstp qword [0x425c80]
test ah, 0x41
jne 0x401b81
fld qword [0x425d70]
fsub qword [0x425680]
fld qword [esp + 0x14]
fsubr qword [0x41f3b8]
fucompp
fnstsw ax
fadd qword [0x425d70]
fstp qword [0x425d70]
test ah, 0x44
jnp 0x401b83
movzx ecx, word [esp + 0xc]
movzx edx, word [esp + 0x1c]
sub ecx, edx
sub ecx, 0xc2e58c5
mov word [esp + 0xc], cx
jmp 0x401b83
fstp st(0)
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call fcn.0040af8b
mov ecx, dword [esp + 0x150]
add esp, 4
pop esi
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.0040b65a
add esp, 0x144
ret