Function at 0x54e4e0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov byte [eax - 5], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, dword [ebp + 8]
add eax, dword [edx - 0x10]
cmp eax, 0x64
jne 0x54e672
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
dec eax
sub eax, 0x63
jae 0x54e672
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x14]
mov edx, dword [edx + 0xd0]
cmp word [edx + eax*8 + 0x22], 0
jne 0x54e672
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1c]
cmp dword [eax + 0xc], 2
jge 0x54e672
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x18]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
call fcn.0059dff8
test al, al
je 0x54e672
mov eax, dword [ebp + 8]
mov ebx, dword [eax - 0x18]
mov eax, ebx
add ebx, ebx
add ebx, ebx
add ebx, ebx
sub ebx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0xd0]
mov esi, dword [eax + ebx*8]
test esi, esi
je 0x54e5fc
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
push esi
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0xd0]
lea eax, [eax + ebx*8 + 0xc]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, eax
shl eax, 8
sub eax, edx
mov ecx, 0x64
cdq
idiv ecx
push eax
mov eax, dword [ebp + 8]
fild dword [eax - 0x30]
fld dword [0x54ea74]
call fcn.0040490c
fsubr dword [0x54ea78]
call fcn.00404780
mov edx, eax
shl eax, 8
sub eax, edx
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x1c]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x2c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.004f2dd0
jmp 0x54ea6b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x198]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0xd0]
lea eax, [eax + ebx*8 + 0xc]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, eax
shl eax, 8
sub eax, edx
mov ecx, 0x64
cdq
idiv ecx
push eax
mov eax, dword [ebp + 8]
fild dword [eax - 0x30]
fld dword [0x54ea74]
call fcn.0040490c
fsubr dword [0x54ea78]
call fcn.00404780
mov edx, eax
shl eax, 8
sub eax, edx
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x1c]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x2c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.004f2dd0
jmp 0x54ea6b
mov eax, dword [ebp + 8]
lea esi, [eax - 0x2c]
lea edi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
jle 0x54e7aa
mov eax, dword [ebp + 8]
cmp dword [eax - 0x18], 0xffffffff
jle 0x54e78c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0xd0]
call fcn.0040861c
mov edx, dword [ebp + 8]
cmp eax, dword [edx - 0x18]
jle 0x54e78c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x14]
mov edx, dword [edx + 0xd0]
movzx edx, word [edx + eax*8 + 0x1e]
test dl, dl
je 0x54e722
mov edx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x14]
mov edx, dword [edx + 0xd0]
lea edx, [edx + eax*8]
push edx
mov edx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x14]
mov edx, dword [edx + 0xd0]
movsx eax, word [edx + eax*8 + 0x22]
mov edx, dword [0x62edd8]
movzx eax, byte [edx + eax]
push eax
mov ecx, dword [0x62f190]
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0056baf0
jmp 0x54e785
mov eax, dword [ebp + 8]
mov ebx, dword [eax - 0x18]
mov eax, ebx
add ebx, ebx
add ebx, ebx
add ebx, ebx
sub ebx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0xd0]
lea eax, [eax + ebx*8]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0xd0]
movsx eax, word [eax + ebx*8 + 0x22]
mov edx, dword [0x62edd8]
movzx eax, byte [edx + eax]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0045f8dc
mov edx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x14]
mov edx, dword [edx + 0xd0]
mov ecx, dword [edx + ebx*8]
lea edx, [ebp - 0x1c]
call fcn.0056b488
mov eax, dword [ebp + 8]
mov byte [eax - 5], 1
cmp dword [ebp - 0x14], 0xffffffff
je 0x54e7aa
push 0xff
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x34]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
lea edx, [ebp - 0x1c]
call fcn.0054a328
mov eax, dword [ebp + 8]
cmp dword [eax - 0x10], 0
jle 0x54e938
mov eax, dword [ebp + 8]
cmp byte [eax - 5], 0
je 0x54e8e8
mov eax, dword [ebp + 8]
add eax, 0xffffffd4
mov dl, 1
call fcn.00594f4c
push eax
mov eax, dword [ebp + 8]
add eax, 0xffffffd4
mov dl, 1
call fcn.00594f38
pop edx
call fcn.0056afdc
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x54e8e1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
call fcn.00406584
call fcn.00407190
test eax, eax
jle 0x54e841
push 0
push 0
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0040ab40
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.004f2384
jmp 0x54e85a
push 0xff
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x34]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.0054a328
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0040ab40
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x34]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x28]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x2c]
call fcn.0040ab70
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, eax
shl eax, 8
sub eax, edx
mov ecx, 0x64
cdq
idiv ecx
mov edx, 0xff
call fcn.0040e468
xor edx, edx
call fcn.0040e530
mov ecx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
call fcn.005684e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54e938
lea eax, [ebp - 0xc]
call fcn.0041ca80
ret
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
call fcn.00406584
call fcn.00407190
test eax, eax
jle 0x54e918
push 0
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x1c]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x2c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.004f2384
jmp 0x54e938
push 0xff
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x34]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x2c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0054a328
jmp 0x54ea6b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov edx, dword [ebp + 8]
add eax, dword [edx - 0xc]
sub eax, 1
jb 0x54e97b
sub eax, 0x63
jae 0x54ea6b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x34]
push eax
mov eax, dword [ebp + 8]
movzx ecx, byte [eax - 0x10]
mov eax, dword [ebp + 8]
add cl, byte [eax - 0xc]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x2c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0054a1a4
jmp 0x54ea6b
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
call fcn.005496ec
mov edx, dword [ebp + 8]
mov dword [edx - 0x38], eax
mov eax, dword [ebp + 8]
cmp dword [eax - 0x38], 0
je 0x54ea3a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
sub eax, 1
jb 0x54e9b0
sub eax, 0x63
je 0x54e9d0
jmp 0x54e9f0
push 0xff
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x34]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x2c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0054a328
jmp 0x54ea6b
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 0x35]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x34]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x2c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0054a328
jmp 0x54ea6b
mov eax, dword [ebp + 8]
mov dl, 0x64
sub dl, byte [eax - 0x30]
push edx
mov eax, dword [ebp + 8]
mov edx, 0x64
sub edx, dword [eax - 0x30]
mov eax, edx
shl eax, 8
sub eax, edx
mov ecx, 0x64
cdq
idiv ecx
mov edx, eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 0x35]
call fcn.0040e530
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x34]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x2c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0054a3dc
jmp 0x54ea6b
mov eax, dword [ebp + 8]
mov edx, 0x64
sub edx, dword [eax - 0x30]
mov eax, edx
shl eax, 8
sub eax, edx
mov ecx, 0x64
cdq
idiv ecx
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x34]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x2c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0054a328
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret