Function at 0x45ede4
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x45edec
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405f28
xor eax, eax
push ebp
push 0x45e493
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x45ee3b
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [eax + 0x4c], 0
je 0x45ee3b
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [eax]
call dword [eax + 0x80]
call fcn.004075a4
mov eax, 0xf4240
call fcn.00403e2c
lea edx, [ebp - 0x3c]
call fcn.00409d14
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x24]
mov edx, 0x45e4ac
call fcn.00405d84
mov byte [ebp - 9], 0
xor eax, eax
push ebp
push 0x45e42e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x45e4b8
mov eax, dword [ebp - 0x24]
call fcn.00405f38
push eax
push 0x45e4bc
push 0x45e4c8
push 0
call fcn.0042be14
mov byte [ebp - 0x15], 0
mov dword [ebp - 0x14], 0x64
push 0x1f4
call fcn.0040e928
push 0
call fcn.004165fc
lea edx, [ebp - 0x1c]
mov eax, dword [0x45b270]
call fcn.0045becc
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.004075a4
mov eax, dword [ebp - 0x40]
test eax, eax
jl 0x45f010
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x44]
call fcn.00407494
push eax
lea eax, [ebp - 0x54]
mov edx, dword [ebp - 0x10]
mov cl, 0xfc
call fcn.00414c7c
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push dword [ebp - 0x54]
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.004075a4
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x20]
mov ecx, 0x45e4d0
call fcn.004074d8
cmp dword [ebp - 0x20], 0
je 0x45f004
lea eax, [ebp - 0x58]
call fcn.00406180
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [eax]
call dword [eax + 0x74]
call fcn.004075a4
mov eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
mov edx, dword [ebp - 0x24]
call fcn.004062cc
mov edx, dword [ebp - 0x5c]
pop eax
call fcn.004062f8
jne 0x45f004
push 0
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [eax]
call dword [eax + 0xa4]
call fcn.004075a4
xor eax, eax
push ebp
push 0x45e3fa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [eax]
call dword [eax + 0x38]
call fcn.004075a4
push 0x1f4
call fcn.0040e928
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [ebp - 0x20]
call fcn.0045cbcc
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp byte [eax + 0x30], 0
je 0x45eff0
mov byte [ebp - 9], 1
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x60]
mov edx, dword [ebp - 4]
call fcn.004062cc
mov eax, dword [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
call fcn.004075a4
mov byte [ebp - 0x15], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45f010
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45f004
inc dword [ebp - 0x10]
dec dword [ebp - 0x28]
jne 0x45eee1
call fcn.00416604
cmp byte [ebp - 0x15], 0
jne 0x45f024
dec dword [ebp - 0x14]
jne 0x45ee9b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45f038
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e49a
lea eax, [ebp - 0x60]
mov edx, 3
call fcn.00406198
lea eax, [ebp - 0x54]
call fcn.00410acc
lea eax, [ebp - 0x44]
call fcn.00407494
lea eax, [ebp - 0x3c]
call fcn.00405a78
lea eax, [ebp - 0x38]
call fcn.00410acc
lea eax, [ebp - 0x24]
call fcn.00405a78
lea eax, [ebp - 0x20]
call fcn.00407494
lea eax, [ebp - 0x1c]
call fcn.00407494
lea eax, [ebp - 4]
call fcn.00405a78
ret