Function at 0x4f88a0
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x6217e0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7161c0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x48]
push eax
push 0x2b
lea ecx, [esp + 0x20]
call fcn.004f8090
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 0xc], 0
mov dword [esp + 0x38], 0
je 0x4f88fa
push 0x20
lea ecx, [esp + 0x1c]
call fcn.00444d20
mov edx, dword [esp + 0x44]
mov eax, dword [edx + 0x90]
test eax, eax
jne 0x4f894e
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4f8930
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 ebp
pop ebx
add esp, 0x28
ret 0xc
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x1c]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4f8c08
mov ecx, dword [eax]
mov eax, dword [eax + 8]
mov edx, dword [edi + 0x2e0]
mov dword [esp + 0x28], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
push 0
push eax
push ecx
lea ecx, [edx + 0xe8]
call fcn.00529f90
mov esi, eax
test esi, esi
mov dword [esp + 0x24], esi
je 0x4f8bf8
call fcn.005bc43d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4f8c08
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x44], eax
mov byte [esp + 0x38], 1
call fcn.005bc43d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4f8c08
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x14], ebx
mov ecx, dword [esi + 0x78]
test ecx, ecx
mov byte [esp + 0x38], 2
je 0x4f8aff
jmp 0x4f89f4
mov ecx, dword [esp + 0x20]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x4f8c08
cmp dword [ebx - 0xc], 0
mov eax, ecx
mov ecx, dword [ecx]
mov edi, dword [eax + 8]
mov dword [esp + 0x20], ecx
jne 0x4f8a6c
mov ecx, dword [edi]
lea eax, [ecx - 0x10]
lea esi, [ebx - 0x10]
cmp eax, esi
je 0x4f8a6c
cmp dword [esi + 0xc], 0
lea ebp, [esi + 0xc]
jl 0x4f8a5a
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4f8a5a
push eax
call fcn.0041bc70
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x4f8a51
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x14], ebx
jmp 0x4f8a6c
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00419da0
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x4f8c08
mov eax, dword [edi + 4]
push ecx
push eax
call fcn.005da730
add esp, 8
test eax, eax
sete al
test al, al
je 0x4f8aec
mov ecx, dword [edi]
mov esi, dword [esp + 0x44]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x4f8aec
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x4f8ade
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4f8ade
push eax
call fcn.0041bc70
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4f8ad5
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [esp + 0x44], ebp
jmp 0x4f8aec
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x4c]
call fcn.00419da0
cmp dword [esp + 0x20], 0
jne 0x4f89f0
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x44]
cmp dword [ecx - 0xc], 0
lea eax, [esp + 0x44]
jne 0x4f8b11
lea eax, [esp + 0x14]
push eax
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x34]
push eax
call fcn.004ab4f0
add esp, 0xc
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x3c], 3
call fcn.0041fb20
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x38], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4f8b58
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x44]
mov ecx, dword [esi + 0x24]
mov eax, dword [esi + 0x20]
mov esi, dword [edi + 0x2e0]
mov ebx, dword [edi + 0x78]
push ebp
push 0
push 0x64
push ecx
add edi, 0x78
push eax
call fcn.005df9a0
sub eax, dword [esi + 0x220]
mov ecx, dword [ebx + 0x18]
sbb edx, dword [esi + 0x224]
push edx
push eax
push edi
call ecx
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x98], 0
je 0x4f8bb2
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x1c]
add edx, 1
push edx
push eax
mov eax, dword [esp + 0x48]
push eax
call fcn.004f88a0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x38], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4f8bd7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x38], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4f8bf8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x28], 0
jne 0x4f8946
jmp 0x4f8908
push 0x80004005
call fcn.00401470
int3