Function at 0x401250
Capabilities:
Get number of processors
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43cee0
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x455028]
xor eax, esp
mov dword [esp + 0x260], eax
push esi
mov eax, dword [0x455028]
xor eax, esp
push eax
lea eax, [esp + 0x270]
mov dword fs:[0], eax
lea eax, [esp + 0x2c]
push eax
mov esi, ecx
mov dword [esp + 0x30], 8
mov dword [esp + 0x34], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, esi
call sub.mfc90u.dll_CWinApp::InitInstance
push 0
call sub.mfc90u.dll_AfxEnableControlContainer
add esp, 4
call sub.mfc90u.dll_AfxGetModuleState
mov eax, dword [eax + 8]
lea ecx, [esp + 0x34]
push ecx
push 0x444944
push eax
call dword [sym.imp.USER32.dll_GetClassInfoW]
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x5c], 0x444954
call sub.mfc90u.dll_AfxRegisterClass
push 0
push 0x8d
lea ecx, [esp + 0x64]
call sub.mfc90u.dll_CDialog::CDialog
mov dword [esp + 0x5c], vtable.CDlgLogo.0
mov dword [esp + 0xd0], 0x64
lea ecx, [esp + 0x5c]
mov dword [esp + 0x278], 0
call sub.mfc90u.dll_CDialog::DoModal
lea eax, [esp + 0xd4]
push eax
call fcn.00401d70
mov byte [esp + 0x278], 1
call fcn.004084c0
call fcn.00408860
lea ecx, [esp + 0xd4]
call fcn.004021c0
dec eax
cmp eax, 3
ja case.default.0x401353
jmp dword [eax*4 + 0x401590]
call fcn.00401880
cmp eax, 1
jne case.default.0x401353
lea ecx, [esp + 0xd4]
call fcn.00403080
jmp case.default.0x401353
mov eax, 0x88
lea esi, [esp + 0x28]
call fcn.00409670
mov eax, dword [eax]
push 0x40010
push 0x44414c
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, esi
jmp 0x401524
mov eax, 0x89
lea esi, [esp + 0x20]
call fcn.00409670
mov eax, dword [eax]
push 0x40010
push 0x44414c
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, esi
jmp 0x401524
lea ecx, [esp + 0xc]
call dword [0x44382c]
push 0x208
mov byte [esp + 0x27c], 2
call sub.mfc90u.dll_new__
add esp, 4
push 0x208
mov dword [esp + 0x14], eax
call sub.mfc90u.dll_new__
add esp, 4
push 0x208
mov dword [esp + 0x18], eax
call sub.mfc90u.dll_new__
add esp, 4
push 0x208
mov dword [esp + 0x1c], eax
call sub.mfc90u.dll_new__
mov ecx, dword [esp + 0xd8]
mov edx, dword [esp + 0x14]
mov esi, dword [sym.imp.MSVCR90.dll_wcscpy_s]
add esp, 4
push ecx
push 0x104
push edx
mov dword [esp + 0x28], eax
call esi
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0x20]
add esp, 0xc
push eax
push 0x104
push ecx
call esi
mov edx, dword [esp + 0xe8]
mov eax, dword [esp + 0x24]
add esp, 0xc
push edx
push 0x104
push eax
call esi
mov ecx, dword [esp + 0xec]
mov edx, dword [esp + 0x28]
add esp, 0xc
push ecx
push 0x104
push edx
call esi
add esp, 0xc
mov eax, 0x8a
lea esi, [esp + 0x24]
call fcn.00409670
push 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x27c], 3
mov eax, dword [eax]
push ecx
push eax
lea edx, [esp + 0x18]
push edx
call sub.mfc90u.dll_AfxFormatStrings
mov ecx, esi
mov byte [esp + 0x278], 2
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [esp + 0x10]
push eax
call sub.mfc90u.dll_delete
mov ecx, dword [esp + 0x18]
add esp, 4
push ecx
call sub.mfc90u.dll_delete
mov edx, dword [esp + 0x1c]
add esp, 4
push edx
call sub.mfc90u.dll_delete
mov eax, dword [esp + 0x20]
add esp, 4
push eax
call sub.mfc90u.dll_delete
add esp, 4
mov ecx, dword [esp + 0xc]
push 0x40010
push 0x44414c
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
call fcn.00401880
cmp eax, 1
jne 0x401520
lea ecx, [esp + 0xd4]
call fcn.00403080
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov edx, dword [0x457434]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea eax, [esp + 0xd4]
push eax
mov byte [esp + 0x27c], 0
call fcn.00401ee0
mov dword [esp + 0x278], 0xffffffff
lea ecx, [esp + 0x5c]
mov dword [esp + 0x5c], vtable.CDlgLogo.0
call fcn.00435a66
xor eax, eax
mov ecx, dword [esp + 0x270]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.00436590
mov esp, ebp
pop ebp
ret