Function at 0x4177e0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6648bd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x588
mov eax, dword [0x706c40]
push ebx
mov dword [esp + 0x34], eax
push ebp
mov ebx, ecx
xor eax, eax
push esi
push edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
push 0xa
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x5a8], eax
mov dword [esp + 0x20], 0x692d50
call fcn.0048b670
lea esi, [ebx + 0x6a0]
mov ecx, 0x64
lea edi, [esp + 0x408]
lea ebp, [ebx + 0x510]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x64
mov esi, ebp
lea edi, [esp + 0x278]
lea eax, [ebx + 0x380]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x30], eax
mov esi, eax
mov eax, dword [ebx + 0x858]
mov ecx, 0x64
lea edi, [esp + 0xe8]
cmp eax, 3
mov dword [esp + 0x5a0], 1
rep movsd dword es:[edi], dword [esi]
ja case.default.0x41789f
jmp dword [eax*4 + 0x41830c]
lea ecx, [esp + 0x70]
call fcn.0064dc20
lea ecx, [esp + 0x44]
call fcn.0064dc20
mov eax, dword [ebx + 0x834]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x30], edx
mov eax, ebp
mov edx, 0x32
xor ecx, ecx
mov dword [eax - 0x190], ecx
mov dword [eax - 0x18c], ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 0x190], ecx
mov dword [eax + 0x194], ecx
add eax, 8
dec edx
jne 0x4178d4
mov dword [esp + 0x10], ecx
lea edi, [ebx + 0x510]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [ecx + 0x298]
call fcn.004be450
mov ebp, eax
test ebp, ebp
je 0x417a29
mov edx, dword [esp + 0x64]
mov ecx, ebp
push edx
call fcn.004a81e0
mov esi, eax
mov eax, dword [esp + 0x30]
push eax
mov ecx, ebp
call fcn.004a81e0
test esi, esi
mov ebp, eax
je 0x417a29
test ebp, ebp
je 0x417a29
mov eax, dword [esp + 0x20]
push 0xffffffffffffffff
mov ebx, eax
inc eax
push eax
lea ecx, [esp + 0x20]
call fcn.0048b670
mov ecx, dword [esp + 0x1c]
push 0xffffffffffffffff
mov dword [ecx + ebx*4], esi
mov eax, dword [esp + 0x24]
mov ebx, eax
inc eax
push eax
lea ecx, [esp + 0x20]
call fcn.0048b670
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0xd0]
push eax
mov ecx, esi
mov dword [edx + ebx*4], ebp
call fcn.004ac900
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
lea eax, [esp + 0x88]
mov dword [esp + 0x80], ecx
push eax
mov ecx, ebp
mov dword [esp + 0x88], edx
call fcn.004ac900
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp + 0x54], ecx
lea eax, [esp + 0x44]
lea ecx, [esp + 0x70]
push eax
push ecx
mov dword [esp + 0x60], edx
call fcn.0064def0
fstp qword [edi - 0x190]
fld qword [esp + 0x4c]
fsub qword [esp + 0x78]
mov ebx, dword [esp + 0x40]
add esp, 8
fstp qword [edi]
fld qword [esp + 0x4c]
fsub qword [esp + 0x78]
fstp qword [edi + 0x190]
mov eax, dword [esp + 0x10]
add edi, 8
inc eax
cmp eax, 0x32
mov dword [esp + 0x10], eax
jl 0x417901
jmp case.default.0x41789f
lea ecx, [esp + 0x44]
call fcn.0064dc20
mov eax, ebp
mov edx, 0x32
xor ecx, ecx
mov dword [eax - 0x190], ecx
mov dword [eax - 0x18c], ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 0x190], ecx
mov dword [eax + 0x194], ecx
add eax, 8
dec edx
jne 0x417a55
mov edx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x34], edx
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [ecx + 0x298]
call fcn.004be450
mov ebp, eax
test ebp, ebp
je 0x417c3c
mov edx, dword [ebx + 0x834]
mov ecx, ebp
mov eax, dword [edx]
push eax
call fcn.0049e7b0
mov ecx, dword [ebx + 0x848]
mov esi, eax
mov edx, dword [ecx]
mov ecx, ebp
push edx
call fcn.004a81e0
mov edi, eax
mov eax, dword [ebx + 0x848]
mov ecx, dword [eax + 4]
push ecx
mov ecx, ebp
call fcn.004a81e0
test esi, esi
mov ebp, eax
je 0x417c3c
test edi, edi
je 0x417c3c
test ebp, ebp
je 0x417c3c
mov eax, dword [esp + 0x20]
push 0xffffffffffffffff
mov ebx, eax
inc eax
push eax
lea ecx, [esp + 0x20]
call fcn.0048b670
mov edx, dword [esp + 0x1c]
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
mov dword [edx + ebx*4], esi
mov eax, dword [esp + 0x24]
mov ebx, eax
inc eax
push eax
call fcn.0048b670
mov eax, dword [esp + 0x1c]
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
mov dword [eax + ebx*4], edi
mov eax, dword [esp + 0x24]
mov ebx, eax
inc eax
push eax
call fcn.0048b670
mov ecx, dword [esp + 0x1c]
mov dword [ecx + ebx*4], ebp
mov ecx, esi
call fcn.004da3a0
lea edx, [esp + 0x5c]
mov esi, eax
push edx
mov ecx, edi
mov ebx, dword [esi]
sub esp, 0x18
mov eax, esp
mov dword [esp + 0x48], esp
push eax
call fcn.004ac900
lea ecx, [esp + 0xd4]
push ecx
mov ecx, esi
call dword [ebx + 0x98]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ecx
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ecx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x54], edx
sub esp, 0x18
lea edx, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x44], esp
mov dword [esp + 0x70], eax
mov edi, dword [esi]
push edx
call fcn.0064dc70
mov ecx, esi
call dword [edi + 0xc0]
lea eax, [esp + 0x5c]
mov edi, dword [esi]
fstp qword [esp + 0x64]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x48], esp
push ecx
mov ecx, ebp
call fcn.004ac900
lea edx, [esp + 0xbc]
mov ecx, esi
push edx
call dword [edi + 0x98]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
sub esp, 0x18
mov dword [esp + 0x6c], ecx
lea eax, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x44], esp
mov dword [esp + 0x70], edx
mov edi, dword [esi]
push eax
call fcn.0064dc70
mov ecx, esi
call dword [edi + 0xc0]
fld qword [esp + 0x64]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
fsub st(1)
fabs
fstp qword [ecx]
fstp st(0)
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
inc eax
add edx, 8
cmp eax, 0x32
mov dword [esp + 0x10], eax
mov dword [esp + 0x34], edx
jl 0x417a84
lea ecx, [ebx + 0x388]
mov edx, 0x31
fld qword [ecx]
fabs
fcomp qword [0x691f50]
fnstsw ax
test ah, 0x41
jne 0x417c80
fld qword [ecx]
fsub qword [ecx - 8]
fstp qword [ecx + 0x318]
add ecx, 8
dec edx
jne 0x417c64
jmp case.default.0x41789f
mov eax, ebp
mov edx, 0x32
xor ecx, ecx
mov dword [eax - 0x190], ecx
mov dword [eax - 0x18c], ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 0x190], ecx
mov dword [eax + 0x194], ecx
add eax, 8
dec edx
jne 0x417c94
mov edx, dword [ebx + 0x838]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [ecx + 0x298]
call fcn.004be450
test eax, eax
mov dword [esp + 0x34], eax
je 0x417d46
mov eax, dword [esp + 0x3c]
xor ebx, ebx
test eax, eax
jle 0x417d46
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 0x834]
mov ecx, dword [eax + ebx*4]
push ecx
mov ecx, dword [esp + 0x38]
call fcn.0049e7b0
mov esi, eax
test esi, esi
je 0x417d3d
mov eax, dword [esp + 0x20]
push 0xffffffffffffffff
mov edi, eax
inc eax
push eax
lea ecx, [esp + 0x20]
call fcn.0048b670
mov edx, dword [esp + 0x1c]
mov ecx, esi
mov dword [edx + edi*4], esi
call fcn.004da3a0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xb8]
fadd qword [ebp]
fstp qword [ebp]
mov eax, dword [esp + 0x3c]
inc ebx
cmp ebx, eax
jl 0x417cef
mov eax, dword [esp + 0x10]
add ebp, 8
inc eax
cmp eax, 0x32
mov dword [esp + 0x10], eax
jl 0x417cc9
mov eax, dword [esp + 0x38]
mov edx, 1
xor esi, esi
lea ecx, [eax + 0x388]
fld qword [ecx]
fabs
fcomp qword [0x691f50]
fnstsw ax
test ah, 0x41
jne 0x417db2
mov eax, dword [0x6fd53c]
cmp edx, eax
jle 0x417d8d
fld qword [ecx]
fsub qword [ecx - 8]
jmp 0x417dac
cmp edx, dword [0x6fd538]
jne 0x417da3
mov dword [ecx + 0x320], esi
mov dword [ecx + 0x324], esi
jmp 0x417db2
cmp edx, eax
jge 0x417db2
fld qword [ecx]
fsub qword [ecx + 8]
fstp qword [ecx + 0x320]
inc edx
add ecx, 8
cmp edx, 0x32
jl 0x417d6c
mov ebx, dword [esp + 0x38]
jmp case.default.0x41789f
mov eax, ebp
mov edx, 0x32
xor ecx, ecx
mov dword [eax - 0x190], ecx
mov dword [eax - 0x18c], ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 0x190], ecx
mov dword [eax + 0x194], ecx
add eax, 8
dec edx
jne 0x417dcd
lea edi, [ebx + 0x510]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edi
push ecx
mov ecx, dword [esp + 0x44]
mov ecx, dword [ecx + 0x298]
call fcn.004be450
test eax, eax
mov dword [esp + 0x34], eax
je 0x41804d
mov eax, dword [ebx + 0x838]
xor ebp, ebp
test eax, eax
mov dword [esp + 0x30], eax
jle 0x417e87
mov edx, dword [ebx + 0x834]
mov ecx, dword [esp + 0x34]
mov eax, dword [edx + ebp*4]
push eax
call fcn.0049e7b0
mov esi, eax
test esi, esi
je 0x417e7e
mov eax, dword [esp + 0x20]
push 0xffffffffffffffff
mov edi, eax
inc eax
push eax
lea ecx, [esp + 0x20]
call fcn.0048b670
mov ecx, dword [esp + 0x1c]
mov dword [ecx + edi*4], esi
mov ecx, esi
call fcn.004da3a0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xb8]
mov eax, dword [esp + 0x14]
fadd qword [eax - 0x190]
fstp qword [eax - 0x190]
mov eax, dword [esp + 0x30]
inc ebp
cmp ebp, eax
jl 0x417e2a
cmp dword [ebx + 0x85c], 1
jne 0x418049
mov eax, dword [ebx + 0x84c]
mov edi, dword [esp + 0x14]
xor ebp, ebp
mov dword [esp + 0x30], eax
test eax, eax
mov dword [esp + 0x64], ebp
jle 0x418039
mov eax, dword [ebx + 0x848]
mov ecx, dword [eax + ebp*4]
push ecx
mov ecx, dword [esp + 0x38]
call fcn.0049e7b0
mov esi, eax
test esi, esi
mov dword [esp + 0x5c], esi
je 0x418028
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], ecx
lea ebp, [ecx + 1]
test ebp, ebp
jne 0x417f06
test eax, eax
je 0x417ef7
push eax
call fcn.0065e732
add esp, 4
xor eax, eax
mov dword [esp + 0x1c], eax
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], ecx
jmp 0x418008
test eax, eax
jne 0x417f36
lea edx, [ebp*4]
push edx
call fcn.0065e5d0
add esp, 4
mov dword [esp + 0x1c], eax
push ebp
push eax
call fcn.00418860
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebp
jmp 0x418008
cmp ebp, dword [esp + 0x24]
jg 0x417f6c
cmp ecx, ebp
jge 0x417f5b
mov edx, ebp
lea eax, [eax + ecx*4]
sub edx, ecx
push edx
push eax
call fcn.00418860
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], ebp
jmp 0x418008
jle 0x417f63
sub ecx, ebp
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x20], ebp
jmp 0x418008
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x417f97
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x417f8b
mov eax, 4
jmp 0x417f97
cmp eax, 0x400
jle 0x417f97
mov eax, 0x400
mov ecx, dword [esp + 0x24]
add eax, ecx
cmp ebp, eax
mov dword [esp + 0x3c], eax
jl 0x417fa9
mov dword [esp + 0x3c], ebp
mov edx, dword [esp + 0x3c]
lea eax, [edx*4]
push eax
call fcn.0065e5d0
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov ebx, eax
add esp, 4
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x20]
mov ecx, ebp
sub ecx, eax
lea edx, [ebx + eax*4]
push ecx
push edx
call fcn.00418860
mov eax, dword [esp + 0x1c]
push eax
call fcn.0065e732
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x18]
mov eax, ebx
mov ebx, dword [esp + 0x3c]
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x2c]
mov ecx, esi
mov dword [eax + edx*4], esi
call fcn.004da3a0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xb8]
fadd qword [edi]
mov ebp, dword [esp + 0x64]
fstp qword [edi]
mov eax, dword [esp + 0x30]
inc ebp
cmp ebp, eax
mov dword [esp + 0x64], ebp
jl 0x417eb0
fld qword [edi - 0x190]
fsub qword [edi]
fstp qword [edi + 0x190]
jmp 0x41804d
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
add edi, 8
inc ecx
mov dword [esp + 0x14], edi
cmp ecx, 0x32
mov dword [esp + 0x10], ecx
jl 0x417dfe
mov eax, dword [ebx + 0x84c]
test eax, eax
jne case.default.0x41789f
cmp dword [ebx + 0x85c], 1
jne case.default.0x41789f
lea ecx, [ebx + 0x388]
mov edx, 0x31
fld qword [ecx]
fabs
fcomp qword [0x691f50]
fnstsw ax
test ah, 0x41
jne 0x4180a0
fld qword [ecx]
fsub qword [ecx - 8]
fstp qword [ecx + 0x318]
add ecx, 8
dec edx
jne 0x418084
xor ebp, ebp
lea esi, [ebx + 0x510]
xor edi, edi
mov eax, dword [esi - 0x18c]
mov ecx, dword [esi - 0x190]
push eax
push ecx
call fcn.00471690
fst qword [esi - 0x190]
mov eax, dword [ebx + 0x864]
add esp, 8
test eax, eax
je 0x4180f3
fsub qword [esp + edi + 0xe8]
fabs
fcomp qword [0x692d48]
fnstsw ax
test ah, 0x41
jne 0x4180f5
mov ebp, 1
jmp 0x4180f5
fstp st(0)
mov edx, dword [esi + 4]
mov eax, dword [esi]
push edx
push eax
call fcn.00471690
fst qword [esi]
mov eax, dword [ebx + 0x864]
add esp, 8
test eax, eax
je 0x41812d
fsub qword [esp + edi + 0x278]
fabs
fcomp qword [0x692d48]
fnstsw ax
test ah, 0x41
jne 0x41812f
mov ebp, 1
jmp 0x41812f
fstp st(0)
mov ecx, dword [esi + 0x194]
mov edx, dword [esi + 0x190]
push ecx
push edx
call fcn.00471690
fst qword [esi + 0x190]
mov eax, dword [ebx + 0x864]
add esp, 8
test eax, eax
je 0x418172
fsub qword [esp + edi + 0x408]
fabs
fcomp qword [0x692d48]
fnstsw ax
test ah, 0x41
jne 0x418174
mov ebp, 1
jmp 0x418174
fstp st(0)
add edi, 8
add esi, 8
cmp edi, 0x190
jl 0x4180b0
mov eax, dword [ebx + 0x864]
test eax, eax
je 0x4182c1
test ebp, ebp
je 0x4182c1
mov eax, dword [esp + 0x20]
xor esi, esi
test eax, eax
mov edi, eax
jle 0x4181d2
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + esi*4]
cmp dword [ecx + 0x10], 8
jne 0x4181bf
mov edx, dword [ecx]
push 0x40400000
call dword [edx + 0x5c]
mov eax, dword [esp + 0x1c]
push 1
mov ecx, dword [eax + esi*4]
mov edx, dword [ecx]
call dword [edx + 0x48]
inc esi
cmp esi, edi
jl 0x4181a8
mov ecx, dword [0x706c40]
push 0
push 0
push 0
call fcn.0065ec30
lea ecx, [esp + 0x14]
call fcn.0065e79e
lea eax, [esp + 0x14]
mov ecx, ebx
push eax
mov byte [esp + 0x5a4], 2
call fcn.0065ea86
mov eax, dword [0x705f7c]
test eax, eax
jne 0x418231
push eax
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.0065e816
push ecx
mov byte [esp + 0x5ac], 3
mov ecx, esp
mov dword [esp + 0x68], esp
push 0x6d7a14
jmp 0x41828b
cmp eax, 1
jne 0x41825f
push 0
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.0065e816
push ecx
mov byte [esp + 0x5ac], 4
mov ecx, esp
mov dword [esp + 0x68], esp
push str.Warning:_The_value_was_changed
jmp 0x41828b
cmp eax, 2
jne 0x4182a0
push 0
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.0065e816
push ecx
mov byte [esp + 0x5ac], 5
mov ecx, esp
mov dword [esp + 0x68], esp
push 0x6d79e0
call fcn.0065e7aa
mov byte [esp + 0x5ac], 2
call fcn.00463a90
add esp, 0xc
push 0xc8
push 0x898
nop
call fcn.0081b264
lea ecx, [esp + 0x14]
mov byte [esp + 0x5a0], 1
call fcn.0065e798
mov ecx, ebx
call fcn.00417050
lea ecx, [ebx + 0x60]
call fcn.0040a0b0
mov dword [esp + 0x18], 0x692d30
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x5a0], 6
test eax, eax
je 0x4182f4
push eax
call fcn.0065e732
add esp, 4
mov ecx, dword [esp + 0x598]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret