Function at 0xcbb5c0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0xe157c8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0xe816ec]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0xe816ec]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [edi + 0x64]
mov ebx, edx
xor ebp, ebp
mov dword [esp + 0x24], ebp
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
lea eax, [edi + 4]
mov dword [esp + 0x4c], ebp
call fcn.00da4740
mov dword [esp + 0x18], eax
cmp eax, dword [edi + 8]
je 0xcbb64e
mov ecx, dword [eax + 0x1c]
add eax, 0xc
cmp dword [eax + 0x14], 0x10
jb 0xcbb636
mov eax, dword [eax]
push ecx
push eax
mov eax, dword [ebx + 0x10]
push eax
push ebp
mov ecx, ebx
call fcn.00c6bb10
test eax, eax
js 0xcbb64e
lea eax, [esp + 0x18]
jmp 0xcbb659
mov ecx, dword [edi + 8]
mov dword [esp + 0x1c], ecx
lea eax, [esp + 0x1c]
mov ebp, dword [eax]
cmp ebp, dword [edi + 8]
jne 0xcbb672
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
jmp 0xcbb784
mov eax, dword [ebp + 0x28]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x18], 0
test eax, eax
jle 0xcbb756
lea esi, [edi + 0x14]
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0x18]
mov eax, dword [ecx + edx*4]
mov edi, dword [eax + 8]
push edi
mov eax, esi
call fcn.00cbc5a0
mov dword [esp + 0x1c], eax
cmp eax, dword [esi + 4]
je 0xcbb6d3
mov ecx, dword [eax + 0x1c]
add eax, 0xc
cmp dword [eax + 0x14], 0x10
jb 0xcbb6ba
mov eax, dword [eax]
push ecx
push eax
mov eax, dword [edi + 0x10]
push eax
push 0
mov ecx, edi
call fcn.00c6bb10
test eax, eax
js 0xcbb6d3
lea eax, [esp + 0x1c]
jmp 0xcbb6de
mov ecx, dword [esi + 4]
mov dword [esp + 0x24], ecx
lea eax, [esp + 0x24]
mov eax, dword [eax]
mov edx, dword [esp + 0x20]
cmp eax, dword [edx + 0x18]
je 0xcbb73d
cmp dword [ebx + 0x14], 0x10
mov eax, dword [eax + 0x28]
mov ecx, dword [eax + 8]
mov edx, dword [ebx + 0x10]
jb 0xcbb6fc
mov eax, dword [ebx]
jmp 0xcbb6fe
mov eax, ebx
push edx
mov edx, dword [ecx + 0x10]
push eax
push edx
push 0
call fcn.00c6bb10
test eax, eax
jne 0xcbb73d
mov ebx, dword [esp + 0x20]
mov eax, edi
call fcn.00cbbd60
push edi
lea eax, [esp + 0x38]
push eax
push esi
call fcn.00cbc3f0
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push ecx
push edx
lea edi, [esp + 0x38]
call fcn.00cbbfe0
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0x28]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [ecx + 0x14]
jl 0xcbb68b
mov edi, dword [esp + 0x20]
push ebp
lea edx, [esp + 0x34]
push edx
lea eax, [edi + 4]
push eax
call fcn.00cdc400
mov dword [esp + 0x48], 0xffffffff
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [edi + 0x7c]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00da8a41
add esp, 0x38
ret