Function at 0x10018120
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10060159
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10094144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.ScScript::RealEngine.0
push 0x656e5368
lea ecx, [esi + 8]
mov dword [ebp - 4], 0xb
call dword [sym.imp.ScCore.dll_public:_bool___thiscall_ScCore::Broadcaster::broadcast_int_const]
mov byte [esi + 0x10a], 1
call dword [sym.imp.ScCore.dll_public:_static_class_ScCore::Context____cdecl_ScCore::Context::get_void_]
cmp dword [eax + 8], esi
jne 0x1001817f
mov dword [eax + 8], 0
mov ecx, esi
call fcn.10016750
mov ecx, esi
call fcn.10012cd0
cmp dword [esi + 0xa0], 0
je 0x100181a8
push 0
mov ecx, esi
call fcn.1003c6a0
cmp dword [esi + 0xa0], 0
jne 0x10018196
mov ecx, esi
call fcn.10016c10
lea ecx, [esi + 0x98]
call fcn.1004d260
lea ecx, [esi + 0x94]
call fcn.1004d260
lea ecx, [esi + 0x90]
xor edi, edi
call dword [sym.imp.ScCore.dll_public:_int___thiscall_ScCore::SimpleArray::length_void_const]
test eax, eax
jle 0x10018207
jmp 0x100181e0
push edi
lea ecx, [esi + 0x90]
call dword [sym.imp.ScCore.dll_public:_int____thiscall_ScCore::SimpleArray::operator___int_]
mov ecx, dword [eax]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
lea ecx, [esi + 0x90]
inc edi
call dword [sym.imp.ScCore.dll_public:_int___thiscall_ScCore::SimpleArray::length_void_const]
cmp edi, eax
jl 0x100181e0
push 0
lea ecx, [esi + 0x88]
push 0x10018940
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::SparseArray::forEach_bool____cdecl___int__int___int___int_]
push 0
push 0x10018a90
lea ecx, [esi + 0x64]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::SparseArray::forEach_bool____cdecl___int__int___int___int_]
lea ecx, [esi + 0x64]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::SparseArray::erase_void_]
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x10018241
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov ecx, dword [esi + 0xd0]
test ecx, ecx
je 0x10018257
dec dword [ecx + 0x22]
jne 0x10018257
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
mov ecx, dword [esi + 0xe4]
test ecx, ecx
je 0x10018269
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
push esi
call fcn.1003c6a0
mov edi, dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::destructor_void_]
add esp, 4
lea ecx, [esi + 0xf0]
mov byte [ebp - 4], 0xa
call edi
lea ecx, [esi + 0xec]
mov byte [ebp - 4], 9
call edi
mov edi, dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::SimpleArray::destructor_void_]
lea ecx, [esi + 0x98]
mov byte [ebp - 4], 8
call edi
lea ecx, [esi + 0x94]
mov byte [ebp - 4], 7
call edi
lea ecx, [esi + 0x90]
mov byte [ebp - 4], 6
call edi
mov edi, dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::SparseArray::destructor_void_]
lea ecx, [esi + 0x88]
mov byte [ebp - 4], 5
call edi
lea ecx, [esi + 0x80]
mov byte [ebp - 4], 4
call edi
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 3
call edi
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 2
call edi
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 1
call edi
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 0
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::destructor_void_]
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.1003c6a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret