Function at 0x4275e0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x49e8b8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c86e0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov dword [esp + 0x30], 1
call fcn.00461729
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x427629
push 0x80004005
call fcn.00401fb0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x34], 2
mov ebx, dword [esp + 0x40]
push 1
push ecx
add ebx, 0xfffffff0
mov dword [esp + 0x2c], esp
mov esi, esp
push ebx
mov dword [esp + 0x2c], ebx
call fcn.00402840
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x40], 3
mov edi, dword [esp + 0x48]
add edi, 0xfffffff0
mov dword [esp + 0x34], esp
mov esi, esp
push edi
call fcn.00402840
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x40], 2
call fcn.00427820
mov esi, eax
add esp, 0x10
cmp esi, 0x64
jne 0x427794
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x18]
push edx
push 0
push ecx
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
add esi, 0xfffffff0
mov dword [esp + 0x30], esp
mov ebx, esp
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4276d3
cmp eax, dword [esi]
jne 0x4276d3
mov ebp, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x427709
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov ebp, eax
test ebp, ebp
je 0x42780e
mov eax, dword [esi + 4]
mov dword [ebp + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
add esi, 0x10
push esi
push eax
lea ecx, [ebp + 0x10]
push ecx
call fcn.0047e048
add esp, 0x10
add ebp, 0x10
mov dword [ebx], ebp
mov byte [esp + 0x3c], 4
push ecx
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [esp + 0x30], esp
mov ebx, esp
call eax
cmp dword [edi + 0xc], 0
lea ecx, [edi + 0xc]
jl 0x42773d
cmp eax, dword [edi]
jne 0x42773d
mov esi, edi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x427773
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
je 0x42780e
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 4]
add eax, 1
push eax
lea ecx, [edi + 0x10]
push ecx
push eax
lea edx, [esi + 0x10]
push edx
call fcn.0047e048
add esp, 0x10
add esi, 0x10
mov dword [ebx], esi
mov byte [esp + 0x40], 2
call fcn.00427820
mov esi, eax
add esp, 0x10
cmp esi, 0x64
je 0x42769a
mov ebx, dword [esp + 0x1c]
mov byte [esp + 0x30], 1
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 0x4277b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x30], 0
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4277d7
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov dword [esp + 0x30], 0xffffffff
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4277f8
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
jmp fcn.00401950