Function at 0x4cdc60
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x50699c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x228
mov eax, dword [0x58f4e4]
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.004ce300
mov dword [esp + 0x240], 0
call fcn.004cf4c0
call fcn.004cf060
call fcn.004ce720
mov ecx, 2
call fcn.004cfad0
mov esi, eax
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.004dbbfa
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 [0x58f458]
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 0x4cdd36
test al, al
je 0x4cdd32
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x4cdd36
add esi, 2
add edi, 2
test al, al
jne 0x4cdd0e
xor eax, eax
jmp 0x4cdd3b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4cdeed
mov eax, dword [ebp]
push eax
call fcn.004dbc23
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.004dbbfa
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.004bf93a
lea edx, [eax + eax + 2]
push edx
call fcn.004dbbfa
mov esi, eax
lea eax, [esp + 0x28]
push eax
push esi
call fcn.004bf83f
add esp, 0x18
mov dword [esp + 0x10], esi
push 0x57888c
mov edx, 0x578884
lea ecx, [esp + 0x14]
mov byte [esp + 0x244], 2
call fcn.004ceb40
test al, al
je 0x4cdde0
mov ecx, dword [esp + 0x10]
mov dx, word [ecx]
mov word [0x58f450], dx
jmp 0x4cdde9
mov word [0x58f450], 0x30
push 0x578882
mov edx, 0x57887c
lea ecx, [esp + 0x14]
call fcn.004ceb40
test al, al
je 0x4cde10
mov eax, dword [esp + 0x10]
mov cx, word [eax]
mov word [0x58f44a], cx
jmp 0x4cde19
mov word [0x58f44a], 0x61
mov esi, dword [0x58f44c]
mov eax, dword [esi]
test eax, eax
je 0x4cde38
mov edx, dword [eax]
push eax
mov dword [esi], edx
call fcn.004dbc23
mov eax, dword [esi]
add esp, 4
test eax, eax
jne 0x4cde25
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.004cf3b0
mov edi, eax
cmp edi, 0x100
ja 0x4cdea1
push edi
call fcn.004dbbfa
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.004cf3b0
mov edx, 0x100
lea ecx, [esp + 0x38]
push esi
call fcn.004cf2e0
mov byte [esp + 0x240], 2
push esi
call fcn.004dbc23
mov esi, dword [esp + 0x18]
add esp, 4
mov eax, dword [esp + 0x38]
test ax, ax
je 0x4cdece
mov ecx, dword [0x58f44c]
lea edx, [esp + 0x28]
mov word [esp + 0x28], ax
mov dword [esp + 0x2c], esi
call fcn.004ce330
mov ax, word [ebp + 2]
add ebp, 2
test ax, ax
jne 0x4cdeaa
inc esi
cmp esi, 0x35
mov dword [esp + 0x14], esi
jb 0x4cde41
mov eax, dword [esp + 0x10]
push eax
call fcn.004dbc23
mov ebx, dword [esp + 0x28]
add esp, 4
push ebx
call fcn.004dbc23
mov al, byte [esp + 0x24]
add esp, 4
test al, al
pop edi
pop esi
pop ebp
pop ebx
je 0x4cdf0d
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