Function at 0x4cd2d0
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x52cb38
push eax
mov dword fs:[0], esp
sub esp, 0x24
lea eax, [esp + 0x34]
push ebx
mov ebx, ecx
push esi
push edi
lea ecx, [ebx + 4]
push eax
push ecx
mov ecx, dword [esp + 0x48]
call fcn.00477ee0
test eax, eax
je 0x4cd51e
mov edx, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0
call fcn.004bc610
lea eax, [esp + 0x1c]
push 0x12
push eax
lea ecx, [esp + 0x14]
call fcn.004bc520
test eax, eax
jne 0x4cd37b
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
test eax, eax
je 0x4cd51e
mov ecx, dword [esp + 0x10]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 4
mov eax, dword [esp + 0x20]
mov ecx, dword [ebx + 0x110]
mov dx, word [esp + 0x1c]
cmp eax, ecx
mov word [ebx + 0x10c], dx
je 0x4cd3cc
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
test eax, eax
je 0x4cd51e
mov ecx, dword [esp + 0x10]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 4
mov ecx, 2
lea edi, [ebx + 0x114]
lea esi, [esp + 0x24]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x4cd501
cmp word [esp + 0x2c], 0x64
jae 0x4cd424
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
test eax, eax
je 0x4cd51e
mov ecx, dword [esp + 0x10]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 4
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x24]
mov ax, word [esp + 0x1e]
test al, 1
mov word [ebx + 0x10e], ax
jne 0x4cd459
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
test eax, eax
je 0x4cd586
mov eax, dword [esp + 0x10]
push eax
jmp 0x4cd57e
push 0x3c
call sub.MFC42.DLL_operatornew
mov edx, eax
add esp, 4
test edx, edx
je 0x4cd478
mov ecx, 0xf
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, edx
jmp 0x4cd47a
xor eax, eax
push 0x38
push eax
lea ecx, [esp + 0x14]
mov dword [ebx + 0x140], eax
call fcn.004bc520
test eax, eax
je 0x4cd4fa
mov ecx, dword [ebx + 0x140]
mov esi, dword [ecx + 0x34]
lea eax, [esi + esi*2]
shl eax, 3
sub eax, esi
lea edx, [eax + eax*2]
shl edx, 2
push edx
call sub.MFC42.DLL_operatornew
mov edx, eax
add esp, 4
test edx, edx
je 0x4cd4e2
lea eax, [esi - 1]
test eax, eax
jl 0x4cd4e4
lea ecx, [eax + 1]
mov edi, edx
lea eax, [ecx + ecx*2]
shl eax, 3
sub eax, ecx
lea ecx, [eax + eax*2]
xor eax, eax
shl ecx, 2
mov esi, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x4cd4e4
xor edx, edx
mov eax, dword [ebx + 0x140]
mov dword [eax + 0x38], edx
mov eax, dword [ebx + 0x140]
mov ecx, dword [eax + 0x38]
test ecx, ecx
jne 0x4cd534
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x24]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
test eax, eax
je 0x4cd51e
mov eax, dword [esp + 0x10]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 4
mov ecx, dword [eax + 0x34]
xor esi, esi
test ecx, ecx
jle 0x4cd569
xor edi, edi
mov ecx, dword [eax + 0x38]
push 0x114
add ecx, edi
push ecx
lea ecx, [esp + 0x14]
call fcn.004bc520
test eax, eax
je 0x4cd4fa
mov eax, dword [ebx + 0x140]
inc esi
add edi, 0x114
cmp esi, dword [eax + 0x34]
jl 0x4cd53f
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
test eax, eax
je 0x4cd586
mov ecx, dword [esp + 0x10]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x30]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 4