Function at 0x66762190
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x66789c08
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
xor ebx, ebx
push esi
push edi
cmp eax, ebx
mov edi, ecx
jne 0x667621c2
mov eax, 0xc10a02d8
jmp 0x66762394
mov esi, dword [edi + 0x74]
cmp esi, ebx
je 0x667621d9
mov ecx, esi
call fcn.6672b793
push esi
call fcn.667661a3
add esp, 4
mov eax, dword [esp + 0x44]
mov dword [edi + 0x74], eax
mov esi, dword [edi + 0x68]
mov eax, dword [edi + 0x6c]
cmp esi, eax
je 0x66762200
mov ecx, dword [esi]
cmp ecx, ebx
je 0x667621f6
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [edi + 0x6c]
add esi, 4
cmp esi, eax
jne 0x667621ea
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x6c]
mov ebp, dword [edi + 0x68]
lea esi, [edi + 0x64]
cmp eax, ecx
je 0x6676221f
mov edx, dword [eax]
add eax, 4
mov dword [ebp], edx
add ebp, 4
cmp eax, ecx
jne 0x66762210
mov eax, dword [esi + 8]
mov ecx, esi
push eax
push ebp
call fcn.6675f120
mov al, byte [esp + 0x40]
mov dword [esi + 8], ebp
test al, 2
jbe 0x6676228f
push 0x14
call fcn.66766ab2
add esp, 4
cmp eax, ebx
je 0x6676225c
mov cl, byte [esp + 0x40]
mov dword [eax + 8], ebx
mov byte [eax + 4], cl
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax], 0x66796d3c
jmp 0x6676225e
xor eax, eax
mov ecx, dword [edi + 0x74]
sub esp, 0x10
mov edx, esp
mov dword [esp + 0x24], esp
push edx
mov dword [esp + 0x58], eax
call fcn.667623b0
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 8]
lea ecx, [esp + 0x44]
push ecx
push 1
push eax
mov ecx, esi
call fcn.667642f0
test byte [esp + 0x40], 4
jbe 0x667622df
push 0x14
call fcn.66766ab2
add esp, 4
cmp eax, ebx
je 0x667622ac
mov dword [eax], 0x66796cf8
jmp 0x667622ae
xor eax, eax
mov ecx, dword [edi + 0x74]
sub esp, 0x10
mov edx, esp
mov dword [esp + 0x24], esp
push edx
mov dword [esp + 0x58], eax
call fcn.667623b0
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 8]
lea ecx, [esp + 0x44]
push ecx
push 1
push eax
mov ecx, esi
call fcn.667642f0
test byte [esp + 0x40], 1
jbe 0x6676233f
push 0x14
call fcn.66766ab2
add esp, 4
cmp eax, ebx
je 0x6676230c
mov dl, byte [esp + 0x40]
mov dword [eax + 8], ebx
mov byte [eax + 4], dl
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax], 0x66796b7c
jmp 0x6676230e
xor eax, eax
mov ecx, dword [edi + 0x74]
sub esp, 0x10
mov dword [esp + 0x54], eax
mov eax, esp
mov dword [esp + 0x24], esp
push eax
call fcn.667623b0
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esi + 8]
lea ecx, [esp + 0x44]
push ecx
push 1
push eax
mov ecx, esi
call fcn.667642f0
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], edx
lea esi, [edi + 0x3c]
call fcn.667074c0
lea eax, [esp + 0x40]
lea ecx, [esp + 0x18]
push eax
mov dword [esp + 0x3c], ebx
call fcn.66707500
lea ecx, [esp + 0x18]
call fcn.66707530
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], eax
push ecx
mov ecx, esi
call fcn.6672d41d
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
call fcn.667074e0
mov eax, 0x410a02bc
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret 8