Function at 0x402b20
Capabilities:
Check os version
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x403e5f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1e8
push ebx
push ebp
push esi
push edi
xor ebp, ebp
mov ecx, 0x49
xor eax, eax
lea edi, [esp + 0xd4]
mov dword [esp + 0xd0], ebp
push ebp
rep stosd dword es:[edi], eax
push 2
mov dword [esp + 0x208], ebp
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x1c], esi
jne 0x402b8c
lea ecx, [esp + 0x208]
mov dword [esp + 0x200], eax
call sub.MFC42.DLL_CString::CString
or eax, esi
jmp 0x402dff
lea eax, [esp + 0x3c]
mov dword [esp + 0xd0], 0x128
push eax
mov dword [esp + 0x40], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea ecx, [esp + 0x14]
call fcn.00403714
lea ecx, [esp + 0x18]
mov byte [esp + 0x200], 1
call fcn.00403714
mov eax, dword [esp + 0x40]
mov byte [esp + 0x200], 2
cmp eax, 4
jne 0x402c50
push str.win9X
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CFileFind::CFileFind
mov bl, 3
push ebp
push str..main.exe
lea ecx, [esp + 0x28]
mov byte [esp + 0x208], bl
call sub.MFC42.DLL_CFileFind::FindFile
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CFileFind::GetFilePath
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x204], 4
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0x200], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CFileFind::Close
lea ecx, [esp + 0x20]
mov byte [esp + 0x200], 2
call fcn.004037f2
jmp 0x402c85
cmp eax, 5
jne 0x402c85
cmp dword [esp + 0x44], ebp
jne 0x402c85
push str.win2000
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [esp + 0x208]
lea ecx, [esp + 0x208]
mov eax, dword [edx - 8]
add eax, 0xfffffff1
push eax
push 0xf
call sub.MFC42.DLL_CString::Delete
lea eax, [esp + 0xd0]
push eax
push esi
call sub.KERNEL32.dll_Process32First
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x402dc1
mov ebp, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPriorityClass]
mov ecx, dword [esp + 0xd8]
push ecx
push 0
push 0x1f0fff
call ebp
mov esi, eax
push esi
call ebx
push esi
call edi
lea ecx, [esp + 0x10]
call fcn.00403714
lea edx, [esp + 0xf4]
lea ecx, [esp + 0x10]
push edx
push 0
mov byte [esp + 0x208], 5
call sub.MFC42.DLL_CString::Insert
mov eax, dword [esp + 0x14]
push str.win9X
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x402d1f
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ecx, dword [ecx - 8]
mov eax, dword [edx - 8]
cmp ecx, eax
jle 0x402d39
push eax
push 0
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Delete
mov eax, dword [esp + 0x208]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
je 0x402d65
lea ecx, [esp + 0x10]
mov byte [esp + 0x200], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0xd0]
push edx
push eax
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x402dbd
jmp 0x402cad
mov ecx, dword [esp + 0x1c]
push ecx
call edi
lea ecx, [esp + 0x10]
mov byte [esp + 0x200], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x200], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x200], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x208]
mov dword [esp + 0x200], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
jmp 0x402dff
mov esi, dword [esp + 0x1c]
push esi
call edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x200], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x200], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x208]
mov dword [esp + 0x200], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x1f8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1f4
ret