Function at 0x41e500
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52c446
mov eax, dword fs:[0]
push eax
sub esp, 0x290
push esi
push edi
mov eax, dword [0x5cc280]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x48]
lea ecx, [edi + 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 - 0xd0], ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [edi + 0x24]
mov dword [eax + 4], ecx
mov dword [ebp - 0xd4], eax
mov eax, dword [eax]
mov word [eax], cx
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x41e5ba
nop dword [eax]
mov eax, dword [edi]
mov esi, dword [eax + ecx*4 - 4]
test esi, esi
je 0x41e5af
mov ecx, esi
call fcn.0041ddd0
push 0xe0
push esi
call fcn.0051d8f5
add esp, 8
mov ecx, dword [edi + 4]
sub ecx, 1
mov dword [edi + 4], ecx
jne 0x41e590
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x28]
cmp dword [eax + 4], 0x20
jb 0x41e5e0
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 [esi + 0x28]
xor edx, edx
xorps xmm0, xmm0
mov dword [ebp - 0x5c], 0xffffffff
movlpd qword [ebp - 0x44], xmm0
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], 0x1010100
mov dword [ebp - 0x58], 0x1010101
movups xmm0, xmmword [ebp - 0x5c]
mov dword [ebp - 0x4c], 0x101
mov word [ebp - 0x48], dx
movups xmmword [esi + 8], xmm0
mov byte [ebp - 0x46], dl
movups xmm0, xmmword [ebp - 0x4c]
mov dword [ebp - 0x14], eax
movups xmmword [esi + 0x18], xmm0
mov eax, dword [eax + 4]
mov ecx, dword [edi + 4]
cmp eax, 1
jb 0x41e67c
mov esi, dword [ebp - 0x14]
mov esi, dword [esi]
mov dword [ebp - 0x20], esi
mov esi, dword [ebp + 8]
cmp ecx, eax
jae 0x41e65a
sub eax, ecx
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + eax*4 - 4]
movups xmm1, xmmword [eax]
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esi + 8], xmm1
movups xmmword [esi + 0x18], xmm0
jmp 0x41e685
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx]
movups xmm0, xmmword [eax + 0x10]
movups xmm1, xmmword [eax]
movd eax, xmm0
test al, al
je 0x41ef68
movups xmmword [esi + 8], xmm1
movups xmmword [esi + 0x18], xmm0
jmp 0x41e685
cmp ecx, 0x20
jae 0x41ef68
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x41e8fd
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.00408160
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 4
call fcn.00408160
lea ecx, [ebp - 0x184]
mov byte [ebp - 4], 5
call fcn.00408160
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.00408160
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 7
call fcn.00408160
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.00408160
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 9
call fcn.00408160
add esi, 0x44
mov dword [ebp - 4], 0xa
push esi
lea ecx, [ebp - 0x190]
call fcn.004081f0
push esi
lea ecx, [ebp - 0x19c]
call fcn.004081f0
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x1b4]
push esi
mov dword [ebp - 0x174], 0xffffffff
call fcn.0041f7a0
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x41ed8c
mov ecx, edi
call fcn.00416390
push 0xe0
call fcn.0051d8c5
add esp, 4
mov dword [ebp - 0x1b8], eax
mov byte [ebp - 4], 0xf
test eax, eax
je 0x41e835
lea ecx, [ebp - 0x1b4]
push ecx
mov ecx, eax
call fcn.0041d920
mov edx, eax
jmp 0x41e837
xor edx, edx
mov ecx, dword [edi + 4]
lea eax, [ecx + 1]
mov dword [edi + 4], eax
mov eax, dword [edi]
mov dword [eax + ecx*4], edx
push dword [ebp - 0xe8]
call fcn.0051d90c
push dword [ebp - 0xf4]
call fcn.0051d90c
push dword [ebp - 0x118]
call fcn.0051d90c
push dword [ebp - 0x124]
call fcn.0051d90c
push dword [ebp - 0x184]
call fcn.0051d90c
push dword [ebp - 0x190]
call fcn.0051d90c
push dword [ebp - 0x19c]
call fcn.0051d90c
add esp, 0x1c
mov ecx, dword [ebp - 0x1a8]
mov dword [ebp - 4], 0x10
test ecx, ecx
je 0x41e8ac
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x1ac]
mov dword [ebp - 4], 0x11
test ecx, ecx
je 0x41e8c3
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x1b0]
mov dword [ebp - 4], 0x12
test ecx, ecx
je 0x41e8da
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x1b4]
mov dword [ebp - 4], 0x13
test ecx, ecx
je 0x41e8f1
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
jmp 0x41e5e0
mov eax, dword [edi]
lea edx, [ebp - 0x6c]
push edx
push 1
mov esi, dword [eax + ecx*4 - 4]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], esi
cmp ecx, dword [eax + 4]
mov ecx, dword [esi]
sbb eax, eax
and eax, 0x80004001
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x64], eax
mov eax, dword [ecx]
push ecx
call dword [eax + 0x20]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x41efd9
cmp word [ebp - 0x6c], 0x13
jne 0x41efcf
mov ecx, dword [esi]
lea edx, [ebp - 0xcc]
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x14], eax
push edx
mov eax, dword [ecx]
push ecx
call dword [eax + 0x14]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x41efd9
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x6c]
cmp eax, dword [ebp - 0xcc]
jae 0x41efd2
call fcn.0040d0e0
mov dword [ebp - 0x1c], 0
mov ecx, dword [esi]
lea edx, [ebp - 0x1c]
push edx
push 0x52f22c
push ecx
mov eax, dword [ecx]
mov dword [ebp - 4], 0x18
call dword [eax]
test eax, eax
mov eax, dword [ebp - 0x1c]
jne 0x41efc6
test eax, eax
je 0x41efc6
mov dword [ebp - 0x28], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
push dword [ebp - 0x14]
push eax
call dword [ecx + 0xc]
test eax, eax
mov eax, dword [ebp - 0x28]
jne 0x41efaf
test eax, eax
je 0x41efaf
mov dword [ebp - 0x24], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push 0x52ef8c
push eax
mov byte [ebp - 4], 0x1e
call dword [ecx]
test eax, eax
mov byte [ebp - 4], 0x1d
mov eax, dword [ebp - 0x24]
jne 0x41ef87
test eax, eax
je 0x41ef87
lea ecx, [ebp - 0x29c]
call fcn.0041dac0
lea eax, [ebp - 0x284]
mov byte [ebp - 4], 0x22
push eax
push dword [ebp - 0x14]
mov ecx, esi
call fcn.0041e110
mov esi, eax
test esi, esi
jne 0x41ee9a
lea eax, [ebp - 0x15]
push eax
mov eax, dword [ebp - 0x20]
push 0x56
push dword [ebp - 0x14]
push dword [eax]
call fcn.0041dff0
mov esi, eax
test esi, esi
jne 0x41ee9a
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x41ea8b
mov dword [ebp - 0x10], eax
mov eax, dword [ecx]
lea edx, [ebp - 0x10]
push edx
push 0x52f23c
push ecx
mov byte [ebp - 4], 0x29
call dword [eax]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x41ea7d
push dword [ebp - 0x284]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0x2a
test eax, eax
je 0x41ea8b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x84]
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc0], 0xffffffff
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0x1010100
mov dword [ebp - 0xb0], 0x101
mov word [ebp - 0xac], 0
mov byte [ebp - 0xaa], 0
movlpd qword [ebp - 0xa8], xmm0
mov dword [ebp - 0xbc], 0x1010101
movups xmmword [ebp - 0xa0], xmm0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov byte [ebp - 0x88], 0
call fcn.00408160
movups xmm0, xmmword [esi + 8]
mov eax, dword [esi]
lea ecx, [ebp - 0x84]
mov dword [ebp - 0xc8], eax
mov al, byte [ebp - 0x15]
movups xmmword [ebp - 0xc0], xmm0
mov byte [ebp - 4], 0x2c
movups xmm0, xmmword [esi + 0x18]
mov byte [ebp - 0x88], 0
movups xmmword [ebp - 0xb0], xmm0
mov byte [ebp - 0xab], al
lea eax, [ebp - 0x78]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x284]
push eax
call fcn.004081f0
mov eax, dword [esi + 0x38]
lea ecx, [ebp - 0x29c]
mov dword [ebp - 0x90], eax
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0xc8]
push eax
call fcn.0041f570
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 0x41eef0
test esi, esi
jne 0x41ee84
xor eax, eax
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x250], eax
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x254], esi
push edx
push 0xc
mov ecx, dword [eax]
push dword [ebp - 0x14]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x18]
mov esi, eax
test esi, esi
jne 0x41ee7c
mov ax, word [ebp - 0x3c]
cmp ax, 0x40
jne 0x41ecb2
mov eax, dword [ebp - 0x34]
xor edx, edx
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x258], eax
movzx eax, word [ebp - 0x3a]
mov dword [ebp - 0x254], ecx
mov dword [ebp - 0x10], edx
test eax, eax
je 0x41ec4c
cmp eax, 0x19
ja 0x41ec50
cmp word [ebp - 0x36], dx
jne 0x41ec50
movzx ecx, word [ebp - 0x38]
cmp ecx, 0x64
jae 0x41ec50
mov edx, eax
jmp 0x41ec53
xor ecx, ecx
jmp 0x41ec53
mov ecx, dword [ebp - 0x10]
movzx eax, dx
mov word [ebp - 0x250], ax
mov byte [ebp - 0x24e], cl
mov byte [ebp - 0x24d], 1
test ax, ax
jne 0x41ecda
lea ecx, [ebp - 0x3c]
call fcn.0040d2d0
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x3c]
push edx
push 0x28
push dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x18]
mov esi, eax
test esi, esi
jne 0x41ee7c
cmp word [ebp - 0x3c], 0x13
jne 0x41ecda
mov eax, dword [ebp - 0x34]
mov ecx, 0x17
test eax, eax
cmove eax, ecx
mov word [ebp - 0x250], ax
jmp 0x41ecda
test ax, ax
jne 0x41ee77
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x4f], 0
je 0x41ecda
movq xmm0, qword [eax + 0x44]
movq qword [ebp - 0x258], xmm0
mov eax, dword [eax + 0x4c]
mov dword [ebp - 0x250], eax
lea ecx, [ebp - 0x3c]
call fcn.0040d0e0
mov ecx, edi
call fcn.00416390
push 0xe0
call fcn.0051d8c5
add esp, 4
mov dword [ebp - 0x1bc], eax
mov byte [ebp - 4], 0x36
test eax, eax
je 0x41ed16
lea ecx, [ebp - 0x29c]
push ecx
mov ecx, eax
call fcn.0041d920
mov edx, eax
jmp 0x41ed18
xor edx, edx
mov ecx, dword [edi + 4]
lea eax, [ecx + 1]
mov dword [edi + 4], eax
mov eax, dword [edi]
mov dword [eax + ecx*4], edx
push dword [ebp - 0x84]
call fcn.0051d90c
push dword [ebp - 0x78]
call fcn.0051d90c
add esp, 8
lea ecx, [ebp - 0x29c]
call fcn.0041ddd0
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0x37
test eax, eax
je 0x41ed58
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 0x38
test eax, eax
je 0x41ed69
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], 0x39
test eax, eax
je 0x41ed7d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
jmp 0x41e5e0
cmp eax, 1
jne 0x41edb5
mov ecx, dword [ebp - 0xd0]
lea eax, [ebp - 0x10c]
push eax
call fcn.0041ded0
mov ecx, dword [ebp - 0xd4]
lea eax, [ebp - 0x19c]
push eax
call fcn.004081f0
push dword [ebp - 0xe8]
call fcn.0051d90c
push dword [ebp - 0xf4]
call fcn.0051d90c
push dword [ebp - 0x118]
call fcn.0051d90c
push dword [ebp - 0x124]
call fcn.0051d90c
push dword [ebp - 0x184]
call fcn.0051d90c
push dword [ebp - 0x190]
call fcn.0051d90c
push dword [ebp - 0x19c]
call fcn.0051d90c
add esp, 0x1c
mov ecx, dword [ebp - 0x1a8]
mov dword [ebp - 4], 0xb
test ecx, ecx
je 0x41ee1c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x1ac]
mov dword [ebp - 4], 0xc
test ecx, ecx
je 0x41ee33
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x1b0]
mov dword [ebp - 4], 0xd
test ecx, ecx
je 0x41ee4a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x1b4]
mov dword [ebp - 4], 0xe
test ecx, ecx
je 0x41ee61
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
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
mov esi, 0x80004005
lea ecx, [ebp - 0x3c]
call fcn.0040d0e0
push dword [ebp - 0x84]
call fcn.0051d90c
push dword [ebp - 0x78]
call fcn.0051d90c
add esp, 8
lea ecx, [ebp - 0x29c]
call fcn.0041ddd0
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0x33
test eax, eax
je 0x41eeb6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 0x34
test eax, eax
je 0x41eec7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], 0x35
test eax, eax
je 0x41eedb
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
lea eax, [ebp - 0x224]
push eax
lea ecx, [edi + 0x30]
call fcn.0041ded0
lea eax, [ebp - 0x284]
push eax
lea ecx, [edi + 0x24]
call fcn.004081f0
push dword [ebp - 0x84]
call fcn.0051d90c
push dword [ebp - 0x78]
call fcn.0051d90c
add esp, 8
lea ecx, [ebp - 0x29c]
call fcn.0041ddd0
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0x2d
test eax, eax
je 0x41ef40
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 0x2e
test eax, eax
je 0x41ef51
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0x2f
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41ef65
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [ebp - 0x10]
cmp dword [edi + 4], 0
mov eax, edx
setne cl
mov byte [edi + 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], 0x1f
test eax, eax
je 0x41ef95
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 0x20
test eax, eax
je 0x41efa6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0x21
jmp 0x41ef58
mov byte [ebp - 4], 0x1b
test eax, eax
je 0x41efbd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0x1c
jmp 0x41ef58
mov dword [ebp - 4], 0x19
jmp 0x41ef5b
lea ecx, [ebp - 0x6c]
call fcn.0040d0e0
jmp 0x41ef65
lea ecx, [ebp - 0x6c]
call fcn.0040d0e0
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