Function at 0x2580a5c
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x6a1fbd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
jne 0x25813a2
mov eax, dword [ebp - 4]
call fcn.02581ebc
xor eax, eax
push ebp
push 0x6a1f90
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.02581e84
push 0
push 0
push 0
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.022f0ca4
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x54]
mov eax, dword [0x7780ec]
call fcn.022ed504
mov eax, dword [ebp - 0x54]
push eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffd
call fcn.022e7828
xor eax, eax
push ebp
push 0x6a1f73
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.02570b8c
add eax, eax
add eax, eax
add eax, eax
mov dword [ebp - 0x10], eax
test byte [ebp - 5], 8
je 0x2580bdb
mov eax, dword [ebp - 4]
call fcn.02582688
cmp dword [eax + 8], 0
jle 0x2580b4b
mov eax, dword [ebp - 4]
call fcn.02582688
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.02570b8c
mov edi, eax
dec edi
test edi, edi
jl 0x2580bdb
inc edi
xor ebx, ebx
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0257e738
mov eax, dword [eax + 0x20]
cmp dword [eax + 8], 0
jle 0x2580bd7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0257e738
mov eax, dword [eax + 0x20]
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [ebp - 0x10]
push eax
push 0x64
mov eax, dword [ebp - 0xc]
push eax
call fcn.022f3220
push eax
push 0
push 0
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.022f0ca4
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x58]
mov eax, dword [0x7780ec]
call fcn.022ed504
mov eax, dword [ebp - 0x58]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffd
call fcn.022e7828
inc ebx
dec edi
jne 0x2580b60
test byte [ebp - 5], 4
je 0x2580dea
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.02570b8c
mov edi, eax
dec edi
test edi, edi
jl 0x2580cc5
inc edi
xor ebx, ebx
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0257e738
call fcn.0257b0c0
test al, al
je 0x2580cbd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0257e738
mov eax, dword [eax + 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0257e738
mov eax, dword [eax + 0x34]
call fcn.0257d884
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0257e738
mov eax, dword [eax + 0x18]
pop edx
pop ecx
call fcn.02580a44
test al, al
jne 0x2580cbd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0257e738
mov eax, dword [eax + 0x34]
xor edx, edx
call fcn.0257d824
mov eax, dword [ebp - 0x10]
push eax
push 0x64
mov eax, dword [ebp - 0xc]
push eax
call fcn.022f3220
push eax
push 0
push 0
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.022f0ca4
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x5c]
mov eax, dword [0x7780ec]
call fcn.022ed504
mov eax, dword [ebp - 0x5c]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffd
call fcn.022e7828
inc ebx
dec edi
jne 0x2580bfe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.02570b8c
mov edi, eax
sub edi, 2
test edi, edi
jl 0x2580dfa
inc edi
xor ebx, ebx
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0257e738
cmp dword [eax + 0x34], 0
je 0x2580de0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0257e738
mov eax, dword [eax + 0x34]
call fcn.0257d98c
add al, 0xfe
sub al, 2
jae 0x2580de0
lea edx, [ebx + 1]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.0257e738
call fcn.0257b0c0
test al, al
jne 0x2580de0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0257e738
lea edx, [ebp - 0x20]
call fcn.0257acc8
lea edx, [ebx + 1]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.0257e738
lea edx, [ebp - 0x30]
call fcn.0257acc8
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x40]
call fcn.022f0cec
test al, al
je 0x2580de0
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x40]
call fcn.022f0c80
test al, al
je 0x2580d97
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0257e738
mov eax, dword [eax + 0x34]
xor edx, edx
call fcn.0257d99c
mov eax, dword [ebp - 0x10]
push eax
push 0x64
mov eax, dword [ebp - 0xc]
push eax
call fcn.022f3220
push eax
push 0
push 0
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.022f0ca4
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x60]
mov eax, dword [0x7780ec]
call fcn.022ed504
mov eax, dword [ebp - 0x60]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffd
call fcn.022e7828
inc ebx
dec edi
jne 0x2580ce0
jmp 0x2580dfa
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.02570b8c
add eax, eax
add dword [ebp - 0xc], eax
test byte [ebp - 5], 2
je 0x2580ecd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.02570b8c
mov ebx, eax
dec ebx
cmp ebx, 1
jl 0x2580edb
inc dword [ebp - 0xc]
mov esi, ebx
dec esi
jmp 0x2580e24
dec esi
test esi, esi
jle 0x2580e54
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.0257e738
cmp dword [eax + 0x34], 0
je 0x2580e54
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.0257e738
mov eax, dword [eax + 0x34]
call fcn.0257d98c
cmp al, 3
je 0x2580e23
test esi, esi
jl 0x2580e79
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.0257e738
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0257e738
pop edx
call fcn.0257ce2c
mov eax, dword [ebp - 0x10]
push eax
push 0x64
mov eax, dword [ebp - 0xc]
push eax
call fcn.022f3220
push eax
push 0
push 0
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.022f0ca4
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x64]
mov eax, dword [0x7780ec]
call fcn.022ed504
mov eax, dword [ebp - 0x64]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffd
call fcn.022e7828
dec ebx
test ebx, ebx
jne 0x2580e1b
jmp 0x2580edb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.02570b8c
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.02570b8c
add dword [ebp - 0xc], eax
test byte [ebp - 5], 4
je 0x258108e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.02570b8c
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x2581045
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0257e738
mov eax, dword [eax + 0x30]
call fcn.02570b8c
mov esi, eax
dec esi
cmp esi, 0
jl 0x2580ffa
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0257e738
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.02579c78
mov edx, dword [0x68e2dc]
call fcn.022e773c
test al, al
jne 0x2580fd9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0257e738
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.02579c78
mov edx, dword [0x68dee4]
call fcn.022e773c
test al, al
jne 0x2580fd9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0257e738
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.02579c78
mov edx, dword [0x68eb20]
call fcn.022e773c
test al, al
jne 0x2580fd9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0257e738
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.02579c78
mov edx, dword [0x68ecc0]
call fcn.022e773c
test al, al
je 0x2580ff0
test ebx, ebx
jg 0x2580fd9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.02570b8c
dec eax
jne 0x2580ff0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0257e738
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.02570bd4
dec esi
cmp esi, 0xffffffff
jne 0x2580f2b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0257e738
call fcn.02579f9c
test al, al
je 0x258103b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0257e738
mov eax, dword [eax + 0x30]
call fcn.02570b8c
test eax, eax
jne 0x258103b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0257e738
call fcn.022e746c
dec ebx
cmp ebx, 0xffffffff
jne 0x2580f0a
mov eax, dword [ebp - 0x10]
push eax
push 0x64
mov eax, dword [ebp - 0xc]
push eax
call fcn.022f3220
push eax
push 0
push 0
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.022f0ca4
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x68]
mov eax, dword [0x7780ec]
call fcn.022ed504
mov eax, dword [ebp - 0x68]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffd
call fcn.022e7828
test byte [ebp - 5], 1
je 0x25811d5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.02570b8c
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x25811e3
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0257e738
call fcn.02579f9c
test al, al
jne 0x25811c9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0257e738
call fcn.0257b0c0
test al, al
je 0x25811c9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0257e738
mov eax, dword [eax + 0x34]
call fcn.0257d960
movzx esi, ax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0257e738
call fcn.0257ca78
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0257e738
call fcn.02579f9c
test al, al
je 0x2581180
test ebx, ebx
jle 0x2581173
mov edx, ebx
dec edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.0257e738
call fcn.0257b0c0
test al, al
je 0x2581173
mov edi, ebx
dec edi
mov edx, edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.0257e738
mov eax, dword [eax + 0x34]
call fcn.0257d960
add ax, si
push eax
mov edx, edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.0257e738
mov eax, dword [eax + 0x34]
pop edx
call fcn.0257d968
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.02570bd4
mov eax, dword [ebp - 0x10]
push eax
push 0x64
mov eax, dword [ebp - 0xc]
push eax
call fcn.022f3220
push eax
push 0
push 0
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.022f0ca4
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, dword [0x7780ec]
call fcn.022ed504
mov eax, dword [ebp - 0x6c]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffd
call fcn.022e7828
dec ebx
cmp ebx, 0xffffffff
jne 0x25810af
jmp 0x25811e3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.02570b8c
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.02570b8c
add dword [ebp - 0xc], eax
test byte [ebp - 5], 4
je 0x2581319
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.02570b8c
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x25812d0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0257e738
cmp dword [eax + 0x34], 0
je 0x2581285
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0257e738
mov esi, dword [eax + 0x34]
mov eax, esi
call fcn.0257d960
test ax, ax
je 0x258124f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.02570b8c
dec eax
jne 0x2581285
mov eax, esi
call fcn.0257d818
test al, al
jne 0x2581285
mov eax, esi
call fcn.0257d970
test al, al
jne 0x2581285
mov eax, esi
call fcn.0257d98c
sub al, 2
jb 0x258127e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.02570b8c
dec eax
jne 0x2581285
mov eax, esi
call fcn.022e746c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0257e738
call fcn.02579f9c
test al, al
je 0x25812c6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0257e738
mov eax, dword [eax + 0x30]
call fcn.02570b8c
test eax, eax
jne 0x25812c6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0257e738
call fcn.022e746c
dec ebx
cmp ebx, 0xffffffff
jne 0x2581212
mov eax, dword [ebp - 0x10]
push eax
push 0x64
mov eax, dword [ebp - 0xc]
push eax
call fcn.022f3220
push eax
push 0
push 0
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.022f0ca4
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x70]
mov eax, dword [0x7780ec]
call fcn.022ed504
mov eax, dword [ebp - 0x70]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffd
call fcn.022e7828
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6a1f7a
call fcn.022e5f48
test eax, eax
jne 0x2581336
mov ebx, 0x64
jmp 0x2581338
xor ebx, ebx
push ebx
push 0
push 0
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.022f0ca4
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x74]
mov eax, dword [0x7780ec]
call fcn.022ed504
mov eax, dword [ebp - 0x74]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffd
call fcn.022e7828
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6a1fc4
lea eax, [ebp - 0x74]
mov edx, 9
call fcn.022e9288
ret