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

Disassembly:
sub esp, 0x148
mov eax, dword [0x426020]
xor eax, esp
mov dword [esp + 0x144], eax
fldz
push ebx
push esi
xor eax, eax
mov word [esp + 0x10], ax
xor ebx, ebx
xor ecx, ecx
push edi
mov dword [esp + 0x10], ebx
mov word [esp + 0xc], cx
fstp dword [esp + 0x1c]
push 0x104
mov dword [esp + 0x1c], ebx
call fcn.0040b2a8
add esp, 4
push ebx
mov esi, eax
push 2
mov dword [esp + 0x2c], esi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [esp + 0x20], edi
cmp edi, ebx
je 0x401422
mov edx, 0xffffa1ae
mov word [esp + 0xc], dx
fld dword [esp + 0x1c]
fsub qword [0x41f378]
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x2c], 0x128
push edi
fstp dword [esp + 0x24]
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x40141b
mov ebx, esi
lea ecx, [esp + 0x4c]
push ebp
sub ebx, ecx
mov ebp, 1
or edi, 0xffffffff
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fadd qword [0x423760]
mov eax, dword [0x425ad0]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmulp st(1)
call fcn.0040b410
mov dword [0x425ad0], eax
fld qword [0x423760]
fadd qword [0x41f370]
lea eax, [esp + 0x50]
fstp qword [0x423760]
add dword [esp + 0x14], ebp
mov cl, byte [eax]
mov byte [ebx + eax], cl
add eax, ebp
test cl, cl
jne 0x401257
push esi
call fcn.0041e513
movzx ecx, word [esp + 0x1c]
add esp, 4
add ecx, 0x32eadade
mov word [esp + 0x18], cx
mov ecx, dword [esp + 0x15c]
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4012a4
test dl, dl
je 0x4012a0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4012a4
add eax, 2
add ecx, 2
test dl, dl
jne 0x401284
xor eax, eax
jmp 0x4012a8
sbb eax, eax
sbb eax, edi
test eax, eax
jne 0x40133a
cmp dword [esp + 0x160], eax
je 0x4013fc
mov edx, dword [esp + 0x34]
push edx
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x401336
mov eax, dword [esp + 0x14]
add dword [esp + 0x1c], ebp
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
push edi
push esi
fmul qword [0x424e78]
fstp qword [0x424e78]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add dword [esp + 0x14], edi
mov ecx, dword [esp + 0x14]
add ecx, 0xacecb64
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fld dword [0x42324c]
fsub qword [0x41f368]
fcompp
fnstsw ax
test ah, 1
jne 0x401336
movzx edx, word [esp + 0x18]
sub edx, 0x2b6fd1e
mov word [esp + 0x18], dx
mov esi, dword [esp + 0x28]
mov dword [esp + 0x2c], 0x128
add dword [0x425e04], edi
mov ax, word [esp + 0x18]
mov edx, dword [esp + 0x14]
movsx ecx, ax
lea eax, [ecx + edx + 0x3672188c]
mov ecx, dword [0x425e04]
add dword [esp + 0x18], edi
mov edx, 0x2d07b1be
sub edx, ecx
cmp eax, edx
jl 0x4013c9
mov eax, dword [0x424290]
add dword [0x424290], edi
add eax, 0x5553a118
cmp eax, 0xc3e1476e
jne 0x4013b5
fld qword [0x425a70]
mov ecx, dword [0x42320c]
fsub qword [0x41f360]
mov dword [esp + 0x10], ecx
fsub qword [0x41f358]
fild dword [esp + 0x10]
fmulp st(1)
call fcn.0040b410
mov dword [0x42320c], eax
jmp 0x4013e3
mov edx, dword [0x423e94]
imul edx, edx, 0xa8991e2a
mov dword [0x423e94], edx
jmp 0x4013e3
fld qword [0x4231e8]
fadd qword [0x41f350]
fadd qword [0x41f348]
fmul dword [esp + 0x20]
fstp dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x2c]
push eax
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x401212
jmp 0x401416
fld qword [0x425ef0]
fadd qword [0x41f340]
call fcn.0040b410
add dword [esp + 0x1c], ebp
mov word [esp + 0x18], ax
mov edi, dword [esp + 0x24]
pop ebp
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.0040b1cb
mov ecx, dword [esp + 0x154]
mov eax, dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040b3f6
add esp, 0x148
ret