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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fe500
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x689300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 0x18]
mov eax, edi
mov ebx, dword [ebp + 0x14]
mov dword [esi + 0x10], edi
dec eax
je 0x4c8971
cmp ebx, 0xffffffff
jne 0x4c88d5
xor ebx, ebx
jmp 0x4c88eb
cmp byte [esi + 0x1c], 0
jne 0x4c88eb
movq xmm0, qword [ebp + 8]
mov eax, dword [ebp + 0x10]
movq qword [esi + 0x18], xmm0
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x14]
cmp eax, 0xfffffffe
je 0x4c890d
cmp eax, 0xffffffff
jne 0x4c8a49
lea eax, [ebp - 0x28]
push eax
call fcn.004e39f0
mov ecx, dword [esi + 4]
add ecx, 0x30
jmp 0x4c895e
mov edx, dword [esi + 4]
mov ecx, ebx
cmp dword [edx + 0x7c], ebx
mov eax, dword [edx + 0x78]
cmovb ecx, dword [edx + 0x7c]
mov dword [edx + 0x80], eax
mov dword [edx + 0x84], ecx
mov ecx, dword [esi + 4]
lea eax, [ecx + 0x80]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004e99d0
mov edx, dword [esi + 4]
mov ecx, dword [eax]
mov dword [edx + 0x80], ecx
mov eax, dword [eax + 4]
mov dword [edx + 0x84], eax
lea eax, [ebp - 0x38]
push eax
call fcn.004e39f0
mov ecx, dword [esi + 4]
add ecx, 8
add esp, 4
push eax
call fcn.004ddd00
cmp byte [esi + 0x1c], 0
jne 0x4c8bf1
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x14], eax
lea eax, [esi + 0x24]
push eax
lea eax, [esi + 0x18]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004ea1b0
mov dword [esi + 0x14], eax
cmp eax, 0xfffffffe
jne 0x4c89f2
mov edi, dword [esi + 4]
cmp dword [edi + 0x84], 0
je 0x4c8b46
push dword [edi + 0x84]
push dword [edi + 0x80]
push dword [edi + 4]
call fcn.005301d0
mov edx, dword [edi + 0x84]
xor ecx, ecx
add esp, 0xc
test eax, eax
cmovg ecx, eax
mov eax, edx
cmp ecx, edx
cmovb eax, ecx
mov ecx, dword [edi + 0x80]
add ecx, eax
sub edx, eax
mov eax, dword [esi + 4]
mov dword [eax + 0x80], ecx
mov dword [eax + 0x84], edx
jmp 0x4c8967
cmp eax, 0xffffffff
je 0x4c8aac
cmp eax, 1
je 0x4c8aac
cmp dword [ebp + 0x18], 0
je 0x4c88cc
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push esi
push 0
mov eax, dword [eax + 0x78]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ecx + 4]
mov dword [ebp - 0x14], 0
mov ecx, dword [ecx]
push eax
add ecx, 0x14
call fcn.0049a440
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp eax, 1
jne 0x4c8a66
lea eax, [ebp - 0x40]
push eax
call fcn.004e39f0
mov ecx, dword [esi + 4]
add esp, 4
add ecx, 0x30
push eax
call fcn.004ddd00
cmp byte [esi + 0x1c], 0
je 0x4c8a75
mov dword [ebp + 0x14], 0
jmp 0x4c8a7b
mov eax, dword [esi + 0x24]
mov dword [ebp + 0x14], eax
mov ecx, dword [esi + 4]
lea eax, [ebp + 0x14]
push eax
lea eax, [esi + 0x18]
push eax
call fcn.004e2c90
push eax
lea eax, [esi + 0x28]
push eax
lea ecx, [esi + 8]
call fcn.004a32c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
lea eax, [ebp - 0x18]
push 1
push eax
call fcn.004df7c0
mov ecx, dword [esi + 4]
add esp, 8
mov eax, dword [ecx + 0x38]
mov edx, dword [ecx + 0x3c]
cmp eax, dword [ebp - 0x18]
jne 0x4c8b25
cmp edx, dword [ebp - 0x14]
jne 0x4c8b25
lea eax, [ebp - 0x20]
push 2
push eax
call fcn.004df7c0
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x20]
add esp, 8
add ecx, 0x30
push eax
call fcn.004ddd00
mov ecx, dword [esi + 4]
lea eax, [ecx + 0x64]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.004df6e0
push esi
mov byte [ebp + 0x18], 0
lea ecx, [ebp + 0x18]
push dword [ebp + 0x18]
push ecx
push eax
push dword [esi]
call fcn.004b1c30
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
lea eax, [ecx + 0x38]
mov ecx, dword [ecx + 0x30]
push esi
push eax
call fcn.004a0310
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x14], SysStringLen
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp + 0x18], 0
call fcn.004b7f50
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0x14]
cmp eax, dword [ebp - 0x20]
jne 0x4c8bd0
cmp edx, dword [ebp - 0x1c]
jne 0x4c8bd0
lea eax, [ebp - 0x50]
push eax
call fcn.004e91f0
mov ecx, dword [esi + 4]
add esp, 4
add ecx, 8
push eax
call fcn.004ddd00
mov ecx, dword [esi + 4]
push esi
push 0
mov eax, dword [ecx + 0x78]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 0x7c]
mov ecx, dword [esi]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ecx + 4]
mov ecx, dword [ecx]
push eax
add ecx, 0x14
call fcn.0049a440
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
lea eax, [ecx + 0x10]
mov ecx, dword [ecx + 8]
push esi
push eax
call fcn.004a0310
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [esi + 4]
lea eax, [esi + 0x18]
push eax
mov dword [ebp - 0x10], 0
lea edi, [esi + 0x28]
call fcn.004e2c90
mov dword [ebp - 0x20], eax
lea ecx, [edi + 8]
lea eax, [ebp - 0x10]
mov byte [ebp + 0x18], 0
push 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
push edi
push dword [ebp + 0x18]
call fcn.0048ddd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14