Function at 0x4876c0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b9ea3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebp
push esi
push edi
mov esi, ecx
call fcn.004866c0
push 8
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x30], eax
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x3c], ebp
je 0x487703
mov ecx, eax
call fcn.004ade30
jmp 0x487705
xor eax, eax
or edi, 0xffffffff
cmp eax, ebp
mov dword [esp + 0x3c], edi
mov dword [esi + 0x4c], eax
je 0x487919
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0xc]
push eax
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0xc]
mov dword [esp + 0x3c], 1
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::TrimRight_1
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, dword [esi + 0x4c]
call fcn.004ae1c0
cmp eax, ebp
jne 0x4878fd
cmp dword [esi + 0x30], ebp
jne 0x4878fd
lea edx, [esi + 0x64]
lea eax, [esi + 0x38]
push edx
lea ecx, [esi + 0x34]
push eax
push ecx
mov ecx, dword [esi + 0x4c]
call fcn.004ae1f0
lea edx, [esp + 0x44]
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x28]
push edx
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x38]
push ecx
lea eax, [esp + 0x40]
push edx
lea ecx, [esp + 0x48]
push eax
lea edx, [esp + 0x50]
push ecx
mov ecx, dword [esi + 0x4c]
push edx
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], edi
mov dword [esp + 0x38], ebp
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x3c], ebp
call fcn.004ae220
cmp eax, 1
jne 0x4878cd
push ebx
push 0x28
call dword [sym.imp.MSVCRT.dll_malloc]
mov ebx, eax
mov ecx, 0xa
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x38]
add esp, 4
mov dword [ebx + 8], eax
mov ecx, dword [esp + 0x30]
mov dword [ebx + 0xc], ecx
mov edx, dword [esp + 0x2c]
mov dword [ebx + 0x10], edx
mov eax, dword [esp + 0x28]
mov dword [ebx + 0x14], eax
mov ecx, dword [esp + 0x20]
mov dword [ebx + 0x18], ecx
mov edx, dword [esp + 0x1c]
mov dword [ebx + 0x1c], edx
mov eax, dword [esp + 0x14]
mov dword [ebx + 0x24], eax
mov ecx, dword [esp + 0x48]
mov dword [ebx + 0x20], ecx
mov edx, dword [esp + 0x24]
mov dword [ebx], edx
mov eax, dword [esp + 0x18]
mov dword [ebx + 4], eax
mov eax, dword [esi + 0x58]
cmp eax, dword [esi + 0x5c]
jg 0x487865
mov edi, dword [esi + 0x54]
mov ecx, dword [esi + 0x60]
add eax, edi
shl eax, 2
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_realloc]
add esp, 8
cmp eax, ebp
je 0x487875
mov edx, dword [esi + 0x54]
mov dword [esi + 0x60], eax
add dword [esi + 0x58], edx
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 0x60]
mov dword [ecx + eax*4], ebx
mov eax, dword [esi + 0x5c]
inc eax
mov dword [esi + 0x5c], eax
mov ebx, dword [esi + 0x1c]
lea edx, [esp + 0x48]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x24]
push ecx
lea eax, [esp + 0x2c]
push edx
lea ecx, [esp + 0x34]
push eax
lea edx, [esp + 0x3c]
push ecx
lea eax, [esp + 0x44]
push edx
lea ecx, [esp + 0x4c]
push eax
lea edx, [esp + 0x54]
inc ebx
push ecx
mov ecx, dword [esi + 0x4c]
push edx
mov dword [esi + 0x2c], ebp
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x68], 2
call fcn.004ae220
cmp eax, 1
je 0x4877dd
or edi, 0xffffffff
pop ebx
lea ecx, [esp + 0xc]
mov dword [esi + 0x20], 1
mov dword [esi + 0x6c], ebp
mov dword [esp + 0x3c], edi
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 4
mov esi, dword [esi + 0x4c]
cmp esi, ebp
je 0x48790c
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
lea ecx, [esp + 0xc]
mov dword [esp + 0x3c], edi
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x34]
pop edi
pop esi
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x34
ret 4