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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54ff4e
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
mov eax, dword [0x5932e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x148], edi
xor eax, eax
push eax
push 2
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x144], eax
mov byte [ebp - 0x13a], al
call dword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
mov dword [ebp - 0x14c], eax
cmp eax, 0xffffffff
je 0x40e289
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x138], 0x128
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_Process32First]
test eax, eax
je 0x40e289
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x164], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40de86
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x164]
call fcn.00409ab0
cmp dword [edi + 0x118], 0x10
lea ebx, [edi + 0x104]
mov ecx, ebx
jb 0x40deb5
mov ecx, dword [ebx]
push dword [ebx + 0x10]
cmp dword [ebp - 0x150], 0x10
lea eax, [ebp - 0x164]
mov esi, dword [ebp - 0x164]
push ecx
push dword [ebp - 0x154]
cmovae eax, esi
push eax
call fcn.0042a3f0
mov byte [ebp - 0x139], al
add esp, 0x10
mov eax, dword [ebp - 0x150]
cmp eax, 0x10
jb 0x40df1a
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x40df10
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e2e6
push ecx
push esi
call fcn.005150f8
add esp, 8
cmp byte [ebp - 0x139], 0
jne 0x40e27d
lea eax, [ebp - 0x138]
push eax
push dword [ebp - 0x14c]
call dword [sym.imp.KERNEL32.DLL_Process32Next]
test eax, eax
je 0x40e27d
nop dword [eax]
nop word [eax + eax]
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x164], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40df74
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x164]
call fcn.00409ab0
cmp dword [ebx + 0x14], 0x10
mov ecx, ebx
jb 0x40df9a
mov ecx, dword [ebx]
push dword [edi + 0x114]
mov ebx, dword [ebp - 0x150]
lea eax, [ebp - 0x164]
mov esi, dword [ebp - 0x164]
cmp ebx, 0x10
push ecx
push dword [ebp - 0x154]
cmovae eax, esi
push eax
call fcn.0042a3f0
add esp, 0x10
mov byte [ebp - 0x139], al
cmp ebx, 0x10
jb 0x40e004
lea ecx, [ebx + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x40dff4
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e2e6
push ecx
push esi
call fcn.005150f8
mov al, byte [ebp - 0x139]
add esp, 8
test al, al
je 0x40e25b
mov edi, dword [ebp - 0x130]
push 0x30
call fcn.00514e2e
mov ebx, eax
mov dword [ebp - 0x180], ebx
push 0x30
push 0
push ebx
mov dword [ebp - 4], 0
call fcn.00517340
add esp, 0x10
mov dword [ebx + 0x2c], 0
mov byte [ebp - 4], 1
push 0x573298
mov dword [ebx + 4], edi
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
test eax, eax
jne 0x40e056
xor edi, edi
jmp 0x40e080
push str.OpenProcess
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x40e06c
xor edi, edi
jmp 0x40e080
push edi
push 0
push 0x100001
mov ecx, esi
call dword [0x55d39c]
call esi
mov edi, eax
mov dword [ebx], edi
mov dword [ebp - 4], 2
lea edx, [ebx + 8]
mov eax, dword [edx + 0x24]
mov dword [ebp - 0x144], eax
test eax, eax
je 0x40e0be
mov ecx, dword [eax]
cmp eax, edx
setne al
movzx eax, al
mov esi, dword [ecx + 0x10]
mov ecx, esi
push eax
call dword [0x55d39c]
mov ecx, dword [ebp - 0x144]
call esi
mov dword [ebx + 0x2c], 0
push 0x30
push ebx
mov dword [ebp - 4], 0xffffffff
call fcn.005150f8
add esp, 8
test edi, edi
jne 0x40e185
push 7
push 0x57016c
lea ecx, [ebp - 0x17c]
mov dword [ebp - 0x16c], edi
mov dword [ebp - 0x168], 0xf
mov byte [ebp - 0x17c], 0
call fcn.00409ab0
mov edi, dword [ebp - 0x148]
lea ecx, [ebp - 0x164]
mov dword [ebp - 4], 3
lea eax, [edi + 0x1ac]
push eax
call fcn.00409940
mov ebx, dword [ebp - 0x140]
or ebx, 1
sub esp, 8
mov dword [ebp - 4], 4
lea eax, [ebp - 0x14c]
mov ecx, esp
lea edx, [ebp - 0x17c]
or ebx, 2
mov dword [ebp - 0x144], ebx
push eax
push edx
call fcn.00419d30
mov ecx, dword [edi + 0x5c]
push 0x18
call fcn.0044d0b0
push fcn.0040e2f0
push 1
push 0x30
lea eax, [ebp - 0x17c]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.0051510b
and ebx, 0xfffffffd
mov dword [ebp - 0x140], ebx
jmp 0x40e25b
cmp byte [ebp - 0x13a], 0
jne 0x40e245
push 7
push 0x570174
lea ecx, [ebp - 0x1b0]
mov dword [ebp - 0x1a0], 0
mov dword [ebp - 0x19c], 0xf
mov byte [ebp - 0x1b0], 0
call fcn.00409ab0
mov esi, dword [ebp - 0x148]
lea ecx, [ebp - 0x198]
mov dword [ebp - 4], 5
lea eax, [esi + 0x1ac]
push eax
call fcn.00409940
mov ebx, dword [ebp - 0x140]
or ebx, 4
sub esp, 8
mov dword [ebp - 4], 6
lea eax, [ebp - 0x180]
mov ecx, esp
lea edx, [ebp - 0x1b0]
or ebx, 8
mov dword [ebp - 0x144], ebx
push eax
push edx
call fcn.00419d30
mov ecx, dword [esi + 0x5c]
push 0x19
call fcn.0044d0b0
push fcn.0040e2f0
push 1
push 0x30
lea eax, [ebp - 0x1b0]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.0051510b
and ebx, 0xfffffff7
mov byte [ebp - 0x13a], 1
mov dword [ebp - 0x140], ebx
push 0
push edi
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
mov edi, dword [ebp - 0x148]
mov byte [edi + 0x268], 1
lea eax, [ebp - 0x138]
push eax
push dword [ebp - 0x14c]
call dword [sym.imp.KERNEL32.DLL_Process32Next]
test eax, eax
je 0x40e27d
lea ebx, [edi + 0x104]
jmp 0x40df50
push dword [ebp - 0x14c]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov esi, 0x64
nop
push 0x64
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov ecx, edi
call fcn.0040dbd0
test al, al
je 0x40e2c8
add esi, 0x64
cmp esi, 0x1388
jl 0x40e290
mov ecx, edi
call fcn.0040dbd0
test al, al
je 0x40e2c8
cmp byte [ebp + 8], 0
je 0x40e2c8
push 0
mov ecx, edi
call fcn.0040dde0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret 4
call fcn.00519e03
int3