Function at 0x45908a
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46de9d
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x498070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x27c], 0x4e20
mov dword [ebp - 0x260], 0x64
mov eax, dword [ebp - 0x27c]
cdq
idiv dword [ebp - 0x260]
mov dword [ebp - 0x280], eax
mov byte [ebp - 0x23f], 0
mov byte [ebp - 0x255], 0
mov byte [ebp - 0x23d], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x284], eax
lea ecx, [ebp - 0x26c]
call fcn.00419089
and dword [ebp - 4], 0
call fcn.00458cfe
mov dword [ebp - 0x288], eax
and dword [ebp - 0x24c], 0
jmp 0x45912d
mov eax, dword [ebp - 0x24c]
inc eax
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x280]
inc eax
cmp dword [ebp - 0x24c], eax
jge 0x459301
mov byte [ebp - 0x23d], 0
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0xffffffff
je 0x4592e1
mov dword [ebp - 0x23c], 0x22c
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x248]
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4592ce
mov byte [ebp - 0x23e], 0
and dword [ebp - 0x244], 0
jmp 0x4591a6
mov eax, dword [ebp - 0x244]
inc eax
mov dword [ebp - 0x244], eax
mov ecx, dword [ebp + 8]
call fcn.004023ca
cmp dword [ebp - 0x244], eax
jge 0x459213
push dword [ebp - 0x244]
mov ecx, dword [ebp + 8]
call fcn.0040c4c3
mov ecx, eax
call fcn.0040277e
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x459211
mov eax, dword [ebp - 0x284]
cmp eax, dword [ebp - 0x234]
je 0x459211
mov byte [ebp - 0x23e], 1
cmp dword [ebp + 0xc], 0
je 0x45920f
push dword [ebp - 0x244]
mov ecx, dword [ebp + 8]
call fcn.0040c4c3
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0040c571
jmp 0x459213
jmp 0x459199
mov byte [ebp - 0x23f], 0
movzx eax, byte [ebp - 0x23e]
test eax, eax
je 0x4592b3
push dword [ebp - 0x234]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0
je 0x4592b3
push dword [ebp - 0x250]
call fcn.00458de4
pop ecx
cmp eax, dword [ebp - 0x288]
je 0x4592b3
mov byte [ebp - 0x23f], 1
mov byte [ebp - 0x23d], 1
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x24c]
push str.TerminateProcess__d_:__s
push 0
push dword [0x49b948]
call fcn.00463fe5
add esp, 0x14
push 1
push dword [ebp - 0x250]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x2a0]
push eax
lea ecx, [ebp - 0x26c]
call fcn.0041e089
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x248]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x459189
push dword [ebp - 0x248]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x248], 0
movzx eax, byte [ebp - 0x23d]
test eax, eax
jne 0x4592f0
jmp 0x459301
push dword [ebp - 0x260]
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x459120
lea ecx, [ebp - 0x26c]
call fcn.00418f85
test eax, eax
je 0x459420
lea ecx, [ebp - 0x278]
call fcn.00418ed6
mov byte [ebp - 4], 1
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x26c]
call fcn.00418fef
jmp 0x45934b
push 0
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x25c]
call fcn.00418f46
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp - 0x26c]
call fcn.00418f9a
push eax
lea ecx, [ebp - 0x25c]
call fcn.00418f16
movzx eax, al
test eax, eax
je 0x459389
lea ecx, [ebp - 0x25c]
call fcn.00418f6f
push eax
lea ecx, [ebp - 0x278]
call fcn.00418d01
jmp 0x459337
push 0x3e8
push 1
push 0
lea ecx, [ebp - 0x278]
call fcn.00418e54
push eax
lea ecx, [ebp - 0x278]
call fcn.00418e71
push eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 0x294], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x298], eax
and dword [ebp - 0x254], 0
jmp 0x4593d8
mov eax, dword [ebp - 0x254]
inc eax
mov dword [ebp - 0x254], eax
lea ecx, [ebp - 0x278]
call fcn.00418e71
cmp dword [ebp - 0x254], eax
jae 0x459411
push dword [ebp - 0x254]
lea ecx, [ebp - 0x278]
call fcn.00418e54
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x278]
call fcn.00418c90
jmp 0x4593cb
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x278]
call fcn.00418e99
movzx eax, byte [ebp - 0x23d]
push eax
push str.TerminateProcess_Return_Value_bFoundAndTryKill_:__d
push 0
push dword [0x49b948]
call fcn.00463f1c
add esp, 0x10
movzx eax, byte [ebp - 0x23d]
test eax, eax
jne 0x459454
mov dword [ebp - 0x264], 1
jmp 0x45945b
and dword [ebp - 0x264], 0
mov al, byte [ebp - 0x264]
mov byte [ebp - 0x240], al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x26c]
call fcn.00418c5c
mov al, byte [ebp - 0x240]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043a99c
mov esp, ebp
pop ebp
ret