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

Disassembly:
push 0xffffffffffffffff
push 0x6045c0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6f1550]
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.004e7450
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 0xc], 0
mov dword [esp + 0x38], 0
je 0x4e7cba
push 0x20
lea ecx, [esp + 0x1c]
call fcn.00436f40
mov edx, dword [esp + 0x44]
mov eax, dword [edx + 0x90]
test eax, eax
jne 0x4e7d0e
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 0x4e7cf0
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 0x4e7fc8
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.00518d90
mov esi, eax
test esi, esi
mov dword [esp + 0x24], esi
je 0x4e7fb8
call fcn.005a2e2e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4e7fc8
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.005a2e2e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4e7fc8
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 0x4e7ebf
jmp 0x4e7db4
mov ecx, dword [esp + 0x20]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x4e7fc8
cmp dword [ebx - 0xc], 0
mov eax, ecx
mov ecx, dword [ecx]
mov edi, dword [eax + 8]
mov dword [esp + 0x20], ecx
jne 0x4e7e2c
mov ecx, dword [edi]
lea eax, [ecx - 0x10]
lea esi, [ebx - 0x10]
cmp eax, esi
je 0x4e7e2c
cmp dword [esi + 0xc], 0
lea ebp, [esi + 0xc]
jl 0x4e7e1a
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4e7e1a
push eax
call fcn.00414870
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x4e7e11
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 0x4e7e2c
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00412960
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x4e7fc8
mov eax, dword [edi + 4]
push ecx
push eax
call fcn.005c0e71
add esp, 8
test eax, eax
sete al
test al, al
je 0x4e7eac
mov ecx, dword [edi]
mov esi, dword [esp + 0x44]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x4e7eac
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x4e7e9e
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4e7e9e
push eax
call fcn.00414870
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4e7e95
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 0x4e7eac
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x4c]
call fcn.00412960
cmp dword [esp + 0x20], 0
jne 0x4e7db0
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 0x4e7ed1
lea eax, [esp + 0x14]
push eax
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x34]
push eax
call fcn.0049a930
add esp, 0xc
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x3c], 3
call fcn.004189d0
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 0x4e7f18
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.005c5cc0
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 0x4e7f72
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.004e7c60
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 0x4e7f97
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 0x4e7fb8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x28], 0
jne 0x4e7d06
jmp 0x4e7cc8
push 0x80004005
call fcn.00401480
int3