Function at 0x420560
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44991c
mov eax, dword fs:[0]
push eax
sub esp, 0x288
push esi
push edi
mov eax, dword [0x456094]
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 0x420610
mov eax, dword [esi]
mov edi, dword [eax + ecx*4 - 4]
test edi, edi
je 0x420605
mov ecx, edi
call fcn.0041fc90
push 0xe0
push edi
call fcn.0043b605
add esp, 8
mov ecx, dword [esi + 4]
sub ecx, 1
mov dword [esi + 4], ecx
jne 0x4205e6
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x28]
cmp dword [eax + 4], 0x20
jb 0x420634
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 0x4206d6
mov edi, dword [ebp - 0x10]
mov edi, dword [edi]
mov dword [ebp - 0x14], edi
mov edi, dword [ebp + 8]
cmp ecx, eax
jae 0x4206b1
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 0x4206df
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 0x420f5e
movups xmmword [edi + 8], xmm1
movups xmmword [edi + 0x18], xmm0
mov ecx, dword [esi + 4]
jmp 0x4206df
cmp ecx, 0x20
jae 0x420f5e
test ecx, ecx
jne 0x420924
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.004093b0
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 4
call fcn.004093b0
lea ecx, [ebp - 0x184]
mov byte [ebp - 4], 5
call fcn.004093b0
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.004093b0
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 7
call fcn.004093b0
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.004093b0
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 9
call fcn.004093b0
lea esi, [edi + 0x44]
mov dword [ebp - 4], 0xa
push esi
lea ecx, [ebp - 0x190]
call fcn.00409440
push esi
lea ecx, [ebp - 0x19c]
call fcn.00409440
push edi
lea ecx, [ebp - 0x1b4]
mov dword [ebp - 0x174], 0xffffffff
call fcn.00421880
mov esi, eax
test esi, esi
jne 0x420d86
mov esi, dword [ebp - 0x28]
mov ecx, esi
call fcn.00417950
lea eax, [ebp - 0x1b4]
mov ecx, esi
push eax
call fcn.0041fe00
push dword [ebp - 0xe8]
call fcn.0043b61c
push dword [ebp - 0xf4]
call fcn.0043b61c
push dword [ebp - 0x118]
call fcn.0043b61c
push dword [ebp - 0x124]
call fcn.0043b61c
push dword [ebp - 0x184]
call fcn.0043b61c
push dword [ebp - 0x190]
call fcn.0043b61c
push dword [ebp - 0x19c]
call fcn.0043b61c
add esp, 0x1c
mov ecx, dword [ebp - 0x1a8]
mov dword [ebp - 4], 0xf
test ecx, ecx
je 0x4208d3
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x1ac]
mov dword [ebp - 4], 0x10
test ecx, ecx
je 0x4208ea
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x1b0]
mov dword [ebp - 4], 0x11
test ecx, ecx
je 0x420901
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x1b4]
mov dword [ebp - 4], 0x12
test ecx, ecx
je 0x420918
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
jmp 0x420634
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 0x420fdf
cmp word [ebp - 0x74], 0x13
jne 0x420fd2
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 0x420fdf
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x74]
cmp eax, dword [ebp - 0xd4]
jae 0x420fd5
call fcn.0040e3a0
mov dword [ebp - 0x1c], 0
mov eax, dword [edi]
lea edx, [ebp - 0x1c]
push edx
push 0x44c3c4
push eax
mov ecx, dword [eax]
mov dword [ebp - 4], 0x18
call dword [ecx]
test eax, eax
mov eax, dword [ebp - 0x1c]
jne 0x420fc9
test eax, eax
je 0x420fc9
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 0x420fb2
test eax, eax
je 0x420fb2
mov dword [ebp - 0x20], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push 0x44c124
push eax
mov byte [ebp - 4], 0x1d
call dword [ecx]
test eax, eax
mov eax, dword [ebp - 0x20]
jne 0x420f7d
test eax, eax
je 0x420f7d
lea ecx, [ebp - 0x294]
call fcn.0041f980
lea eax, [ebp - 0x27c]
mov byte [ebp - 4], 0x21
push eax
push dword [ebp - 0x14]
mov ecx, edi
call fcn.00420180
mov esi, eax
test esi, esi
jne 0x420e8d
lea eax, [ebp - 0x15]
push eax
push 0x56
push dword [ebp - 0x14]
push dword [edi]
call fcn.00420060
mov esi, eax
test esi, esi
jne 0x420e8d
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x420ab3
mov dword [ebp - 0x10], eax
mov eax, dword [ecx]
lea edx, [ebp - 0x10]
push edx
push 0x44c3d4
push ecx
mov byte [ebp - 4], 0x28
call dword [eax]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x420aa5
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 0x420ab3
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.004093b0
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.00409440
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.00421650
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 0x420ee3
test esi, esi
jne 0x420e77
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 0x420e6f
mov ax, word [ebp - 0x3c]
cmp ax, 0x40
jne 0x420cd8
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 0x420c75
cmp eax, 0x19
ja 0x420c79
cmp word [ebp - 0x36], dx
jne 0x420c79
movzx ecx, word [ebp - 0x38]
cmp ecx, 0x64
jae 0x420c79
mov edx, eax
jmp 0x420c7c
xor ecx, ecx
jmp 0x420c7c
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 0x420cfc
lea ecx, [ebp - 0x3c]
call fcn.0040e590
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 0x420e6f
cmp word [ebp - 0x3c], 0x13
jne 0x420cfc
mov eax, dword [ebp - 0x34]
mov ecx, 0x17
test eax, eax
cmove eax, ecx
mov word [ebp - 0x248], ax
jmp 0x420cfc
test ax, ax
jne 0x420e6a
cmp byte [edi + 0x4f], al
je 0x420cfc
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.0040e3a0
mov esi, dword [ebp - 0x28]
mov ecx, esi
call fcn.00417950
lea eax, [ebp - 0x294]
mov ecx, esi
push eax
call fcn.0041fe00
push dword [ebp - 0x8c]
call fcn.0043b61c
push dword [ebp - 0x80]
call fcn.0043b61c
add esp, 8
lea ecx, [ebp - 0x294]
call fcn.0041fc90
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0x36
test eax, eax
je 0x420d52
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0x37
test eax, eax
je 0x420d63
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], 0x38
test eax, eax
je 0x420d77
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
jmp 0x420634
cmp esi, 1
jne 0x420da9
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x10c]
push eax
call fcn.0041fd90
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x19c]
push eax
call fcn.00409440
push dword [ebp - 0xe8]
call fcn.0043b61c
push dword [ebp - 0xf4]
call fcn.0043b61c
push dword [ebp - 0x118]
call fcn.0043b61c
push dword [ebp - 0x124]
call fcn.0043b61c
push dword [ebp - 0x184]
call fcn.0043b61c
push dword [ebp - 0x190]
call fcn.0043b61c
push dword [ebp - 0x19c]
call fcn.0043b61c
add esp, 0x1c
mov ecx, dword [ebp - 0x1a8]
mov dword [ebp - 4], 0xb
test ecx, ecx
je 0x420e10
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x1ac]
mov dword [ebp - 4], 0xc
test ecx, ecx
je 0x420e27
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x1b0]
mov dword [ebp - 4], 0xd
test ecx, ecx
je 0x420e3e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x1b4]
mov dword [ebp - 4], 0xe
test ecx, ecx
je 0x420e55
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.0040e3a0
push dword [ebp - 0x8c]
call fcn.0043b61c
push dword [ebp - 0x80]
call fcn.0043b61c
add esp, 8
lea ecx, [ebp - 0x294]
call fcn.0041fc90
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0x33
test eax, eax
je 0x420ea9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0x34
test eax, eax
je 0x420eba
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], 0x35
test eax, eax
je 0x420e55
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.0041fd90
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x27c]
push eax
call fcn.00409440
push dword [ebp - 0x8c]
call fcn.0043b61c
push dword [ebp - 0x80]
call fcn.0043b61c
add esp, 8
lea ecx, [ebp - 0x294]
call fcn.0041fc90
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0x2c
test eax, eax
je 0x420f33
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0x2d
test eax, eax
je 0x420f44
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], 0x2e
test eax, eax
je 0x420f58
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 0x420f8b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0x1f
test eax, eax
je 0x420f9c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0x20
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x420f5b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x420f5b
mov byte [ebp - 4], 0x1b
test eax, eax
je 0x420fc0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0x1c
jmp 0x420fa3
mov dword [ebp - 4], 0x19
jmp 0x420fa6
lea ecx, [ebp - 0x74]
call fcn.0040e3a0
jmp 0x420f5b
lea ecx, [ebp - 0x74]
call fcn.0040e3a0
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