Function at 0x40afc0
Capabilities:
Check os version
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x40f1ba
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0x41373c
lea ecx, [esi + 0xad8]
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea edi, [esi + 0x2f4]
push 5
mov ecx, edi
call sub.MFC42.DLL_CWnd::ShowWindow
push 5
lea ecx, [esi + 0xa98]
call sub.MFC42.DLL_CWnd::ShowWindow
push 0
lea ecx, [esi + 0x168]
call sub.MFC42.DLL_CWnd::ShowWindow
push 0
lea ecx, [esi + 0x1f0]
call sub.MFC42.DLL_CWnd::ShowWindow
push 0
lea ecx, [esi + 0xa8]
call sub.MFC42.DLL_CWnd::ShowWindow
push 0
lea ecx, [esi + 0x128]
call sub.MFC42.DLL_CWnd::ShowWindow
push 0
lea ecx, [esi + 0x270]
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, edi
call sub.MFC42.DLL_CWnd::SetFocus
mov ecx, dword [esi + 0xab8]
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x34]
mov dword [esp + 0x44], 0x413730
push eax
push ecx
mov dword [esp + 0x50], 0x413728
mov dword [esp + 0x54], 0x413720
mov dword [esp + 0x58], 0x413718
mov dword [esp + 0x5c], 0x41370c
mov dword [esp + 0x60], 0x413700
call edi
mov eax, dword [esi + 0x314]
lea edx, [esp + 0x24]
push edx
push eax
call edi
mov eax, dword [esi + 0x4c]
mov edx, dword [esi + 0x48]
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x30]
sub eax, 0xbe
sub edx, ecx
mov dword [esp + 0x14], eax
add eax, 0x64
sub edx, edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
add edx, edi
lea ebp, [esi + 0x1a8]
lea eax, [edx + eax - 0x1c2]
cdq
sub eax, edx
sar eax, 1
sub eax, edi
lea eax, [eax + ecx + 0xfa]
mov dword [esp + 0x18], eax
add eax, 0x14
mov dword [esp + 0x20], eax
xor edi, edi
push 0xa8
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x64], ebx
je 0x40b11c
mov ecx, eax
call fcn.0040d520
mov ebx, eax
mov eax, dword [esp + edi*4 + 0x44]
lea ecx, [edi + 0x461]
push ecx
lea edx, [esp + 0x18]
push esi
push edx
push 0x50018000
push eax
mov ecx, ebx
mov dword [esp + 0x78], 0xffffffff
call sub.MFC42.DLL_CButton::Create
test ebp, ebp
jne 0x40b14a
xor eax, eax
jmp 0x40b14d
mov eax, dword [ebp + 4]
mov ecx, dword [ebx + 0x20]
push 1
push eax
push 0x30
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x18]
add eax, 0x1e
mov dword [esp + 0x18], eax
add eax, 0x14
inc edi
mov dword [esp + 0x20], eax
cmp edi, 6
jl 0x40b0f8
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
add edx, 0xffffffec
sub eax, 0x3c
push 1
mov dword [esp + 0x18], eax
lea edi, [edx + 0x14]
lea ecx, [eax + 0x46]
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], ecx
sub edi, edx
sub ecx, eax
push edi
push ecx
push edx
push eax
lea ecx, [esi + 0x230]
mov dword [esp + 0x2c], edx
call sub.MFC42.DLL_CWnd::MoveWindow
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
add eax, 0x50
sub edi, edx
push 1
lea ecx, [eax + 0x46]
push edi
mov dword [esp + 0x24], ecx
sub ecx, eax
push ecx
push edx
push eax
lea ecx, [esi + 0x2b0]
mov dword [esp + 0x28], eax
call sub.MFC42.DLL_CWnd::MoveWindow
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
add eax, 0x50
sub edi, edx
push 1
lea ecx, [eax + 0x46]
push edi
mov dword [esp + 0x24], ecx
sub ecx, eax
push ecx
push edx
push eax
lea ecx, [esi + 0x1b0]
mov dword [esp + 0x28], eax
call sub.MFC42.DLL_CWnd::MoveWindow
mov ecx, esi
call fcn.0040b350
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret