Function at 0x40e990
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x46f312
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.00412da0
xor edi, edi
mov dword [esi], 0x5000b0
mov dword [esp + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
lea ebx, [esi + 0x30]
mov ecx, ebx
mov byte [esp + 0x1c], 1
call fcn.0040b150
mov dword [ebx + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [ebx + 4]
mov dword [eax + 4], eax
mov eax, dword [ebx + 4]
mov dword [eax], eax
mov eax, dword [ebx + 4]
mov dword [eax + 8], eax
mov dword [ebx + 8], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
lea ebp, [esi + 0x5c]
mov ecx, ebp
mov byte [esp + 0x1c], 4
call fcn.0040b0d0
mov dword [ebp + 4], eax
mov byte [eax + 0x35], 1
mov eax, dword [ebp + 4]
mov dword [eax + 4], eax
mov eax, dword [ebp + 4]
mov dword [eax], eax
mov eax, dword [ebp + 4]
mov dword [eax + 8], eax
mov dword [ebp + 8], edi
lea ebx, [esi + 0x68]
mov ecx, ebx
mov byte [esp + 0x1c], 5
call fcn.0040b110
mov dword [ebx + 4], eax
mov byte [eax + 0x29], 1
mov eax, dword [ebx + 4]
mov dword [eax + 4], eax
mov eax, dword [ebx + 4]
mov dword [eax], eax
mov eax, dword [ebx + 4]
mov dword [eax + 8], eax
mov dword [ebx + 8], edi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov dword [esi + 0x80], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x88], ecx
lea ecx, [esi + 0x94]
mov byte [esp + 0x1c], 6
mov word [esi + 0x74], di
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x8c], edx
mov dword [esi + 0x90], eax
call fcn.004126f0
lea ecx, [esi + 0xb0]
mov byte [esp + 0x1c], 7
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
push edi
mov byte [esp + 0x20], 8
call dword [sym.imp.MSVCR71.dll_time]
push eax
call dword [sym.imp.MSVCR71.dll_srand]
mov eax, dword [esi + 0x80]
mov dword [esp + 0x2c], eax
imul eax, eax, 0x218
add eax, 4
push eax
call sub.MFC71.DLL_operator_new_1
add esp, 0xc
mov dword [esp + 0x30], eax
cmp eax, edi
mov byte [esp + 0x1c], 9
je 0x40eb3f
mov ecx, dword [esp + 0x24]
push fcn.004287f0
push 0x4286e0
push ecx
mov dword [eax], ecx
add eax, 4
push 0x218
push eax
mov dword [esp + 0x38], eax
call fcn.0046ac78
mov eax, dword [esp + 0x24]
jmp 0x40eb41
xor eax, eax
mov ecx, dword [esi + 0x80]
mov dword [esi + 0x84], eax
mov eax, 0x64
cmp ecx, eax
mov byte [esp + 0x1c], 8
mov dword [esp + 0x24], eax
jle 0x40eb93
nop
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esi + 0x1c]
call fcn.0040c9b0
lea edx, [esp + 0x24]
push edx
lea ecx, [esi + 0x30]
call fcn.0040d160
mov dword [eax], 1
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 0x80]
inc eax
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x40eb60
mov eax, dword [esi + 0x80]
push eax
lea ecx, [esi + 0x3c]
call fcn.0040cfb0
mov ecx, dword [esi + 0x50]
cmp ecx, edi
je 0x40ebe5
mov eax, dword [esi + 0x54]
cmp ecx, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], ecx
je 0x40ebd9
jmp 0x40ebc0
mov ecx, dword [esp + 0x24]
mov edi, edi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
add eax, 4
cmp eax, ecx
mov dword [esp + 0x24], eax
jne 0x40ebba
mov ecx, dword [esi + 0x50]
push ecx
call sub.MFC71.DLL_operator_delete
add esp, 4
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov edx, dword [ebp + 4]
mov eax, dword [edx + 4]
push eax
mov ecx, ebp
call fcn.0040dea0
mov eax, dword [ebp + 4]
mov dword [eax + 4], eax
mov eax, dword [ebp + 4]
mov dword [ebp + 8], edi
mov dword [eax], eax
mov ebp, dword [ebp + 4]
mov dword [ebp + 8], ebp
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 4]
push edx
mov ecx, ebx
call fcn.0040cbb0
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x14]
mov dword [eax + 4], eax
mov eax, dword [ebx + 4]
mov dword [ebx + 8], edi
mov dword [eax], eax
mov ebx, dword [ebx + 4]
pop edi
mov eax, esi
pop esi
mov dword [ebx + 8], ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10