Function at 0x100af217
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10254d3d
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [edi + 0x78], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x7c], eax
mov eax, dword [edi]
call dword [eax + 0x17c]
mov dword [esp + 0x1c], eax
call dword [0x102aba20]
push eax
call fcn.10263cfc
mov dword [esp + 0x44], eax
call dword [0x102ab9b0]
push eax
call fcn.10263cfc
xor esi, esi
mov dword [esp + 0x40], eax
push esi
push 0x10
push 0x7f00
push esi
call dword [0x102ab99c]
push eax
push 0x800
call fcn.10264b7a
push eax
lea ecx, [esp + 0x1c]
call fcn.1008e6ab
mov dword [esp + 0xa0], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov esi, 0x88
call fcn.1008b6ce
cmp dword [eax + 0x1ac], 8
jle 0x100af2f2
cmp byte [edi + 0xa8], 0xff
jae 0x100af2f2
mov esi, 0x80088
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
lea eax, [esp + 0x34]
push eax
push 0x80000000
push 0x10003dbc
push dword [esp + 0x30]
push esi
call fcn.1026422d
test eax, eax
jne 0x100af329
mov ecx, dword [esp + 0x18]
lea ecx, [ecx - 0x10]
call fcn.10086faa
xor eax, eax
jmp 0x100af6ff
mov eax, dword [edi + 0xb0]
mov dword [eax + 0x944], 1
mov edx, dword [edi + 0x98]
test edx, edx
je 0x100af371
mov ecx, dword [edi + 0xb0]
push edi
push edx
mov eax, dword [ecx]
call dword [eax + 0x168]
test eax, eax
je 0x100af316
mov eax, dword [edi]
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
call dword [eax + 0x170]
mov esi, dword [eax + 4]
mov ebx, dword [eax]
mov dword [esp + 0x14], esi
jmp 0x100af3a4
test ebx, ebx
jne 0x100af37a
call fcn.1021f333
mov ecx, dword [edi + 0xb0]
push edi
push ebx
call fcn.100ae9de
test eax, eax
je 0x100af316
mov ecx, dword [edi + 0xb0]
lea eax, [esp + 0x28]
push eax
call fcn.100aed75
mov ebx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0xb0]
and dword [eax + 0x944], 0
lea eax, [esp + 0x38]
push eax
call fcn.100ec21f
xor edx, edx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
add ecx, 6
add eax, 6
mov dword [esp + 0x28], ecx
mov dword [esp + 0x38], eax
add eax, 2
cmp eax, dword [esp + 0x1c]
setle dl
xor esi, esi
mov dword [esp + 0x20], edx
test edx, edx
jne 0x100af40c
mov eax, dword [edi + 0x90]
test eax, eax
jne 0x100af3f6
cmp dword [edi + 0xac], esi
je 0x100af40c
add ebx, dword [edi + 0xa4]
test eax, eax
je 0x100af402
add ebx, ecx
cmp dword [edi + 0xac], esi
je 0x100af40c
add ebx, ecx
cmp dword [ebp + 8], 0xffffffff
push 2
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x6c], 0x28
pop eax
jne 0x100af436
cmp dword [ebp + 0xc], 0xffffffff
jne 0x100af436
xor eax, eax
inc eax
lea ecx, [esp + 0x68]
push ecx
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x102ab9a4]
push eax
call dword [0x102ab9a8]
test eax, eax
je 0x100af465
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x4c]
push eax
call dword [0x102aba50]
jmp 0x100af474
push esi
lea eax, [esp + 0x4c]
push eax
push esi
push 0x30
call dword [0x102ab9a0]
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x48]
add eax, 0xfffffffe
cmp eax, ebx
jge 0x100af485
mov ebx, eax
mov ecx, dword [esp + 0x54]
mov eax, ecx
sub eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x1c]
sub eax, edx
add eax, 0xfffffffe
cmp eax, dword [esp + 0x14]
jge 0x100af4a4
mov dword [esp + 0x14], eax
jmp 0x100af4a8
mov eax, dword [esp + 0x14]
mov dword [edi + 0xfcc], eax
lea eax, [edx + 2]
add dword [edi + 0xfcc], eax
mov eax, dword [esp + 0x20]
mov dword [edi + 0xfc8], ebx
add dword [edi + 0xfc8], 2
test eax, eax
je 0x100af4d2
mov dword [esp + 0x24], edi
jmp 0x100af4e0
mov edx, dword [edi + 0xb0]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x1c]
test eax, eax
je 0x100af4f4
mov eax, edx
sub eax, dword [esp + 0x38]
cdq
sub eax, edx
mov edx, eax
sar edx, 1
inc edx
jmp 0x100af4fa
mov edx, dword [edi + 0xa0]
mov esi, dword [esp + 0x50]
mov eax, ebx
sub eax, dword [edi + 0xa4]
sub eax, dword [esp + 0x28]
mov dword [esp + 0x58], eax
add eax, dword [esp + 0x28]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x38]
add eax, edx
mov dword [esp + 0x5c], edx
cmp dword [edi + 0x90], 0
mov dword [esp + 0x64], eax
je 0x100af59c
push 0xffffffffffffffff
push dword [esp + 0x28]
lea ecx, [esp + 0x60]
push ecx
lea esi, [edi + 0xb4]
mov eax, dword [esi]
mov ecx, esi
push 0x50000000
push 0x10003dbc
call dword [eax + 0x168]
push 0
push 0
push 5
mov ecx, esi
call fcn.10098fbd
mov eax, dword [esp + 0x20]
xor ecx, ecx
and dword [edi + 0x13c], 0
inc ecx
mov dword [edi + 0x81c], eax
or eax, 0xffffffff
sub eax, dword [esp + 0x28]
push 0
push eax
lea eax, [esp + 0x60]
mov dword [edi + 0x128], ecx
push eax
mov dword [edi + 0x820], ecx
call dword [0x102ababc]
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
cmp dword [edi + 0xac], 0
je 0x100af5fa
push 0xffffffffffffffff
push dword [esp + 0x28]
lea ecx, [esp + 0x60]
push ecx
lea esi, [edi + 0x824]
mov eax, dword [esi]
mov ecx, esi
push 0x50000000
push 0x10003dbc
call dword [eax + 0x168]
push 0
push 0
push 0xd
mov ecx, esi
call fcn.10098fbd
mov eax, dword [esp + 0x20]
and dword [edi + 0x8ac], 0
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
mov dword [edi + 0x898], 1
mov dword [edi + 0xf8c], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
cmp eax, 0xffffffff
jne 0x100af61b
cmp edx, 0xffffffff
jne 0x100af61b
sub esi, dword [edi + 0xfc8]
sub ecx, dword [edi + 0xfcc]
mov dword [ebp + 8], esi
jmp 0x100af65c
cmp eax, dword [esp + 0x48]
jge 0x100af62a
mov eax, dword [esp + 0x48]
mov dword [ebp + 8], eax
jmp 0x100af640
add eax, dword [edi + 0xfc8]
mov edx, dword [ebp + 0xc]
cmp eax, esi
jle 0x100af640
sub esi, dword [edi + 0xfc8]
mov dword [ebp + 8], esi
mov eax, dword [esp + 0x4c]
cmp edx, eax
jge 0x100af64d
mov dword [ebp + 0xc], eax
jmp 0x100af65f
mov esi, dword [edi + 0xfcc]
lea eax, [edx + esi]
cmp eax, ecx
jle 0x100af65f
sub ecx, esi
mov dword [ebp + 0xc], ecx
mov eax, dword [edi]
lea ecx, [ebp + 8]
push ecx
mov ecx, edi
call dword [eax + 0x174]
push 0x50
push dword [edi + 0xfcc]
mov ecx, edi
push dword [edi + 0xfc8]
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x102a9ed0
call fcn.10278e62
push 1
mov ecx, edi
call fcn.100b00ad
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + 0xb0]
inc eax
push 0x14
push dword [esp + 0x18]
push ebx
push eax
push 1
push 0
call fcn.10278e62
push 0
push 0x64
push 0xec10
push dword [edi + 0x20]
call dword [0x102abac8]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x100af6db
cmp dword [eax + 0x20], 0
je 0x100af6db
push dword [eax + 0x20]
call dword [0x102aba18]
mov eax, dword [esp + 0x44]
test eax, eax
je 0x100af6f0
cmp dword [eax + 0x20], 0
je 0x100af6f0
mov ecx, eax
call fcn.10278f03
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.10086faa
xor eax, eax
inc eax
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.1028105c
mov esp, ebp
pop ebp
ret 0xc