Function at 0x419a70
Capabilities:
Get number of processors

Disassembly:
push ebx
mov ebx, esp
add esp, 0xffffffc8
push esi
mov esi, eax
push ebp
push edi
mov ebp, edx
xor ecx, ecx
mov dword [ebx - 0x38], ecx
mov dword [ebx - 0x34], ecx
xor eax, eax
mov dword [ebx - 0x30], ecx
mov dword [ebx - 0x2c], ecx
mov dword [ebx - 0x28], ecx
mov dword [ebx - 0x24], ecx
push ebx
push 0x419d0b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [esi + 0x30], 0
mov byte [ebx - 1], 0
mov eax, ebp
call fcn.00406a40
mov dword [ebx - 0x20], eax
mov eax, esi
call fcn.00419090
mov edx, 8
lea edx, [ebx - 9]
mov eax, ebp
call fcn.00406a60
lea eax, [ebx - 9]
mov edx, 0x42873c
mov ecx, 8
call fcn.00402a24
je 0x419ae4
mov byte [esi + 0x30], 9
jmp 0x419cf0
mov byte [ebx - 0xa], 0
cmp word [esi + 0x1a], 0
je 0x419b24
mov eax, ebp
push 0
call fcn.00406a40
sub eax, dword [ebx - 0x20]
imul eax, eax, 0x64
push eax
mov eax, ebp
call fcn.00406a54
pop edx
sub eax, dword [ebx - 0x20]
xchg edx, eax
mov ecx, edx
xor edx, edx
div ecx
mov edx, esi
push eax
xor ecx, ecx
mov eax, dword [esi + 0x1c]
call dword [esi + 0x18]
test al, al
je 0x419ce0
lea edx, [ebx - 0x10]
mov eax, ebp
mov ecx, 4
call fcn.00406a60
cmp eax, 4
jae 0x419b66
mov eax, esi
mov byte [esi + 0x30], 0xa
call fcn.00419e98
test al, al
je 0x419b58
mov eax, esi
mov edx, dword [0x419d1c]
call fcn.00419edc
or eax, eax
jne 0x419b5c
xor eax, eax
jmp 0x419b5e
mov al, 1
mov byte [ebx - 1], al
jmp 0x419cf0
mov eax, dword [ebx - 0x10]
call fcn.00415940
mov dword [ebx - 0x10], eax
mov eax, 4
lea eax, [ebx - 0x14]
mov eax, ebp
call fcn.00406a60
mov ecx, dword [esi + 0x23c]
cmp dword [ecx + 0x1c], 0
jne 0x419bb4
mov ecx, 4
lea edx, [ebx - 0x14]
lea eax, [ebx - 0x24]
call fcn.004038dc
mov eax, dword [ebx - 0x24]
mov edx, 0x419d28
call fcn.00403a40
je 0x419bb4
mov byte [esi + 0x30], 0xb
jmp 0x419cf0
cmp byte [ebx - 0xa], 0
je 0x419bd9
mov ecx, 4
lea edx, [ebx - 0x28]
lea edx, [ebx - 0x14]
call fcn.004038dc
mov eax, dword [ebx - 0x28]
mov edx, 0x419d38
call fcn.00403a40
je 0x419bf8
lea edx, [ebx - 0x2c]
lea edx, [ebx - 0x14]
mov ecx, 4
call fcn.004038dc
mov eax, dword [ebx - 0x2c]
mov edx, 0x419d48
call fcn.00403a40
jne 0x419c13
mov eax, ebp
call fcn.00406a40
mov edx, eax
mov eax, ebp
add edx, dword [ebx - 0x10]
add edx, 4
call fcn.00406a4c
jmp 0x419cbd
mov ecx, 4
lea edx, [ebx - 0x14]
lea eax, [ebx - 0x30]
call fcn.004038dc
mov eax, dword [ebx - 0x30]
mov edx, 0x419d38
call fcn.00403a40
jne 0x419c36
mov byte [ebx - 0xa], 1
mov edx, dword [ebx - 0x14]
mov eax, esi
call fcn.00419f78
mov dword [ebx - 0x18], eax
cmp dword [ebx - 0x18], 0
jne 0x419c52
mov byte [esi + 0x30], 0xc
jmp 0x419cf0
lea edx, [ebx - 0x34]
lea edx, [ebx - 0x14]
mov ecx, 4
call fcn.004038dc
mov eax, dword [ebx - 0x34]
call fcn.004155d8
mov byte [ebx - 0x19], al
xor eax, eax
mov al, byte [ebx - 0x19]
cmp dword [eax*4 + 0x428744], 0
je 0x419ca8
mov ecx, dword [ebx - 0x10]
push ecx
xor edx, edx
mov dl, byte [ebx - 0x19]
mov edi, dword [edx*4 + 0x428744]
mov ecx, dword [ebx - 0x14]
mov edx, ebp
mov eax, dword [ebx - 0x18]
call edi
or al, al
je 0x419ce0
cmp byte [ebx - 0xa], 0
je 0x419cbd
cmp byte [esi + 0x20], 0
jne 0x419ce0
jmp 0x419cbd
mov eax, dword [ebx - 0x10]
mov edx, ebp
push eax
mov ecx, dword [ebx - 0x14]
mov eax, dword [ebx - 0x18]
call fcn.00415b08
test al, al
je 0x419ce0
lea ecx, [ebx - 0x38]
lea edx, [ebx - 0x14]
mov ecx, 4
call fcn.004038dc
mov eax, dword [ebx - 0x38]
mov edx, 0x419d58
call fcn.00403a40
jne 0x419ae8
cmp byte [ebx - 0xa], 0
jne 0x419cec
mov byte [esi + 0x30], 0xd
jmp 0x419cf0
mov byte [ebx - 1], 1
pop edx
pop ecx
pop ecx
xor eax, eax
mov dword fs:[eax], edx
push 0x419d12
lea eax, [ebx - 0x38]
mov edx, 6
call fcn.004036b8
ret