Function at 0x1005a230
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100de4a7
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x10108c80]
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.100acdf8
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.100aefd0
push 0x400
lea eax, [edi + 0x6cc]
push 0x55
push eax
call fcn.100aefd0
add esp, 0x1c
cmp dword [edi + 0x688], 1
je 0x1005a335
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 0x1005a358
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 0x1005a37b
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 0x1005a39e
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 0x1005a3c1
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 0x1005a3e4
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 0x1005a404
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 0x1005a424
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 0x1005a44a
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 0x1005a46a
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 0x1005a48a
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 [0x10110b78], 0
push 0
push eax
mov dword [0x10110b7c], 1
call fcn.100aefd0
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 0x1005a58b
movzx eax, word [ebp - 0xde]
mov ecx, dword [ebp - 0x154]
mov dword [0x10110b7c], eax
test ecx, 0x40000
je 0x1005a4f5
mov eax, dword [edi]
cmp dword [eax + 0x128], 0x10
jne 0x1005a4f5
mov byte [0x10110b78], 1
and ecx, 0x100100
cmp ecx, 0x100100
jne 0x1005a548
cmp dword [edi + 0x67c], 0
je 0x1005a526
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 0x1005a58b
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 0x1005a58b
cmp dword [edi + 0x4d8], 0
je 0x1005a568
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 0x1005a58b
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 [0x10110b7c]
mov dword [0x10110b80], eax
mov dword [edi + 0x20], 0x64
je 0x1005a5af
mov dword [edi + 0x20], 0x6e
xor edx, edx
mov dword [ebp - 0x19c], edx
cmp dword [0x10110b7c], edx
jle 0x1005a6db
lea esi, [edi + 0x6d8]
nop dword [eax]
cmp dword [esi - 4], 2
je 0x1005a5f4
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 0x1005a610
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 0x1005a633
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 0x1005a656
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 0x1005a679
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 0x1005a69c
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 0x1005a6bf
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 [0x10110b7c]
jl 0x1005a5d0
xor edx, edx
lea esi, [edi + 0x6dc]
mov dword [ebp - 0x19c], edx
nop dword [eax]
cmp dword [esi - 0xc], 1
je 0x1005a714
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 0x1005a730
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 0x1005a6f0
push 0x280
lea esi, [edi + 0x1b0]
push 0
push esi
call fcn.100aefd0
mov eax, dword [0x10110b7c]
add esp, 0xc
mov dword [0x10110b80], 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 [0x10110b90], 0x3f000000
push 0
push eax
mov dword [0x10110ba4], 0xbf000000
mov dword [0x10110bb8], 0x3f000000
mov dword [0x10110bc0], 0x3f000000
mov dword [0x10110bc4], 0x3f000000
mov dword [0x10110bc8], 0x3f000000
mov dword [0x10110c0c], 0x3f800000
mov dword [0x10110bf8], 0x3f800000
mov dword [0x10110be4], 0x3f800000
mov dword [0x10110bd0], 0x3f800000
call fcn.100aefd0
push 0x280
push 0
push esi
mov dword [edi + 0x1a4], 0
mov dword [edi + 0x1a8], 0
mov dword [edi + 0x1ac], 0
call fcn.100aefd0
mov al, byte [0x10110b78]
add esp, 0x18
mov byte [edi + 0xc], al
mov byte [edi + 0xd], 1
cmp dword [edi + 0x4b4], 1
je 0x1005a871
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 0x1005a899
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 0x1005a8c1
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 0x1005a8f4
cmp dword [edi + 0x4a4], 1
je 0x1005a914
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 0x1005a914
cmp dword [edi + 0x4a4], 3
je 0x1005a914
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 [0x100e2958]
mov dword [edi + 0x14], 0xffffffff
movss xmm0, dword [0x10106960]
mulss xmm0, xmm1
cvttss2si esi, xmm0
movss xmm0, dword [0x10106964]
mulss xmm0, xmm1
shl esi, 8
cvttss2si eax, xmm0
movss xmm0, dword [0x10106968]
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 0x1005a971
mov esi, 0xffffff
jmp 0x1005a97b
test eax, 0x4000
je 0x1005a97b
mov esi, dword [edi + 0x18]
mov ecx, dword [edi + 0x678]
cmp ecx, esi
je 0x1005a9a4
mov eax, dword [edi + 4]
push esi
push 0x8b
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
movss xmm1, dword [0x100e2958]
mov ecx, esi
mov dword [edi + 0x678], esi
mov dword [edi + 0x18], 0xffffffff
movss xmm0, dword [0x10110b84]
mulss xmm0, xmm1
cvttss2si esi, xmm0
movss xmm0, dword [0x10110b88]
mulss xmm0, xmm1
shl esi, 8
cvttss2si eax, xmm0
movss xmm0, dword [0x10110b8c]
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 0x1005a9f9
mov esi, 0xffffff
jmp 0x1005aa03
test eax, 0x4000
jne 0x1005aa03
mov esi, dword [edi + 0x14]
cmp ecx, esi
je 0x1005aa24
mov eax, dword [edi + 4]
push esi
push 0x8b
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
movss xmm1, dword [0x100e2958]
mov dword [edi + 0x678], esi
mov dword [edi + 0x1c], 0xffffffff
movss xmm0, dword [0x10110b84]
mulss xmm0, xmm1
cvttss2si esi, xmm0
movss xmm0, dword [0x10110b88]
mulss xmm0, xmm1
shl esi, 8
cvttss2si eax, xmm0
movss xmm0, dword [0x10110b8c]
mulss xmm0, xmm1
or esi, eax
shl esi, 8
cvttss2si eax, xmm0
or esi, eax
cmp esi, 0xffffffff
je 0x1005aa87
mov dword [edi + 0x1c], esi
cmp dword [edi + 0x4d4], esi
je 0x1005aa87
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 0x1005aac9
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 0x1005aae6
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 0x1005ab14
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.1005c8a0
push 0x40
lea esi, [edi + 0x60]
push 0
push esi
call fcn.100aefd0
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.10055e60
mov ecx, dword [edi + 8]
mov dword [ebp - 0x19c], eax
call fcn.10056090
cmp dword [esi], 0
mov ecx, eax
mov eax, dword [ebp - 0x19c]
jne 0x1005ac02
cmp dword [edi + 0x38], 0
jne 0x1005ac02
cmp ecx, dword [edi + 0x3c]
jne 0x1005ac02
cmp eax, dword [edi + 0x40]
je 0x1005ac1f
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 [0x10110bd0]
mov eax, dword [edi + 4]
lea edx, [edi + 0xa0]
movups xmm2, xmmword [0x10110be0]
push edx
movups xmm1, xmmword [0x10110bf0]
push 2
movups xmm0, xmmword [0x10110c00]
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 [0x10110bd0]
mov eax, dword [edi + 4]
lea edx, [edi + 0xe0]
movups xmm2, xmmword [0x10110be0]
push edx
movups xmm1, xmmword [0x10110bf0]
push 1
movups xmm0, xmmword [0x10110c00]
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.100aefd0
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.1005bb00
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.100ad4b8
mov esp, ebp
pop ebp
ret 8