Function at 0x49ffb4
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a0424
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0049f01c
mov dl, 1
mov eax, dword [0x412d38]
call fcn.004039b8
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4a03ff
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1a4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1ac]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1ac]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x40]
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0x20]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1ac]
call fcn.00428fdc
mov edx, dword [ebp - 4]
mov ebx, dword [edx + 0x128]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1a4]
mov edx, dword [eax + 0x28]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 0x30], 0
je 0x4a0080
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax + 0x34]
jmp 0x4a0082
xor esi, esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, dword [ebp - 0x1c]
imul dword [edx + 0x3c]
mov ecx, 0x64
cdq
idiv ecx
add esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1ac]
call fcn.00428fdc
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x60]
call fcn.00422ec8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1ac]
call fcn.00428fdc
mov eax, dword [eax + 0x14]
xor edx, edx
call fcn.00423010
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1ac]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1ac]
call fcn.00428fdc
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.00423010
mov eax, dword [ebp - 0x1c]
call fcn.0049eb64
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1ac]
call fcn.00428fdc
mov eax, dword [eax + 0xc]
pop edx
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov al, byte [eax + 0x10]
mov byte [ebp - 0x11], al
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4a031d
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 0x24], 0
jne 0x4a019a
mov eax, dword [ebp - 0x1c]
call fcn.0049eb64
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1ac]
call fcn.00428fdc
mov eax, dword [eax + 0xc]
pop edx
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1a4]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x128]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov al, byte [eax + 0x10]
mov byte [ebp - 0x11], al
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x128]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1ac]
call fcn.00428fdc
mov ecx, dword [eax + 0xc]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x168]
call fcn.0049de68
lea ecx, [ebp - 0x11]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x188]
call fcn.0049e31c
lea eax, [ebp - 0x24]
mov ecx, 0x4a043c
mov edx, dword [ebp - 0x10]
call fcn.00404bb0
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x128]
call fcn.0049cad4
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x128]
mov edx, dword [ebp - 0x10]
call fcn.0049cb50
mov edi, eax
mov al, byte [ebp - 0x11]
sub al, 1
jb 0x4a0222
je 0x4a0241
dec al
je 0x4a0226
jmp 0x4a0255
xor edi, edi
jmp 0x4a0257
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1ac]
mov edx, dword [eax]
call dword [edx + 0x2c]
sub eax, edi
sar eax, 1
jns 0x4a023d
adc eax, 0
mov edi, eax
jmp 0x4a0257
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1ac]
mov edx, dword [eax]
call dword [edx + 0x2c]
sub eax, edi
mov edi, eax
jmp 0x4a0257
xor edi, edi
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x1c]
fild word [eax + 0x26]
fdiv dword [0x4a0440]
fadd dword [0x4a0444]
mov dword [ebp - 0x28], ebx
fild dword [ebp - 0x28]
fmulp st(1)
call fcn.00403414
add esi, eax
jmp 0x4a02e8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1ac]
call fcn.00428fdc
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x60]
call fcn.00422ec8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1ac]
call fcn.00428fdc
mov eax, dword [eax + 0x14]
xor edx, edx
call fcn.00423010
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x1ac]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
mov eax, dword [ebp - 4]
add edx, dword [eax + 0x3c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1ac]
call fcn.00428fdc
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.00423010
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1ac]
mov edx, dword [eax]
call dword [edx + 0x20]
cmp esi, eax
jg 0x4a027d
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x128]
mov ecx, dword [ebp - 0x18]
mov edx, edi
call fcn.0049d0a0
inc dword [ebp - 8]
dec dword [ebp - 0x20]
jne 0x4a013d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1ac]
call fcn.00428fdc
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x60]
call fcn.00422ec8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1ac]
call fcn.00428fdc
mov eax, dword [eax + 0x14]
xor edx, edx
call fcn.00423010
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, dword [ebp - 0x1c]
imul dword [edx + 0x38]
mov ecx, 0x64
cdq
idiv ecx
add esi, eax
mov eax, dword [ebp - 4]
call fcn.0043e85c
cmp esi, eax
jge 0x4a037d
mov eax, dword [ebp - 4]
call fcn.0043e85c
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1ac]
mov edx, esi
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1ac]
call fcn.00428fdc
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.00423010
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1a4]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x128]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
cmp word [eax + 0x172], 0
je 0x4a03e1
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x174]
call dword [ebx + 0x170]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a0406
mov eax, dword [ebp - 0xc]
call fcn.00403a14
mov eax, dword [ebp - 4]
call fcn.0049f024
ret