Function at 0x42c690
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f8d70
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x5523d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
mov ebx, ecx
mov ecx, edi
call edx
test al, al
je 0x42c6ee
cmp dword [ebx + 0x36c], 0
jne 0x42c6ee
cmp dword [ebx + 0x17c], 0
jne 0x42c6ee
cmp dword [ebx + 0x374], 0
je 0x42ca8a
xor esi, esi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 4], esi
mov eax, dword [edi]
mov edx, dword [eax + 0x20]
lea ecx, [ebp - 0x60]
push ecx
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x34]
mov ecx, edi
call edx
cmp dword [ebx + 0x17c], esi
je 0x42c8de
mov esi, dword [ebx + 0x198]
cmp dword [esi + 8], 0xffffffff
je 0x42c784
cmp dword [esi + 0x239c], 0
je 0x42c778
call dword [0x4fb3f8]
mov edi, dword [esi + 8]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x239c]
push eax
lea ecx, [esi + 0x74]
push ecx
call fcn.004708b0
add esp, 8
test al, al
je 0x42c784
mov dword [esi + 0x239c], 0
mov edx, dword [0x5539c8]
mov dword [esi + 0x23a0], edx
cmp dword [ebx + 0x35c], 0
je 0x42c8de
mov esi, dword [ebx + 0x24c]
mov ecx, dword [esi + 0x68]
lea eax, [ebp - 0x8c]
call fcn.0043a3b0
mov ecx, dword [eax]
mov edi, dword [eax + 4]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov esi, dword [esi + 0x14]
mov dword [ebp - 0x70], eax
mov eax, edx
xor edx, edx
div esi
xor edx, edx
mov dword [ebx + 0x52c], ecx
mov dword [ebx + 0x530], edi
push 4
lea edi, [ebp - 0x68]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x70]
div esi
mov ecx, dword [ebp - 0x84]
mov edx, dword [ebx + 0x24c]
mov dword [ebx + 0x534], ecx
xor ecx, ecx
mov dword [ebx + 0x538], eax
mov eax, dword [edx + 0x14]
mov dword [ebx + 0x53c], eax
mov esi, eax
mov eax, dword [ebx + 0x364]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebx + 0x540]
imul eax, ecx
xor edx, edx
div esi
mov dword [ebp - 0x14], 0x21ffffff
mov edx, eax
shr edx, 8
shl eax, 8
and edx, 0xff
or edx, eax
mov eax, dword [ebx + 0x368]
imul eax, ecx
mov word [ebp - 0x18], dx
xor edx, edx
div esi
mov edx, 0x100
mov word [ebp - 0x66], dx
mov ecx, eax
shr ecx, 8
shl eax, 8
and ecx, 0xff
or ecx, eax
xor al, al
mov word [ebp - 0x16], cx
call fcn.0042c610
mov esi, dword [ebx + 0x198]
cmp dword [esi + 8], 0xffffffff
je 0x42c8c7
cmp byte [esi + 0x18], 0
mov ecx, 0xc
je 0x42c8bd
mov eax, dword [esi + 0x10]
cmp byte [eax + 0x21], 0
je 0x42c8bd
cmp byte [esi + 0x68], 0
je 0x42c8a3
mov eax, dword [esi + 0x64]
add eax, dword [esi + 0x6c]
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov edx, dword [ebp - 0x18]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x14]
mov dword [eax + 8], edx
add dword [esi + 0x6c], ecx
jmp 0x42c8c7
push ecx
lea eax, [ebp - 0x1c]
push eax
push esi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
call fcn.004705d0
mov ecx, dword [ebp - 0x24]
jmp 0x42c8c0
lea eax, [ebp - 0x1c]
push ecx
push eax
call fcn.0046feb0
lea esi, [ebp - 0x60]
mov dword [ebx + 0x17c], 0
call fcn.0042cef0
jmp 0x42ce9c
mov esi, dword [ebp - 0x4c]
sub esi, dword [ebp - 0x50]
mov eax, dword [ebx + 0x240]
sar esi, 4
mov dword [ebp - 0x24], esi
test eax, eax
je 0x42c90a
mov eax, dword [ebp - 0x5c]
sub eax, dword [ebp - 0x60]
sar eax, 4
cmp eax, 5
jbe 0x42c905
inc esi
jmp 0x42c907
add esi, eax
mov dword [ebp - 0x24], esi
cmp esi, 0xffff
je 0x42c98a
mov edi, dword [ebp - 0x38]
cmp edi, dword [ebp - 0x34]
je 0x42c98a
lea ebx, [ebx]
cmp byte [ebx + 0x204], 0
jne 0x42c942
cmp byte [ebx + 0x1fc], 0
jne 0x42c942
mov ecx, dword [ebx + 0x1d8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
push edi
call eax
jmp 0x42c96a
mov ecx, dword [edi + 8]
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ebp - 0x18], ecx
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebx + 0x1d8]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [ebp - 0x20]
push eax
call edx
test eax, eax
je 0x42c97d
add edi, 0x10
add esi, eax
cmp edi, dword [ebp - 0x34]
jne 0x42c920
mov dword [ebp - 0x24], esi
jmp 0x42c98a
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x24], 0xffff
mov esi, dword [ebp - 0x24]
cmp dword [ebx + 0x240], 0
jne 0x42ca08
cmp esi, 0xffff
je 0x42ca08
mov edi, dword [ebp - 0x60]
cmp edi, dword [ebp - 0x5c]
je 0x42ca08
cmp byte [ebx + 0x204], 0
jne 0x42c9c3
cmp byte [ebx + 0x1fc], 0
jne 0x42c9c3
mov ecx, dword [ebx + 0x1d8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push edi
jmp 0x42c9e9
mov eax, dword [edi + 8]
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebx + 0x1d8]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [ebp - 0x20]
push eax
call edx
test eax, eax
jne 0x42c9fb
mov dword [ebp - 0x24], 0xffff
mov esi, dword [ebp - 0x24]
jmp 0x42ca00
add esi, eax
mov dword [ebp - 0x24], esi
add edi, 0x10
cmp edi, dword [ebp - 0x5c]
jne 0x42c9a3
mov eax, dword [ebx + 0x1d8]
xor ecx, ecx
cmp dword [eax + 0x78], ecx
jne 0x42ca20
cmp dword [eax + 0x7c], ecx
jne 0x42ca20
mov dword [ebx + 0x36c], ecx
cmp esi, 0xffff
je 0x42ca91
cmp dword [ebx + 0x36c], ecx
je 0x42ca34
inc esi
mov dword [ebp - 0x24], esi
cmp dword [ebx + 0x374], ecx
je 0x42ca40
inc esi
mov dword [ebp - 0x24], esi
cmp esi, ecx
jne 0x42ca91
mov eax, dword [ebp - 0x38]
cmp eax, ecx
je 0x42ca56
push eax
call fcn.00493fda
add esp, 4
xor ecx, ecx
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
cmp eax, ecx
je 0x42ca71
push eax
call fcn.00493fda
add esp, 4
xor ecx, ecx
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
cmp eax, ecx
je 0x42ca8a
push eax
call fcn.00493fda
add esp, 4
xor eax, eax
jmp 0x42cea1
mov eax, dword [ebx]
mov edx, dword [eax + 0x28]
mov ecx, ebx
call edx
push eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0x64
call dword [0x4fb3c0]
mov eax, esi
sar eax, 8
mov byte [ebp - 4], 1
mov edi, dword [ebx + 0x198]
and eax, 0xff
shl esi, 8
or eax, esi
mov word [ebp - 0x62], ax
mov byte [ebp - 0x64], 0
cmp dword [edi + 8], 0xffffffff
je 0x42cc50
cmp byte [edi + 0x1a], 0
jne 0x42cbec
cmp byte [edi + 0x18], 0
je 0x42cbec
mov eax, dword [edi + 0x10]
cmp byte [eax + 0x21], 0
je 0x42cbec
xor dl, dl
mov byte [ebp - 0x25], dl
mov ecx, 1
cmp byte [eax + 0x21], dl
je 0x42cb32
cmp byte [edi + 0x68], dl
je 0x42cb18
mov eax, dword [edi + 0x64]
add eax, dword [edi + 0x6c]
mov byte [eax], dl
add dword [edi + 0x6c], ecx
jmp 0x42cb3e
push ecx
lea ecx, [ebp - 0x25]
push ecx
push edi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0
call fcn.004705d0
mov ecx, dword [ebp - 0x70]
jmp 0x42cb35
lea eax, [ebp - 0x25]
push ecx
push eax
mov esi, edi
call fcn.0046ffc0
mov ecx, 4
lea eax, [ebp - 0x64]
mov edx, edi
call fcn.004701e0
xor edi, edi
cmp dword [ebx + 0x36c], edi
je 0x42ccc0
mov eax, dword [ebx + 0x198]
mov dword [ebx + 0x36c], edi
mov edx, dword [ebx + 0x24c]
mov ecx, dword [edx + 0x68]
mov edx, dword [ebx + 0x1d8]
push ecx
push eax
push edx
call fcn.00440e50
test eax, eax
jne 0x42ccb6
mov eax, dword [ebx + 0x1d8]
mov ecx, dword [ebx + 0x198]
push eax
mov dword [ebx + 0x370], edi
call fcn.00440d70
cmp eax, edi
jne 0x42ccc0
mov ecx, dword [ebp - 0x18]
push ecx
call dword [0x4fb3c4]
mov eax, dword [ebp - 0x38]
cmp eax, edi
je 0x42cbc0
push eax
call fcn.00493fda
add esp, 4
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
cmp eax, edi
je 0x42cbd9
push eax
call fcn.00493fda
add esp, 4
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edi
cmp eax, edi
jmp 0x42ca7f
cmp byte [edi + 0x18], 0
mov ecx, 4
je 0x42cc3f
mov edx, dword [edi + 0x10]
cmp byte [edx + 0x21], 0
je 0x42cc3f
cmp byte [edi + 0x68], 0
je 0x42cc19
mov eax, dword [edi + 0x64]
add eax, dword [edi + 0x6c]
mov edx, dword [ebp - 0x64]
mov dword [eax], edx
add dword [edi + 0x6c], ecx
jmp 0x42cb4d
push ecx
lea eax, [ebp - 0x64]
push eax
push edi
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x68], 0
call fcn.004705d0
mov ecx, dword [ebp - 0x68]
push ecx
push eax
mov esi, edi
call fcn.0046ffc0
jmp 0x42cb4d
lea eax, [ebp - 0x64]
push ecx
push eax
mov esi, edi
call fcn.0046ffc0
jmp 0x42cb4d
push 0x5419c8
xor eax, eax
mov ecx, 0x59c290
call fcn.00403f50
mov edx, dword [ebx]
mov eax, dword [edx + 8]
add esp, 4
xor esi, esi
push esi
mov ecx, ebx
call eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [0x4fb3c4]
mov eax, dword [ebp - 0x38]
cmp eax, esi
je 0x42cc8a
push eax
call fcn.00493fda
add esp, 4
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
cmp eax, esi
je 0x42cca3
push eax
call fcn.00493fda
add esp, 4
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], esi
cmp eax, esi
jmp 0x42ca7f
mov dword [ebx + 0x370], 1
cmp dword [ebx + 0x374], edi
je 0x42ccdb
push ebx
call fcn.0042d900
test eax, eax
jne 0x42ccdb
mov edx, dword [ebp - 0x18]
push edx
jmp 0x42cbaa
mov esi, dword [ebp - 0x50]
cmp esi, dword [ebp - 0x4c]
je 0x42cd1f
mov edi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
neg edi
neg eax
mov dword [ebp - 0x70], eax
jmp 0x42ccf5
mov eax, dword [ebp - 0x70]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
add edx, eax
add ecx, edi
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], edx
push eax
mov edx, esi
mov ecx, ebx
call fcn.0042d150
test eax, eax
je 0x42cd60
add esi, 0x10
cmp esi, dword [ebp - 0x4c]
jne 0x42ccf2
xor edi, edi
cmp dword [ebx + 0x240], edi
je 0x42cd71
mov edx, dword [ebp - 0x5c]
sub edx, dword [ebp - 0x60]
sar edx, 4
cmp edx, 5
jbe 0x42cd54
lea ecx, [ebp - 0x60]
mov edi, ebx
call fcn.0042dac0
test eax, eax
jne 0x42cd95
mov eax, dword [ebp - 0x18]
push eax
call dword [0x4fb3c4]
xor esi, esi
jmp 0x42cc7a
lea edi, [ebp - 0x60]
call fcn.0042d680
test eax, eax
jne 0x42cd95
mov ecx, dword [ebp - 0x18]
push ecx
call dword [0x4fb3c4]
xor esi, esi
jmp 0x42cc7a
mov esi, dword [ebp - 0x60]
cmp esi, dword [ebp - 0x5c]
je 0x42cd95
lea esp, [esp]
mov eax, esi
mov edi, ebx
call fcn.0042cf80
test eax, eax
je 0x42cdf5
add esi, 0x10
cmp esi, dword [ebp - 0x5c]
jne 0x42cd80
mov esi, dword [ebp - 0x38]
cmp esi, dword [ebp - 0x34]
je 0x42cdb5
lea ecx, [ecx]
mov eax, esi
mov edi, ebx
call fcn.0042cf80
test eax, eax
je 0x42cd43
add esi, 0x10
cmp esi, dword [ebp - 0x34]
jne 0x42cda0
cmp dword [ebp - 0x24], 0xffff
jne 0x42ce06
mov ecx, dword [ebx + 0x1d8]
mov edx, dword [ecx]
mov eax, dword [ebx + 0x198]
mov edx, dword [edx + 0x2c]
push eax
call edx
push ebx
call fcn.0042da00
test eax, eax
jne 0x42ce06
mov eax, dword [ebp - 0x18]
push eax
call dword [0x4fb3c4]
lea esi, [ebp - 0x60]
call fcn.0042cef0
xor eax, eax
jmp 0x42cea1
mov edx, dword [ebp - 0x18]
push edx
call dword [0x4fb3c4]
xor esi, esi
jmp 0x42cc7a
mov ebx, dword [ebx + 0x198]
xor esi, esi
cmp dword [ebx + 8], 0xffffffff
je 0x42ce50
cmp dword [ebx + 0x239c], esi
je 0x42ce45
call dword [0x4fb3f8]
mov ecx, dword [ebx + 0x239c]
mov edi, dword [ebx + 8]
push ecx
lea edx, [ebx + 0x74]
push edx
mov dword [ebx + 0xc], eax
call fcn.004708b0
add esp, 8
test al, al
je 0x42ce50
mov dword [ebx + 0x239c], esi
mov eax, dword [0x5539c8]
mov dword [ebx + 0x23a0], eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [0x4fb3c4]
mov eax, dword [ebp - 0x38]
cmp eax, esi
je 0x42ce6a
push eax
call fcn.00493fda
add esp, 4
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
cmp eax, esi
je 0x42ce83
push eax
call fcn.00493fda
add esp, 4
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], esi
cmp eax, esi
je 0x42ce9c
push eax
call fcn.00493fda
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00493825
mov esp, ebp
pop ebp
ret