Function at 0x46cb31
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x58315b
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov edx, dword [esp + 0x20]
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ebx, [edi + 0xb0]
lea eax, [edi + 0x160]
lea esi, [edi + 0x15c]
push ebx
lea ebp, [edi + 0x158]
push eax
push esi
lea ecx, [edi + 0xd8]
push ebp
push ecx
push edx
call fcn.0046c750
fld dword [edi + 0xc8]
fstp qword [esp + 0x10]
fld dword [edi + 0xc4]
fstp qword [esp + 8]
fld dword [edi + 0xc0]
fstp qword [esp]
fld dword [edi + 0xb8]
sub esp, 0x18
fstp qword [esp + 0x10]
fld dword [edi + 0xb4]
fstp qword [esp + 8]
fld dword [ebx]
fstp qword [esp]
push str.Scene_bounding_box:_min___f___f___f__max___f___f___f_
call fcn.00405b60
mov eax, dword [ebp]
add esp, 0x34
test eax, eax
jle 0x46cd24
mov al, byte [edi + 0x8c]
test al, al
je 0x46cb9a
mov eax, dword [0xb084b8]
test eax, eax
jne 0x46cb29
mov eax, dword [str.Null_Pointer]
push eax
push 0x158
push str.._sys_mem_memman.h
call fcn.00401090
mov eax, dword [0xb084b8]
add esp, 0xc
test eax, eax
jne 0x46cb29
call fcn.0052ff20
mov ecx, dword [0xb084b8]
push 0
push 1
push 0x4b30
call fcn.00533b80
mov dword [esp + 0x10], eax
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x28], ecx
je 0x46cb74
mov ecx, eax
call fcn.00401d20
mov ecx, dword [esp + 0x10]
push 0x506790
push 0x506770
push 0x190
add ecx, 0x30
push 0x30
push ecx
call fcn.005750fe
mov ecx, dword [esp + 0x10]
push ebx
mov dword [esp + 0x2c], 0xffffffff
mov dword [edi + 0xd4], ecx
call fcn.005067f0
mov edx, dword [ebp]
mov eax, dword [esi]
mov ecx, dword [edi + 0xd4]
push edx
push eax
call fcn.005068c0
mov eax, dword [ebp]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x14], ebx
jle 0x46cd24
mov dword [esp + 0x18], ebx
mov ecx, dword [esi]
mov esi, dword [edi + 0xd0]
mov eax, dword [esi + 4]
mov ebp, dword [ebx + ecx + 4]
test eax, eax
jne 0x46cbdb
mov edx, dword [str.Null_Pointer]
push edx
push 0x113
push str..core_hashtable.h
call fcn.00401090
add esp, 0xc
mov ecx, dword [esi]
mov eax, 1
shl eax, cl
mov ecx, dword [esi + 4]
dec eax
and eax, ebp
lea eax, [eax + eax*2]
lea eax, [ecx + eax*4]
test eax, eax
je 0x46cc0a
cmp dword [eax], ebp
jne 0x46cc03
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x46ccb1
mov eax, dword [eax + 8]
test eax, eax
jne 0x46cbf4
xor eax, eax
test eax, eax
mov ebp, eax
jne 0x46cce7
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x1c]
mov esi, eax
xor eax, eax
mov dword [esp + 0x1c], esi
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x15c]
mov ecx, dword [ebx + eax + 4]
push ecx
mov ecx, esi
call fcn.00407f70
push 1
mov ecx, esi
call fcn.0046dfd0
mov ecx, esi
call fcn.00407f80
mov ebp, dword [edi + 0xd0]
mov ebx, eax
mov dword [esp + 0x10], ebx
mov eax, dword [ebp + 4]
test eax, eax
jne 0x46cc79
mov edx, dword [str.Null_Pointer]
push edx
push 0xc9
push str..core_hashtable.h
call fcn.00401090
add esp, 0xc
mov ecx, dword [ebp]
mov eax, 1
shl eax, cl
mov ecx, dword [ebp + 4]
dec eax
and eax, ebx
lea eax, [eax + eax*2]
lea ebx, [ecx + eax*4]
mov eax, dword [ecx + eax*4 + 4]
test eax, eax
je 0x46cccf
push 0
call fcn.00535470
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x46ccb9
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
jmp 0x46ccbb
mov eax, dword [eax + 4]
jmp 0x46cc0c
xor eax, eax
mov edx, dword [esp + 0x10]
mov dword [eax + 4], esi
mov dword [eax], edx
mov ecx, dword [ebx + 8]
mov dword [eax + 8], ecx
mov dword [ebx + 8], eax
jmp 0x46ccd8
mov edx, dword [esp + 0x10]
mov dword [ebx + 4], esi
mov dword [ebx], edx
mov eax, dword [ebp + 8]
mov ebx, dword [esp + 0x18]
inc eax
mov dword [ebp + 8], eax
mov ebp, dword [esp + 0x1c]
mov eax, dword [edi + 0x15c]
lea esi, [edi + 0x15c]
add eax, ebx
mov ecx, ebp
push eax
call fcn.0046e2d0
push 0x40
mov ecx, ebp
call fcn.0046e300
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 0x158]
inc eax
add ebx, 0x64
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
jl 0x46cbaf
mov eax, dword [esp + 0x30]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x10]
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4