Function at 0x521d90
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b50b2
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x6244f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x3c], esi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x38], ecx
xor ecx, ecx
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], cx
mov dword [esi + 0x18], ecx
mov dword [ebp - 4], ecx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], 7
mov word [esi + 0x18], cx
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], ecx
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], 7
mov word [esi + 0x34], cx
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], 7
mov word [esi + 0x4c], cx
xor edx, edx
mov dword [esi + 0x64], ecx
mov dword [esi + 0x74], ecx
mov dword [esi + 0x78], 7
mov word [esi + 0x64], dx
mov dword [esi + 0x7c], edx
mov dword [esi + 0x8c], edx
mov dword [esi + 0x90], 7
mov word [esi + 0x7c], dx
mov dword [esi + 0x94], edx
mov dword [esi + 0xa4], edx
mov dword [esi + 0xa8], 7
mov word [esi + 0x94], dx
mov byte [ebp - 4], 6
cmp esi, eax
je 0x521e97
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x521e8c
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, esi
call fcn.004049b3
push esi
call fcn.0044e100
add esp, 4
mov ecx, esi
call fcn.00522fe0
push dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.005238b0
push eax
lea ecx, [esi + 0x34]
call fcn.004191bb
mov edx, dword [ebp - 0x10]
cmp edx, 8
jb 0x521ef8
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x521eee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x52204d
push edx
push ecx
call fcn.0056e411
add esp, 8
push dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.005238b0
push eax
lea ecx, [esi + 0x4c]
call fcn.004191bb
mov edx, dword [ebp - 0x10]
cmp edx, 8
jb 0x521f49
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x521f3f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x522052
push edx
push ecx
call fcn.0056e411
add esp, 8
push dword [ebp - 0x30]
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.005238b0
push eax
lea ecx, [esi + 0x64]
call fcn.004191bb
mov edx, dword [ebp - 0x10]
cmp edx, 8
jb 0x521f9a
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x521f90
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x522057
push edx
push ecx
call fcn.0056e411
add esp, 8
push dword [ebp - 0x34]
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.005238b0
push eax
lea ecx, [esi + 0x7c]
call fcn.004191bb
mov edx, dword [ebp - 0x10]
cmp edx, 8
jb 0x521fe7
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x521fdd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x52205c
push edx
push ecx
call fcn.0056e411
add esp, 8
push dword [ebp - 0x38]
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.005238b0
push eax
lea ecx, [esi + 0x94]
call fcn.004191bb
mov edx, dword [ebp - 0x10]
cmp edx, 8
jb 0x522037
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x52202d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x522061
push edx
push ecx
call fcn.0056e411
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
call fcn.00574b50
call fcn.00574b50
call fcn.00574b50
call fcn.00574b50
call fcn.00574b50
int3