Function at 0x4041c0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x408d6a
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push esi
mov eax, dword [0x40e028]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x24], vtable.boost::exception.0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x14], str.bad_exception
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
mov dword [esp + 0x20], vtable.boost::exception_detail::bad_exception_.1.0
mov dword [esp + 0x34], vtable.boost::exception_detail::bad_exception_.0
push 1
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x80], ebx
call fcn.00404af0
test byte [0x40ebbc], 1
mov dword [esp + 0x48], str.class_boost::exception_ptr___cdecl_boost::exception_detail::get_static_exception_object_struct_boost::exception_detail::bad_exception___void_
mov dword [esp + 0x4c], str.F:SealRootC_thirdDepsinclude_boost_exception_detail_exception_ptr.hpp
mov dword [esp + 0x50], 0x8a
jne 0x404314
or dword [0x40ebbc], 1
push 0x2c
mov byte [esp + 0x7c], 2
call dword [sym.imp.mfc100u.dll_new]
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x78], 3
cmp eax, ebx
je 0x4042a4
push 1
lea edx, [esp + 0x44]
push edx
mov ecx, eax
call fcn.00404660
jmp 0x4042a6
xor eax, eax
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x7c], 2
call fcn.00404f90
mov ecx, dword [eax]
mov dword [0x40ebc0], ecx
mov eax, dword [eax + 4]
mov dword [0x40ebc4], eax
cmp eax, ebx
je 0x4042d5
add eax, 4
mov edx, 1
lock xadd dword [eax], edx
mov esi, dword [esp + 0x1c]
cmp esi, ebx
je 0x404307
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x404307
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x404307
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
push 0x4091f0
call fcn.004063ba
add esp, 4
mov eax, dword [ebp + 8]
mov ecx, dword [0x40ebc0]
mov dword [eax], ecx
mov edx, dword [0x40ebc4]
mov dword [eax + 4], edx
mov eax, edx
cmp eax, ebx
je 0x40433a
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
mov byte [esp + 0x78], bl
mov edx, dword [esp + 0x60]
mov esi, dword [sym.imp.MSVCR100.dll_public_virtual:_void___thiscall_std::exception::destructor_void_]
mov dword [esp + 0x40], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::bad_exception__.2.0
mov dword [esp + 0x54], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::bad_exception__.1.0
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x60], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::bad_exception__.0
mov ecx, dword [esp + 0x60]
mov eax, dword [ecx + 4]
lea edx, [eax - 8]
mov dword [esp + eax + 0x5c], edx
lea ecx, [esp + 0x54]
mov dword [esp + 0x40], vtable.boost::exception_detail::bad_exception_.1.0
mov dword [esp + 0x54], vtable.std::bad_exception.0
call esi
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x40], vtable.boost::exception.0
cmp ecx, ebx
je 0x4043a6
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
test al, al
je 0x4043a6
mov dword [esp + 0x44], ebx
mov dword [esp + 0x78], 0xffffffff
lea ecx, [esp + 0x34]
mov dword [esp + 0x68], vtable.boost::exception_detail::clone_base.0
mov dword [esp + 0x20], vtable.boost::exception_detail::bad_exception_.1.0
mov dword [esp + 0x34], vtable.std::bad_exception.0
call esi
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x20], vtable.boost::exception.0
cmp ecx, ebx
je 0x4043e3
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret