Function at 0x49d2c0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5dba90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.0049d710
mov eax, dword [0x666d08]
mov dword [esp + 0x30], eax
xor ebp, ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x3c], ebp
mov eax, dword [esi + 0xa8]
lea edi, [esi + 0xa8]
mov byte [esp + 0x3c], 1
cmp dword [eax - 8], ebp
je 0x49d5f0
push ebp
push eax
call 0x604152
add esp, 8
cmp eax, 0xffffffff
jne 0x49d377
mov eax, dword [0x66bc28]
push 0x63d3a0
add eax, 0xd0
lea ecx, [esp + 0x1c]
push eax
push ecx
call 0x620e7d
push edi
lea edx, [esp + 0x18]
mov bl, 2
push eax
push edx
mov byte [esp + 0x48], bl
call 0x620e17
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 3
call 0x620d21
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], bl
call 0x620be8
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 1
call 0x620be8
jmp 0x49d381
push edi
lea ecx, [esp + 0x14]
call 0x620d21
mov eax, dword [esp + 0x10]
push ebp
lea edi, [esi + 0xd0]
push 0x17
push 1
push eax
mov ecx, edi
call fcn.004846a0
cmp eax, ebp
jne 0x49d5f0
cmp dword [esi + 0x4f0], 0x18
jne 0x49d3bd
cmp dword [esi + 0x528], 0xffffffff
je 0x49d3bd
mov ecx, edi
call fcn.00487380
test eax, eax
je 0x49d3cd
cmp dword [esi + 0xe8], 0x20
je 0x49d3cd
mov ecx, edi
call fcn.00487110
cmp dword [esi + 0xac], ebp
je 0x49d4ec
mov al, byte [edi + 0x42c]
test al, al
je 0x49d3ef
mov ecx, dword [edi + 0x434]
mov dword [esp + 0x14], ecx
jmp 0x49d3f9
mov edx, dword [edi + 0x430]
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0xb4]
mov edi, dword [esi + 0xb0]
mov dword [esp + 0x18], eax
xor ecx, ecx
fild dword [esp + 0x18]
mov cl, byte [esi + 0xb0]
xor ebx, ebx
mov bl, byte [esi + 0xb1]
mov ebp, ecx
fmul qword [0x5ee4f8]
shr edi, 0x10
and ebx, 0xff
and edi, 0xff
fld st(0)
fmul qword [0x5ee7c8]
call 0x6055e8
fmul qword [0x5ee7c0]
mov ecx, ebp
mov dword [esp + 0x18], eax
sub ecx, eax
mov dword [esp + 0x1c], ecx
call 0x6055e8
mov ecx, dword [esp + 0x18]
sub ebp, eax
mov dword [esp + 0x20], ebp
mov edx, edi
mov ebp, ebx
sub edi, eax
sub ebx, eax
mov eax, dword [esi + 0xe4]
mov dword [esp + 0x28], edi
sub ebp, ecx
sub edx, ecx
xor edi, edi
test eax, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], edx
jle 0x49d4ec
mov eax, dword [esi + 0xe0]
xor edx, edx
test eax, eax
jle 0x49d4e1
imul eax, edi
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
add eax, edx
lea eax, [ecx + eax*4]
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, ebx
jl 0x49d4d6
cmp ecx, dword [esp + 0x20]
jg 0x49d4d6
xor ecx, ecx
mov cl, byte [eax + 1]
cmp ecx, ebp
jl 0x49d4d6
cmp ecx, dword [esp + 0x18]
jg 0x49d4d6
mov ebx, dword [esp + 0x24]
xor ecx, ecx
mov cl, byte [eax + 2]
cmp ecx, ebx
jl 0x49d4d6
cmp ecx, dword [esp + 0x28]
jg 0x49d4d6
mov byte [eax + 3], 0
mov eax, dword [esi + 0xe0]
inc edx
cmp edx, eax
jl 0x49d492
mov eax, dword [esi + 0xe4]
inc edi
cmp edi, eax
jl 0x49d486
lea edi, [esi + 0xd0]
lea ecx, [esi + 0x52c]
push edi
call fcn.00484600
mov eax, dword [esi + 0xb8]
cmp eax, 0x64
jge 0x49d590
mov cl, byte [edi + 0x42c]
test cl, cl
je 0x49d51f
mov ebx, dword [edi + 0x434]
jmp 0x49d525
mov ebx, dword [edi + 0x430]
mov ecx, eax
xor ebp, ebp
shl ecx, 8
sub ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esi + 0xe4]
test eax, eax
mov byte [esp + 0x28], dl
jle 0x49d590
mov eax, dword [esi + 0xe0]
xor ecx, ecx
test eax, eax
jle 0x49d585
mov edi, dword [esp + 0x28]
and edi, 0xff
imul eax, ebp
add eax, ecx
xor edx, edx
mov dl, byte [ebx + eax*4 + 3]
lea eax, [ebx + eax*4]
imul edx, edi
sar edx, 8
mov byte [eax + 3], dl
mov eax, dword [esi + 0xe0]
inc ecx
cmp ecx, eax
jl 0x49d563
mov eax, dword [esi + 0xe4]
inc ebp
cmp ebp, eax
jl 0x49d54d
mov eax, dword [esi + 0x14]
mov edi, dword [esi + 0xc]
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x10]
sub eax, edi
sub ecx, edx
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x2c], ecx
push 0
push eax
lea ecx, [esi + 0xd0]
call fcn.00486110
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
mov edi, dword [esi + 0xc]
sub ecx, edx
push 0
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x2c]
sub eax, edi
push ecx
lea ecx, [esi + 0x52c]
mov dword [esp + 0x30], eax
call fcn.00486110
mov dword [esi + 0x988], 1
jmp 0x49d5f6
mov dword [esi + 0x988], ebp
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 0
call 0x620be8
lea ecx, [esp + 0x30]
mov dword [esp + 0x3c], 0xffffffff
call 0x620be8
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret