Function at 0x100195f0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1028249c
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push edi
mov eax, dword [0x1037c990]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
lea eax, [esp + 0x30]
push eax
push esi
call fcn.100162b0
mov dword [esp + 0x74], 0
push eax
call fcn.10031140
add esp, 4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x74], 0xffffffff
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x10019659
call fcn.10031310
test eax, eax
je 0x10019659
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
push 1
call eax
mov edi, dword [esp + 0x2c]
mov edx, dword [edi]
mov eax, dword [edx + 0x28]
push 0x25
mov ecx, edi
call eax
mov cl, byte [esi + 0x68]
mov byte [esp + 0x28], cl
mov edx, dword [esp + 0x28]
push edx
movzx ebp, ax
push edi
mov edi, dword [esp + 0x84]
push ebp
push edi
mov byte [esp + 0x21], 1
mov dword [esp + 0x34], 0xffffffff
call fcn.10016040
add esp, 0x10
push eax
mov ebx, esi
call fcn.10016e00
xor eax, eax
movzx ecx, bp
push 1
push eax
lea edx, [esp + 0x30]
mov dword [esp + 0x30], ecx
push edx
mov ecx, edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov byte [esp + 0x1e], al
mov dword [esp + 0x20], eax
call fcn.1001f790
mov edi, eax
cmp edi, 0xffffffff
je 0x10019a62
movzx eax, bp
mov dword [esp + 0x28], eax
cmp dword [esp + 0x14], 0
jne 0x100196ec
lea ebx, [esi + 0x4c]
jmp 0x1001971b
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov ebp, dword [esp + 0x14]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
dec ebp
add ecx, edx
cmp ebp, ecx
jb 0x10019711
call fcn.1022e9da
mov edx, dword [esi + 0xc]
imul ebp, ebp, 0x64
lea ebx, [edx + ebp + 0x20]
mov edx, dword [esp + 0x7c]
lea eax, [edi + 1]
mov dword [esp + 0x1c], eax
cmp eax, dword [edx + 0x14]
jbe 0x10019734
call fcn.1022e9da
mov edx, dword [esp + 0x7c]
cmp dword [edx + 0x18], 8
jb 0x1001973f
mov ebp, dword [edx + 4]
jmp 0x10019742
lea ebp, [edx + 4]
cmp edi, dword [edx + 0x14]
jbe 0x10019750
call fcn.1022e9da
mov edx, dword [esp + 0x7c]
cmp dword [edx + 0x18], 8
jb 0x1001975b
mov eax, dword [edx + 4]
jmp 0x1001975e
lea eax, [edx + 4]
mov ecx, dword [esp + 0x1c]
mov cx, word [ebp + ecx*2]
cmp cx, word [eax + edi*2]
jne 0x10019793
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push edx
push eax
mov eax, dword [esp + 0x84]
push ebx
call fcn.10018070
add esp, 0xc
add edi, 2
mov dword [esp + 0x18], edi
jmp 0x10019a3f
cmp edi, dword [esp + 0x18]
je 0x100197b7
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x7c]
push edi
push ecx
push ebx
call fcn.10018070
mov edx, dword [esp + 0x88]
add esp, 0xc
mov dword [esp + 0x18], edi
mov ecx, dword [edx + 0x18]
lea ebx, [edx + 4]
cmp ecx, 8
jb 0x100197c6
mov edi, dword [ebx]
jmp 0x100197c8
mov edi, ebx
test edi, edi
je 0x100197f0
cmp ecx, 8
jb 0x100197d5
mov eax, dword [ebx]
jmp 0x100197d7
mov eax, ebx
cmp eax, edi
ja 0x100197f0
cmp ecx, 8
jb 0x100197e4
mov eax, dword [ebx]
jmp 0x100197e6
mov eax, ebx
mov ecx, dword [edx + 0x14]
lea eax, [eax + ecx*2]
cmp edi, eax
jbe 0x100197f9
call fcn.1022e9da
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], edi
cmp edx, 0xfffffffc
je 0x10019841
mov edx, dword [ebx + 0x18]
cmp edx, 8
jb 0x10019817
mov ecx, dword [ebx + 4]
jmp 0x1001981a
lea ecx, [ebx + 4]
mov eax, dword [esp + 0x1c]
mov ebp, dword [ebx + 0x14]
lea eax, [edi + eax*2]
lea ecx, [ecx + ebp*2]
cmp eax, ecx
ja 0x1001983c
cmp edx, 8
jb 0x10019835
mov ecx, dword [ebx + 4]
jmp 0x10019838
lea ecx, [ebx + 4]
cmp eax, ecx
jae 0x10019841
call fcn.1022e9da
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
lea eax, [edi + edx*2]
mov dl, byte [esi + 0x68]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov dword [esp + 0x40], eax
mov byte [esp + 0x34], dl
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x1001987f
call fcn.1022e9da
mov ebp, dword [esi + 0xc]
mov ecx, dword [ebx + 0x18]
mov eax, edi
imul eax, eax, 0x64
add ebp, eax
mov dword [esp + 0x38], eax
cmp ecx, 8
jb 0x1001989a
mov edx, dword [ebx + 4]
jmp 0x1001989d
lea edx, [ebx + 4]
mov eax, dword [ebx + 0x14]
add eax, eax
lea edi, [eax + edx]
test edi, edi
je 0x100198cd
cmp ecx, 8
jb 0x100198b3
mov edx, dword [ebx + 4]
jmp 0x100198b6
lea edx, [ebx + 4]
cmp edx, edi
ja 0x100198cd
cmp ecx, 8
jb 0x100198c4
mov ecx, dword [ebx + 4]
jmp 0x100198c7
lea ecx, [ebx + 4]
add eax, ecx
cmp edi, eax
jbe 0x100198d2
call fcn.1022e9da
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
push ecx
push edx
push eax
push ebp
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x50]
push edx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], edi
call fcn.10017330
mov byte [esp + 0x2b], al
mov eax, dword [ebx + 0x18]
add esp, 0x18
cmp eax, 8
jb 0x1001990d
mov ebp, dword [ebx + 4]
jmp 0x10019910
lea ebp, [ebx + 4]
test ebp, ebp
je 0x1001993b
lea edx, [ebx + 4]
cmp eax, 8
jb 0x10019920
mov ecx, dword [edx]
jmp 0x10019922
mov ecx, edx
cmp ecx, ebp
ja 0x1001993b
cmp eax, 8
jb 0x1001992f
mov eax, dword [edx]
jmp 0x10019931
mov eax, edx
mov ecx, dword [ebx + 0x14]
lea edx, [eax + ecx*2]
cmp ebp, edx
jbe 0x10019940
call fcn.1022e9da
mov eax, dword [esp + 0x3c]
cmp eax, 0xfffffffc
je 0x10019956
test eax, eax
je 0x10019951
cmp eax, ebx
je 0x10019956
call fcn.1022e9da
mov edi, dword [esp + 0x40]
sub edi, ebp
sar edi, 1
cmp byte [esp + 0x13], 0
je 0x10019a3f
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov ebx, dword [esp + 0x14]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x18], edi
cmp ebx, eax
jb 0x10019991
call fcn.1022e9da
mov eax, dword [esi + 0xc]
mov ebp, dword [esp + 0x38]
mov ecx, dword [eax + ebp + 0x60]
add eax, ebp
test cl, 1
je 0x100199d1
mov edx, dword [eax + 0x48]
test dl, 0x40
je 0x100199b3
and ecx, 0xfffffffe
mov dword [eax + 0x60], ecx
jmp 0x100199d1
and ecx, 0xfffffffd
and edx, 0xffffff3f
mov dword [eax + 0x60], ecx
mov ecx, 0x30
or edx, 0x100
mov word [eax + 0x44], cx
mov dword [eax + 0x48], edx
mov ecx, dword [eax + 0x60]
test cl, 2
je 0x100199e5
test byte [eax + 0x48], 0x20
je 0x100199e5
and ecx, 0xfffffffd
mov dword [eax + 0x60], ecx
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x10019a05
call fcn.1022e9da
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + ebp]
cmp eax, 0xfffffffd
je 0x10019a3f
cmp eax, 0xffffffff
jne 0x10019a1c
mov byte [esp + 0x11], 0
jmp 0x10019a32
cmp eax, 0xfffffffe
jne 0x10019a28
mov byte [esp + 0x12], 1
jmp 0x10019a32
cmp eax, dword [esp + 0x24]
jle 0x10019a32
mov dword [esp + 0x24], eax
mov eax, 1
add dword [esp + 0x20], eax
add dword [esp + 0x14], eax
mov ecx, dword [esp + 0x7c]
push 1
push edi
lea edx, [esp + 0x30]
push edx
call fcn.1001f790
mov edi, eax
cmp edi, 0xffffffff
jne 0x100196e0
cmp dword [esp + 0x14], 0
jne 0x10019a67
lea ecx, [esi + 0x4c]
jmp 0x10019a96
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov edi, dword [esp + 0x14]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
dec edi
add eax, edx
cmp edi, eax
jb 0x10019a8c
call fcn.1022e9da
mov ecx, dword [esi + 0xc]
imul edi, edi, 0x64
lea ecx, [edi + ecx + 0x20]
mov edx, dword [esp + 0x7c]
mov eax, dword [edx + 0x14]
push eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
mov eax, edx
call fcn.10018070
add esp, 0xc
cmp byte [esp + 0x11], 0
jne 0x10019b4e
mov eax, dword [esp + 0x24]
test eax, eax
jl 0x10019ae2
test byte [esi + 0x68], 1
je 0x10019ae2
push 0
push eax
lea ecx, [esp + 0x5c]
push ecx
call fcn.10018810
mov dword [esp + 0x74], 1
push eax
call fcn.100186d0
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x20], edi
jle 0x10019b49
xor ebp, ebp
mov edi, edi
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x10019b10
call fcn.1022e9da
mov eax, dword [esi + 0xc]
cmp dword [eax + ebp], 0xffffffff
jne 0x10019b3f
mov ecx, dword [esi + 0x10]
sub ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x10019b38
call fcn.1022e9da
mov edx, dword [esi + 0xc]
mov dword [edx + ebp], ebx
inc ebx
inc edi
add ebp, 0x64
cmp edi, dword [esp + 0x20]
jl 0x10019af0
lea edi, [ebx - 1]
jmp 0x10019b52
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x28]
push 0x20
call edx
sub esp, 0x64
movzx eax, ax
mov ecx, esp
mov dword [esp + 0xe0], esp
push eax
push ecx
call fcn.10019560
mov dword [esp + 0xd8], 2
mov dword [esp + 0xd8], 0xffffffff
mov ecx, dword [esp + 0x84]
mov edx, esi
call fcn.100193e0
cmp byte [esp + 0x12], 0
je 0x10019ba4
or dword [esi + 0x3c], 4
inc edi
cmp byte [esp + 0x11], 0
mov dword [esi + 0x44], edi
je 0x10019bb5
or dword [esi + 0x3c], 1
jmp 0x10019bb9
and dword [esi + 0x3c], 0xfffffffe
mov eax, esi
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x68
ret 4