Function at 0x4c41b0
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x52c3e8
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 0x4c43f4
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 0x4c425b
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
test eax, eax
je 0x4c43f4
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 0x4c42ac
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
test eax, eax
je 0x4c43f4
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 0x4c43d7
cmp word [esp + 0x2c], 0x64
jae 0x4c4304
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
test eax, eax
je 0x4c43f4
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 0x4c4339
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
test eax, eax
je 0x4c4456
mov eax, dword [esp + 0x10]
push eax
jmp 0x4c444e
push 0x3c
call sub.MFC42.DLL_operatornew
mov edx, eax
add esp, 4
test edx, edx
je 0x4c4358
mov ecx, 0xf
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, edx
jmp 0x4c435a
xor eax, eax
push 0x38
push eax
lea ecx, [esp + 0x14]
mov dword [ebx + 0x140], eax
call fcn.004bc520
test eax, eax
je 0x4c43d0
mov ecx, dword [ebx + 0x140]
mov esi, dword [ecx + 0x34]
mov edx, esi
shl edx, 4
add edx, esi
shl edx, 2
push edx
call sub.MFC42.DLL_operatornew
mov edx, eax
add esp, 4
test edx, edx
je 0x4c43b8
lea eax, [esi - 1]
test eax, eax
jl 0x4c43ba
inc eax
mov edi, edx
mov ecx, eax
shl ecx, 4
add ecx, eax
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 0x4c43ba
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 0x4c440a
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 0x4c43f4
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 0x4c4439
xor edi, edi
mov ecx, dword [eax + 0x38]
push 0x44
add ecx, edi
push ecx
lea ecx, [esp + 0x14]
call fcn.004bc520
test eax, eax
je 0x4c43d0
mov eax, dword [ebx + 0x140]
inc esi
add edi, 0x44
cmp esi, dword [eax + 0x34]
jl 0x4c4415
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
test eax, eax
je 0x4c4456
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