Function at 0x4d0870
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x536050
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
call dword [eax + 0x30]
cmp eax, 0x21c
jb 0x4d0a6c
mov ecx, dword [esi + 8]
lea edi, [esi + 0x34]
xor ebx, ebx
push 0xc
mov edx, dword [ecx]
push edi
mov dword [ebp - 4], ebx
call dword [edx + 0x34]
cmp dword [edi], 0x44524745
jne 0x4d0a6c
mov eax, dword [esi + 0x38]
dec eax
cmp eax, 6
ja case.default.0x4d08ce
jmp dword [eax*4 + 0x4d0a80]
mov ecx, dword [esi + 8]
push 0x7c
mov eax, dword [ecx]
jmp 0x4d090c
mov ecx, dword [esi + 8]
push 0x80
mov eax, dword [ecx]
jmp 0x4d090c
mov ecx, dword [esi + 8]
push 0x84
mov eax, dword [ecx]
jmp 0x4d090c
mov ecx, dword [esi + 8]
push 0x88
mov eax, dword [ecx]
jmp 0x4d090c
mov ecx, dword [esi + 8]
push 0x1d0
mov eax, dword [ecx]
lea edx, [esi + 0x40]
push edx
call dword [eax + 0x34]
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, dword [esi + 8]
mov edi, eax
mov edx, dword [ecx]
call dword [edx + 0xc]
sub edi, eax
mov eax, dword [esi + 0x40]
shl eax, 2
cmp eax, edi
ja 0x4d0a6c
xor edi, edi
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 8]
cmp edi, eax
mov edx, dword [ecx]
jge 0x4d094f
lea eax, [ebp - 0x14]
push 4
push eax
call dword [edx + 0x34]
inc edi
jmp 0x4d0937
call dword [edx + 0x30]
mov ecx, dword [esi + 8]
mov edi, eax
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [esi + 0x44]
sub edi, eax
shl ecx, 2
cmp ecx, edi
ja 0x4d0a6c
xor edi, edi
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 8]
cmp edi, eax
mov edx, dword [ecx]
jge 0x4d0986
lea eax, [ebp - 0x18]
push 4
push eax
call dword [edx + 0x34]
inc edi
jmp 0x4d096e
call dword [edx + 0x30]
mov ecx, dword [esi + 8]
mov edi, eax
mov eax, dword [ecx]
call dword [eax + 0xc]
sub edi, eax
mov eax, dword [esi + 0x94]
lea ecx, [eax + eax*4]
shl ecx, 3
cmp ecx, edi
ja 0x4d0a6c
mov eax, dword [esi + 0x94]
mov ecx, dword [esi + 8]
cmp ebx, eax
mov edx, dword [ecx]
jge 0x4d0a13
lea eax, [esi + 0x210]
push 0x28
push eax
call dword [edx + 0x34]
mov eax, dword [esi + 0x234]
test eax, eax
jle 0x4d0a10
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
call dword [edx + 0x30]
mov ecx, dword [esi + 8]
mov edi, eax
mov eax, dword [ecx]
call dword [eax + 0xc]
sub edi, eax
mov eax, dword [esi + 0x234]
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
shl ecx, 2
cmp ecx, edi
ja 0x4d0a6c
xor edi, edi
cmp edi, dword [esi + 0x234]
jge 0x4d0a10
mov ecx, dword [esi + 8]
lea eax, [ebp - 0x7c]
push 0x64
push eax
mov edx, dword [ecx]
call dword [edx + 0x34]
inc edi
jmp 0x4d09f7
inc ebx
jmp 0x4d09a9
call dword [edx + 0x30]
mov ecx, dword [esi + 8]
mov edi, eax
mov eax, dword [ecx]
call dword [eax + 0xc]
sub edi, eax
mov eax, dword [esi + 0x98]
lea ecx, [eax + eax*2]
shl ecx, 3
cmp ecx, edi
ja 0x4d0a6c
xor edi, edi
cmp edi, dword [esi + 0x98]
jge 0x4d0a50
mov ecx, dword [esi + 8]
lea eax, [esi + 0x238]
push 0x18
push eax
mov edx, dword [ecx]
call dword [edx + 0x34]
inc edi
jmp 0x4d0a34
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret