Function at 0x1005b370
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b0667
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x100d8180]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x19c], edi
mov eax, dword [ebp + 8]
lea esi, [edi + 0x438]
mov dword [ebp - 0x1a0], edi
mov dword [edi], eax
push 0x14
mov eax, dword [eax + 0xc]
mov dword [edi + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 8], eax
mov dword [edi + 0x430], 0
mov dword [edi + 0x434], 0
mov dword [ebp - 0x19c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1007f309
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [ebp - 4], 0
mov dword [edi + 0x440], 0
mov dword [edi + 0x444], 0
mov dword [edi + 0x448], 0
push 0x280
lea eax, [edi + 0x44c]
mov byte [ebp - 4], 1
push 0x55
push eax
call fcn.10081440
push 0x400
lea eax, [edi + 0x6cc]
push 0x55
push eax
call fcn.10081440
add esp, 0x1c
cmp dword [edi + 0x688], 1
je 0x1005b475
mov eax, dword [edi + 4]
push 1
push 0x8f
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov dword [edi + 0x688], 1
cmp dword [edi + 0x680], 0
je 0x1005b498
mov eax, dword [edi + 4]
push 0
push 0x8d
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov dword [edi + 0x680], 0
cmp dword [edi + 0x690], 1
je 0x1005b4bb
mov eax, dword [edi + 4]
push 1
push 0x91
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov dword [edi + 0x690], 1
cmp dword [edi + 0x698], 1
je 0x1005b4de
mov eax, dword [edi + 4]
push 1
push 0x93
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov dword [edi + 0x698], 1
cmp dword [edi + 0x69c], 0
je 0x1005b501
mov eax, dword [edi + 4]
push 0
push 0x94
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov dword [edi + 0x69c], 0
cmp dword [edi + 0x694], 0
je 0x1005b524
mov eax, dword [edi + 4]
push 0
push 0x92
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov dword [edi + 0x694], 0
cmp dword [edi + 0x488], 0
je 0x1005b544
mov eax, dword [edi + 4]
push 0
push 0xf
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov dword [edi + 0x488], 0
cmp dword [edi + 0x4b0], 5
je 0x1005b564
mov eax, dword [edi + 4]
push 5
push 0x19
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov dword [edi + 0x4b0], 5
cmp dword [edi + 0x4ac], 0x80
je 0x1005b58a
mov eax, dword [edi + 4]
push 0x80
push 0x18
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov dword [edi + 0x4ac], 0x80
cmp dword [edi + 0x498], 5
je 0x1005b5aa
mov eax, dword [edi + 4]
push 5
push 0x13
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov dword [edi + 0x498], 5
cmp dword [edi + 0x49c], 6
je 0x1005b5ca
mov eax, dword [edi + 4]
push 6
push 0x14
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov dword [edi + 0x49c], 6
push 0xec
lea eax, [ebp - 0x198]
mov byte [0x100dff48], 0
push 0
push eax
mov dword [0x100dff4c], 1
call fcn.10081440
mov eax, dword [edi + 4]
lea edx, [ebp - 0x198]
add esp, 0xc
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x1005b6cb
movzx eax, word [ebp - 0xde]
mov ecx, dword [ebp - 0x154]
mov dword [0x100dff4c], eax
test ecx, 0x40000
je 0x1005b635
mov eax, dword [edi]
cmp dword [eax + 0x128], 0x10
jne 0x1005b635
mov byte [0x100dff48], 1
and ecx, 0x100100
cmp ecx, 0x100100
jne 0x1005b688
cmp dword [edi + 0x67c], 0
je 0x1005b666
mov eax, dword [edi + 4]
push 0
push 0x8c
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov dword [edi + 0x67c], 0
cmp dword [edi + 0x4d8], 3
je 0x1005b6cb
mov eax, dword [edi + 4]
push 3
push 0x23
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov dword [edi + 0x4d8], 3
jmp 0x1005b6cb
cmp dword [edi + 0x4d8], 0
je 0x1005b6a8
mov eax, dword [edi + 4]
push 0
push 0x23
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov dword [edi + 0x4d8], 0
cmp dword [edi + 0x67c], 3
je 0x1005b6cb
mov eax, dword [edi + 4]
push 3
push 0x8c
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov dword [edi + 0x67c], 3
test dword [ebp - 0x13c], 0x800
mov eax, dword [0x100dff4c]
mov dword [0x100dff50], eax
mov dword [edi + 0x20], 0x64
je 0x1005b6ef
mov dword [edi + 0x20], 0x6e
xor edx, edx
mov dword [ebp - 0x19c], edx
cmp dword [0x100dff4c], edx
jle 0x1005b81b
lea esi, [edi + 0x6d8]
nop dword [eax]
cmp dword [esi - 4], 2
je 0x1005b734
mov eax, dword [edi + 4]
push 2
push 2
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x94]
mov edx, dword [ebp - 0x19c]
mov dword [esi - 4], 2
cmp dword [esi], 1
je 0x1005b750
mov eax, dword [edi + 4]
push 1
push 3
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x94]
mov dword [esi], 1
cmp dword [esi + 8], 2
je 0x1005b773
mov eax, dword [edi + 4]
push 2
push 5
push dword [ebp - 0x19c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x94]
mov dword [esi + 8], 2
cmp dword [esi + 0xc], 1
je 0x1005b796
mov eax, dword [edi + 4]
push 1
push 6
push dword [ebp - 0x19c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x94]
mov dword [esi + 0xc], 1
cmp dword [esi + 0x38], 2
je 0x1005b7b9
mov eax, dword [edi + 4]
push 2
push 0x11
push dword [ebp - 0x19c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x94]
mov dword [esi + 0x38], 2
cmp dword [esi + 0x34], 2
je 0x1005b7dc
mov eax, dword [edi + 4]
push 2
push 0x10
push dword [ebp - 0x19c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x94]
mov dword [esi + 0x34], 2
cmp dword [esi + 0x3c], 3
je 0x1005b7ff
mov eax, dword [edi + 4]
push 3
push 0x12
push dword [ebp - 0x19c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x94]
mov dword [esi + 0x3c], 3
mov edx, dword [ebp - 0x19c]
sub esi, 0xffffff80
inc edx
mov dword [ebp - 0x19c], edx
cmp edx, dword [0x100dff4c]
jl 0x1005b710
xor edx, edx
lea esi, [edi + 0x6dc]
mov dword [ebp - 0x19c], edx
nop dword [eax]
cmp dword [esi - 0xc], 1
je 0x1005b854
mov eax, dword [edi + 4]
push 1
push 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x94]
mov edx, dword [ebp - 0x19c]
mov dword [esi - 0xc], 1
cmp dword [esi], 1
je 0x1005b870
mov eax, dword [edi + 4]
push 1
push 4
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x94]
mov dword [esi], 1
mov eax, dword [edi + 4]
push 0
push dword [ebp - 0x19c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x8c]
mov edx, dword [ebp - 0x19c]
sub esi, 0xffffff80
inc edx
mov dword [ebp - 0x19c], edx
cmp edx, 8
jl 0x1005b830
push 0x280
lea esi, [edi + 0x1b0]
push 0
push esi
call fcn.10081440
mov eax, dword [0x100dff4c]
add esp, 0xc
mov dword [0x100dff50], eax
mov eax, dword [edi + 4]
mov dword [edi + 0x430], 0
push 1
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0xb0]
mov eax, dword [edi + 4]
push 0
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb0]
push 0x44
lea eax, [edi + 0x160]
mov dword [0x100dff60], 0x3f000000
push 0
push eax
mov dword [0x100dff74], 0xbf000000
mov dword [0x100dff88], 0x3f000000
mov dword [0x100dff90], 0x3f000000
mov dword [0x100dff94], 0x3f000000
mov dword [0x100dff98], 0x3f000000
mov dword [0x100dffdc], 0x3f800000
mov dword [0x100dffc8], 0x3f800000
mov dword [0x100dffb4], 0x3f800000
mov dword [0x100dffa0], 0x3f800000
call fcn.10081440
push 0x280
push 0
push esi
mov dword [edi + 0x1a4], 0
mov dword [edi + 0x1a8], 0
mov dword [edi + 0x1ac], 0
call fcn.10081440
mov al, byte [0x100dff48]
add esp, 0x18
mov byte [edi + 0xc], al
mov byte [edi + 0xd], 1
cmp dword [edi + 0x4b4], 1
je 0x1005b9b1
mov eax, dword [edi + 4]
push 1
push 0x1a
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov dword [edi + 0x4b4], 1
mov byte [edi + 0xe], 1
mov byte [edi + 0xe], 0
cmp dword [edi + 0x454], 0
je 0x1005b9d9
mov eax, dword [edi + 4]
push 0
push 2
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov dword [edi + 0x454], 0
mov byte [edi + 0xf], 1
mov byte [edi + 0xf], 0
cmp dword [edi + 0x46c], 3
je 0x1005ba01
mov eax, dword [edi + 4]
push 3
push 8
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov dword [edi + 0x46c], 3
test byte [edi + 0x1ac], 0x10
mov byte [edi + 0x10], 1
mov byte [edi + 0x10], 0
je 0x1005ba34
cmp dword [edi + 0x4a4], 1
je 0x1005ba54
mov eax, dword [edi + 4]
push 1
push 0x16
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov dword [edi + 0x4a4], 1
jmp 0x1005ba54
cmp dword [edi + 0x4a4], 3
je 0x1005ba54
mov eax, dword [edi + 4]
push 3
push 0x16
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov dword [edi + 0x4a4], 3
movss xmm1, dword [0x100b49d8]
mov dword [edi + 0x14], 0xffffffff
movss xmm0, dword [0x100d6958]
mulss xmm0, xmm1
cvttss2si esi, xmm0
movss xmm0, dword [0x100d695c]
mulss xmm0, xmm1
shl esi, 8
cvttss2si eax, xmm0
movss xmm0, dword [0x100d6960]
or esi, eax
mulss xmm0, xmm1
shl esi, 8
cvttss2si eax, xmm0
or esi, eax
mov eax, dword [edi + 0x1ac]
mov dword [edi + 0x14], esi
test al, 1
je 0x1005bab1
mov esi, 0xffffff
jmp 0x1005babb
test eax, 0x4000
je 0x1005babb
mov esi, dword [edi + 0x18]
mov ecx, dword [edi + 0x678]
cmp ecx, esi
je 0x1005bae4
mov eax, dword [edi + 4]
push esi
push 0x8b
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
movss xmm1, dword [0x100b49d8]
mov ecx, esi
mov dword [edi + 0x678], esi
mov dword [edi + 0x18], 0xffffffff
movss xmm0, dword [0x100dff54]
mulss xmm0, xmm1
cvttss2si esi, xmm0
movss xmm0, dword [0x100dff58]
mulss xmm0, xmm1
shl esi, 8
cvttss2si eax, xmm0
movss xmm0, dword [0x100dff5c]
or esi, eax
mulss xmm0, xmm1
shl esi, 8
cvttss2si eax, xmm0
or esi, eax
mov eax, dword [edi + 0x1ac]
mov dword [edi + 0x18], esi
test al, 1
je 0x1005bb39
mov esi, 0xffffff
jmp 0x1005bb43
test eax, 0x4000
jne 0x1005bb43
mov esi, dword [edi + 0x14]
cmp ecx, esi
je 0x1005bb64
mov eax, dword [edi + 4]
push esi
push 0x8b
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
movss xmm1, dword [0x100b49d8]
mov dword [edi + 0x678], esi
mov dword [edi + 0x1c], 0xffffffff
movss xmm0, dword [0x100dff54]
mulss xmm0, xmm1
cvttss2si esi, xmm0
movss xmm0, dword [0x100dff58]
mulss xmm0, xmm1
shl esi, 8
cvttss2si eax, xmm0
movss xmm0, dword [0x100dff5c]
mulss xmm0, xmm1
or esi, eax
shl esi, 8
cvttss2si eax, xmm0
or esi, eax
cmp esi, 0xffffffff
je 0x1005bbc7
mov dword [edi + 0x1c], esi
cmp dword [edi + 0x4d4], esi
je 0x1005bbc7
mov eax, dword [edi + 4]
push esi
push 0x22
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov dword [edi + 0x4d4], esi
mov dword [edi + 0x30], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x2c], 0x3f800000
mov dword [edi + 0x30], 0x447a0000
cmp dword [edi + 0x4dc], 0x3f800000
je 0x1005bc09
mov eax, dword [edi + 4]
push 0x3f800000
push 0x24
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov dword [edi + 0x4dc], 0x3f800000
mov esi, dword [edi + 0x30]
cmp dword [edi + 0x4e0], esi
je 0x1005bc26
mov eax, dword [edi + 4]
push esi
push 0x25
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov dword [edi + 0x4e0], esi
mov dword [edi + 0x24], 1
mov dword [edi + 0x24], 0
cmp dword [edi + 0x4bc], 0
je 0x1005bc54
mov eax, dword [edi + 4]
push 0
push 0x1c
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov dword [edi + 0x4bc], 0
mov dword [edi + 0x28], 0xffffffff
mov ecx, edi
mov dword [edi + 0x28], 0
call fcn.1005d9f0
push 0x40
lea esi, [edi + 0x60]
push 0
push esi
call fcn.10081440
mov eax, dword [edi + 4]
add esp, 0xc
mov byte [edi + 0x4c], 1
mov dword [edi + 0x5c], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x50], 0
push esi
mov dword [edi + 0x50], 0x3f800000
mov dword [edi + 0x54], 0x447a0000
mov dword [edi + 0x58], 0x3f800000
mov dword [edi + 0x5c], 0x3f800000
mov byte [edi + 0x4c], 0
mov dword [esi], 0x40000000
mov dword [edi + 0x74], 0x40000000
mov dword [edi + 0x88], 0x3f8020cd
mov dword [edi + 0x8c], 0x3f800000
mov dword [edi + 0x98], 0xbf8020cd
mov dword [edi + 0x9c], 0
mov ecx, dword [eax]
push 3
push eax
call dword [ecx + 0x2c]
xorps xmm0, xmm0
lea esi, [edi + 0x34]
movups xmmword [esi], xmm0
movq qword [esi + 0x10], xmm0
mov ecx, dword [edi + 8]
mov dword [edi + 0x48], 0x3f800000
call fcn.10055e40
mov ecx, dword [edi + 8]
mov dword [ebp - 0x19c], eax
call fcn.10056070
cmp dword [esi], 0
mov ecx, eax
mov eax, dword [ebp - 0x19c]
jne 0x1005bd42
cmp dword [edi + 0x38], 0
jne 0x1005bd42
cmp ecx, dword [edi + 0x3c]
jne 0x1005bd42
cmp eax, dword [edi + 0x40]
je 0x1005bd5f
mov dword [edi + 0x40], eax
mov eax, dword [edi + 4]
mov dword [esi], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], ecx
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x34]
movups xmm3, xmmword [0x100dffa0]
mov eax, dword [edi + 4]
lea edx, [edi + 0xa0]
movups xmm2, xmmword [0x100dffb0]
push edx
movups xmm1, xmmword [0x100dffc0]
push 2
movups xmm0, xmmword [0x100dffd0]
push eax
movups xmmword [edx], xmm3
movups xmmword [edx + 0x10], xmm2
movups xmmword [edx + 0x20], xmm1
movups xmmword [edx + 0x30], xmm0
movups xmmword [edi + 0x120], xmm3
movups xmmword [edx], xmm3
movups xmmword [edi + 0x130], xmm2
movups xmmword [edx + 0x10], xmm2
movups xmmword [edi + 0x140], xmm1
movups xmmword [edx + 0x20], xmm1
movups xmmword [edi + 0x150], xmm0
movups xmmword [edx + 0x30], xmm0
mov ecx, dword [eax]
call dword [ecx + 0x2c]
movups xmm3, xmmword [0x100dffa0]
mov eax, dword [edi + 4]
lea edx, [edi + 0xe0]
movups xmm2, xmmword [0x100dffb0]
push edx
movups xmm1, xmmword [0x100dffc0]
push 1
movups xmm0, xmmword [0x100dffd0]
push eax
movups xmmword [edx], xmm3
movups xmmword [edx + 0x10], xmm2
movups xmmword [edx + 0x20], xmm1
movups xmmword [edx + 0x30], xmm0
movups xmmword [edx], xmm3
movups xmmword [edx + 0x10], xmm2
movups xmmword [edx + 0x20], xmm1
movups xmmword [edx + 0x30], xmm0
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push 0x9c
lea eax, [ebp - 0xac]
mov dword [edi + 0x1ac], 0xffffffff
push 0
push eax
mov dword [edi + 0x1a8], 0xffffffff
mov dword [edi + 0x1a4], 0x3f800000
call fcn.10081440
add esp, 0xc
mov dword [ebp - 0x9c], 0x3f800000
lea eax, [ebp - 0xac]
mov dword [ebp - 0xa4], 0x3f800000
mov ecx, edi
mov dword [ebp - 0xa8], 0x3f800000
mov dword [ebp - 0xac], 0x3f800000
push eax
mov dword [ebp - 0x98], 0
call fcn.1005cc50
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007f9c9
mov esp, ebp
pop ebp
ret 8