Function at 0x10156670
Capabilities:
Get number of processors

Disassembly:
push ebp
lea ebp, [esp - 0xc4]
sub esp, 0xc4
push 0xffffffffffffffff
push 0x101fc9a1
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x10252964]
xor eax, ebp
mov dword [ebp + 0xc0], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x20], ebx
mov edi, dword [ebp + 0xcc]
xor eax, eax
mov esi, dword [ebp + 0xd0]
mov dword [ebp - 0x40], eax
push 1
push dword [ebx + 0x30]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x1c], eax
call fcn.101c1346
add esp, 8
mov dword [ebx + 0x30], 0
cmp byte [ebp + 0xd4], 0
je 0x10156c65
xorps xmm0, xmm0
mov dword [ebp + 0xbc], 0
movq qword [ebp + 0xb4], xmm0
mov dword [ebp + 0xb4], 0
mov dword [ebp + 0xb8], 0
mov dword [ebp + 0xbc], 0
mov ecx, dword [ebx + 0x2c]
lea eax, [ebp + 0xb4]
push eax
mov dword [ebp - 4], 0
call fcn.10156390
mov ecx, dword [ebp + 0xb8]
mov eax, 0x92492493
mov esi, dword [ebp + 0xb4]
sub ecx, esi
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov ebx, edx
mov dword [ebp - 0x18], ecx
shr ebx, 0x1f
add ebx, edx
test ebx, ebx
jle 0x1015682a
mov edx, edi
xor eax, eax
mov dword [ebp - 0x10], eax
lea edi, [edx + 4]
nop word [eax + eax]
push dword [edx + 0x14]
lea ecx, [esi + eax]
lea eax, [ebp - 0x3c]
push eax
call fcn.10156420
cmp dword [edi + 0x14], 0x10
mov edx, edi
jb 0x10156789
mov edx, dword [edi]
cmp dword [eax + 0x18], 0x10
lea ecx, [eax + 4]
jb 0x10156795
mov ecx, dword [eax + 4]
push dword [edi + 0x10]
push edx
push dword [eax + 0x14]
push ecx
call fcn.10081260
mov edx, dword [ebp - 0x24]
add esp, 0x10
mov dword [ebp - 0x3c], 0x10044c38
mov esi, eax
cmp edx, 0x10
jb 0x101567ea
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
mov byte [ebp - 4], 1
cmp edx, 0x1000
jb 0x101567dc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10156ca7
push edx
push ecx
call fcn.101c1346
add esp, 8
mov byte [ebp - 4], 0
test esi, esi
mov esi, dword [ebp + 0xb4]
je 0x10156827
mov ecx, dword [ebp + 0xb8]
mov eax, 0x92492493
inc dword [ebp - 0x18]
sub ecx, esi
add dword [ebp - 0x10], 0x1c
dec ebx
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x18], eax
jge 0x10156827
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
jmp 0x10156770
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xb8]
mov eax, 0x92492493
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx - 1]
mov dword [ebp - 0x18], eax
test eax, eax
js 0x10156915
mov edx, dword [ebp - 0x14]
lea eax, [ecx*8]
sub eax, ecx
lea edi, [edx + 4]
lea eax, [eax*4 - 0x1c]
mov dword [ebp - 0x10], eax
nop dword [eax]
push dword [edx + 0x14]
lea ecx, [esi + eax]
lea eax, [ebp - 0x3c]
push eax
call fcn.10156420
cmp dword [edi + 0x14], 0x10
mov edx, edi
jb 0x10156889
mov edx, dword [edi]
cmp dword [eax + 0x18], 0x10
lea ecx, [eax + 4]
jb 0x10156895
mov ecx, dword [eax + 4]
push dword [edi + 0x10]
push edx
push dword [eax + 0x14]
push ecx
call fcn.10081260
mov edx, dword [ebp - 0x24]
add esp, 0x10
mov dword [ebp - 0x3c], 0x10044c38
mov esi, eax
cmp edx, 0x10
jb 0x101568ea
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
mov byte [ebp - 4], 2
cmp edx, 0x1000
jb 0x101568dc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10156ca7
push edx
push ecx
call fcn.101c1346
add esp, 8
mov byte [ebp - 4], 0
test esi, esi
je 0x1015690c
mov eax, dword [ebp - 0x10]
dec ebx
sub eax, 0x1c
sub dword [ebp - 0x18], 1
mov dword [ebp - 0x10], eax
js 0x1015690c
mov esi, dword [ebp + 0xb4]
mov edx, dword [ebp - 0x14]
jmp 0x10156870
mov esi, dword [ebp + 0xb4]
mov edi, dword [ebp - 0x14]
test ebx, ebx
jg 0x10156920
xor ebx, ebx
jmp 0x10156c0f
mov eax, ebx
shl eax, 5
push eax
mov dword [ebp - 0x14], eax
call fcn.101c1354
mov ecx, dword [ebp - 0x20]
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp + 0xb0], 0
mov dword [ecx + 0x30], eax
xor eax, eax
mov dword [ebp - 0x10], eax
nop dword [eax]
push 0xb0
lea eax, [ebp]
push 0
push eax
call fcn.101d82a0
add esp, 0xc
mov dword [ebp], 0x10044fcc
mov dword [ebp + 0x10], 0x10044fd4
mov dword [ebp + 0x70], 0
mov dword [ebp + 0x90], 0
mov dword [ebp + 0x94], 0
mov dword [ebp + 0x98], 0
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp + 0x68]
or eax, 1
mov byte [ebp - 4], 4
mov dword [ebp - 0x1c], eax
xorps xmm0, xmm0
mov dword [ebp - 0x40], eax
lea eax, [ebp + 0x18]
push 0
push eax
mov dword [ebp + 0x68], 0x10044fb0
mov dword [ebp + 0x64], 0x50
movlpd qword [ebp + 8], xmm0
call fcn.1007fe60
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 4]
mov dword [ebp + eax + 0x10], 0x10044e28
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx + 0xc], eax
mov eax, dword [ebp]
mov eax, dword [eax + 4]
mov dword [ebp + eax], 0x10044fc0
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 4], eax
mov eax, dword [ebp]
push 3
mov dword [ebp - 4], 9
mov eax, dword [eax + 4]
mov dword [ebp + eax], 0x10044fc8
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 4], eax
lea ecx, [ebp + 0x18]
call fcn.100748d0
cmp dword [edi + 0x18], 0x10
lea eax, [edi + 4]
mov byte [ebp - 4], 0xa
jb 0x10156a3c
mov eax, dword [edi + 4]
push dword [edi + 0x14]
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.100d9d30
push 0
mov esi, eax
lea eax, [ebp - 0x70]
push 2
push eax
call fcn.101c3d52
mov ecx, dword [esi]
push dword [eax + 0xc]
mov ecx, dword [ecx + 4]
push dword [eax + 8]
mov eax, dword [eax]
add ecx, esi
push ecx
call eax
mov eax, dword [esi]
add esp, 0x24
mov ecx, esi
mov eax, dword [eax + 4]
mov byte [eax + esi + 0x40], 0x30
mov eax, dword [ebp - 0x10]
inc eax
push eax
mov dword [ebp - 0x10], eax
call fcn.100791e0
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp + 0x18]
call fcn.100809c0
or dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x38]
call fcn.10074730
mov dword [ebp - 0x3c], 0x10044c38
mov esi, dword [ebp - 0x18]
lea eax, [ebp + 0xb0]
push eax
push 0x20
push esi
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0xc
push eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x2c]
call fcn.10156020
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x3c], 0x10044c38
cmp edx, 0x10
jb 0x10156b0c
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
mov byte [ebp - 4], 0xd
cmp edx, 0x1000
jb 0x10156b02
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10156ca7
push edx
push ecx
call fcn.101c1346
add esp, 8
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
cmp edx, 0x10
jb 0x10156b56
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
mov byte [ebp - 4], 0xe
cmp edx, 0x1000
jb 0x10156b4c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10156ca7
push edx
push ecx
call fcn.101c1346
add esp, 8
mov eax, dword [ebp]
add esi, 0x20
mov dword [ebp - 0x18], esi
mov eax, dword [eax + 4]
mov dword [ebp + eax], 0x10044fc8
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 4], eax
lea ecx, [ebp + 0x18]
call fcn.10076e40
mov eax, dword [ebp]
mov eax, dword [eax + 4]
mov dword [ebp + eax], 0x10044fc0
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 4], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 4]
mov dword [ebp + eax + 0x10], 0x10044e28
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx + 0xc], eax
mov eax, dword [ebp]
mov eax, dword [eax + 4]
mov dword [ebp + eax], 0x10044fb0
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 4], eax
lea eax, [ebp + 0x68]
mov byte [ebp - 4], 0xf
push eax
mov dword [ebp + 0x68], 0x10044bd4
call fcn.101c35f5
add esp, 4
cmp dword [ebp - 0x10], ebx
jl 0x10156950
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp + 0xb0]
add ecx, 0xffffffe0
mov esi, dword [ebp + 0xb4]
add eax, ecx
mov ecx, dword [ebp - 0x44]
mov dword [ecx], eax
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax + 0x30]
mov dword [ebp - 4], 0x10
test esi, esi
je 0x10156c61
mov edi, dword [ebp + 0xb8]
cmp esi, edi
je 0x10156c39
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax]
add esi, 0x1c
cmp esi, edi
jne 0x10156c24
mov esi, dword [ebp + 0xb4]
mov ecx, dword [ebp + 0xbc]
mov eax, 0x92492493
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
push esi
lea ecx, [ebp + 0xb4]
call fcn.1007ed00
mov eax, ebx
jmp 0x10156c82
push 0x20
call fcn.101c1354
mov ecx, dword [ebx + 0x2c]
add esp, 4
mov dword [ebx + 0x30], eax
push esi
push 0x20
push eax
push edi
call fcn.10156020
mov eax, dword [ebx + 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xc0]
xor ecx, ebp
call fcn.101c1860
lea esp, [ebp + 0xc4]
pop ebp
ret 0xc
call fcn.100f24b4
int3