Function at 0x442890
Capabilities:
Enumerate processes
Print debug messages
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x46c
mov eax, dword [0x54b1b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x460], 0
push edi
jmp 0x4428c0
mov ecx, dword [ebp - 0x458]
cmp dword [ecx + 0x10], 0
mov dword [ebp - 0x468], 0
je 0x442b45
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x464], edi
cmp edi, 0xffffffff
je 0x442b45
push 0x228
lea edx, [ebp - 0x450]
push 0
push edx
mov dword [ebp - 0x454], 0x22c
call fcn.004c24e0
add esp, 0xc
lea eax, [ebp - 0x454]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x46c], eax
test esi, esi
je 0x442b14
lea esp, [esp]
mov esi, dword [ebx]
mov ecx, dword [ebx + 4]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
xor edi, edi
add ecx, edx
je 0x442af2
mov dword [ebp - 0x45c], edi
jmp 0x442970
mov eax, dword [ebp - 0x45c]
add eax, esi
cmp dword [eax + 0x14], 8
jb 0x442980
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x430]
push eax
call fcn.004bb226
add esp, 8
test eax, eax
jne 0x442ac8
mov eax, dword [ebp - 0x44c]
cmp dword [ebp - 0x46c], eax
je 0x442ac8
push eax
push 0
push 0x401
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x4429ce
push str.KillProcessFromList
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x442ac8
mov ecx, dword [ebp - 0x458]
cmp dword [ecx + 0x10], 0
je 0x442aa2
push 0x104
lea edx, [ebp - 0x20c]
push edx
push 0
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x442aa2
xor eax, eax
mov word [ebp - 0x228], ax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], 7
mov dword [ebp - 0x218], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x442a21
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x228]
call fcn.00408440
mov eax, dword [ebp - 0x458]
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x442a54
mov eax, dword [eax]
push ecx
push eax
lea edx, [ebp - 0x228]
push edx
xor eax, eax
call fcn.004071a0
cmp eax, 0xffffffff
jne 0x442a8a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x214], 8
jb 0x442ac8
mov eax, dword [ebp - 0x228]
push eax
call fcn.004ba3a4
add esp, 4
jmp 0x442ac8
cmp dword [ebp - 0x214], 8
jb 0x442aa2
mov ecx, dword [ebp - 0x228]
push ecx
call fcn.004ba3a4
add esp, 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0xbb8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x468], 1
mov esi, dword [ebx]
mov ecx, dword [ebx + 4]
add dword [ebp - 0x45c], 0x1c
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
cmp edi, eax
jb 0x442970
mov edx, dword [ebp - 0x464]
lea ecx, [ebp - 0x454]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x442940
mov edi, dword [ebp - 0x464]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x468], 0
je 0x442b45
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x460]
inc eax
mov dword [ebp - 0x460], eax
cmp eax, 5
jl 0x4428c0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004ba3af
mov esp, ebp
pop ebp
ret