Function at 0x408a28
Capabilities:
Link many functions at runtime
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x15a8
call fcn.00409640
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call sub.MSVCRT.dll_strlen
mov ebx, eax
pop ecx
cmp ebx, 1
jl 0x408e35
cmp ebx, 0x104
jg 0x408e35
xor edi, edi
test ebx, ebx
jle 0x408a88
mov dword [ebp + 8], esi
lea eax, [ebp - 0x2e0]
sub dword [ebp + 8], eax
mov eax, dword [ebp + 8]
lea esi, [ebp + edi - 0x2e0]
movsx eax, byte [eax + esi]
push eax
call dword [sym.imp.MSVCRT.dll_toupper]
inc edi
pop ecx
cmp edi, ebx
mov byte [esi], al
jl 0x408a6b
and byte [ebp + ebx - 0x2e0], 0
lea eax, [ebp - 0xb4]
push eax
mov dword [ebp - 0xb4], 0x94
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
test eax, eax
jne 0x408ab5
mov eax, 0x25e
jmp 0x408e3a
cmp dword [ebp - 0xa4], 2
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
je 0x408ae1
cmp dword [ebp - 0xa4], 1
je 0x408c29
mov eax, 0x25f
jmp 0x408e3a
push str.PSAPI.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
test eax, eax
mov dword [ebp - 0x18], eax
jne 0x408afd
mov eax, 0x25d
jmp 0x408e3a
push str.EnumProcesses
push eax
call esi
push str.EnumProcessModules
mov ebx, eax
push dword [ebp - 0x18]
call esi
push str.GetModuleBaseNameA
mov dword [ebp - 0xc], eax
push dword [ebp - 0x18]
call esi
test ebx, ebx
mov dword [ebp - 0x10], eax
je 0x408c7c
cmp dword [ebp - 0xc], 0
je 0x408c7c
test eax, eax
je 0x408c7c
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x15a8]
push 0x3e8
push eax
call ebx
test eax, eax
jne 0x408b5b
mov esi, 0x2bd
jmp 0x408e28
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], 0
shr eax, 2
mov dword [ebp - 0x14], eax
je 0x408c1c
lea eax, [ebp - 0x15a8]
mov dword [ebp + 8], eax
lea eax, [ebp - 0x3e4]
push str.Unknown
push eax
call sub.MSVCRT.dll_strcpy
mov eax, dword [ebp + 8]
pop ecx
mov ebx, dword [sym.imp.KERNEL32.DLL_OpenProcess]
pop ecx
push dword [eax]
push 0
push 0x410
call ebx
test eax, eax
mov dword [ebp - 4], eax
je 0x408bcf
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x20]
push 4
push ecx
push eax
call dword [ebp - 0xc]
test eax, eax
je 0x408bcf
lea eax, [ebp - 0x3e4]
push 0x104
push eax
push dword [ebp - 0x20]
push dword [ebp - 4]
call dword [ebp - 0x10]
push dword [ebp - 4]
call edi
lea eax, [ebp - 0x3e4]
push eax
call dword [sym.imp.MSVCRT.dll__strupr]
lea eax, [ebp - 0x2e0]
push eax
lea eax, [ebp - 0x3e4]
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 0xc
test eax, eax
je 0x408c09
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
mov ecx, dword [ebp + 8]
cmp dword [ecx], eax
jne 0x408c47
inc dword [ebp - 8]
add dword [ebp + 8], 4
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x14]
jb 0x408b7a
cmp dword [ebp - 0xa4], 1
jne 0x408e23
push str.Kernel32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x18], ebx
jne 0x408c86
mov eax, 0x2be
jmp 0x408e3a
mov eax, dword [ebp - 8]
push dword [ebp + eax*4 - 0x15a8]
push 0
push 1
call ebx
mov esi, eax
test esi, esi
je 0x408e15
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
test eax, eax
push esi
je 0x408e04
call edi
xor esi, esi
jmp 0x408e28
mov esi, 0x2bc
jmp 0x408e28
push str.CreateToolhelp32Snapshot
push ebx
call esi
push str.Process32First
push ebx
mov dword [ebp - 8], eax
call esi
push str.Process32Next
push ebx
mov dword [ebp - 4], eax
call esi
push str.Module32First
push ebx
mov dword [ebp - 0x10], eax
call esi
push str.Module32Next
push ebx
mov dword [ebp - 0xc], eax
call esi
mov dword [ebp - 0x14], eax
xor eax, eax
cmp dword [ebp - 0x10], eax
je 0x408e1c
cmp dword [ebp - 4], eax
je 0x408e1c
cmp dword [ebp - 0x14], eax
je 0x408e1c
cmp dword [ebp - 0xc], eax
je 0x408e1c
cmp dword [ebp - 8], eax
je 0x408e1c
push eax
push 2
call dword [ebp - 8]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
jne 0x408d04
mov esi, 0x2c0
jmp 0x408e28
lea ecx, [ebp - 0x1dc]
mov dword [ebp - 0x1dc], 0x128
push ecx
push eax
call dword [ebp - 4]
test eax, eax
je 0x408dba
mov esi, 0x224
push dword [ebp - 0x1d4]
push 8
call dword [ebp - 8]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x408dc1
lea eax, [ebp - 0x608]
mov dword [ebp - 0x608], esi
push eax
push ebx
call dword [ebp - 0xc]
test eax, eax
mov dword [ebp - 4], eax
je 0x408d98
lea eax, [ebp - 0x2e0]
push eax
lea eax, [ebp - 0x5e8]
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
test eax, eax
pop ecx
je 0x408d7e
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
cmp dword [ebp - 0x1d4], eax
jne 0x408dcb
jmp 0x408d92
lea eax, [ebp - 0x608]
mov dword [ebp - 0x608], esi
push eax
push ebx
call dword [ebp - 0x14]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x408d54
push ebx
call edi
lea eax, [ebp - 0x1dc]
mov dword [ebp - 0x1dc], 0x128
push eax
push dword [ebp + 8]
call dword [ebp - 0x10]
test eax, eax
jne 0x408d26
push dword [ebp + 8]
call edi
jmp 0x408e23
push dword [ebp + 8]
call edi
jmp 0x408cfa
push dword [ebp - 0x1d4]
push 0
push 1
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
test esi, esi
je 0x408e0d
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
test eax, eax
push ebx
je 0x408dfc
call edi
push dword [ebp + 8]
call edi
push esi
jmp 0x408c73
call edi
push dword [ebp + 8]
call edi
push esi
call edi
mov esi, 0x25a
jmp 0x408e28
push ebx
call edi
push dword [ebp + 8]
call edi
mov esi, 0x25c
jmp 0x408e28
mov esi, 0x2bf
jmp 0x408e28
mov esi, 0x25b
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov eax, esi
jmp 0x408e3a
mov eax, 0x278
pop edi
pop esi
pop ebx
leave
ret