Function at 0x42a740
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4596fc
mov eax, dword fs:[0]
push eax
sub esp, 0x288
push esi
push edi
mov eax, dword [0x795a74]
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 0x42a7f0
mov eax, dword [esi]
mov edi, dword [eax + ecx*4 - 4]
test edi, edi
je 0x42a7e5
mov ecx, edi
call fcn.00429ca0
push 0xe0
push edi
call fcn.0044a845
add esp, 8
mov ecx, dword [esi + 4]
sub ecx, 1
mov dword [esi + 4], ecx
jne 0x42a7c6
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x28]
cmp dword [eax + 4], 0x20
jb 0x42a814
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 0x42a8b6
mov edi, dword [ebp - 0x10]
mov edi, dword [edi]
mov dword [ebp - 0x14], edi
mov edi, dword [ebp + 8]
cmp ecx, eax
jae 0x42a891
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 0x42a8bf
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 0x42b13e
movups xmmword [edi + 8], xmm1
movups xmmword [edi + 0x18], xmm0
mov ecx, dword [esi + 4]
jmp 0x42a8bf
cmp ecx, 0x20
jae 0x42b13e
test ecx, ecx
jne 0x42ab04
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.0040abf0
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 4
call fcn.0040abf0
lea ecx, [ebp - 0x184]
mov byte [ebp - 4], 5
call fcn.0040abf0
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.0040abf0
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 7
call fcn.0040abf0
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.0040abf0
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 9
call fcn.0040abf0
lea esi, [edi + 0x44]
mov dword [ebp - 4], 0xa
push esi
lea ecx, [ebp - 0x190]
call fcn.0040acf0
push esi
lea ecx, [ebp - 0x19c]
call fcn.0040acf0
push edi
lea ecx, [ebp - 0x1b4]
mov dword [ebp - 0x174], 0xffffffff
call fcn.0042ba60
mov esi, eax
test esi, esi
jne 0x42af66
mov esi, dword [ebp - 0x28]
mov ecx, esi
call fcn.0041b460
lea eax, [ebp - 0x1b4]
mov ecx, esi
push eax
call fcn.00429e00
push dword [ebp - 0xe8]
call fcn.0044a85c
push dword [ebp - 0xf4]
call fcn.0044a85c
push dword [ebp - 0x118]
call fcn.0044a85c
push dword [ebp - 0x124]
call fcn.0044a85c
push dword [ebp - 0x184]
call fcn.0044a85c
push dword [ebp - 0x190]
call fcn.0044a85c
push dword [ebp - 0x19c]
call fcn.0044a85c
add esp, 0x1c
mov ecx, dword [ebp - 0x1a8]
mov dword [ebp - 4], 0xf
test ecx, ecx
je 0x42aab3
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x1ac]
mov dword [ebp - 4], 0x10
test ecx, ecx
je 0x42aaca
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x1b0]
mov dword [ebp - 4], 0x11
test ecx, ecx
je 0x42aae1
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x1b4]
mov dword [ebp - 4], 0x12
test ecx, ecx
je 0x42aaf8
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
jmp 0x42a814
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 0x42b1bf
cmp word [ebp - 0x74], 0x13
jne 0x42b1b2
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 0x42b1bf
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x74]
cmp eax, dword [ebp - 0xd4]
jae 0x42b1b5
call fcn.00410fb0
mov dword [ebp - 0x1c], 0
mov eax, dword [edi]
lea edx, [ebp - 0x1c]
push edx
push 0x45cd04
push eax
mov ecx, dword [eax]
mov dword [ebp - 4], 0x18
call dword [ecx]
test eax, eax
mov eax, dword [ebp - 0x1c]
jne 0x42b1a9
test eax, eax
je 0x42b1a9
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 0x42b192
test eax, eax
je 0x42b192
mov dword [ebp - 0x20], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push 0x45ca44
push eax
mov byte [ebp - 4], 0x1d
call dword [ecx]
test eax, eax
mov eax, dword [ebp - 0x20]
jne 0x42b15d
test eax, eax
je 0x42b15d
lea ecx, [ebp - 0x294]
call fcn.004299d0
lea eax, [ebp - 0x27c]
mov byte [ebp - 4], 0x21
push eax
push dword [ebp - 0x14]
mov ecx, edi
call fcn.0042a220
mov esi, eax
test esi, esi
jne 0x42b06d
lea eax, [ebp - 0x15]
push eax
push 0x56
push dword [ebp - 0x14]
push dword [edi]
call fcn.0042a030
mov esi, eax
test esi, esi
jne 0x42b06d
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x42ac93
mov dword [ebp - 0x10], eax
mov eax, dword [ecx]
lea edx, [ebp - 0x10]
push edx
push 0x45cd14
push ecx
mov byte [ebp - 4], 0x28
call dword [eax]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x42ac85
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 0x42ac93
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.0040abf0
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.0040acf0
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.0042b830
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 0x42b0c3
test esi, esi
jne 0x42b057
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 0x42b04f
mov ax, word [ebp - 0x3c]
cmp ax, 0x40
jne 0x42aeb8
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 0x42ae55
cmp eax, 0x19
ja 0x42ae59
cmp word [ebp - 0x36], dx
jne 0x42ae59
movzx ecx, word [ebp - 0x38]
cmp ecx, 0x64
jae 0x42ae59
mov edx, eax
jmp 0x42ae5c
xor ecx, ecx
jmp 0x42ae5c
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 0x42aedc
lea ecx, [ebp - 0x3c]
call fcn.004111a0
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 0x42b04f
cmp word [ebp - 0x3c], 0x13
jne 0x42aedc
mov eax, dword [ebp - 0x34]
mov ecx, 0x17
test eax, eax
cmove eax, ecx
mov word [ebp - 0x248], ax
jmp 0x42aedc
test ax, ax
jne 0x42b04a
cmp byte [edi + 0x4f], al
je 0x42aedc
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.00410fb0
mov esi, dword [ebp - 0x28]
mov ecx, esi
call fcn.0041b460
lea eax, [ebp - 0x294]
mov ecx, esi
push eax
call fcn.00429e00
push dword [ebp - 0x8c]
call fcn.0044a85c
push dword [ebp - 0x80]
call fcn.0044a85c
add esp, 8
lea ecx, [ebp - 0x294]
call fcn.00429ca0
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0x36
test eax, eax
je 0x42af32
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0x37
test eax, eax
je 0x42af43
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], 0x38
test eax, eax
je 0x42af57
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
jmp 0x42a814
cmp esi, 1
jne 0x42af89
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x10c]
push eax
call fcn.00429d90
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x19c]
push eax
call fcn.0040acf0
push dword [ebp - 0xe8]
call fcn.0044a85c
push dword [ebp - 0xf4]
call fcn.0044a85c
push dword [ebp - 0x118]
call fcn.0044a85c
push dword [ebp - 0x124]
call fcn.0044a85c
push dword [ebp - 0x184]
call fcn.0044a85c
push dword [ebp - 0x190]
call fcn.0044a85c
push dword [ebp - 0x19c]
call fcn.0044a85c
add esp, 0x1c
mov ecx, dword [ebp - 0x1a8]
mov dword [ebp - 4], 0xb
test ecx, ecx
je 0x42aff0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x1ac]
mov dword [ebp - 4], 0xc
test ecx, ecx
je 0x42b007
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x1b0]
mov dword [ebp - 4], 0xd
test ecx, ecx
je 0x42b01e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x1b4]
mov dword [ebp - 4], 0xe
test ecx, ecx
je 0x42b035
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.00410fb0
push dword [ebp - 0x8c]
call fcn.0044a85c
push dword [ebp - 0x80]
call fcn.0044a85c
add esp, 8
lea ecx, [ebp - 0x294]
call fcn.00429ca0
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0x33
test eax, eax
je 0x42b089
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0x34
test eax, eax
je 0x42b09a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], 0x35
test eax, eax
je 0x42b035
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.00429d90
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x27c]
push eax
call fcn.0040acf0
push dword [ebp - 0x8c]
call fcn.0044a85c
push dword [ebp - 0x80]
call fcn.0044a85c
add esp, 8
lea ecx, [ebp - 0x294]
call fcn.00429ca0
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0x2c
test eax, eax
je 0x42b113
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0x2d
test eax, eax
je 0x42b124
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], 0x2e
test eax, eax
je 0x42b138
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 0x42b16b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0x1f
test eax, eax
je 0x42b17c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0x20
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42b13b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x42b13b
mov byte [ebp - 4], 0x1b
test eax, eax
je 0x42b1a0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0x1c
jmp 0x42b183
mov dword [ebp - 4], 0x19
jmp 0x42b186
lea ecx, [ebp - 0x74]
call fcn.00410fb0
jmp 0x42b13b
lea ecx, [ebp - 0x74]
call fcn.00410fb0
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