Function at 0x474a90
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4954d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x20]
push ebp
push esi
mov ecx, dword [ebx + 0x18]
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x34]
push edi
xor ebp, ebp
mov edi, eax
cmp ecx, ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
jle 0x474ad5
cdq
idiv ecx
mov dword [esp + 0x10], eax
push 0x64
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
cmp esi, ebp
mov dword [esp + 0x24], ebp
je 0x474b0e
mov edx, dword [esp + 0x2c]
push edi
push edx
mov ecx, esi
call fcn.0047fe10
mov dword [esi + 0x54], ebp
mov dword [esi + 0x5c], ebp
mov dword [esi + 0x58], ebp
mov dword [esi + 0x60], ebp
mov dword [esi], 0x4a03e8
mov ebp, esi
fld qword [esp + 0x30]
fcomp qword [0x4a04b8]
mov dword [esp + 0x24], 0xffffffff
fnstsw ax
test ah, 1
je 0x474b6e
mov edx, dword [esp + 0x2c]
xor esi, esi
test edx, edx
jle 0x474b72
test edi, edi
jle 0x474b67
mov eax, dword [ebx + 8]
mov edx, edi
mov ecx, dword [eax + esi*4]
movsx eax, word [ecx]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fld qword [esp + 0x30]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x474b5b
fstp qword [esp + 0x30]
jmp 0x474b5d
fstp st(0)
add ecx, 2
dec edx
jne 0x474b3d
mov edx, dword [esp + 0x2c]
inc esi
cmp esi, edx
jl 0x474b31
jmp 0x474b72
mov edx, dword [esp + 0x2c]
xor ecx, ecx
test edx, edx
jle 0x474baf
xor eax, eax
test edi, edi
jle 0x474baa
mov esi, dword [ebx + 8]
inc eax
cmp eax, edi
mov esi, dword [esi + ecx*4]
movsx esi, word [esi + eax*2 - 2]
mov dword [esp + 0x18], esi
mov esi, dword [ebp + 8]
fild dword [esp + 0x18]
mov esi, dword [esi + ecx*4]
fdiv qword [esp + 0x30]
fmul dword [0x4a0568]
fstp dword [esi + eax*4 - 4]
jl 0x474b7e
inc ecx
cmp ecx, edx
jl 0x474b78
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x474bcc
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
push 0x64
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 4
mov dword [esp + 0x30], edi
xor ebx, ebx
mov dword [esp + 0x24], 1
cmp edi, ebx
je 0x474c13
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
push ecx
push edx
mov ecx, edi
call fcn.0047fe10
mov dword [edi], 0x4a03e8
mov dword [edi + 0x54], ebx
mov dword [edi + 0x5c], ebx
mov dword [edi + 0x58], ebx
mov dword [edi + 0x60], ebx
mov dword [esp + 0x30], edi
jmp 0x474c17
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x2c]
cmp eax, ebx
jle 0x474c81
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x14]
xor eax, eax
test ecx, ecx
jle 0x474c71
xor edi, edi
mov ecx, dword [esp + 0x38]
fld qword [0x4a0308]
lea edx, [eax + ecx]
cmp eax, edx
jge 0x474c52
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + ebx]
lea esi, [ecx + eax*4]
mov ecx, edx
sub ecx, eax
fadd dword [esi]
dec ecx
jne 0x474c4d
fidiv dword [esp + 0x38]
mov eax, dword [esp + 0x30]
add edi, 4
mov ecx, dword [eax + 8]
mov eax, dword [ecx + ebx]
mov ecx, dword [esp + 0x14]
fstp dword [eax + edi - 4]
mov eax, edx
cmp eax, ecx
jl 0x474c2f
mov eax, dword [esp + 0x2c]
add ebx, 4
dec eax
mov dword [esp + 0x2c], eax
jne 0x474c23
xor ebx, ebx
cmp ebp, ebx
je 0x474d18
mov eax, dword [ebp + 0x5c]
mov dword [ebp], 0x4a03e8
cmp eax, ebx
je 0x474ca3
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp + 0x5c], ebx
mov eax, dword [ebp + 0x58]
cmp eax, ebx
je 0x474cb6
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp + 0x58], ebx
mov eax, dword [ebp + 4]
mov dword [ebp + 0x5c], ebx
cmp eax, ebx
mov dword [ebp + 0x58], ebx
mov dword [ebp], 0x4a03e0
je 0x474cd6
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp + 4], ebx
mov eax, dword [ebp + 0x48]
cmp eax, ebx
je 0x474ce9
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp + 0x48], ebx
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x474cfc
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp + 0x10], ebx
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x474d0f
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp + 8], ebx
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret