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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x46c
mov eax, dword [0x54c1b4]
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 0x443370
mov ecx, dword [ebp - 0x458]
cmp dword [ecx + 0x10], 0
mov dword [ebp - 0x468], 0
je 0x4435f5
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x464], edi
cmp edi, 0xffffffff
je 0x4435f5
push 0x228
lea edx, [ebp - 0x450]
push 0
push edx
mov dword [ebp - 0x454], 0x22c
call fcn.004c3610
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 0x4435c4
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 0x4435a2
mov dword [ebp - 0x45c], edi
jmp 0x443420
mov eax, dword [ebp - 0x45c]
add eax, esi
cmp dword [eax + 0x14], 8
jb 0x443430
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x430]
push eax
call fcn.004bc356
add esp, 8
test eax, eax
jne 0x443578
mov eax, dword [ebp - 0x44c]
cmp dword [ebp - 0x46c], eax
je 0x443578
push eax
push 0
push 0x401
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x44347e
push str.KillProcessFromList
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x443578
mov ecx, dword [ebp - 0x458]
cmp dword [ecx + 0x10], 0
je 0x443552
push 0x104
lea edx, [ebp - 0x20c]
push edx
push 0
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x443552
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 0x4434d1
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x228]
call fcn.00408810
mov eax, dword [ebp - 0x458]
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x443504
mov eax, dword [eax]
push ecx
push eax
lea edx, [ebp - 0x228]
push edx
xor eax, eax
call fcn.00407570
cmp eax, 0xffffffff
jne 0x44353a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x214], 8
jb 0x443578
mov eax, dword [ebp - 0x228]
push eax
call fcn.004bb4d8
add esp, 4
jmp 0x443578
cmp dword [ebp - 0x214], 8
jb 0x443552
mov ecx, dword [ebp - 0x228]
push ecx
call fcn.004bb4d8
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 0x443420
mov edx, dword [ebp - 0x464]
lea ecx, [ebp - 0x454]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4433f0
mov edi, dword [ebp - 0x464]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x468], 0
je 0x4435f5
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 0x443370
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004bb4e3
mov esp, ebp
pop ebp
ret