Function at 0x5a1490
Capabilities:
Get number of processors

Disassembly:
push ebp
lea ebp, [esp - 0xac]
sub esp, 0xac
push 0xffffffffffffffff
push 0x62f032
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x659af8]
xor eax, ebp
mov dword [ebp + 0xa8], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [ebp + 0xb8]
xor ebx, ebx
mov edi, dword [ebp + 0xb4]
mov dword [ebp - 0x1c], ebx
push 1
push dword [esi + 0x30]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ebx
call fcn.006084e7
add esp, 8
mov dword [esi + 0x30], ebx
cmp byte [ebp + 0xbc], bl
je 0x5a1ac9
xorps xmm0, xmm0
mov dword [ebp + 0xa4], ebx
movq qword [ebp + 0x9c], xmm0
mov dword [ebp + 0x9c], ebx
mov dword [ebp + 0xa0], ebx
mov ecx, dword [esi + 0x2c]
lea eax, [ebp + 0x9c]
push eax
mov dword [ebp - 4], ebx
call fcn.005a11d0
mov ecx, dword [ebp + 0xa0]
mov eax, 0x92492493
mov esi, dword [ebp + 0x9c]
sub ecx, esi
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
mov dword [ebp - 0x1c], ecx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x18], eax
test eax, eax
jle 0x5a162c
mov edx, edi
xor eax, eax
mov dword [ebp - 0x14], eax
lea edi, [edx + 4]
nop
push dword [edx + 0x14]
lea ecx, [esi + eax]
lea eax, [ebp - 0x44]
push eax
call fcn.005a1260
cmp dword [edi + 0x14], 0x10
mov edx, edi
jb 0x5a1589
mov edx, dword [edi]
cmp dword [eax + 0x18], 0x10
lea ecx, [eax + 4]
jb 0x5a1595
mov ecx, dword [eax + 4]
push dword [edi + 0x10]
push edx
push dword [eax + 0x14]
push ecx
call fcn.004cabe0
mov edx, dword [ebp - 0x2c]
add esp, 0x10
mov dword [ebp - 0x44], 0x498708
mov esi, eax
cmp edx, 0x10
jb 0x5a15ea
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
mov byte [ebp - 4], 1
cmp edx, 0x1000
jb 0x5a15dc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a1b0e
push edx
push ecx
call fcn.006084e7
add esp, 8
mov byte [ebp - 4], 0
test esi, esi
mov esi, dword [ebp + 0x9c]
je 0x5a1629
mov ecx, dword [ebp + 0xa0]
mov eax, 0x92492493
dec dword [ebp - 0x18]
sub ecx, esi
inc dword [ebp - 0x1c]
add dword [ebp - 0x14], 0x1c
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x1c], eax
jge 0x5a1629
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
jmp 0x5a1570
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xa0]
mov eax, 0x92492493
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx - 1]
mov dword [ebp - 0x14], eax
test eax, eax
js 0x5a1714
mov edx, dword [ebp - 0x10]
lea eax, [ecx*8]
sub eax, ecx
lea edi, [edx + 4]
lea ebx, [eax*4 - 0x1c]
nop dword [eax + eax]
push dword [edx + 0x14]
lea eax, [ebp - 0x44]
lea ecx, [esi + ebx]
push eax
call fcn.005a1260
cmp dword [edi + 0x14], 0x10
mov edx, edi
jb 0x5a1689
mov edx, dword [edi]
cmp dword [eax + 0x18], 0x10
lea ecx, [eax + 4]
jb 0x5a1695
mov ecx, dword [eax + 4]
push dword [edi + 0x10]
push edx
push dword [eax + 0x14]
push ecx
call fcn.004cabe0
mov edx, dword [ebp - 0x2c]
add esp, 0x10
mov dword [ebp - 0x44], 0x498708
mov esi, eax
cmp edx, 0x10
jb 0x5a16ea
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
mov byte [ebp - 4], 2
cmp edx, 0x1000
jb 0x5a16dc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a1b0e
push edx
push ecx
call fcn.006084e7
add esp, 8
mov byte [ebp - 4], 0
test esi, esi
je 0x5a1708
dec dword [ebp - 0x18]
sub ebx, 0x1c
sub dword [ebp - 0x14], 1
js 0x5a1708
mov esi, dword [ebp + 0x9c]
mov edx, dword [ebp - 0x10]
jmp 0x5a1670
mov esi, dword [ebp + 0x9c]
mov ebx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
test eax, eax
jg 0x5a1722
xor ebx, ebx
jmp 0x5a1a73
shl eax, 5
push eax
mov dword [ebp - 0x24], eax
call fcn.006084f5
mov ecx, dword [ebp - 0x20]
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp + 0x98], 0
mov dword [ecx + 0x30], eax
xor eax, eax
mov dword [ebp - 0x14], eax
nop dword [eax]
push 0x98
lea eax, [ebp]
push 0
push eax
call fcn.0060a6d0
add esp, 0xc
mov dword [ebp], 0x49897c
mov dword [ebp + 0x58], 0
mov dword [ebp + 0x78], 0
mov dword [ebp + 0x7c], 0
mov dword [ebp + 0x80], 0
mov dword [ebp + 0x50], 0x4988e0
push 0
push 0
lea eax, [ebp + 4]
mov byte [ebp - 4], 4
or ebx, 1
lea ecx, [ebp]
push eax
mov dword [ebp - 0x1c], ebx
call fcn.004be610
mov eax, dword [ebp]
push 8
mov dword [ebp - 4], 5
mov eax, dword [eax + 4]
mov dword [ebp + eax], 0x498978
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 4], eax
mov dword [ebp + 4], 0x4988f8
call fcn.006084b7
mov esi, eax
add esp, 4
test esi, esi
je 0x5a17fd
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov byte [ebp - 4], 6
call fcn.005f3a64
add esp, 4
mov dword [esi + 4], eax
jmp 0x5a17ff
xor esi, esi
lea eax, [ebp + 8]
mov dword [ebp + 0x38], esi
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0xc]
mov dword [ebp + 0x14], eax
lea eax, [ebp + 0x18]
mov dword [ebp + 0x20], eax
lea eax, [ebp + 0x1c]
mov dword [ebp + 0x24], eax
lea eax, [ebp + 0x28]
mov dword [ebp + 0x30], eax
lea eax, [ebp + 0x2c]
mov dword [ebp + 0x34], eax
mov dword [ebp + 0xc], 0
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x2c], 0
mov dword [ebp + 8], 0
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x28], 0
mov dword [ebp + 4], 0x498938
mov dword [ebp + 0x3c], 0
mov dword [ebp + 0x40], 4
cmp dword [edi + 0x18], 0x10
lea eax, [edi + 4]
mov byte [ebp - 4], 7
jb 0x5a1875
mov eax, dword [edi + 4]
push dword [edi + 0x14]
push eax
lea eax, [ebp]
push eax
call fcn.00528b70
push 0
mov esi, eax
lea eax, [ebp - 0x70]
push 2
push eax
call fcn.005f4932
mov ecx, dword [esi]
push dword [eax + 0xc]
mov ecx, dword [ecx + 4]
push dword [eax + 8]
mov eax, dword [eax]
add ecx, esi
push ecx
call eax
mov eax, dword [esi]
add esp, 0x24
mov ecx, esi
mov eax, dword [eax + 4]
mov byte [eax + esi + 0x40], 0x30
mov eax, dword [ebp - 0x14]
inc eax
push eax
mov dword [ebp - 0x14], eax
call fcn.004c2cb0
mov ecx, dword [ebp + 0x40]
or ebx, 4
mov byte [ebp - 4], 8
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
mov dword [ebp - 0x1c], ebx
test cl, 2
jne 0x5a18fc
mov eax, dword [ebp + 0x24]
mov edx, dword [eax]
test edx, edx
je 0x5a18fc
mov eax, dword [ebp + 0x14]
cmp edx, dword [ebp + 0x3c]
cmovb edx, dword [ebp + 0x3c]
mov ecx, dword [eax]
sub edx, ecx
jmp 0x5a1916
test cl, 4
jne 0x5a1920
mov eax, dword [ebp + 0x20]
mov edx, dword [eax]
test edx, edx
je 0x5a1920
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
sub edx, ecx
mov eax, dword [ebp + 0x30]
add edx, dword [eax]
push edx
push ecx
lea ecx, [ebp - 0x5c]
call fcn.004c82a0
and ebx, 0xfffffffb
mov dword [ebp - 4], 7
or ebx, 2
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x40]
call fcn.004be960
mov dword [ebp - 0x44], 0x498708
mov esi, dword [ebp - 0x10]
lea eax, [ebp + 0x98]
push eax
push 0x20
push esi
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0xa
push eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x2c]
call fcn.005a0e60
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x44], 0x498708
cmp edx, 0x10
jb 0x5a19a3
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
mov byte [ebp - 4], 0xb
cmp edx, 0x1000
jb 0x5a1999
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a1b0e
push edx
push ecx
call fcn.006084e7
add esp, 8
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x5a19ed
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
mov byte [ebp - 4], 0xc
cmp edx, 0x1000
jb 0x5a19e3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a1b0e
push edx
push ecx
call fcn.006084e7
add esp, 8
mov eax, dword [ebp]
add esi, 0x20
mov dword [ebp - 0x10], esi
mov eax, dword [eax + 4]
mov dword [ebp + eax], 0x498978
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 4], eax
lea ecx, [ebp + 4]
call fcn.004c0b00
mov eax, dword [ebp]
mov eax, dword [eax + 4]
mov dword [ebp + eax], 0x4988e8
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 4], eax
lea eax, [ebp + 0x50]
mov byte [ebp - 4], 0xd
push eax
mov dword [ebp + 0x50], 0x4986a4
call fcn.005f4067
mov eax, dword [ebp - 0x14]
add esp, 4
cmp eax, dword [ebp - 0x18]
jl 0x5a1750
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp + 0x98]
add ecx, 0xffffffe0
mov esi, dword [ebp + 0x9c]
add eax, ecx
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax + 0x30]
mov dword [ebp - 4], 0xe
test esi, esi
je 0x5a1ac5
mov edi, dword [ebp + 0xa0]
cmp esi, edi
je 0x5a1a9d
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax]
add esi, 0x1c
cmp esi, edi
jne 0x5a1a88
mov esi, dword [ebp + 0x9c]
mov ecx, dword [ebp + 0xa4]
mov eax, 0x92492493
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
push esi
lea ecx, [ebp + 0x9c]
call fcn.004c8730
mov eax, ebx
jmp 0x5a1ae9
push 0x20
call fcn.006084f5
mov ecx, dword [ebp - 0x28]
add esp, 4
mov dword [esi + 0x30], eax
push ecx
mov ecx, dword [esi + 0x2c]
push 0x20
push eax
push edi
call fcn.005a0e60
mov eax, dword [esi + 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xa8]
xor ecx, ebp
call fcn.00608a00
lea esp, [ebp + 0xac]
pop ebp
ret 0xc
call fcn.00540ccc
int3