Function at 0x42c520
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4889a0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4b1784]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0xc0]
mov eax, dword [esi + 0xc4]
test eax, eax
mov dword [esp + 0x14], edx
mov ecx, edx
ja 0x42c568
test ecx, ecx
jbe 0x42c5ca
mov edi, dword [ebp + 0xc]
test edi, edi
jbe 0x42c5a7
xor ebx, ebx
cmp ebx, eax
ja 0x42c589
jb 0x42c57b
cmp edi, ecx
jae 0x42c589
sub ecx, edi
mov edx, edi
sbb eax, ebx
mov dword [esi + 0xc0], ecx
jmp 0x42c591
xor eax, eax
mov dword [esi + 0xc0], eax
mov ecx, dword [ebp + 8]
push edx
mov dword [esi + 0xc4], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push ecx
mov ecx, esi
call edx
jmp 0x42c5d0
mov eax, dword [esi]
mov edx, dword [eax + 8]
push 0x2efb
mov ecx, esi
call edx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, dword [ebp + 0xc]
lea ecx, [ecx]
mov eax, dword [0x4bb38c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4bb38c
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x38], 0
mov eax, dword [0x4bb38c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4bb38c
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
cmp edi, 0x64
mov byte [esp + 0x38], 1
jb 0x42c613
mov edi, 0x64
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x14]
add eax, ecx
push eax
lea eax, [esp + 0x20]
call fcn.00421ca0
push 0x499e02
xor edi, edi
lea eax, [esp + 0x1c]
call fcn.00421ca0
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx - 0xc]
add eax, ebx
cmp ebx, eax
sbb ecx, ecx
neg ecx
cmp ebx, eax
mov edi, ebx
jae 0x42c67b
jmp 0x42c650
cmp byte [edi], 0xa
je 0x42c65c
add edi, 1
cmp edi, eax
jb 0x42c650
cmp edi, ebx
jbe 0x42c67b
cmp byte [edi - 1], 0xd
jne 0x42c669
add edi, 0xffffffff
cmp edi, ebx
jbe 0x42c67b
sub edi, ebx
push ebx
lea eax, [esp + 0x1c]
call fcn.00421ca0
jmp 0x42c683
test ecx, ecx
je 0x42c7d3
mov edi, dword [esp + 0x18]
push 0x10
lea edx, [esp + 0x2c]
push edx
push edi
call fcn.0046992f
mov ecx, dword [edi - 0xc]
add esp, 0xc
add ecx, 2
test eax, eax
jle 0x42c780
mov edx, dword [esp + 0x14]
add edx, ecx
cmp dword [ebp + 0xc], edx
mov dword [esp + 0x20], edx
jbe 0x42c77a
mov edi, dword [esp + 0x14]
lea edx, [ecx + eax]
mov dword [esp + 0x24], edx
add edx, edi
mov edi, dword [ebp + 0xc]
cmp edi, edx
jbe 0x42c6d6
xor ecx, ecx
mov dword [esi + 0xc4], ecx
jmp 0x42c6e8
sub ecx, edi
add ecx, eax
add ecx, dword [esp + 0x14]
mov dword [esi + 0xc4], 0
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
sub eax, ecx
mov dword [esi + 0xc0], ecx
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [ebp + 8]
add ecx, eax
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x24]
sub eax, dword [esi + 0xc0]
add ebx, 0xfffffff0
add dword [esp + 0x14], eax
mov byte [esp + 0x38], 0
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42c733
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c75b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, dword [esp + 0x14]
ja 0x42c5d0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, dword [esp + 0x18]
test eax, eax
jne 0x42c78c
mov dword [esi + 0xc8], 1
cmp dword [esp + 0x14], 0
jne 0x42c7a5
test eax, eax
je 0x42c7a5
mov edx, dword [esi]
mov eax, dword [edx + 8]
push 0x2efb
mov ecx, esi
call eax
add ebx, 0xfffffff0
mov byte [esp + 0x38], 0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c7c6
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov dword [esp + 0x38], 0xffffffff
lea eax, [edi - 0x10]
jmp 0x42c811
mov edx, dword [esi]
mov eax, dword [edx + 8]
push 0x2efb
mov ecx, esi
call eax
add ebx, 0xfffffff0
mov byte [esp + 0x38], 0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c802
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c82a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8