Function at 0x42aa20
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49a78c
mov eax, dword fs:[0]
push eax
sub esp, 0x288
push esi
push edi
mov eax, dword [0x4e7544]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
mov eax, dword [esi + 0x48]
lea ecx, [esi + 0x30]
mov dword [ecx], 0
xor edx, edx
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x1c], 0
mov word [eax], dx
mov eax, dword [ecx + 0x24]
mov dword [ecx + 0x28], edx
mov dword [ebp - 0x40], ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [esi + 0x24]
mov dword [eax + 4], ecx
mov dword [ebp - 0x44], eax
mov eax, dword [eax]
mov word [eax], cx
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x42aad0
mov eax, dword [esi]
mov edi, dword [eax + ecx*4 - 4]
test edi, edi
je 0x42aac5
mov ecx, edi
call fcn.0042a150
push 0xe0
push edi
call fcn.0047c0c5
add esp, 8
mov ecx, dword [esi + 4]
sub ecx, 1
mov dword [esi + 4], ecx
jne 0x42aaa6
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x28]
cmp dword [eax + 4], 0x20
jb 0x42aaf4
mov eax, 0x80004001
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi + 0x28]
xor edx, edx
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0xffffffff
movlpd qword [ebp - 0x4c], xmm0
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x58], 0x1010100
mov dword [ebp - 0x60], 0x1010101
movups xmm0, xmmword [ebp - 0x64]
mov dword [ebp - 0x54], 0x101
mov word [ebp - 0x50], dx
movups xmmword [edi + 8], xmm0
mov byte [ebp - 0x4e], dl
movups xmm0, xmmword [ebp - 0x54]
mov dword [ebp - 0x10], eax
movups xmmword [edi + 0x18], xmm0
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
cmp eax, 1
jb 0x42ab96
mov edi, dword [ebp - 0x10]
mov edi, dword [edi]
mov dword [ebp - 0x14], edi
mov edi, dword [ebp + 8]
cmp ecx, eax
jae 0x42ab71
sub eax, ecx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + eax*4 - 4]
movups xmm1, xmmword [eax]
movups xmm0, xmmword [eax + 0x10]
movups xmmword [edi + 8], xmm1
movups xmmword [edi + 0x18], xmm0
mov ecx, dword [esi + 4]
jmp 0x42ab9f
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
movups xmm0, xmmword [eax + 0x10]
movups xmm1, xmmword [eax]
movd eax, xmm0
test al, al
je 0x42b41e
movups xmmword [edi + 8], xmm1
movups xmmword [edi + 0x18], xmm0
mov ecx, dword [esi + 4]
jmp 0x42ab9f
cmp ecx, 0x20
jae 0x42b41e
test ecx, ecx
jne 0x42ade4
mov dword [ebp - 0x1b4], edx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x1b0], ecx
mov dword [ebp - 0x1ac], ecx
mov dword [ebp - 0x1a8], ecx
mov dword [ebp - 0x1a3], ecx
mov word [ebp - 0x19f], cx
mov byte [ebp - 0x19d], cl
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 3
call fcn.00413860
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 4
call fcn.00413860
lea ecx, [ebp - 0x184]
mov byte [ebp - 4], 5
call fcn.00413860
xor eax, eax
mov byte [ebp - 4], 6
mov dword [ebp - 0x168], eax
lea ecx, [ebp - 0x124]
lea eax, [ebp - 0x13c]
mov dword [ebp - 0x170], 0
xorps xmm0, xmm0
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0xffffffff
movlpd qword [ebp - 0x12c], xmm0
call fcn.00413860
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 7
call fcn.00413860
lea eax, [ebp - 0x10c]
mov byte [ebp - 4], 8
xorps xmm0, xmm0
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x100], 0xffffffff
movlpd qword [ebp - 0xfc], xmm0
call fcn.00413860
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 9
call fcn.00413860
lea esi, [edi + 0x44]
mov dword [ebp - 4], 0xa
push esi
lea ecx, [ebp - 0x190]
call fcn.004138f0
push esi
lea ecx, [ebp - 0x19c]
call fcn.004138f0
push edi
lea ecx, [ebp - 0x1b4]
mov dword [ebp - 0x174], 0xffffffff
call fcn.0042bd40
mov esi, eax
test esi, esi
jne 0x42b246
mov esi, dword [ebp - 0x28]
mov ecx, esi
call fcn.00421e00
lea eax, [ebp - 0x1b4]
mov ecx, esi
push eax
call fcn.0042a2c0
push dword [ebp - 0xe8]
call fcn.0047c0dc
push dword [ebp - 0xf4]
call fcn.0047c0dc
push dword [ebp - 0x118]
call fcn.0047c0dc
push dword [ebp - 0x124]
call fcn.0047c0dc
push dword [ebp - 0x184]
call fcn.0047c0dc
push dword [ebp - 0x190]
call fcn.0047c0dc
push dword [ebp - 0x19c]
call fcn.0047c0dc
add esp, 0x1c
mov ecx, dword [ebp - 0x1a8]
mov dword [ebp - 4], 0xf
test ecx, ecx
je 0x42ad93
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x1ac]
mov dword [ebp - 4], 0x10
test ecx, ecx
je 0x42adaa
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x1b0]
mov dword [ebp - 4], 0x11
test ecx, ecx
je 0x42adc1
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x1b4]
mov dword [ebp - 4], 0x12
test ecx, ecx
je 0x42add8
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
jmp 0x42aaf4
mov eax, dword [esi]
mov edi, dword [eax + ecx*4 - 4]
mov eax, dword [ebp - 0x10]
cmp ecx, dword [eax + 4]
sbb eax, eax
and eax, 0x80004001
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x6c], eax
mov eax, dword [edi]
lea edx, [ebp - 0x74]
push edx
push 1
push eax
mov ecx, dword [eax]
mov dword [ebp - 4], 0x17
call dword [ecx + 0x20]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x42b49f
cmp word [ebp - 0x74], 0x13
jne 0x42b492
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0xd4]
mov dword [ebp - 0x14], eax
mov eax, dword [edi]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x42b49f
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x74]
cmp eax, dword [ebp - 0xd4]
jae 0x42b495
call fcn.00418850
mov dword [ebp - 0x1c], 0
mov eax, dword [edi]
lea edx, [ebp - 0x1c]
push edx
push 0x4b4410
push eax
mov ecx, dword [eax]
mov dword [ebp - 4], 0x18
call dword [ecx]
test eax, eax
mov eax, dword [ebp - 0x1c]
jne 0x42b489
test eax, eax
je 0x42b489
mov dword [ebp - 0x24], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push dword [ebp - 0x14]
mov byte [ebp - 4], 0x1a
push eax
call dword [ecx + 0xc]
test eax, eax
mov eax, dword [ebp - 0x24]
jne 0x42b472
test eax, eax
je 0x42b472
mov dword [ebp - 0x20], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push 0x4b4170
push eax
mov byte [ebp - 4], 0x1d
call dword [ecx]
test eax, eax
mov eax, dword [ebp - 0x20]
jne 0x42b43d
test eax, eax
je 0x42b43d
lea ecx, [ebp - 0x294]
call fcn.00429e40
lea eax, [ebp - 0x27c]
mov byte [ebp - 4], 0x21
push eax
push dword [ebp - 0x14]
mov ecx, edi
call fcn.0042a640
mov esi, eax
test esi, esi
jne 0x42b34d
lea eax, [ebp - 0x15]
push eax
push 0x56
push dword [ebp - 0x14]
push dword [edi]
call fcn.0042a520
mov esi, eax
test esi, esi
jne 0x42b34d
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x42af73
mov dword [ebp - 0x10], eax
mov eax, dword [ecx]
lea edx, [ebp - 0x10]
push edx
push 0x4b4420
push ecx
mov byte [ebp - 4], 0x28
call dword [eax]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x42af65
push dword [ebp - 0x27c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0x29
test eax, eax
je 0x42af73
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xc8], 0xffffffff
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0x1010100
mov dword [ebp - 0xb8], 0x101
mov word [ebp - 0xb4], 0
mov byte [ebp - 0xb2], 0
movlpd qword [ebp - 0xb0], xmm0
mov dword [ebp - 0xc4], 0x1010101
movups xmmword [ebp - 0xa8], xmm0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov byte [ebp - 0x90], 0
call fcn.00413860
movups xmm0, xmmword [esi + 8]
mov eax, dword [esi]
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0xd0], eax
mov al, byte [ebp - 0x15]
movups xmmword [ebp - 0xc8], xmm0
mov byte [ebp - 4], 0x2b
movups xmm0, xmmword [esi + 0x18]
mov byte [ebp - 0x90], 0
movups xmmword [ebp - 0xb8], xmm0
mov byte [ebp - 0xb3], al
lea eax, [ebp - 0x80]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0x27c]
push eax
call fcn.004138f0
mov eax, dword [esi + 0x38]
lea ecx, [ebp - 0x294]
mov dword [ebp - 0x98], eax
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0xd0]
push eax
call fcn.0042bb10
mov esi, eax
xor ecx, ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
cmp dword [eax + 4], ecx
setne cl
mov dword [ebp - 0x10], ecx
cmp esi, 1
je 0x42b3a3
test esi, esi
jne 0x42b337
xor eax, eax
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x24c], esi
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], eax
mov eax, dword [edi]
lea edx, [ebp - 0x3c]
push edx
push 0xc
push dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 0x32
call dword [ecx + 0x18]
mov esi, eax
test esi, esi
jne 0x42b32f
mov ax, word [ebp - 0x3c]
cmp ax, 0x40
jne 0x42b198
mov eax, dword [ebp - 0x34]
xor edx, edx
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x250], eax
movzx eax, word [ebp - 0x3a]
mov dword [ebp - 0x24c], ecx
mov dword [ebp - 0x10], edx
test eax, eax
je 0x42b135
cmp eax, 0x19
ja 0x42b139
cmp word [ebp - 0x36], dx
jne 0x42b139
movzx ecx, word [ebp - 0x38]
cmp ecx, 0x64
jae 0x42b139
mov edx, eax
jmp 0x42b13c
xor ecx, ecx
jmp 0x42b13c
mov ecx, dword [ebp - 0x10]
movzx eax, dx
mov word [ebp - 0x248], ax
mov byte [ebp - 0x246], cl
mov byte [ebp - 0x245], 1
test ax, ax
jne 0x42b1bc
lea ecx, [ebp - 0x3c]
call fcn.00418a40
mov eax, dword [edi]
lea edx, [ebp - 0x3c]
push edx
push 0x28
push dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, eax
test esi, esi
jne 0x42b32f
cmp word [ebp - 0x3c], 0x13
jne 0x42b1bc
mov eax, dword [ebp - 0x34]
mov ecx, 0x17
test eax, eax
cmove eax, ecx
mov word [ebp - 0x248], ax
jmp 0x42b1bc
test ax, ax
jne 0x42b32a
cmp byte [edi + 0x4f], al
je 0x42b1bc
movq xmm0, qword [edi + 0x44]
movq qword [ebp - 0x250], xmm0
mov eax, dword [edi + 0x4c]
mov dword [ebp - 0x248], eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x2b
call fcn.00418850
mov esi, dword [ebp - 0x28]
mov ecx, esi
call fcn.00421e00
lea eax, [ebp - 0x294]
mov ecx, esi
push eax
call fcn.0042a2c0
push dword [ebp - 0x8c]
call fcn.0047c0dc
push dword [ebp - 0x80]
call fcn.0047c0dc
add esp, 8
lea ecx, [ebp - 0x294]
call fcn.0042a150
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0x36
test eax, eax
je 0x42b212
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0x37
test eax, eax
je 0x42b223
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], 0x38
test eax, eax
je 0x42b237
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
jmp 0x42aaf4
cmp esi, 1
jne 0x42b269
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x10c]
push eax
call fcn.0042a250
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x19c]
push eax
call fcn.004138f0
push dword [ebp - 0xe8]
call fcn.0047c0dc
push dword [ebp - 0xf4]
call fcn.0047c0dc
push dword [ebp - 0x118]
call fcn.0047c0dc
push dword [ebp - 0x124]
call fcn.0047c0dc
push dword [ebp - 0x184]
call fcn.0047c0dc
push dword [ebp - 0x190]
call fcn.0047c0dc
push dword [ebp - 0x19c]
call fcn.0047c0dc
add esp, 0x1c
mov ecx, dword [ebp - 0x1a8]
mov dword [ebp - 4], 0xb
test ecx, ecx
je 0x42b2d0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x1ac]
mov dword [ebp - 4], 0xc
test ecx, ecx
je 0x42b2e7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x1b0]
mov dword [ebp - 4], 0xd
test ecx, ecx
je 0x42b2fe
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x1b4]
mov dword [ebp - 4], 0xe
test ecx, ecx
je 0x42b315
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov esi, 0x80004005
lea ecx, [ebp - 0x3c]
call fcn.00418850
push dword [ebp - 0x8c]
call fcn.0047c0dc
push dword [ebp - 0x80]
call fcn.0047c0dc
add esp, 8
lea ecx, [ebp - 0x294]
call fcn.0042a150
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0x33
test eax, eax
je 0x42b369
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0x34
test eax, eax
je 0x42b37a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], 0x35
test eax, eax
je 0x42b315
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x21c]
push eax
call fcn.0042a250
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x27c]
push eax
call fcn.004138f0
push dword [ebp - 0x8c]
call fcn.0047c0dc
push dword [ebp - 0x80]
call fcn.0047c0dc
add esp, 8
lea ecx, [ebp - 0x294]
call fcn.0042a150
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0x2c
test eax, eax
je 0x42b3f3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0x2d
test eax, eax
je 0x42b404
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], 0x2e
test eax, eax
je 0x42b418
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp - 0x28]
mov edx, dword [ebp - 0x10]
cmp dword [esi + 4], 0
mov eax, edx
setne cl
mov byte [esi + 0x20], cl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov byte [ebp - 4], 0x1e
test eax, eax
je 0x42b44b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0x1f
test eax, eax
je 0x42b45c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0x20
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42b41b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x42b41b
mov byte [ebp - 4], 0x1b
test eax, eax
je 0x42b480
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0x1c
jmp 0x42b463
mov dword [ebp - 4], 0x19
jmp 0x42b466
lea ecx, [ebp - 0x74]
call fcn.00418850
jmp 0x42b41b
lea ecx, [ebp - 0x74]
call fcn.00418850
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4