Function at 0x45a050
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ddac
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x47467c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], ecx
lea ecx, [ebp - 0x24]
call fcn.004032b0
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0xffffffff
mov ecx, dword [ebp - 0x48]
add ecx, 0x1bc
call fcn.00408390
mov eax, dword [ebp - 0x48]
mov dword [eax + 0x1e0], 0
mov ecx, dword [ebp - 0x48]
mov dword [ecx + 0x1dc], 0x64
mov edx, dword [ebp - 0x48]
mov dword [edx + 0x1e4], 1
push 0x4663f3
mov ecx, dword [ebp - 0x48]
add ecx, 0x28
call fcn.00403100
mov ecx, dword [ebp - 0x48]
add ecx, 0x1bc
mov eax, dword [ebp - 0x48]
mov edx, dword [eax + 0x1bc]
mov eax, dword [edx + 0x14]
call eax
mov dword [ebp - 0x28], 0xffffffff
mov ecx, dword [ebp - 0x48]
cmp dword [ecx + 0x30], 0
jne 0x45a26a
push 6
push 1
push 2
call dword [0x460640]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jne 0x45a184
call dword [0x46064c]
push eax
lea edx, [ebp - 0x34]
push edx
mov ecx, dword [ebp - 0x48]
call fcn.004582f0
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx]
push edx
push 0x466990
lea eax, [ebp - 0x24]
push eax
call fcn.00402570
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00403150
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
lea edx, [ebp - 0x24]
push edx
call fcn.00402900
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x48]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x48]
mov eax, dword [edx + 0x24]
call eax
jmp 0x45a26a
push 0x10
push 0
lea ecx, [ebp - 0x20]
push ecx
call fcn.00430e60
add esp, 0xc
mov edx, 2
mov word [ebp - 0x20], dx
mov ecx, dword [ebp + 8]
call fcn.0040a110
push eax
call fcn.00455e50
add esp, 4
push eax
call dword [0x460638]
mov dword [ebp - 0x1c], eax
movzx eax, word [ebp + 0xc]
push eax
call dword [0x460664]
mov word [ebp - 0x1e], ax
push 0x10
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call dword [0x460634]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jne 0x45a25b
call dword [0x46064c]
cmp eax, 0x2733
je 0x45a25b
call dword [0x46064c]
push eax
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x48]
call fcn.004582f0
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx]
push eax
push 0x4669a4
lea ecx, [ebp - 0x24]
push ecx
call fcn.00402570
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00403150
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
lea edx, [ebp - 0x24]
push edx
call fcn.00402900
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x48]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x48]
mov eax, dword [edx + 0x24]
call eax
mov ecx, dword [ebp - 0x28]
push ecx
call dword [0x460654]
jmp 0x45a26a
mov edx, dword [ebp - 0x28]
push edx
mov ecx, dword [ebp - 0x48]
call fcn.00403420
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00403150
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00430e4e
mov esp, ebp
pop ebp
ret 8