Function at 0x4c5a30
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56c093
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
lea esi, [ebx + 0x18]
push esi
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x9c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebx + 0x30]
call fcn.004c67d0
mov eax, dword [ebp - 0x98]
mov dword [eax + 0x14], 0
cmp dword [ebx + 0x34], 1
jne 0x4c5ca5
mov ecx, ebx
call fcn.004c64f0
mov edi, eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004c6690
mov byte [ebp - 4], 1
lea eax, [edi*8]
sub eax, edi
shl eax, 2
mov dword [ebp - 0x94], eax
mov edx, dword [eax + 0x5c3098]
cmp word [edx], 0
jne 0x4c5ae5
xor ecx, ecx
jmp 0x4c5aff
mov ecx, edx
lea edi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c5af0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00406f60
push 0x30
lea eax, [ebp - 0x8c]
push 0
push eax
call fcn.0052d340
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x2c]
add esp, 0xc
mov dword [ebp - 0x64], 0
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x5c]
mov eax, dword [eax + 0x5c3094]
cmovae edx, dword [ebp - 0x2c]
mov dword [ebp - 0x8c], eax
call fcn.00405ee0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 8
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
cmovae eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x88], eax
cmovae edx, dword [ebp - 0x2c]
call fcn.00405dd0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
cmovae eax, dword [ebp - 0x44]
mov dword [ebp - 0x84], eax
call fcn.0046f470
mov edi, eax
mov eax, dword [edi + 4]
test eax, eax
je 0x4c5c0c
push str.QueryInterface
push dword [eax + 0x18]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4c5bac
push 0x2aea7669
call eax
test eax, eax
je 0x4c5c0c
push 0
lea ecx, [ebp - 0x8c]
push ecx
push dword [edi]
call eax
test eax, eax
je 0x4c5c0c
push 0
push 0
push 0
push 0
push 0
push 4
mov ecx, ebx
call fcn.004c5e50
cmp dword [ebx + 8], 0
jne 0x4c5bed
push ecx
push ebx
sub esp, 0xc
mov dword [ebx + 0x14], 0
mov ecx, ebx
call fcn.0040f050
cmp dword [ebx + 0x3c], 0
jne 0x4c5c1f
push 0x4c5760
push 0x3e8
push 0x64
push 0
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebx + 0x3c], eax
jmp 0x4c5c1f
push 0
push 0
push 0
push 0
push 0
push 7
mov ecx, ebx
call fcn.004c5e50
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x4c5c38
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x4c5c65
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x4c5c91
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005120a1
mov esp, ebp
pop ebp
ret 4