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

Disassembly:
sub esp, 0x148
mov eax, dword [0x425fd0]
xor eax, esp
mov dword [esp + 0x144], eax
fldz
push ebx
fst qword [esp + 8]
push ebp
fldz
push esi
fstp dword [esp + 0x1c]
xor ebp, ebp
push 0x104
mov dword [esp + 0x10], ebp
fstp qword [esp + 0x24]
call fcn.0040b267
add esp, 4
push ebp
push 2
mov ebx, eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 0x18], esi
cmp esi, ebp
je 0x402f6c
lea eax, [esp + 0x28]
push eax
push esi
mov dword [esp + 0x30], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x402f47
push edi
mov edi, ebx
lea ecx, [esp + 0x50]
sub edi, ecx
jmp 0x402cd0
fld dword [esp + 0x20]
fsub qword [0x41f550]
fsub qword [0x41f548]
fcomp qword [0x41f540]
fnstsw ax
test ah, 0x44
jp 0x402d17
fld dword [0x424094]
fsub qword [0x41f538]
fadd qword [0x4241d8]
fstp qword [0x4241d8]
fld dword [0x424094]
fsub qword [0x41f348]
fstp dword [0x424094]
lea eax, [esp + 0x50]
jmp 0x402d20
mov cl, byte [eax]
mov byte [edi + eax], cl
inc eax
test cl, cl
jne 0x402d20
push ebx
call fcn.0041e391
mov ecx, dword [esp + 0x160]
add esp, 4
mov eax, ebx
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x402d60
test dl, dl
je 0x402d5c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x402d60
add eax, 2
add ecx, 2
test dl, dl
jne 0x402d40
xor eax, eax
jmp 0x402d65
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x402eb1
cmp dword [esp + 0x160], eax
je 0x402ef2
mov edx, dword [esp + 0x34]
push edx
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x402eb1
mov ax, word [0x424158]
mov ecx, dword [esp + 0x10]
cwde
imul ecx, eax
push 0xffffffffffffffff
mov word [0x424158], cx
push esi
inc ebp
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
fld dword [0x424164]
fadd qword [0x41f530]
fsub qword [esp + 0x14]
fcomp qword [0x41f528]
fnstsw ax
fld dword [0x424164]
fadd qword [0x41f348]
fstp dword [0x424164]
test ah, 0x44
jnp 0x402dec
fld qword [0x41f520]
fstp qword [0x4242d0]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
fld qword [esp + 0x24]
fsubr qword [0x41f518]
fcomp qword [0x41f510]
fnstsw ax
test ah, 0x44
jnp 0x402eb1
fld qword [0x4240a0]
fld1
fsub st(1), st(0)
fxch st(1)
fstp qword [0x4240a0]
fld qword [0x4240a0]
fsub qword [0x41f508]
fsub dword [esp + 0x20]
fld qword [esp + 0x14]
fadd qword [0x41f500]
fsubr qword [0x41f4f8]
fcompp
fnstsw ax
fld qword [esp + 0x14]
fadd st(1)
fstp qword [esp + 0x14]
test ah, 1
jne 0x402ea1
mov dx, word [0x425eb8]
movsx eax, dx
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fld qword [esp + 0x24]
mov cx, word [0x4232d4]
fadd qword [0x41f4f0]
movsx edx, cx
mov dword [esp + 0x14], edx
fsubp st(1)
fild dword [esp + 0x14]
fmulp st(1)
call fcn.0040b060
mov word [0x4232d4], ax
inc word [0x425eb8]
fadd qword [esp + 0x24]
fstp qword [esp + 0x24]
jmp 0x402eb1
mov eax, dword [esp + 0x10]
fstp st(0)
imul eax, eax, 0xa1b2a980
mov dword [esp + 0x10], eax
fld qword [0x424380]
mov ecx, dword [0x423380]
fsub qword [0x41f4e8]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
lea edx, [esp + 0x2c]
push edx
push esi
fsubp st(1)
mov dword [esp + 0x34], 0x128
fstp qword [esp + 0x1c]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x402cd0
jmp 0x402f46
fld qword [esp + 0x24]
inc ebp
fadd qword [0x41f348]
fstp qword [esp + 0x24]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fld qword [esp + 0x24]
fsub qword [0x41f4e0]
fadd dword [esp + 0x20]
fucompp
fnstsw ax
test ah, 0x44
jp 0x402f38
fld qword [0x4232c8]
fsub qword [0x41f4d8]
fstp qword [0x4232c8]
jmp 0x402f46
fld dword [esp + 0x20]
fmul qword [0x41f4d0]
fstp dword [esp + 0x20]
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
fld qword [0x423080]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
fsubp st(1)
fstp qword [0x423080]
inc dword [esp + 0xc]
push ebx
call fcn.0040b18a
mov ecx, dword [esp + 0x154]
add esp, 4
pop esi
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.0040b6e4
add esp, 0x148
ret