Function at 0x10198fb0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10269213
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x10583760]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x58], ebx
push dword [ebp - 0x58]
push ebx
push dword [ebx + 4]
push dword [ebx]
call fcn.1019be30
mov eax, dword [ebx]
xor esi, esi
mov dword [ebx + 4], eax
add esp, 0x10
xor ebx, ebx
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], esi
mov ecx, dword [edi + 0x30]
mov eax, 0x51eb851f
sub ecx, dword [edi + 0x2c]
imul ecx
mov dword [ebp - 4], esi
sar edx, 5
mov eax, edx
mov dword [ebp - 0x48], esi
shr eax, 0x1f
add eax, edx
je 0x101991d8
mov byte [ebp - 0x44], 0x2e
mov dword [ebp - 0x4c], ebx
mov eax, dword [edi + 0x2c]
lea ecx, [ebp - 0x28]
push 0xffffffffffffffff
add eax, ebx
mov dword [ebp - 0x14], 0xf
push 0
push eax
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.100119a0
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 1
cmp ecx, 1
jb 0x101990a8
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
cmp ebx, 0x10
lea esi, [ecx - 1]
cmovae eax, dword [ebp - 0x28]
add esi, eax
cmp byte [esi], 0x2e
sete al
test al, al
je 0x1019908b
mov al, byte [esi]
lea ecx, [ebp - 0x44]
cmp al, byte [ecx]
je 0x1019909a
lea ecx, [ebp - 0x28]
call fcn.10011830
cmp esi, eax
je 0x101990a8
dec esi
jmp 0x10199078
cmp ebx, 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
sub esi, eax
jmp 0x101990ab
or esi, 0xffffffff
cmp esi, 0xffffffff
je 0x10199147
push 0xffffffffffffffff
inc esi
lea eax, [ebp - 0x40]
push esi
push eax
lea ecx, [ebp - 0x28]
call fcn.10055630
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x101990fd
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x101990e2
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10011f00
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10011ab0
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
cmp eax, 0x10
jb 0x10199147
mov ecx, dword [ebp - 0x40]
inc eax
cmp eax, 0x1000
jb 0x1019913e
test cl, 0x1f
jne 0x101992d4
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x101992d4
sub ecx, eax
cmp ecx, 4
jb 0x101992d4
cmp ecx, 0x23
ja 0x101992d4
mov ecx, eax
push ecx
call fcn.101f5982
add esp, 4
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x68]
call fcn.101a3320
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp eax, 0x10
jb 0x1019919d
mov ecx, dword [ebp - 0x28]
inc eax
cmp eax, 0x1000
jb 0x10199194
test cl, 0x1f
jne 0x101992d4
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x101992d4
sub ecx, eax
cmp ecx, 4
jb 0x101992d4
cmp ecx, 0x23
ja 0x101992d4
mov ecx, eax
push ecx
call fcn.101f5982
add esp, 4
mov ecx, dword [edi + 0x30]
mov eax, 0x51eb851f
sub ecx, dword [edi + 0x2c]
mov esi, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x4c]
inc esi
imul ecx
add ebx, 0x64
mov dword [ebp - 0x48], esi
sar edx, 5
mov eax, edx
mov dword [ebp - 0x4c], ebx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x10199036
mov eax, dword [ebp - 0x60]
mov ebx, dword [ebp - 0x68]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x4c], ebx
mov ecx, dword [edi + 0x48]
mov eax, 0x66666667
sub ecx, dword [edi + 0x44]
imul ecx
mov dword [ebp - 0x54], 0
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1019929d
mov dword [ebp - 0x50], 0
xor ecx, ecx
mov eax, 0x51eb851f
mov dword [ebp - 0x48], ecx
mov ecx, dword [edi + 0x30]
sub ecx, dword [edi + 0x2c]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10199270
xor esi, esi
mov eax, dword [edi + 0x2c]
mov ecx, dword [edi + 0x44]
add ecx, dword [ebp - 0x50]
push dword [eax + esi + 0x24]
push ebx
call fcn.101a2ee0
test al, al
jne 0x10199261
mov ecx, dword [edi + 0x30]
mov eax, 0x51eb851f
sub ecx, dword [edi + 0x2c]
add esi, 0x64
inc dword [ebp - 0x48]
add ebx, 0x18
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x48], eax
jb 0x10199223
jmp 0x10199270
mov eax, dword [edi + 0x44]
add eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x58]
push eax
call fcn.101a31a0
mov ecx, dword [edi + 0x48]
mov eax, 0x66666667
sub ecx, dword [edi + 0x44]
mov ebx, dword [ebp - 0x54]
add dword [ebp - 0x50], 0x28
inc ebx
imul ecx
mov dword [ebp - 0x54], ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
mov ebx, dword [ebp - 0x4c]
jb 0x10199203
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x1019931d
push dword [ebp - 0x58]
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x64]
push ebx
call fcn.1005d5d0
mov ecx, dword [ebp - 0x5c]
mov eax, 0x2aaaaaab
sub ecx, ebx
add esp, 0x10
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xaaaaaaa
jbe 0x101992d9
call fcn.101fc3dd
lea eax, [eax + eax*2]
shl eax, 3
cmp eax, 0x1000
jb 0x10199314
test bl, 0x1f
je 0x101992f0
call fcn.101fc3dd
mov eax, dword [ebx - 4]
cmp eax, ebx
jb 0x101992fc
call fcn.101fc3dd
sub ebx, eax
cmp ebx, 4
jae 0x10199308
call fcn.101fc3dd
cmp ebx, 0x23
jbe 0x10199312
call fcn.101fc3dd
mov ebx, eax
push ebx
call fcn.101f5982
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101f6477
mov esp, ebp
pop ebp
ret 4