Function at 0x53b530
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffebc
xor eax, eax
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
xor eax, eax
push ebp
push 0x53b8bb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5a7594]
mov eax, dword [eax]
lea eax, [eax + eax*2]
mov dword [ebp - 0x28], eax
mov eax, dword [0x5a72dc]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x140]
mov edx, 6
mov eax, dword [ebp - 0x28]
call fcn.00406494
lea edx, [ebp - 0x140]
lea eax, [ebp - 0x30]
call fcn.0040a430
mov byte [ebp - 0x31], 0
mov eax, dword [0x5a7594]
mov eax, dword [eax]
lea eax, [eax + eax*2]
test eax, eax
jle 0x53b5ea
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 1
mov eax, dword [0x5a744c]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
mov eax, dword [eax + edx*4 - 4]
fld qword [eax]
fcomp dword [0x53b8c8]
wait
fnstsw ax
sahf
ja 0x53b5e2
mov eax, dword [0x5a744c]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
mov eax, dword [eax + edx*4 - 4]
xor edx, edx
mov dword [eax], edx
mov dword [eax + 4], 0x3ff00000
mov byte [ebp - 0x31], 1
inc dword [ebp - 4]
dec dword [ebp - 0x38]
jne 0x53b5a9
cmp byte [ebp - 0x31], 0
je 0x53b5f4
mov byte [ebp - 0x31], 0
mov eax, dword [0x5a744c]
mov eax, dword [eax]
mov eax, dword [eax]
fld qword [eax]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.00404c68
mov eax, dword [0x5a744c]
mov eax, dword [eax]
mov eax, dword [eax]
fstp qword [eax]
wait
mov eax, dword [ebp - 0x28]
sub eax, 2
jl 0x53b895
inc eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 2
mov eax, dword [ebp - 4]
mov ecx, 0x64
cdq
idiv ecx
test edx, edx
jne 0x53b6a4
lea ecx, [ebp - 0x140]
mov edx, 6
mov eax, dword [ebp - 4]
call fcn.00406494
lea edx, [ebp - 0x140]
lea eax, [ebp - 0x2c]
call fcn.0040a430
push 0x53b8d8
push dword [ebp - 0x2c]
push 0x53b944
push dword [ebp - 0x30]
push 0x53b95c
lea eax, [ebp - 0x144]
mov edx, 5
call fcn.0040a59c
mov edx, dword [ebp - 0x144]
lea eax, [ebp - 0x140]
mov ecx, 0xff
call fcn.0040a3c4
lea eax, [ebp - 0x140]
call fcn.00590b24
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0x24]
inc eax
cmp eax, dword [ebp - 0x1c]
jle 0x53b6c1
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 4]
dec edx
sub edx, eax
jl 0x53b7e3
inc edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x24]
inc eax
cmp eax, dword [ebp - 0x20]
jle 0x53b6fe
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0x24]
inc eax
cmp eax, dword [ebp - 0x20]
jle 0x53b714
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 8]
dec edx
sub edx, eax
jl 0x53b797
inc edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [0x5a744c]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4 - 4]
mov edx, dword [ebp - 0x14]
fld qword [eax + edx*8 - 8]
mov eax, dword [0x5a744c]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4 - 4]
mov edx, dword [ebp - 0x18]
fmul qword [eax + edx*8 - 8]
mov eax, dword [0x5a744c]
mov eax, dword [eax]
mov edx, dword [ebp - 8]
mov eax, dword [eax + edx*4 - 4]
mov edx, dword [ebp - 0x10]
fsubr qword [eax + edx*8 - 8]
mov eax, dword [0x5a744c]
mov eax, dword [eax]
mov edx, dword [ebp - 8]
mov eax, dword [eax + edx*4 - 4]
mov edx, dword [ebp - 0x10]
fstp qword [eax + edx*8 - 8]
wait
inc dword [ebp - 0xc]
dec dword [ebp - 0x40]
jne 0x53b726
mov eax, dword [0x5a744c]
mov eax, dword [eax]
mov edx, dword [ebp - 8]
mov eax, dword [eax + edx*4 - 4]
mov edx, dword [ebp - 0x10]
fld qword [eax + edx*8 - 8]
mov eax, dword [0x5a744c]
mov eax, dword [eax]
mov edx, dword [ebp - 8]
mov eax, dword [eax + edx*4 - 4]
fld qword [eax]
call fcn.004052d0
mov eax, dword [0x5a744c]
mov eax, dword [eax]
mov edx, dword [ebp - 8]
mov eax, dword [eax + edx*4 - 4]
mov edx, dword [ebp - 0x10]
fstp qword [eax + edx*8 - 8]
wait
inc dword [ebp - 8]
dec dword [ebp - 0x3c]
jne 0x53b6d7
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0x24]
inc eax
cmp eax, dword [ebp - 0x1c]
jle 0x53b800
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 4]
dec edx
sub edx, eax
jl 0x53b85c
inc edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [0x5a744c]
mov eax, dword [eax]
mov edx, dword [ebp - 8]
mov eax, dword [eax + edx*4 - 4]
mov edx, dword [ebp - 0x10]
fld qword [eax + edx*8 - 8]
fmul st(0)
mov eax, dword [0x5a744c]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
mov eax, dword [eax + edx*4 - 4]
fsubr qword [eax]
mov eax, dword [0x5a744c]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
mov eax, dword [eax + edx*4 - 4]
fstp qword [eax]
wait
inc dword [ebp - 8]
dec dword [ebp - 0x3c]
jne 0x53b812
mov eax, dword [0x5a744c]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
mov eax, dword [eax + edx*4 - 4]
fld qword [eax]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.00404c68
mov eax, dword [0x5a744c]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
mov eax, dword [eax + edx*4 - 4]
fstp qword [eax]
wait
inc dword [ebp - 4]
dec dword [ebp - 0x38]
jne 0x53b62e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53b8c2
lea eax, [ebp - 0x144]
call fcn.004094fc
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.0040955c
ret