Function at 0x4c7470
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10149fb6
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x101d74a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x1016c9a8
xor edi, edi
mov dword [esi + 8], 0x10153c1c
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x28], edi
mov dword [ebp - 4], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x50], 0x1016c338
mov dword [esi + 0x4c], 0x1016c728
mov dword [esi + 0x50], 0x1016c704
mov dword [esi + 0x5c], 0x1016c6bc
mov dword [esi + 0x64], edi
lea ebx, [esi + 0x68]
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.004a9c40
mov dword [ebx], 0x1016c890
mov dword [ebx + 4], 0x1016c86c
mov dword [ebx + 0x10], 0x1016c858
mov dword [ebx + 0x34], 0x1016c840
mov dword [ebx + 0x58], edi
lea ebx, [esi + 0xc4]
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.004c54a0
mov dword [ebx], 0x1016c7cc
mov dword [ebx + 4], 0x1016c7a8
mov dword [ebx + 0x10], 0x1016c790
mov dword [ebx + 0x40], edi
lea ebx, [esi + 0x108]
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.004b2910
mov eax, dword [ebx + 0xc]
mov dword [ebx], 0x1016c318
mov ecx, 0x10102db0
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], edi
mov dword [ebx + 0x38], edi
lea ebx, [esi + 0x144]
mov ecx, ebx
mov byte [ebp - 4], 5
call fcn.004a8170
mov dword [ebx], 0x1016c974
mov dword [ebx + 4], 0x1016c950
mov dword [ebx + 0x10], 0x1016c928
mov dword [ebx + 0x14], 0x1016c914
mov dword [ebx + 0x18], 0x1016c90c
mov dword [ebx + 0x7c], edi
lea ebx, [esi + 0x1c4]
mov ecx, ebx
mov byte [ebp - 4], 6
call fcn.004c3e90
lea ecx, [ebx + 8]
mov dword [ebx], 0x1016c214
call 0x3bf420
cmp eax, edi
jl 0x4c75d5
mov byte [ebx + 0x20], 1
cmp eax, edi
mov dword [ebx + 0x34], eax
jl 0x4c75df
mov dword [ebx + 0x34], edi
push edi
lea ecx, [esi + 0x1fc]
call fcn.004c6250
lea ebx, [esi + 0x234]
push ebx
lea ecx, [ebx + 8]
mov byte [ebp - 4], 8
mov dword [ebx + 4], edi
call fcn.0041bce0
mov eax, 0x64
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], eax
lea eax, [ebx + 0x1c]
push eax
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x34], edi
call dword [0x101524ac]
mov dword [ebx], 0x1016c0b4
mov dword [ebx + 0x40], edi
lea ecx, [esi + 0x278]
mov byte [ebp - 4], 9
call fcn.004c0d00
mov dword [esi + 0x458], edi
mov dword [esi + 0x454], 0x1016b9cc
mov dword [esi + 0x45c], edi
lea ebx, [esi + 0x460]
mov ecx, ebx
mov byte [ebp - 4], 0xb
call fcn.004ad840
mov dword [ebx], 0x1016c8f0
mov dword [ebx + 4], 0x1016c8cc
mov dword [ebx + 0x10], 0x1016c8b0
mov dword [ebx + 0x14], 0x1016c8a8
mov dword [ebx + 0x34], edi
lea ebx, [esi + 0x498]
mov ecx, ebx
mov byte [ebp - 4], 0xc
call fcn.004a2e90
mov dword [ebx], 0x1016b9fc
mov dword [ebx + 4], 0x1016b9e8
mov dword [ebx + 0x64], edi
lea ebx, [esi + 0x500]
mov ecx, ebx
mov byte [ebp - 4], 0xd
call fcn.004a00a0
mov dword [ebx], 0x1016ba28
mov dword [ebx + 4], 0x1016ba20
mov dword [ebx + 0x28], edi
mov byte [ebp - 4], 0xe
call fcn.004e79d0
test al, al
je 0x4c76dc
push 0x1016c98c
push 0x79
push 0x1016b874
call fcn.004e7da0
add esp, 0xc
call dword [0x101524fc]
mov ebx, dword [0x10152560]
mov dword [esi + 0x24], eax
call ebx
push 2
push edi
push edi
lea ecx, [esi + 0x30]
push ecx
mov dword [esi + 0x2c], eax
call dword [0x10152520]
push eax
call dword [0x1015255c]
push eax
call dword [0x10152520]
push eax
call dword [0x10152558]
push edi
call ebx
push eax
call dword [0x10152130]
add esp, 8
mov dword [esi + 4], 0x10000000
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret