Function at 0x52aed0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5bcde0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
lea edx, [esp + 0x10]
push 0x6117c4
push edx
mov dword [esp + 0x34], 0
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::MakeUpper
mov eax, dword [esp + 8]
mov ecx, esi
push eax
call fcn.0052a010
mov ecx, dword [esp + 8]
push ecx
mov ecx, esi
call fcn.0052a140
mov ebx, eax
test ebx, ebx
jl 0x52b188
cmp ebx, 0x1a
jge 0x52b188
push ebp
push edi
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString_1
push 0
lea ecx, [esp + 0x40]
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CTime::GetLocalTm
mov ebp, dword [eax + 0xc]
push 0
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CTime::GetLocalTm
mov edi, dword [eax + 0x10]
push 0
lea ecx, [esp + 0x40]
inc edi
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax + 0x14]
mov ecx, 0x64
add eax, 0x76c
push ebp
cdq
idiv ecx
push edi
push edx
lea edx, [esp + 0x44]
push str._02d_02d_02d
push edx
call sub.MFC42.DLL_CString::Format
lea eax, [ebx + ebx*4]
add esp, 0x14
mov ecx, dword [esi + eax*4 + 0x9c]
lea ebx, [esi + eax*4 + 0x94]
xor eax, eax
mov dword [esp + 0x20], ebx
test ecx, ecx
mov dword [esp + 0x14], eax
jle 0x52b178
mov ebp, dword [esp + 0x40]
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x10]
mov esi, dword [ecx + eax*4]
mov dword [esp + 0x18], esi
mov eax, dword [esi]
push eax
push edx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x52b164
mov eax, dword [esi + 0x10]
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
push eax
mov eax, dword [esp + 0x3c]
push eax
call edi
add esp, 8
test eax, eax
jl 0x52b164
mov eax, dword [esi + 0x14]
mov ecx, dword [esp + 0x38]
push eax
push ecx
call edi
add esp, 8
test eax, eax
jg 0x52b164
mov edx, dword [ebp + 8]
mov ebx, edx
mov dword [esp + 0x1c], ebx
inc ebx
test ebx, ebx
jne 0x52b058
mov eax, dword [ebp + 4]
test eax, eax
je 0x52b04b
push eax
mov dword [esp + 0x38], edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp + 4], ebx
xor eax, eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], eax
jmp 0x52b156
mov edi, dword [ebp + 4]
test edi, edi
jne 0x52b093
lea edi, [ebx*4]
push edi
call sub.MFC42.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [ebp + 4], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], ebx
jmp 0x52b156
mov ecx, dword [ebp + 0xc]
cmp ebx, ecx
jg 0x52b0c1
cmp edx, ebx
jge 0x52b0b1
mov ecx, ebx
lea edi, [edi + edx*4]
sub ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [ebp + 8], ebx
jmp 0x52b156
jle 0x52b0b9
sub edx, ebx
mov dword [esp + 0x34], edx
mov dword [ebp + 8], ebx
jmp 0x52b156
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x52b0eb
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x52b0df
mov eax, 4
jmp 0x52b0eb
cmp eax, 0x400
jle 0x52b0eb
mov eax, 0x400
add eax, ecx
cmp ebx, eax
mov dword [esp + 0x34], eax
jl 0x52b0f9
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x34]
lea ecx, [eax*4]
push ecx
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 4]
shl ecx, 2
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x44], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp + 8]
mov ecx, ebx
sub ecx, edx
lea edi, [eax + edx*4]
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 4]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x20]
add esp, 8
mov dword [ebp + 4], eax
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 4]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov dword [edx + eax*4], esi
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + 8]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x52afd1
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
pop edi
pop ebp
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10