Function at 0x47f970
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cf3a5
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x69001c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xbc], ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0x14]
mov esi, dword [ecx]
mov dword [ebp - 0xdc], eax
add esi, 0x30
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xd0], ecx
mov dword [ebp - 0xc4], edi
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0xe8]
mov dword [ebp - 0xf0], eax
mov eax, dword fs:[0x2c]
mov dword [ebp - 0xf4], 0x621794
mov ecx, dword [eax]
mov eax, dword [0x69820c]
cmp eax, dword [ecx + 4]
jle 0x47fc4b
push 0x69820c
call fcn.00590972
add esp, 4
cmp dword [0x69820c], 0xffffffff
jne 0x47fc4b
mov byte [ebp - 4], 1
xor eax, eax
push 9
mov dword [0x698210], 0
mov ecx, 0x698210
mov dword [0x698220], 0
mov dword [0x698224], 0
push str.VersionNT
mov dword [0x698220], 0
mov dword [0x698224], 7
mov word [0x698210], ax
call fcn.00406e80
mov byte [ebp - 4], 2
xor eax, eax
push 0xb
mov dword [0x698228], 0
mov ecx, 0x698228
mov dword [0x698238], 0
mov dword [0x69823c], 0
push str.VersionNT64
mov dword [0x698238], 0
mov dword [0x69823c], 7
mov word [0x698228], ax
call fcn.00406e80
mov byte [ebp - 4], 3
xor eax, eax
push 0x10
mov dword [0x698240], 0
mov ecx, 0x698240
mov dword [0x698250], 0
mov dword [0x698254], 0
push str.ServicePackLevel
mov dword [0x698250], 0
mov dword [0x698254], 7
mov word [0x698240], ax
call fcn.00406e80
mov byte [ebp - 4], 4
xor eax, eax
push 0x15
mov dword [0x698258], 0
mov ecx, 0x698258
mov dword [0x698268], 0
mov dword [0x69826c], 0
push str.ServicePackLevelMinor
mov dword [0x698268], 0
mov dword [0x69826c], 7
mov word [0x698258], ax
call fcn.00406e80
mov byte [ebp - 4], 5
xor eax, eax
push 0xc
mov dword [0x698270], 0
mov ecx, 0x698270
mov dword [0x698280], 0
mov dword [0x698284], 0
push str.WindowsBuild
mov dword [0x698280], 0
mov dword [0x698284], 7
mov word [0x698270], ax
call fcn.00406e80
mov byte [ebp - 4], 6
xor eax, eax
push 0x10
mov dword [0x698288], 0
mov ecx, 0x698288
mov dword [0x698298], 0
mov dword [0x69829c], 0
push str.MsiNTProductType
mov dword [0x698298], 0
mov dword [0x69829c], 7
mov word [0x698288], ax
call fcn.00406e80
mov byte [ebp - 4], 1
push 0x609360
call fcn.0059082a
mov byte [ebp - 4], 0
push 0x69820c
call fcn.00590928
add esp, 8
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xfc], esp
push esi
call fcn.00406350
mov byte [ebp - 4], 7
lea eax, [ebp - 0xf4]
push eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb4]
call fcn.005522b0
mov byte [ebp - 4], 8
mov esi, dword [ebp - 0xe8]
cmp esi, dword [ebp - 0xe4]
je 0x47ff80
nop dword [eax]
push esi
mov edx, 0x6982a0
mov ecx, 0x698210
call fcn.00421850
add esp, 4
cmp eax, 0x6982a0
jne 0x47fe56
push str.AiVerMin
mov edx, esi
lea ecx, [ebp - 0x70]
call fcn.00406b50
mov byte [ebp - 4], 9
mov edx, esi
push str.AiVerMax
lea ecx, [ebp - 0x58]
call fcn.00406b50
add esp, 8
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
push esi
mov ecx, dword [eax]
mov edx, dword [ecx]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call edx
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x47fd30
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
setae byte [ebp - 0xb5]
cmp edx, 1
jne 0x47fe6d
push edx
mov edx, 0x6190c8
call fcn.00406e00
add esp, 4
test eax, eax
jne 0x47fe6a
mov eax, dword [ebp - 0xcc]
cmp dword [eax + 0x10], 0
jne 0x47fe32
cmp dword [edi + 0x10], 0
jne 0x47fe32
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov ecx, dword [eax]
mov edx, dword [ecx]
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x88]
push ecx
mov ecx, eax
call edx
mov edi, eax
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0xcc]
cmp eax, edi
je 0x47fdb0
mov ecx, eax
call fcn.004075e0
movups xmm0, xmmword [edi]
mov eax, dword [ebp - 0xcc]
movups xmmword [eax], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
nop dword [eax]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x88]
call fcn.004075e0
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov ecx, dword [eax]
mov edx, dword [ecx]
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call edx
mov edi, eax
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0xc4]
cmp ecx, edi
je 0x47fe20
call fcn.004075e0
movups xmm0, xmmword [edi]
mov eax, dword [ebp - 0xc4]
movups xmmword [eax], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
nop dword [eax]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x40]
call fcn.004075e0
mov edi, dword [ebp - 0xc4]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
call fcn.004075e0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x58]
call fcn.004075e0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x70]
call fcn.004075e0
add esi, 0x18
cmp esi, dword [ebp - 0xe4]
jne 0x47fc90
jmp 0x47ff80
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xdc]
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x47fe8c
cmp byte [ebp - 0xb5], 0
push edx
cmovne eax, dword [ebp - 0x28]
push eax
call fcn.00406e80
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov ecx, dword [eax]
mov edx, dword [ecx]
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call edx
mov dword [ebp - 0xc4], eax
mov byte [ebp - 4], 0xc
mov esi, dword [ebp - 0xcc]
cmp esi, eax
je 0x47fef0
mov ecx, esi
call fcn.004075e0
mov eax, dword [ebp - 0xc4]
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x40]
call fcn.004075e0
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov ecx, dword [eax]
mov edx, dword [ecx]
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call edx
mov esi, eax
mov byte [ebp - 4], 0xd
cmp edi, esi
je 0x47ff50
mov ecx, edi
call fcn.004075e0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x40]
call fcn.004075e0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
call fcn.004075e0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x58]
call fcn.004075e0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x70]
call fcn.004075e0
mov edi, dword [ebp - 0xbc]
mov ecx, dword [edi + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
push dword [ebp - 0xc8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
mov ecx, eax
call edx
mov ecx, dword [edi + 8]
mov byte [ebp - 0xb5], al
mov edx, dword [ecx]
mov edx, dword [edx + 4]
call edx
mov esi, eax
mov ecx, dword [esi]
mov eax, dword [ecx + 0x1c]
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0xc8], eax
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x480176
mov ecx, dword [ebp - 0xd0]
mov eax, dword [ecx]
lea ecx, [ebp - 0xc0]
push ecx
lea ecx, [ebp - 0xec]
add eax, 0x18
push ecx
push eax
mov ecx, esi
call dword [ebp - 0xc8]
mov eax, dword [ebp - 0xc0]
cmp eax, 0xffffffff
cmove eax, dword [ebp - 0xec]
mov dword [ebp - 0xc0], eax
cmp eax, 2
je 0x480058
cmp eax, 0xffffffff
je 0x480058
cmp eax, 0x64
jne 0x48002f
lea esi, [eax - 0x61]
jmp 0x48005d
push dword [ebp - 0xd0]
call fcn.004822d0
xor ecx, ecx
test al, al
mov eax, dword [ebp - 0xc0]
setne cl
lea ecx, [ecx*4 + 2]
mov dword [ebp - 0xc8], ecx
mov esi, ecx
jmp 0x48005d
mov esi, 1
mov cl, byte [ebp - 0xb5]
test cl, cl
jne 0x4800c5
mov edx, dword [ebp - 0xd8]
lea ecx, [edi + 0xb8]
cmp edx, ecx
je 0x480097
cmp dword [ecx + 0x14], 8
mov eax, dword [ecx + 0x10]
jb 0x480082
mov ecx, dword [ecx]
push eax
push ecx
mov ecx, edx
call fcn.00406e80
mov eax, dword [ebp - 0xc0]
mov edx, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xdc]
cmp dword [ecx + 0x10], 0
jne 0x4800bf
cmp ecx, edx
je 0x4800bf
cmp dword [edx + 0x14], 8
mov eax, dword [edx + 0x10]
jb 0x4800b2
mov edx, dword [edx]
push eax
push edx
call fcn.00406e80
mov eax, dword [ebp - 0xc0]
mov cl, byte [ebp - 0xb5]
cmp eax, 3
jne 0x480103
test cl, cl
je 0x480103
push dword [ebp - 0xd0]
call fcn.004822d0
test al, al
je 0x4800fb
lea eax, [edi + 0xe8]
mov edi, dword [ebp - 0xd4]
cmp edi, eax
je 0x480127
cmp dword [eax + 0x14], 8
mov edx, dword [eax + 0x10]
jb 0x4800f8
mov eax, dword [eax]
push edx
jmp 0x48011f
lea eax, [edi + 0xd0]
jmp 0x480109
lea eax, [edi + 0x100]
mov edi, dword [ebp - 0xd4]
cmp edi, eax
je 0x480127
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x48011e
mov eax, dword [eax]
push ecx
push eax
mov ecx, edi
call fcn.00406e80
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x94]
call fcn.00553450
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb0]
call fcn.004075e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe8]
call fcn.004067e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059046a
mov esp, ebp
pop ebp
ret 0x18
call fcn.004833f0
int3