Function at 0x1030772e
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x104ce94a
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1072a790]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x1072a790]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
push edi
call fcn.103084c0
lea eax, [esp + 0x18]
push eax
call fcn.10307991
and dword [esp + 0x40], 0
lea ecx, [ebx + 0x30]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.102e4f10
mov esi, eax
mov byte [esp + 0x40], 1
mov ecx, edi
call fcn.100808ea
mov ecx, dword [edi]
push esi
call fcn.102e1e80
mov byte [esp + 0x40], 0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x103077c2
dec dword [eax + 0x48]
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x48], 0
jne 0x103077c2
call fcn.102e2160
or dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x18]
push 0
push 1
call fcn.1007a42c
lea eax, [esp + 0x18]
push eax
call fcn.10307a3e
mov dword [esp + 0x40], 2
lea ecx, [ebx + 0x18]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.102e4f10
mov esi, eax
mov byte [esp + 0x40], 3
mov ecx, edi
call fcn.100808ea
mov ecx, dword [edi]
push esi
call fcn.102e1e80
mov byte [esp + 0x40], 2
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10307829
dec dword [eax + 0x48]
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x48], 0
jne 0x10307829
call fcn.102e2160
or dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x18]
push 0
push 1
call fcn.1007a42c
lea eax, [esp + 0x18]
push eax
call fcn.10307aea
mov dword [esp + 0x40], 4
movzx ecx, byte [ebx + 0x48]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.102e4f70
mov esi, eax
mov byte [esp + 0x40], 5
mov ecx, edi
call fcn.100808ea
mov ecx, dword [edi]
push esi
call fcn.102e1e80
mov byte [esp + 0x40], 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10307891
dec dword [eax + 0x48]
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x48], 0
jne 0x10307891
call fcn.102e2160
or dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x18]
push 0
push 1
call fcn.1007a42c
lea eax, [esp + 0x18]
push eax
call fcn.10307b96
mov dword [esp + 0x40], 6
lea ecx, [ebx + 0x4c]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.102e4f10
mov esi, eax
mov byte [esp + 0x40], 7
mov ecx, edi
call fcn.100808ea
mov ecx, dword [edi]
push esi
call fcn.102e1e80
mov byte [esp + 0x40], 6
mov eax, dword [esp + 0x14]
test eax, eax
je 0x103078f8
dec dword [eax + 0x48]
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x48], 0
jne 0x103078f8
call fcn.102e2160
or dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x18]
push 0
push 1
call fcn.1007a42c
lea eax, [esp + 0x18]
push eax
call fcn.10307c42
mov dword [esp + 0x40], 8
lea ecx, [ebx + 0x64]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.102e4f10
mov esi, eax
mov byte [esp + 0x40], 9
mov ecx, edi
call fcn.100808ea
mov ecx, dword [edi]
push esi
call fcn.102e1e80
mov byte [esp + 0x40], 8
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1030795f
dec dword [eax + 0x48]
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x48], 0
jne 0x1030795f
call fcn.102e2160
or dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x18]
push 0
push 1
call fcn.1007a42c
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.10436e26
mov esp, ebp
pop ebp
ret 4