Function at 0x40cd00
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x452dad
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x477b9c]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
xor esi, esi
push esi
push 0xffffffffffffffff
push 0x45f748
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], esi
call fcn.0044b840
mov ebp, dword [esp + 0x8c]
mov edi, dword [esp + 0x88]
lea eax, [esp + 0x18]
push eax
push ebp
push edi
mov dword [esp + 0x8c], esi
call fcn.0040b880
mov ecx, dword [esp + 0x34]
push ecx
mov ebx, eax
mov dword [esp + 0x90], 0xffffffff
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov edx, dword [esp + 0x30]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 0x14
cmp ebx, esi
je 0x40cf30
push esi
push 0xffffffffffffffff
push 0x45f748
lea ecx, [esp + 0x24]
call fcn.0044b840
lea eax, [esp + 0x18]
mov esi, 1
push eax
mov ecx, edi
mov dword [esp + 0x84], esi
call fcn.00438fa0
push eax
lea ecx, [esp + 0x64]
call fcn.004019d8
mov ecx, dword [esp + 0x28]
push ecx
mov byte [esp + 0x84], 3
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov edx, dword [esp + 0x24]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 8
push 0
push 0xffffffffffffffff
push 0x45f724
lea ecx, [esp + 0x54]
call fcn.0044b840
lea eax, [esp + 0x48]
mov ebx, esi
push eax
mov ecx, edi
mov byte [esp + 0x84], 4
mov dword [esp + 0x18], ebx
call fcn.00438ec0
test eax, eax
je 0x40ce4d
push 0
push 0xffffffffffffffff
push 0x45f724
lea ecx, [esp + 0x3c]
call fcn.0044b840
lea ecx, [esp + 0x30]
push ecx
push ebp
mov ebx, 3
push edi
mov dword [esp + 0x8c], 5
mov dword [esp + 0x20], ebx
call fcn.0040ba20
add esp, 0xc
cmp eax, esi
mov dword [esp + 0x8c], esi
je 0x40ce58
mov dword [esp + 0x8c], 0
test bl, 2
je 0x40ce77
mov edx, dword [esp + 0x40]
push edx
and ebx, 0xfffffffd
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x3c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 8
test bl, 1
mov dword [esp + 0x80], 3
je 0x40ce9e
mov ecx, dword [esp + 0x58]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov edx, dword [esp + 0x54]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 8
push ebp
call fcn.0040af40
add esp, 4
test eax, eax
jne 0x40cf19
push 0x14
call fcn.0045103a
add esp, 4
mov dword [esp + 0x88], eax
test eax, eax
mov byte [esp + 0x80], 6
je 0x40ced3
mov ecx, eax
call fcn.0043d3a0
mov esi, eax
jmp 0x40ced5
xor esi, esi
mov dword [esp + 0x88], esi
mov ecx, dword [esp + 0x8c]
mov eax, dword [esi]
mov eax, dword [eax + 0x138]
push ecx
lea edx, [esp + 0x64]
push edx
mov ecx, esi
mov byte [esp + 0x88], 7
call eax
push ebp
push edi
call fcn.0040ac30
mov edx, dword [esi]
mov eax, dword [edx]
add esp, 8
push 1
mov ecx, esi
mov byte [esp + 0x84], 3
call eax
mov ecx, dword [esp + 0x70]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov edx, dword [esp + 0x6c]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 8
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 8