Function at 0x4dabc0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x467688
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
mov ebx, ecx
xor edx, edx
mov eax, 0x66666667
mov dx, word [ebx + 0xeda]
xor ecx, ecx
mov cx, word [ebx + 0xed8]
imul edx
sub ecx, 0x80
push ebp
mov dword [esp + 0x40], ecx
add ecx, 0xffffffbc
sar edx, 3
mov dword [esp + 0xc], ecx
mov eax, edx
fild dword [esp + 0xc]
mov ebp, dword [0x4680dc]
push esi
shr eax, 0x1f
fmul qword [0x468880]
add edx, eax
push edi
push 0xa05028
mov dword [esp + 0x44], 0x40
lea eax, [edx + 0x54]
add edx, 0x64
fstp qword [esp + 0x2c]
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], edx
call ebp
push 0x782814
mov dword [esp + 0x14], eax
call ebp
push 0x460000
mov dword [esp + 0x1c], eax
call ebp
mov edi, dword [ebx + 0x504]
mov dword [esp + 0x14], eax
push edi
mov dword [esp + 0x20], edi
call dword [0x468518]
mov esi, eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], esi
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x40]
push ecx
push edx
push esi
mov dword [esp + 0x64], 0
call dword [0x468520]
fild dword [esp + 0x60]
fmul qword [esp + 0x28]
call 0x5117d0
mov ecx, dword [esp + 0x40]
lea edi, [eax + ecx + 2]
xor eax, eax
mov ax, word [ebx + 0xed8]
add eax, 0xffffff7e
cmp edi, eax
jle 0x4dacba
mov edi, eax
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov eax, 2
mov dword [esp + 0x40], edi
sub ecx, eax
add edx, eax
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x14]
sub ecx, eax
lea eax, [esp + 0x40]
push edx
push eax
push esi
mov dword [esp + 0x58], ecx
call dword [0x46851c]
push 0xa05028
push 1
push 0
mov dword [esp + 0x34], esi
call dword [0x4680a8]
push eax
push esi
mov dword [esp + 0x34], eax
call dword [0x4680d8]
mov dword [esp + 0x30], eax
push 0x782814
mov dword [esp + 0x38], esi
call ebp
mov ebp, eax
push ebp
push esi
mov dword [esp + 0x40], ebp
call dword [0x4680d8]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
push ecx
push edi
push edx
push 0x42
push esi
mov byte [esp + 0x6c], 2
call dword [0x4680b0]
mov eax, dword [esp + 0x10]
mov edi, dword [fcn.004680ec]
push eax
call edi
mov ecx, dword [esp + 0x18]
push ecx
call edi
mov edx, dword [esp + 0x14]
push edx
call edi
mov eax, dword [esp + 0x60]
mov ecx, 0x14
cdq
idiv ecx
test edx, edx
jne 0x4dad7e
push 1
call dword [0x468290]
mov eax, dword [ebx + 0x504]
lea edx, [esp + 0x40]
push 0
push edx
push eax
call dword [fcn.00468464]
mov eax, dword [0x49d560]
test eax, eax
je 0x4daddc
mov ebx, dword [esp + 0x60]
cmp ebx, 0x14
jle 0x4dadb2
mov eax, ebx
mov ecx, 0xa
cdq
idiv ecx
test edx, edx
jne 0x4daddc
cmp dword [0x48268c], ebx
je 0x4daddc
call dword [fcn.0046828c]
push eax
push ebx
push 0x4826ec
push 0xffffffffffffffff
push 0x49d558
call fcn.004eb090
add esp, 0x14
mov dword [0x48268c], ebx
push ebp
call edi
mov edx, dword [esp + 0x3c]
mov ebx, dword [0x4680d8]
push edx
push esi
call ebx
mov eax, dword [esp + 0x2c]
push eax
call edi
mov ecx, dword [esp + 0x30]
push ecx
push esi
call ebx
mov edx, dword [esp + 0x1c]
push esi
push edx
call dword [0x468528]
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret 4