Function at 0x466560
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6a6291
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x778400]
xor eax, esp
mov dword [esp + 0x5c], eax
push esi
push edi
mov eax, dword [0x778400]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea ecx, [esp + 0x48]
mov dword [esp + 0x14], 0
call fcn.0041b060
lea eax, [esp + 0x18]
mov dword [esp + 0x78], 0
push eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x1c], str.bad_exception
call fcn.0066d637
mov dword [esp + 0x48], vtable.boost::exception_detail::bad_exception_.0
mov dword [esp + 0x5c], vtable.boost::exception_detail::bad_exception_.1.0
push 1
lea eax, [esp + 0x4c]
mov dword [esp + 0x7c], 1
push eax
lea ecx, [esp + 0x24]
call fcn.00467ca0
mov byte [esp + 0x78], 2
mov esi, 1
mov eax, dword [0x78b350]
mov dword [esp + 0x24], str.class_boost::exception_ptr___cdecl_boost::exception_detail::get_static_exception_object_struct_boost::exception_detail::bad_exception___void_
mov dword [esp + 0x28], str.C:_boostsdkinclude_boost_exception_detail_exception_ptr.hpp
mov dword [esp + 0x2c], 0x80
test al, 1
jne 0x4666a1
or eax, esi
mov dword [0x78b350], eax
xorps xmm0, xmm0
mov byte [esp + 0x78], 3
push 0x2c
movq qword [0x78b340], xmm0
call fcn.00480108
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x78], 4
test eax, eax
je 0x46665c
push esi
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
call fcn.00467290
jmp 0x46665e
xor eax, eax
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x7c], 3
call fcn.00468150
mov ecx, eax
mov eax, dword [ecx]
mov dword [0x78b340], eax
mov eax, dword [ecx + 4]
mov dword [0x78b344], eax
test eax, eax
je 0x46668b
add eax, 4
mov ecx, esi
lock xadd dword [eax], ecx
lea ecx, [esp + 0x10]
call fcn.00414240
push 0x6b6370
call fcn.0066d110
add esp, 4
mov eax, dword [0x78b340]
mov dword [edi], eax
mov eax, dword [0x78b344]
mov dword [edi + 4], eax
test eax, eax
je 0x4666bc
add eax, 4
lock xadd dword [eax], esi
inc esi
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::bad_exception__.0
mov dword [esp + 0x30], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::bad_exception__.1.0
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x3c], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::bad_exception__.2.0
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [esp + ecx + 0x38], eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], vtable.boost::exception_detail::bad_exception_.0
mov dword [esp + 0x30], vtable.std::bad_exception.0
call fcn.0066d6ab
lea ecx, [esp + 0x1c]
call fcn.0041b0a0
lea ecx, [esp + 0x44]
call fcn.0041b0c0
lea ecx, [esp + 0x5c]
mov dword [esp + 0x48], vtable.boost::exception_detail::bad_exception_.0
mov dword [esp + 0x5c], vtable.std::bad_exception.0
call fcn.0066d6ab
lea ecx, [esp + 0x48]
call fcn.0041b0a0
mov eax, edi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.0066c98d
mov esp, ebp
pop ebp
ret