Function at 0x45a055
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov eax, 0x4a0c52
call fcn.0049e6bc
sub esp, 0x268
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call fcn.00425bc4
mov dword [ebp - 0x1c], eax
push 0x228
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 1
push ebx
push eax
mov dword [ebp - 0x274], ebx
call fcn.00438560
add esp, 0xc
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x45a244
lea eax, [ebp - 0x274]
mov dword [ebp - 0x274], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x45a1fe
xor eax, eax
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x34], ax
cmp word [ebp - 0x250], ax
jne 0x45a0e8
mov eax, ebx
jmp 0x45a0f5
lea eax, [ebp - 0x250]
push eax
call fcn.00438238
pop ecx
push eax
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x34]
call fcn.0041fba8
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 8
lea edx, [ebp + 8]
mov eax, dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
cmovae edx, dword [ebp + 8]
push edx
mov edx, 0x439679
lea eax, [ecx + eax*2]
lea ecx, [ebp + 8]
cmovae ecx, dword [ebp + 8]
push eax
push ecx
lea ecx, [ebp - 0x40]
call fcn.00425dba
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x34]
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x34]
cmovae ecx, dword [ebp - 0x34]
cmovae edx, dword [ebp - 0x34]
push edx
mov edx, 0x439679
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x34]
cmovae ecx, dword [ebp - 0x34]
push eax
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00425dba
add esp, 0x18
lea edx, [ebp + 8]
lea ecx, [ebp - 0x34]
call fcn.00425e23
test al, al
je 0x45a1e1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x25c], eax
je 0x45a1ca
mov ecx, dword [ebp - 0x1c]
mov edx, ecx
mov eax, dword [ecx + 4]
cmp byte [eax + 0xd], 0
jne 0x45a1c0
mov edi, dword [ebp - 0x26c]
cmp dword [eax + 0x10], edi
jae 0x45a1a5
mov eax, dword [eax + 8]
jmp 0x45a1a9
mov edx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x45a19b
cmp edx, ecx
je 0x45a1c0
cmp edi, dword [edx + 0x10]
jb 0x45a1c0
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x14]
jmp 0x45a1c6
mov dword [ebp - 0x38], ecx
lea eax, [ebp - 0x38]
cmp dword [eax], ecx
je 0x45a1e1
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004250e2
mov ecx, dword [ebp - 0x26c]
mov dword [eax], ecx
push ebx
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.0041f6b8
lea eax, [ebp - 0x274]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x45a0cb
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
mov dword [ebp - 0x14], eax
cmp eax, ecx
je 0x45a244
push dword [eax + 0x10]
push ebx
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x45a234
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [ebp - 0x14]
call fcn.0042138e
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x1c]
jne 0x45a219
lea ecx, [ebp - 0x1c]
call fcn.00425133
push ebx
push 1
lea ecx, [ebp + 8]
call fcn.0041f6b8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret