Function at 0x4cd990
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5066ac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x228
mov eax, dword [0x58f4b4]
push ebx
push ebp
push esi
push edi
mov dl, 1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov byte [esp + 0x20], 0
call fcn.004ce030
mov dword [esp + 0x240], 0
call fcn.004cf1f0
call fcn.004ced90
call fcn.004ce450
mov ecx, 2
call fcn.004cf800
mov esi, eax
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.004db904
mov ebx, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 4
mov dword [esp + 0x24], ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x30], ebx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ebp, dword [0x58f428]
mov byte [esp + 0x240], 1
mov edi, ebx
mov esi, dword [ebp]
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x4cda66
test al, al
je 0x4cda62
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x4cda66
add esi, 2
add edi, 2
test al, al
jne 0x4cda3e
xor eax, eax
jmp 0x4cda6b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4cdc1d
mov eax, dword [ebp]
push eax
call fcn.004db92d
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.004db904
mov edx, eax
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x20], 0
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
mov dword [ebp], edx
push ecx
call fcn.004bf79a
lea edx, [eax + eax + 2]
push edx
call fcn.004db904
mov esi, eax
lea eax, [esp + 0x28]
push eax
push esi
call fcn.004bf69f
add esp, 0x18
mov dword [esp + 0x10], esi
push 0x57885c
mov edx, 0x578854
lea ecx, [esp + 0x14]
mov byte [esp + 0x244], 2
call fcn.004ce870
test al, al
je 0x4cdb10
mov ecx, dword [esp + 0x10]
mov dx, word [ecx]
mov word [0x58f420], dx
jmp 0x4cdb19
mov word [0x58f420], 0x30
push 0x578852
mov edx, 0x57884c
lea ecx, [esp + 0x14]
call fcn.004ce870
test al, al
je 0x4cdb40
mov eax, dword [esp + 0x10]
mov cx, word [eax]
mov word [0x58f41a], cx
jmp 0x4cdb49
mov word [0x58f41a], 0x61
mov esi, dword [0x58f41c]
mov eax, dword [esi]
test eax, eax
je 0x4cdb68
mov edx, dword [eax]
push eax
mov dword [esi], edx
call fcn.004db92d
mov eax, dword [esi]
add esp, 4
test eax, eax
jne 0x4cdb55
mov esi, 1
mov dword [esp + 0x14], esi
lea ebx, [esi + 0x64]
xor edx, edx
push ebx
xor ecx, ecx
lea ebp, [esp + 0x3c]
call fcn.004cf0e0
mov edi, eax
cmp edi, 0x100
ja 0x4cdbd1
push edi
call fcn.004db904
mov esi, eax
add esp, 4
mov dword [esp + 0x34], esi
push ebx
mov edx, edi
mov ecx, esi
mov byte [esp + 0x244], 3
call fcn.004cf0e0
mov edx, 0x100
lea ecx, [esp + 0x38]
push esi
call fcn.004cf010
mov byte [esp + 0x240], 2
push esi
call fcn.004db92d
mov esi, dword [esp + 0x18]
add esp, 4
mov eax, dword [esp + 0x38]
test ax, ax
je 0x4cdbfe
mov ecx, dword [0x58f41c]
lea edx, [esp + 0x28]
mov word [esp + 0x28], ax
mov dword [esp + 0x2c], esi
call fcn.004ce060
mov ax, word [ebp + 2]
add ebp, 2
test ax, ax
jne 0x4cdbda
inc esi
cmp esi, 0x35
mov dword [esp + 0x14], esi
jb 0x4cdb71
mov eax, dword [esp + 0x10]
push eax
call fcn.004db92d
mov ebx, dword [esp + 0x28]
add esp, 4
push ebx
call fcn.004db92d
mov al, byte [esp + 0x24]
add esp, 4
test al, al
pop edi
pop esi
pop ebp
pop ebx
je 0x4cdc3d
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
add esp, 0x234
ret