Function at 0x405500
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4088aa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
mov dword [ebp - 0x74], ecx
push 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x9c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
call dword [eax + 0x30]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
call dword [edx + 0x38]
sub eax, 0x112
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x1c], 0x1000
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
shl ecx, 3
push ecx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x58], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x58], 0
je 0x405590
push fcn.00407a70
mov edx, dword [ebp - 0x3c]
push edx
push 8
mov eax, dword [ebp - 0x58]
push eax
call section..text
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x78], ecx
jmp 0x405597
mov dword [ebp - 0x78], 0
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x54], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x10], 0
push 0x64
push 0
mov ecx, dword [ebp - 0x74]
add ecx, 0xa0
call fcn.00407ee0
push 0x400
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x14], ecx
mov edx, 1
test edx, edx
je 0x40579c
push 0x1c
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
call dword [edx + 0x3c]
cmp eax, 0x1c
jae 0x40560f
jmp 0x40579c
mov eax, dword [ebp - 0x10]
add eax, 0x1c
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x48]
add ecx, 1
mov dword [ebp - 0x48], ecx
push 0
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
call dword [edx + 0x30]
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x1c]
jbe 0x4056ad
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x60]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x50]
shl edx, 3
push edx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x68], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x68], 0
je 0x405693
push fcn.00407a70
mov eax, dword [ebp - 0x50]
push eax
push 8
mov ecx, dword [ebp - 0x68]
push ecx
call section..text
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x7c], edx
jmp 0x40569a
mov dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x64], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x30]
shl edx, 3
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
call dword [edx + 0x3c]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x10]
lea edx, [ecx + eax*8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x58], 0
je 0x405702
movsx ecx, word [ebp - 0x36]
push ecx
push str.SP_d_
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x20]
push edx
mov ecx, dword [ebp - 0x74]
call fcn.00405143
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp + 0x20]
mov dword [eax], ecx
mov edx, dword [ebp + 0x24]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 0x28]
mov dword [eax + 8], ecx
mov edx, dword [ebp + 0x2c]
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x74]
call fcn.004057e3
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x40574d
jmp 0x40579c
push 0
mov ecx, dword [ebp - 0x48]
imul ecx, ecx, 0x1c
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x9c]
add eax, ecx
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
call dword [edx + 0x30]
movsx eax, word [ebp - 0x38]
cmp eax, 0xffffffff
jne 0x405777
jmp 0x40579c
mov eax, dword [ebp - 0x10]
imul eax, eax, 0x64
xor edx, edx
div dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
push ecx
mov ecx, dword [ebp - 0x74]
add ecx, 0xa0
call fcn.00401910
jmp 0x4055e7
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x6c]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x70]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
push 0
mov ecx, dword [ebp - 0x74]
add ecx, 0xa0
call fcn.00401910
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x28