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

Disassembly:
push 0xffffffffffffffff
push 0x46f626
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x498700]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x498700]
xor eax, esp
push eax
lea eax, [esp + 0x278]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x280], ebx
call fcn.0040ae90
add eax, 0xbc0
mov edi, 7
mov ecx, eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x409e31
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.00406b60
push 4
push str..exe
lea ecx, [esp + 0x30]
mov byte [esp + 0x288], 1
call fcn.00412070
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x228
mov dword [esp + 0x28], eax
lea eax, [esp + 0x4c]
push ebx
push eax
mov dword [esp + 0x50], ebx
call fcn.00450a50
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x409ecc
cmp dword [esp + 0x40], 8
jb 0x409ea7
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00430f55
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
je 0x409ec5
push eax
call fcn.00430f55
add esp, 4
xor al, al
jmp 0x40a002
lea edx, [esp + 0x44]
push edx
push ebp
mov dword [esp + 0x4c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x409f3f
lea eax, [esp + 0x68]
test eax, eax
je 0x409f30
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x409ef0
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x68]
push ecx
mov edi, eax
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x2c]
call fcn.004085f0
test eax, eax
jne 0x409f30
mov edx, dword [esp + 0x24]
cmp dword [esp + 0x4c], edx
je 0x409f30
lea ebx, [esp + 0x4c]
lea esi, [esp + 0x14]
call fcn.00410e00
xor ebx, ebx
lea eax, [esp + 0x44]
push eax
push ebp
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x409ee3
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
cmp edi, eax
jbe 0x409f5b
call fcn.0044ec76
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
mov ebp, ecx
cmp dword [esp + 0x18], eax
mov esi, eax
jbe 0x409f6e
call fcn.0044ec76
cmp ebp, ebx
je 0x409f7a
lea ecx, [esp + 0x14]
cmp ebp, ecx
je 0x409f7f
call fcn.0044ec76
cmp edi, esi
je 0x409fca
cmp ebp, ebx
jne 0x409f8c
call fcn.0044ec76
cmp edi, dword [ebp + 8]
jb 0x409f96
call fcn.0044ec76
mov edx, dword [edi]
push edx
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x409fb7
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, dword [ebp + 8]
jb 0x409fc1
call fcn.0044ec76
mov eax, dword [esp + 0x1c]
add edi, 4
jmp 0x409f61
cmp dword [esp + 0x40], 8
jb 0x409fde
mov eax, dword [esp + 0x2c]
push eax
call fcn.00430f55
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
je 0x40a000
push eax
call fcn.00430f55
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.0044de0c
add esp, 0x270
ret