Function at 0x12ab5c0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x14057c8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x14716ec]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x14716ec]
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.01394740
mov dword [esp + 0x18], eax
cmp eax, dword [edi + 8]
je 0x12ab64e
mov ecx, dword [eax + 0x1c]
add eax, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x12ab636
mov eax, dword [eax]
push ecx
push eax
mov eax, dword [ebx + 0x10]
push eax
push ebp
mov ecx, ebx
call fcn.0125bb10
test eax, eax
js 0x12ab64e
lea eax, [esp + 0x18]
jmp 0x12ab659
mov ecx, dword [edi + 8]
mov dword [esp + 0x1c], ecx
lea eax, [esp + 0x1c]
mov ebp, dword [eax]
cmp ebp, dword [edi + 8]
jne 0x12ab672
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
jmp 0x12ab784
mov eax, dword [ebp + 0x28]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x18], 0
test eax, eax
jle 0x12ab756
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.012ac5a0
mov dword [esp + 0x1c], eax
cmp eax, dword [esi + 4]
je 0x12ab6d3
mov ecx, dword [eax + 0x1c]
add eax, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x12ab6ba
mov eax, dword [eax]
push ecx
push eax
mov eax, dword [edi + 0x10]
push eax
push 0
mov ecx, edi
call fcn.0125bb10
test eax, eax
js 0x12ab6d3
lea eax, [esp + 0x1c]
jmp 0x12ab6de
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 0x12ab73d
cmp dword [ebx + 0x14], 0x10
mov eax, dword [eax + 0x28]
mov ecx, dword [eax + 8]
mov edx, dword [ebx + 0x10]
jb 0x12ab6fc
mov eax, dword [ebx]
jmp 0x12ab6fe
mov eax, ebx
push edx
mov edx, dword [ecx + 0x10]
push eax
push edx
push 0
call fcn.0125bb10
test eax, eax
jne 0x12ab73d
mov ebx, dword [esp + 0x20]
mov eax, edi
call fcn.012abd60
push edi
lea eax, [esp + 0x38]
push eax
push esi
call fcn.012ac3f0
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push ecx
push edx
lea edi, [esp + 0x38]
call fcn.012abfe0
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 0x12ab68b
mov edi, dword [esp + 0x20]
push ebp
lea edx, [esp + 0x34]
push edx
lea eax, [edi + 4]
push eax
call fcn.012cc400
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.01398a41
add esp, 0x38
ret