Function at 0x52b404
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 0x52b539
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
dec eax
sub eax, 0x63
jae 0x52b539
mov eax, dword [ebp + 8]
imul eax, dword [eax - 0x14], 0xd
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + 0x9c]
cmp word [edx + eax*4 + 0x22], 0
jne 0x52b539
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
cmp dword [eax + 0xc], 2
jge 0x52b539
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x14]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
call fcn.00547da8
test al, al
je 0x52b539
mov eax, dword [ebp + 8]
imul ecx, dword [eax - 0x14], 0xd
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x14]
mov eax, dword [esi + 0x9c]
mov ebx, dword [eax + ecx*4]
test ebx, ebx
je 0x52b4ea
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
push ebx
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x9c]
lea eax, [eax + ecx*4 + 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]
lea edx, [eax - 0x28]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 0x18]
call fcn.0051791c
jmp 0x52ba1c
mov eax, dword [ebp + 8]
mov eax, dword [esi + 0x140]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x9c]
lea eax, [eax + ecx*4 + 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]
lea edx, [eax - 0x28]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 0x18]
call fcn.0051791c
jmp 0x52ba1c
mov eax, dword [ebp + 8]
lea esi, [eax - 0x28]
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 0x52b6f9
mov eax, dword [ebp + 8]
cmp byte [eax - 0x29], 0
je 0x52b5c5
mov eax, dword [ebp + 8]
cmp dword [eax - 0x14], 0xffffffff
jle 0x52b6b3
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0xa0]
call fcn.00408ff8
mov edx, dword [ebp + 8]
cmp eax, dword [edx - 0x14]
jle 0x52b6b3
mov eax, dword [ebp + 8]
add eax, 0xffffffa0
push eax
push 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0045dbc4
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x14]
lea edx, [edx + edx*2]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0xa0]
mov ecx, dword [ecx + edx*4]
lea edx, [ebp - 0x1c]
call fcn.005339a8
mov eax, dword [ebp + 8]
mov byte [eax - 5], 1
jmp 0x52b6b3
mov eax, dword [ebp + 8]
cmp dword [eax - 0x14], 0xffffffff
jle 0x52b6b3
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x9c]
call fcn.00408ff8
mov edx, dword [ebp + 8]
cmp eax, dword [edx - 0x14]
jle 0x52b6b3
mov eax, dword [ebp + 8]
imul eax, dword [eax - 0x14], 0xd
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + 0x9c]
movzx edx, word [edx + eax*4 + 0x1e]
test dl, dl
je 0x52b652
mov edx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + 0x9c]
lea edx, [edx + eax*4]
push edx
mov edx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + 0x9c]
movsx eax, word [edx + eax*4 + 0x22]
mov edx, dword [0x5c277c]
movzx eax, byte [edx + eax]
push eax
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x74]
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00534010
jmp 0x52b6ac
mov eax, dword [ebp + 8]
imul ebx, dword [eax - 0x14], 0xd
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x9c]
lea eax, [eax + ebx*4]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x9c]
movsx eax, word [eax + ebx*4 + 0x22]
mov edx, dword [0x5c277c]
movzx eax, byte [edx + eax]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0045dbc4
mov edx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + 0x9c]
mov ecx, dword [edx + ebx*4]
lea edx, [ebp - 0x1c]
call fcn.005339a8
mov eax, dword [ebp + 8]
mov byte [eax - 5], 1
cmp dword [ebp - 0x14], 0xffffffff
je 0x52b6f9
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0045dcc4
cmp al, 7
jne 0x52b6dc
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x78]
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0055626c
jmp 0x52b6f9
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0045dbc4
call fcn.0045832c
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 0x78]
lea edx, [ebp - 0x1c]
call fcn.0052e77c
mov eax, dword [ebp + 8]
cmp dword [eax - 0x10], 0
jle 0x52b8d4
mov eax, dword [ebp + 8]
cmp byte [eax - 5], 0
je 0x52b85e
mov eax, dword [ebp + 8]
add eax, 0xffffffd8
mov dl, 1
call fcn.005830fc
push eax
mov eax, dword [ebp + 8]
add eax, 0xffffffd8
mov dl, 1
call fcn.005830e8
pop edx
call fcn.005334fc
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x52b857
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
call fcn.00406c54
call fcn.00407b38
test eax, eax
jle 0x52b790
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.0040b500
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.00516ed0
jmp 0x52b7d0
mov eax, dword [ebp - 0xc]
call fcn.0045dcc4
cmp al, 7
jne 0x52b7b2
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x78]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0055626c
jmp 0x52b7d0
mov eax, dword [ebp - 0xc]
call fcn.0045dbc4
call fcn.0045832c
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 0x78]
mov edx, dword [ebp + 8]
add edx, 0xffffffd8
call fcn.0052e77c
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.0040b500
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x34]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x24]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x28]
call fcn.0040b530
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.0040eb78
xor edx, edx
call fcn.0040ec40
mov ecx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
call fcn.005309a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52b8d4
lea eax, [ebp - 0xc]
call fcn.0041b7cc
ret
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
call fcn.00406c54
call fcn.00407b38
test eax, eax
jle 0x52b88e
push 0
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x18]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x28]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00516ed0
jmp 0x52b8d4
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0045dcc4
cmp al, 7
jne 0x52b8b4
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x78]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x28]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0055626c
jmp 0x52b8d4
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0045dbc4
call fcn.0045832c
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 0x78]
mov edx, dword [ebp + 8]
add edx, 0xffffffd8
call fcn.0052e77c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov edx, dword [ebp + 8]
add eax, dword [edx - 0xc]
sub eax, 1
jb 0x52b917
sub eax, 0x63
jae 0x52ba1c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x78]
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 - 0x28]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.005560e8
jmp 0x52ba1c
mov eax, dword [ebp + 8]
cmp byte [eax - 0x64], 0
jne 0x52b9d6
mov eax, dword [ebp + 8]
cmp dword [eax - 0x7c], 0
je 0x52b9d6
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x7c]
sub eax, 1
jb 0x52b943
sub eax, 0x63
je 0x52b951
jmp 0x52b95f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x68]
mov edx, dword [ebp + 8]
mov dword [edx - 0x80], eax
jmp 0x52b98e
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x78]
mov edx, dword [ebp + 8]
mov dword [edx - 0x80], eax
jmp 0x52b98e
mov eax, dword [ebp + 8]
fild dword [eax - 0x7c]
fld dword [0x52ba24]
call fcn.00404d00
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x68]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x78]
call fcn.0053353c
mov edx, dword [ebp + 8]
mov dword [edx - 0x80], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0045dcc4
cmp al, 7
jne 0x52b9b4
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x80]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x28]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0055626c
jmp 0x52ba1c
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0045dbc4
call fcn.0045832c
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 0x80]
mov edx, dword [ebp + 8]
add edx, 0xffffffd8
call fcn.0052e77c
jmp 0x52ba1c
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0045dcc4
cmp al, 7
jne 0x52b9fc
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x78]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x28]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0055626c
jmp 0x52ba1c
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0045dbc4
call fcn.0045832c
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 0x78]
mov edx, dword [ebp + 8]
add edx, 0xffffffd8
call fcn.0052e77c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret