Function at 0xe6b5c0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0xfc57c8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10316ec]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10316ec]
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.00f54740
mov dword [esp + 0x18], eax
cmp eax, dword [edi + 8]
je 0xe6b64e
mov ecx, dword [eax + 0x1c]
add eax, 0xc
cmp dword [eax + 0x14], 0x10
jb 0xe6b636
mov eax, dword [eax]
push ecx
push eax
mov eax, dword [ebx + 0x10]
push eax
push ebp
mov ecx, ebx
call fcn.00e1bb10
test eax, eax
js 0xe6b64e
lea eax, [esp + 0x18]
jmp 0xe6b659
mov ecx, dword [edi + 8]
mov dword [esp + 0x1c], ecx
lea eax, [esp + 0x1c]
mov ebp, dword [eax]
cmp ebp, dword [edi + 8]
jne 0xe6b672
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
jmp 0xe6b784
mov eax, dword [ebp + 0x28]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x18], 0
test eax, eax
jle 0xe6b756
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.00e6c5a0
mov dword [esp + 0x1c], eax
cmp eax, dword [esi + 4]
je 0xe6b6d3
mov ecx, dword [eax + 0x1c]
add eax, 0xc
cmp dword [eax + 0x14], 0x10
jb 0xe6b6ba
mov eax, dword [eax]
push ecx
push eax
mov eax, dword [edi + 0x10]
push eax
push 0
mov ecx, edi
call fcn.00e1bb10
test eax, eax
js 0xe6b6d3
lea eax, [esp + 0x1c]
jmp 0xe6b6de
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 0xe6b73d
cmp dword [ebx + 0x14], 0x10
mov eax, dword [eax + 0x28]
mov ecx, dword [eax + 8]
mov edx, dword [ebx + 0x10]
jb 0xe6b6fc
mov eax, dword [ebx]
jmp 0xe6b6fe
mov eax, ebx
push edx
mov edx, dword [ecx + 0x10]
push eax
push edx
push 0
call fcn.00e1bb10
test eax, eax
jne 0xe6b73d
mov ebx, dword [esp + 0x20]
mov eax, edi
call fcn.00e6bd60
push edi
lea eax, [esp + 0x38]
push eax
push esi
call fcn.00e6c3f0
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push ecx
push edx
lea edi, [esp + 0x38]
call fcn.00e6bfe0
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 0xe6b68b
mov edi, dword [esp + 0x20]
push ebp
lea edx, [esp + 0x34]
push edx
lea eax, [edi + 4]
push eax
call fcn.00e8c400
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.00f58a41
add esp, 0x38
ret