Function at 0x19f1440
Capabilities:
Get number of processors

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov edx, dword [ebp + 0x10]
sub esp, 0x34
push ebx
push esi
push edi
test edx, edx
je 0x19f163b
mov esi, dword [ebp + 8]
test esi, esi
je 0x1a459e4
cmp dword [esi + 8], 0xddeeddee
je 0x1a459fd
test byte [0x1ac848c], 2
jne 0x1a45a0e
xor edi, edi
test dword [esi + 0x44], 0x1000000
jne 0x1a45cb8
test byte [esi + 0x48], 1
jne 0x1a45a5b
test dl, 7
jne 0x1a45a44
cmp byte [edx - 1], 5
lea edi, [edx - 8]
je 0x1a45a1f
test byte [edi + 7], 0x3f
je 0x1a45a2d
test edi, edi
je 0x1a45a6c
cmp byte [edx - 1], 5
je 0x1a45a97
mov eax, dword [ebp + 0xc]
cmp byte [edi + 7], 0
jge 0x19f1649
mov ecx, edi
shr ecx, 3
xor ecx, dword [edi]
xor ecx, dword [0x1ac8774]
xor ecx, esi
test cx, cx
jne 0x1a45ca0
shr ecx, 0xd
mov eax, edi
sub eax, ecx
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x1a45ca0
mov eax, dword [ecx + 4]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 4]
shr eax, 8
movzx edx, ax
mov eax, dword [ecx]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], edx
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x10]
xor eax, dword [esp + 0x18]
xor eax, ecx
xor eax, dword [0x1ac8774]
mov ecx, eax
movzx eax, ax
shr ecx, 0x10
imul ecx, edx
add ecx, dword [esp + 0x14]
add eax, ecx
cmp eax, edi
jne 0x1a45bdb
call fcn.019f1a00
test eax, eax
jne 0x1a45bf8
mov eax, 0x7ffe0380
cmp byte [eax], 0
jne 0x1a45c0b
cmp word [0x7ffe036a], 1
mov ecx, 0x64
mov dword [esp + 0x18], ecx
jbe 0x1a45c34
mov edx, dword [esp + 0x10]
mov dword [esp + 0x24], 0
add edx, 0x10
mov esi, dword [edx]
mov eax, esi
shr eax, 0x10
mov dword [esp + 0x28], esi
test eax, 0x8000
jne 0x19f1967
mov ecx, esi
mov eax, esi
or ecx, 0x80000000
lock cmpxchg dword [edx], ecx
cmp eax, esi
jne 0x19f1963
cmp esi, 0xffffffff
je 0x19f1978
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov byte [edi + 7], 0x80
mov edi, dword [esp + 0x10]
mov eax, dword [eax + 0x18]
btr dword [eax], ecx
cmp word [edi + 0xc], 0
jne 0x19f19b2
mov ecx, dword [esp + 0x1c]
movzx eax, si
inc ecx
mov esi, dword [esp + 0x20]
add eax, ecx
shl esi, 0x10
or eax, esi
mov esi, dword [edi]
mov dword [esp + 0x28], esi
cmp ax, word [edi + 0x18]
je 0x19f1660
lea esi, [edi + 0x1c]
mov dword [edx], eax
mov eax, dword [esi]
test al, 2
je 0x19f185b
mov esi, dword [ebp + 8]
mov edi, 1
mov eax, dword [0x1ac8684]
test al, 1
jne 0x1a45cc0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push edx
mov edx, eax
mov ecx, esi
push edi
or edx, 2
call fcn.019f1a20
movzx edi, al
test al, al
jne 0x19f1623
jmp 0x19f1630
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x10]
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x58]
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0x54]
cmp ecx, 1
jne 0x19f1699
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esp + 0x24]
jb 0x19f1699
sub ecx, dword [esp + 0x24]
mov dword [esp + 0x20], ecx
mov ecx, dword [esi]
mov esi, dword [esp + 0x20]
cmp esi, dword [ecx + 0x14]
jb 0x19f160c
mov eax, dword [edi]
xor esi, esi
mov dword [esp + 0x18], eax
add eax, 4
xchg dword [eax], esi
test esi, esi
je 0x19f179d
lea edx, [esi + 0x1c]
mov edi, 0xfffffff9
mov eax, dword [edx]
mov ecx, eax
and ecx, edi
lock cmpxchg dword [edx], ecx
jne 0x19f16b8
mov edi, dword [esp + 0x10]
cmp eax, 6
je 0x1a45c3f
mov ecx, dword [esp + 0x18]
mov edx, esi
call fcn.019f2c60
test al, al
je 0x19f179d
mov edx, dword [esi + 0x1c]
test edx, edx
je 0x19f179d
test dl, 2
jne 0x19f179d
mov ecx, edx
lea edi, [esi + 0x1c]
or ecx, 2
mov eax, edx
lock cmpxchg dword [edi], ecx
mov edi, dword [esp + 0x10]
cmp eax, edx
jne 0x19f16e2
mov edx, dword [esi]
xor eax, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], eax
jmp 0x19f1720
movzx ecx, word [edx + 0x5e]
add ecx, eax
and ecx, 0xf
lea eax, [ecx + 2]
lea eax, [edx + eax*4]
mov dword [esp + 0x28], eax
mov eax, dword [eax]
mov dword [esp + 0x20], eax
test eax, eax
je 0x19f1949
mov eax, dword [eax + 0x1c]
test al, 1
jne 0x19f18eb
mov eax, dword [esp + 0x24]
mov edx, esi
add eax, 8
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x20]
lock cmpxchg dword [ecx], edx
cmp eax, dword [esp + 0x20]
jne 0x19f18e7
mov esi, dword [esp + 0x20]
mov edi, 0xfffffffd
lea edx, [esi + 0x1c]
mov eax, dword [edx]
mov ecx, eax
and ecx, edi
lock cmpxchg dword [edx], ecx
jne 0x19f1778
mov edi, dword [esp + 0x10]
cmp eax, 2
jne 0x19f179d
mov eax, dword [esi]
mov ecx, dword [eax]
mov dword [esi], 0
lea edx, [esi + 0x20]
call fcn.019f7900
test byte [edi + 0x16], 3
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov eax, dword [edi]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], eax
jne 0x1a45c4e
mov eax, dword [edi + 4]
push ecx
mov ecx, esi
mov dword [eax + 0xc], 0
mov edx, dword [edi + 4]
call fcn.019eff00
movzx eax, word [edi + 0x18]
mov ecx, dword [esp + 0x28]
neg eax
add ecx, 0x50
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
mov edi, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [esp + 0x28], edx
lea ebx, [edi + eax]
mov eax, edi
lea ecx, [edx - 1]
mov esi, dword [esp + 0x20]
lock cmpxchg8b qword [esi]
cmp eax, edi
mov ecx, esi
mov eax, dword [esp + 0x24]
jne 0x19f17e4
cmp edx, dword [esp + 0x28]
jne 0x19f17e4
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov dword [esi + 4], 0
lock inc dword [eax + 0x20]
mov dword [esi + 0x10], 0
lea edx, [esi + 0x1c]
mov edi, 0xfffffffe
mov eax, dword [edx]
mov ecx, eax
and ecx, edi
lock cmpxchg dword [edx], ecx
jne 0x19f1831
cmp eax, 1
jne 0x19f161b
mov eax, dword [esi]
lea edx, [esi + 0x20]
mov ecx, dword [eax]
mov dword [esi], 0
call fcn.019f7900
jmp 0x19f161b
mov ecx, dword [esp + 0x28]
mov edx, edi
call fcn.019f2c60
test al, al
je 0x19f161b
mov edi, edi
mov edx, dword [esi]
test edx, edx
je 0x19f161b
test dl, 2
jne 0x19f161b
mov ecx, edx
mov eax, edx
or ecx, 2
lock cmpxchg dword [esi], ecx
cmp eax, edx
jne 0x19f1870
mov eax, dword [edi]
xor edx, edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
mov edi, edi
movzx ecx, word [eax + 0x5e]
add ecx, edx
and ecx, 0xf
lea edx, [ecx + 2]
mov esi, dword [eax + edx*4]
lea edx, [eax + edx*4]
test esi, esi
je 0x19f18d5
mov eax, dword [esi + 0x1c]
test al, 1
je 0x19f1917
mov edx, dword [esp + 0x24]
inc edx
mov dword [esp + 0x24], edx
cmp edx, 0x10
jae 0x19f1990
mov eax, dword [esp + 0x20]
jmp 0x19f18a0
mov ecx, edi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x19f161b
jmp 0x19f18bd
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, 0x10
jb 0x19f1720
mov eax, dword [esi]
movzx ecx, word [eax + 0x5c]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + ecx*4 + 0x3c0]
add ecx, 0x48
jmp 0x19f1795
mov eax, dword [esp + 0x20]
mov edx, edi
add eax, 8
lea ecx, [eax + ecx*4]
mov eax, esi
lock cmpxchg dword [ecx], edx
cmp eax, esi
jne 0x19f18bd
mov edi, 0xfffffffd
lea edx, [esi + 0x1c]
mov eax, dword [edx]
mov ecx, eax
and ecx, edi
lock cmpxchg dword [edx], ecx
jne 0x19f1937
cmp eax, 2
jmp 0x19f183e
mov edi, dword [esp + 0x28]
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edi], ecx
mov edi, dword [esp + 0x10]
test eax, eax
je 0x19f179d
jmp 0x19f18eb
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
cmp eax, ecx
jbe 0x19f1597
mov ecx, dword [esp + 0x10]
lea edx, [edi + 8]
mov byte [edi + 7], 0x80
lea ecx, [ecx + 8]
call fcn.019f7900
jmp 0x19f161b
mov eax, dword [edi]
lea edx, [edi + 0x20]
movzx ecx, word [eax + 0x5c]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + ecx*4 + 0x3c0]
add ecx, 0x48
call fcn.019f7900
jmp 0x19f161b
lea ecx, [edi + 8]
call fcn.019d8098
mov edx, eax
test edx, edx
je 0x19f19e5
mov esi, dword [esp + 0x14]
mov ecx, dword [edx - 4]
mov eax, dword [esi + 0x18]
mov edx, dword [edx]
inc dword [esp + 0x1c]
shr ecx, 8
movzx ecx, cx
btr dword [eax], ecx
mov dword [esp + 0x20], ecx
test edx, edx
jne 0x19f19c4
mov esi, dword [esp + 0x28]
lea edx, [edi + 0x10]
jmp 0x19f15ed
push 0
push 0
push 0
push edx
xor edx, edx
lea ecx, [edx + 0x12]
call fcn.01a36033
mov edx, dword [ebp + 0x10]
jmp 0x19f1464
push dword [ebp + 0xc]
mov ecx, esi
call fcn.01a7670e
mov edi, eax
jmp 0x19f1630
push dword [ebp + 0xc]
mov ecx, esi
call fcn.01a95240
mov edi, eax
jmp 0x19f1630
movzx eax, byte [edi + 6]
shl eax, 3
sub edi, eax
jmp 0x19f14ad
push 0
push 0
push 0
push edi
mov edx, esi
mov ecx, 8
call fcn.01a36033
xor edi, edi
jmp 0x1a45a64
push 0
push 0
push 0
push edx
mov edx, esi
mov ecx, 9
call fcn.01a36033
xor edi, edi
jmp 0x1a45a64
mov ecx, esi
call fcn.01a10f38
mov edi, eax
mov edx, dword [ebp + 0x10]
jmp 0x19f14b7
mov eax, dword fs:[0x18]
mov esi, dword fs:[0x18]
push 0xc000000d
mov dword [eax + 0xbf4], 0xc000000d
call fcn.01a062b0
mov dword [esi + 0x34], eax
xor edi, edi
jmp 0x19f1630
cmp byte [edi + 7], 0
jge 0x1a45ab6
mov edx, edi
mov ecx, esi
call fcn.01a9ae59
mov edx, dword [ebp + 0x10]
mov byte [esp + 0xf], al
test al, al
jne 0x1a45ae0
jmp 0x1a45b6e
cmp dword [esi + 0x4c], 0
je 0x1a45ae0
mov eax, dword [edi]
mov ecx, eax
xor ecx, dword [esi + 0x50]
mov dword [esp + 0x38], eax
mov dword [esp + 0x38], ecx
mov al, byte [esp + 0x3a]
xor al, byte [esp + 0x39]
xor al, cl
shr ecx, 0x18
cmp cl, al
jne 0x1a45b69
cmp byte [edi + 7], 0
jge 0x1a45b0d
mov ecx, edi
shr ecx, 3
xor ecx, dword [edi]
xor ecx, dword [0x1ac8774]
xor ecx, esi
test cx, cx
je 0x1a45afe
xor eax, eax
jmp 0x1a45b07
shr ecx, 0xd
mov eax, edi
sub eax, ecx
mov eax, dword [eax]
mov ax, word [eax + 0x14]
jmp 0x1a45b25
cmp dword [esi + 0x4c], 0
je 0x1a45b22
mov eax, dword [edi]
test dword [esi + 0x4c], eax
je 0x1a45b1d
xor eax, dword [esi + 0x50]
movzx eax, ax
jmp 0x1a45b25
movzx eax, word [edi]
cmp byte [edi + 7], 4
movzx eax, ax
movzx eax, ax
mov dword [esp + 0x24], eax
jne 0x1a45b5b
cmp dword [esi + 0x4c], 0
je 0x1a45b4a
mov eax, dword [edi]
test dword [esi + 0x4c], eax
je 0x1a45b45
xor eax, dword [esi + 0x50]
movzx eax, ax
jmp 0x1a45b4d
movzx eax, word [edi]
mov ecx, dword [edi - 8]
movzx eax, ax
sub ecx, eax
add ecx, dword [esp + 0x24]
jmp 0x1a45b62
lea ecx, [eax*8]
lea eax, [ecx + edi]
cmp eax, edx
jae 0x1a45b8e
mov byte [esp + 0xf], 0
push 0
push 0
push edx
push edi
mov edx, esi
mov ecx, 3
call fcn.01a36033
cmp byte [esp + 0xf], 0
je 0x1a45a6c
mov edx, dword [ebp + 0x10]
mov eax, dword [edx - 8]
lea ecx, [edx - 8]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0xc]
test eax, 0x3c000102
jne 0x19f14cc
cmp byte [ecx + 7], 5
jne 0x1a45bba
movzx eax, byte [ecx + 6]
shl eax, 3
sub ecx, eax
add ecx, 8
jmp 0x1a45bbc
xor ecx, ecx
push ecx
mov ecx, dword [esp + 0x28]
push 3
push edx
mov edx, esi
call fcn.01a7ffd9
test eax, eax
js 0x1a45a6c
mov edx, dword [ebp + 0x10]
jmp 0x19f14c9
mov eax, dword [esp + 0x18]
mov ecx, 3
push 0
push 0
push 0
mov edx, dword [eax + 0xc]
push edi
call fcn.01a36033
jmp 0x19f161e
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x50]
add eax, 0x226
jmp 0x19f1568
mov eax, dword fs:[0x30]
test byte [eax + 0x240], 1
je 0x19f1571
mov eax, dword [esp + 0x18]
lea edx, [edi + 8]
push 2
mov ecx, dword [eax + 0xc]
call fcn.01a92fe7
jmp 0x19f1571
xor ecx, ecx
mov dword [esp + 0x18], ecx
jmp 0x19f1588
mov eax, dword [esi]
mov ecx, dword [eax]
mov dword [esi], 0
jmp 0x19f1795
mov eax, dword [edi + 4]
mov ecx, edi
add eax, 0x101f
and eax, 0xfffff000
mov dword [esp + 0x30], eax
call fcn.019d4837
movzx ecx, word [edi + 0x18]
mov edx, 1
movzx eax, ax
imul ecx, eax
lea eax, [esp + 0x34]
push eax
shl ecx, 3
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 0xc]
call fcn.019df147
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x3c]
push eax
push 0xffffffffffffffff
call fcn.01a22e60
jmp 0x19f17ba
push 0
push 0
push 0
push edi
mov edx, esi
mov ecx, 3
call fcn.01a36033
jmp 0x19f161e
mov eax, dword [ebp + 0xc]
jmp 0x19f1649
test al, 2
je 0x19f1630
cmp esi, dword [0x1ac8770]
je 0x19f1630
mov eax, dword fs:[0x30]
cmp dword [eax + 0x18], 0
je 0x19f1630
test dword [ebp + 0xc], 0x10000000
jne 0x19f1630
mov edx, dword [ebp + 0x10]
mov ecx, esi
call fcn.01a92687
jmp 0x19f1630