Function at 0x409ae0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x727f9d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov al, byte [esp + 0x30]
fld dword [esp + 0x2c]
push ebx
push ebp
mov ebp, ecx
mov byte [ebp + 0x38], al
xor ebx, ebx
mov dword [ebp + 4], ebx
mov eax, dword [0x7c67dc]
fdiv dword [eax + 0xa4]
mov ecx, dword [0x7de6cc]
mov edx, dword [0x7de6d4]
push esi
push edi
push 0x30
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], edx
fadd dword [0x7465e4]
fstp dword [esp + 0x20]
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
push 0x30
mov esi, eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
push 0x10
mov edi, eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0xc
mov dword [esp + 0x10], eax
cmp eax, ebx
mov dword [esp + 0x34], ebx
je 0x409b90
mov ebx, eax
mov dword [esp + 0x40], 4
push 0
push 0
push 0
push 0
mov ecx, ebx
call fcn.00405760
mov eax, dword [esp + 0x40]
add ebx, 4
dec eax
mov dword [esp + 0x40], eax
jne 0x409b69
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x40], ecx
jmp 0x409b94
mov dword [esp + 0x40], ebx
push 0x20
mov dword [esp + 0x38], 0xffffffff
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
push 0xc
mov ebx, eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [0x7c67dc]
fild dword [ecx + 0x7c]
mov dword [esp + 0x20], eax
fmul dword [0x746498]
fild dword [ecx + 0x78]
xor ecx, ecx
mov dword [esi + 4], ecx
fmul dword [0x746498]
fstp dword [esp + 0x18]
fld dword [esp + 0x30]
fadd st(1)
fld st(0)
fld dword [esp + 0x28]
fsub dword [esp + 0x18]
fst dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
fstp dword [esi]
fstp dword [esi + 8]
mov dword [esi + 0x10], ecx
fld dword [esp + 0x28]
fadd dword [esp + 0x18]
fst dword [esp + 0x18]
fstp dword [esi + 0xc]
fstp dword [esi + 0x14]
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], ecx
fsubr dword [esp + 0x30]
mov edx, dword [esp + 0x18]
fld st(0)
fstp dword [esi + 0x20]
mov dword [esi + 0x28], ecx
mov dword [esi + 0x24], edx
fstp dword [esi + 0x2c]
mov ecx, dword [0x7de6c0]
mov dword [edi], ecx
mov edx, dword [0x7de6c4]
mov dword [edi + 4], edx
mov ecx, dword [0x7de6c8]
mov dword [edi + 8], ecx
mov edx, dword [0x7de824]
mov ecx, dword [esp + 0x48]
mov dword [ecx], edx
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov edx, dword [0x7de6c0]
mov dword [edi + 0xc], edx
mov edx, dword [0x7de6c4]
mov dword [edi + 0x10], edx
mov edx, dword [0x7de6c8]
mov dword [edi + 0x14], edx
mov edx, dword [0x7de824]
mov dword [ecx + 4], edx
mov dword [ebx + 8], 0x3f800000
mov dword [ebx + 0xc], 0
mov edx, dword [0x7de6c0]
mov dword [edi + 0x18], edx
mov edx, dword [0x7de6c4]
mov dword [edi + 0x1c], edx
mov edx, dword [0x7de6c8]
mov dword [edi + 0x20], edx
mov edx, dword [0x7de824]
mov dword [ecx + 8], edx
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0x3f800000
mov edx, dword [0x7de6c0]
mov dword [edi + 0x24], edx
mov edx, dword [0x7de6c4]
mov dword [edi + 0x28], edx
mov edx, dword [0x7de6c8]
mov dword [edi + 0x2c], edx
mov edx, dword [0x7de824]
mov dword [ecx + 0xc], edx
mov ecx, 0x3f800000
mov dword [ebx + 0x18], ecx
mov dword [ebx + 0x1c], ecx
mov ecx, 2
mov edx, 1
push 0xac
mov word [eax], 0
mov word [eax + 2], cx
mov word [eax + 4], dx
mov word [eax + 6], cx
mov word [eax + 8], 3
mov word [eax + 0xa], dx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x34], 1
je 0x409d45
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x40]
push 0
push ecx
push 2
push ebx
push edx
push edi
push esi
push 4
mov ecx, eax
call fcn.006e4dd0
mov esi, eax
jmp 0x409d47
xor esi, esi
mov ecx, dword [ebp + 0xc]
or ebx, 0xffffffff
cmp ecx, esi
mov dword [esp + 0x34], ebx
je 0x409d68
test ecx, ecx
je 0x409d5e
call fcn.00404630
test esi, esi
mov dword [ebp + 0xc], esi
je 0x409d68
inc dword [esi + 4]
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x40a08e
push str.FaderGeom
call fcn.006ea1a0
push 0x1c
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x40], esi
xor edi, edi
cmp esi, edi
mov dword [esp + 0x34], 2
je 0x409dec
mov ecx, esi
call fcn.00405990
push edi
push edi
mov ecx, esi
mov byte [esp + 0x3c], 3
mov dword [esi], 0x7465a8
call fcn.00405960
push 1
push 0xf
push 6
mov ecx, esi
call fcn.00408a10
push 5
push 0xf
push 7
mov ecx, esi
call fcn.00408a10
push 9
push edi
mov ecx, esi
call fcn.00405960
push 0xa
push 7
push edi
mov ecx, esi
call fcn.00408a10
mov byte [esi + 0x18], 0
jmp 0x409dee
xor esi, esi
push edi
push 1
mov ecx, esi
mov dword [esp + 0x3c], ebx
call fcn.00405960
push 1
push 0xf
push 6
mov ecx, esi
call fcn.00408a10
push 5
push 0xf
push 7
mov ecx, esi
call fcn.00408a10
push 0xd
push 1
mov ecx, esi
call fcn.00405960
mov ebx, dword [ebp + 0xc]
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push esi
call fcn.0040a840
lea ecx, [ebx + 0x88]
call fcn.00405840
push 0x1c
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x40], esi
cmp esi, edi
mov dword [esp + 0x34], 4
je 0x409e86
mov ecx, esi
call fcn.00405990
push edi
push edi
mov ecx, esi
mov byte [esp + 0x3c], 5
mov dword [esi], 0x74652c
call fcn.00405960
push 1
push edi
mov ecx, esi
call fcn.00405960
mov dword [esi + 0x18], 3
jmp 0x409e88
xor esi, esi
push edi
push 1
mov ecx, esi
mov dword [esp + 0x3c], 0xffffffff
call fcn.00405960
push 1
push edi
mov ecx, esi
call fcn.00405960
mov ebx, dword [ebp + 0xc]
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push esi
call fcn.0040a840
lea ecx, [ebx + 0x88]
call fcn.00405840
push 0x58
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x40], eax
cmp eax, edi
mov dword [esp + 0x34], 6
je 0x409ee4
mov ecx, eax
call fcn.006db0a0
mov esi, eax
jmp 0x409ee6
xor esi, esi
push 0x7de804
lea ecx, [esi + 0x40]
mov dword [esp + 0x38], 0xffffffff
call fcn.0040a7e0
push edi
push 1
mov ecx, esi
call fcn.00405960
push 0x7de804
lea ecx, [esi + 0x1c]
call fcn.0040a7e0
push edi
push 1
mov ecx, esi
call fcn.00405960
push 0x7de804
lea ecx, [esi + 0x28]
call fcn.0040a7e0
push edi
push 1
mov ecx, esi
call fcn.00405960
mov ebx, dword [ebp + 0xc]
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push esi
call fcn.0040a840
lea ecx, [ebx + 0x88]
call fcn.00405840
push 0x20
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x40], esi
cmp esi, edi
mov dword [esp + 0x34], 7
je 0x409f83
mov ecx, esi
call fcn.00405990
mov dword [esi], 0x7464f8
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], 1
jmp 0x409f85
xor esi, esi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], 1
mov ecx, dword [ebp + 0xc]
push ecx
or ebx, 0xffffffff
cmp esi, edi
mov eax, esp
mov dword [esp + 0x38], ebx
mov dword [esp + 0x44], esp
mov dword [eax], esi
je 0x409fa9
inc dword [esi + 4]
add ecx, 0x88
call fcn.00405840
push 0xb0
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x40], eax
cmp eax, edi
mov dword [esp + 0x34], 8
je 0x409fdc
mov ecx, eax
call fcn.006c81e0
mov esi, eax
jmp 0x409fde
xor esi, esi
mov ecx, dword [ebp + 8]
cmp ecx, esi
mov dword [esp + 0x34], ebx
je 0x409ffc
cmp ecx, edi
je 0x409ff2
call fcn.00404630
cmp esi, edi
mov dword [ebp + 8], esi
je 0x409ffc
inc dword [esi + 4]
mov ecx, dword [ebp + 8]
cmp ecx, edi
je 0x40a08e
push str.Fader
call fcn.006ea1a0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [ecx]
push edi
push edx
call dword [eax + 0x94]
fld dword [esp + 0x1c]
mov eax, dword [ebp + 8]
fabs
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0x30], edi
mov dword [eax + 0x34], ecx
mov dword [eax + 0x38], edi
add eax, 0x30
mov eax, dword [ebp + 8]
add eax, 0x64
mov edx, ecx
mov dword [eax], edi
mov dword [eax + 4], edx
mov dword [eax + 8], edi
mov eax, dword [ebp + 8]
fstp dword [eax + 0x3c]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push 1
call dword [edx + 0x50]
mov eax, dword [0x7c67dc]
mov ecx, dword [eax + 0x188]
mov eax, dword [ebp + 8]
mov edx, dword [ecx]
push 1
push eax
call dword [edx + 0x94]
mov ecx, dword [ebp + 4]
push ecx
mov ecx, ebp
call fcn.004098f0
mov byte [ebp], 0
mov dword [ebp + 0x28], edi
mov dword [ebp + 0x3c], edi
mov dword [ebp + 0x34], edi
mov dword [ebp + 0x30], edi
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x28
ret 8