Function at 0x100c4d70
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10165188
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x101bd92c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push dword [ebx + 0x30]
call fcn.100c5210
push dword [ebx + 0x30]
mov ecx, ebx
call fcn.100c4fc0
push dword [ebx + 0x30]
mov ecx, ebx
push dword [ebx + 0x48]
call fcn.100c60f0
push dword [ebx + 0x30]
mov ecx, ebx
push dword [ebx + 0x74]
call fcn.100c60f0
mov esi, dword [ebx + 0x30]
mov ecx, dword [esi + 4]
mov esi, dword [esi]
cmp esi, ecx
je 0x100c4e2e
mov edi, ecx
sub edi, esi
sar edi, 2
mov dword [ebp - 0x2c], 0
lea eax, [edi + 1]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], eax
push 0x10012c70
push eax
push edi
push ecx
push esi
mov dword [ebp - 4], 0
call fcn.100c3070
mov eax, dword [ebp - 0x2c]
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x100c4e2e
push eax
call fcn.10091747
add esp, 4
mov eax, dword [ebx]
mov esi, dword [eax]
cmp esi, dword [eax + 4]
je 0x100c4edb
lea edx, [esi + 4]
mov dword [ebp - 0x14], edx
mov eax, dword [esi]
cmp byte [eax + 1], 0
je 0x100c4e54
add esi, 4
add edx, 4
mov dword [ebp - 0x14], edx
jmp 0x100c4ed0
mov edi, dword [ebx + 4]
mov eax, dword [edi + 4]
cmp esi, eax
jae 0x100c4e94
cmp dword [edi], esi
ja 0x100c4e94
mov ecx, esi
sub ecx, dword [edi]
sar ecx, 2
mov dword [ebp - 0x18], ecx
cmp eax, dword [edi + 8]
jne 0x100c4e80
push 1
mov ecx, edi
call fcn.10010ee0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov eax, dword [edi + 4]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x100c4eb0
mov eax, dword [edi]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x18]
jmp 0x100c4eae
cmp eax, dword [edi + 8]
jne 0x100c4ea5
push 1
mov ecx, edi
call fcn.10010ee0
mov edx, dword [ebp - 0x14]
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x100c4eb0
mov eax, dword [esi]
mov dword [ecx], eax
add dword [edi + 4], 4
mov edi, dword [ebx]
mov eax, dword [edi + 4]
sub eax, edx
and eax, 0xfffffffc
push eax
push edx
push esi
call fcn.10091760
mov edx, dword [ebp - 0x14]
add esp, 0xc
add dword [edi + 4], 0xfffffffc
mov eax, dword [ebx]
cmp esi, dword [eax + 4]
jne 0x100c4e41
mov eax, dword [ebx + 0x60]
mov esi, dword [eax]
cmp esi, dword [eax + 4]
je 0x100c4f90
lea edx, [ebx + 0xa8]
nop
cmp dword [edx + 0x14], 8
mov eax, dword [esi]
mov edi, dword [edx + 0x10]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
lea ecx, [eax + 0x64]
jb 0x100c4f08
mov eax, dword [edx]
jmp 0x100c4f0a
mov eax, edx
push edi
push eax
push dword [ecx + 0x10]
push 0
call fcn.10009c10
lea ecx, [ebp - 0x10]
test eax, eax
jne 0x100c4f58
mov edi, dword [ebx]
mov eax, dword [edi + 4]
cmp ecx, eax
jae 0x100c4f5d
mov edx, dword [edi]
lea ecx, [ebp - 0x10]
cmp edx, ecx
ja 0x100c4f5d
sub ecx, edx
sar ecx, 2
mov dword [ebp - 0x18], ecx
cmp eax, dword [edi + 8]
jne 0x100c4f48
push 1
mov ecx, edi
call fcn.10010ee0
mov ecx, dword [ebp - 0x18]
mov edx, dword [edi + 4]
test edx, edx
je 0x100c4f77
mov eax, dword [edi]
mov eax, dword [eax + ecx*4]
mov dword [edx], eax
jmp 0x100c4f77
mov edi, dword [ebx + 4]
jmp 0x100c4f1f
cmp eax, dword [edi + 8]
jne 0x100c4f6b
push 1
mov ecx, edi
call fcn.10010ee0
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x100c4f77
mov eax, dword [ebp - 0x14]
mov dword [ecx], eax
add dword [edi + 4], 4
mov eax, dword [ebx + 0x60]
add esi, 4
lea edx, [ebx + 0xa8]
cmp esi, dword [eax + 4]
jne 0x100c4ef0
mov ecx, dword [ebx + 4]
push ecx
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
mov ecx, ebx
sar eax, 2
push eax
push 0
call fcn.100c6480
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret