Function at 0x40bb10
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x475ed6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
push edi
push str.New_Ran_IMBA_
lea eax, [esp + 0x28]
push 0x4da7a4
push eax
mov ebp, ecx
call fcn.00401510
push 0x4da7ac
push eax
lea ecx, [esp + 0x30]
xor ebx, ebx
push ecx
mov dword [esp + 0x58], ebx
call fcn.00402d30
add esp, 0x18
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 2
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [ebp + 0x90]
cmp ecx, ebx
jne 0x40bb7a
mov dword [esp + 0x14], ebx
jmp 0x40bb89
mov eax, dword [ebp + 0x94]
sub eax, ecx
sar eax, 2
mov dword [esp + 0x14], eax
cmp dword [esp + 0x14], ebx
mov dword [esp + 0x20], ebx
jle 0x40bd42
jmp 0x40bba0
mov eax, dword [ebp + 0x90]
mov edx, dword [esp + 0x20]
mov edi, dword [eax + edx*4]
mov ecx, ebp
mov dword [esp + 0x28], edi
call fcn.0040cad0
test eax, eax
jne 0x40bd7a
lea ecx, [esp + 0x10]
call dword [0x47e138]
push 0x2f
push str.IDS_MESSAGE
mov byte [esp + 0x48], 3
call fcn.0040f3d0
add esp, 8
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
push 0x100
call sub.MFC71.DLL_operator_new
add esp, 4
push edi
lea ecx, [esp + 0x14]
mov esi, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetString]
push eax
push str._s__s
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebp + 0x58]
add esp, 0x10
push esi
push 0
push 0x46d
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
add ebx, 0x1e
mov eax, ebx
cdq
idiv dword [esp + 0x14]
push 0
push 0x64
add eax, 0x28
cdq
push edx
push eax
call fcn.00407630
add esp, 0x10
lea ecx, [edi + 0x40]
push ecx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x4da7ac
mov byte [esp + 0x48], 4
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x50], esp
push edi
mov byte [esp + 0x64], 5
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esp + 0x38]
mov byte [esp + 0x60], 6
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetString]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x70], esp
push eax
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov edx, dword [esp + 0x84]
push edx
mov ecx, ebp
mov byte [esp + 0x80], 4
call fcn.0040c220
test eax, eax
je 0x40bd66
mov esi, dword [ebp + 0xa0]
test esi, esi
lea ecx, [ebp + 0x9c]
jne 0x40bccd
xor edx, edx
jmp 0x40bcd5
mov edx, dword [ecx + 8]
sub edx, esi
sar edx, 2
test esi, esi
je 0x40bcf2
mov eax, dword [ecx + 0xc]
sub eax, esi
sar eax, 2
cmp edx, eax
jae 0x40bcf2
mov eax, dword [ecx + 8]
mov dword [eax], edi
add eax, 4
mov dword [ecx + 8], eax
jmp 0x40bd02
mov eax, dword [ecx + 8]
lea edx, [esp + 0x28]
push edx
push 1
push eax
call fcn.00407d70
mov ecx, ebp
call fcn.0040cad0
test eax, eax
jne 0x40bd66
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 2
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x40bba0
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 4
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x34
ret 4