Function at 0x52c310
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x53f530
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], eax
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x18], 6
movdqa xmm0, xmmword [0x799710]
movdqu xmmword [ecx + 8], xmm0
pxor xmm0, xmm0
mov dword [ebp - 0x20], ecx
movdqu xmmword [ecx + 0x20], xmm0
mov ecx, 8
call fcn.0053d610
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], 0
call fcn.0053d6f0
mov esi, eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x24]
mov dword [edx + 4], esi
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x30], edx
mov dword [ecx + 0x38], eax
mov dword [ecx + 0x3c], 0
mov dword [ebp - 0x34], esi
mov eax, dword [esi]
mov edi, dword [eax + 4]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, edi
call dword [0xb0836c]
mov ecx, esi
call edi
mov dword [ebp - 0x10], 1
lea eax, [ebp - 0x38]
push eax
call fcn.0052d780
add esp, 4
mov esi, eax
mov eax, dword [eax]
mov edi, dword [eax + 0x30]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, edi
call dword [0xb0836c]
mov dword [ebp - 0x10], 1
mov ecx, esi
push 0x20
call edi
mov esi, eax
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x52c429
mov eax, dword [edi]
mov ebx, dword [eax + 8]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, ebx
call dword [0xb0836c]
mov ecx, edi
call ebx
test eax, eax
je 0x52c429
mov edi, eax
mov eax, dword [eax]
mov ebx, dword [eax]
mov ecx, ebx
call dword [0xb0836c]
mov ecx, edi
push 1
call ebx
mov ecx, dword [ebp - 0x20]
mov word [ecx + 0x40], si
cmp dword [ecx + 0x38], 0
jne 0x52c449
mov edx, dword [ecx + 0xc]
and edx, 0x13
or edx, 4
mov dword [ecx + 0xc], edx
mov ebx, dword [ecx + 0x10]
and edx, ebx
jne 0x52c46e
cmp byte [ebp + 0xc], 0
je 0x52c45b
mov dword [ebp - 0x10], 0xffffffff
call fcn.0053df70
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret 8
movzx eax, byte [0xb0a136]
cmp al, 0xa6
je 0x52c4d0
mov ah, 0x60
mov al, 0x64
lock cmpxchg byte [0xb0a136], ah
je 0x52c48d
cmp al, 0xa6
jne 0x52c47b
jmp 0x52c4d0
movaps xmm0, xmmword [0xb0a120]
xorps xmm0, xmmword [0x7996b0]
movaps xmmword [0xb0a120], xmm0
movdqa xmm0, xmmword [0xb0a130]
pxor xmm0, xmmword [0x7996c0]
movd dword [0xb0a130], xmm0
xor byte [0xb0a134], 0x13
xor byte [0xb0a135], 0x18
mov al, 0xa6
xchg byte [0xb0a136], al
movzx eax, byte [0xb0a155]
cmp al, 0xd0
je 0x52c52e
mov ah, 0x59
mov al, 0xaa
lock cmpxchg byte [0xb0a155], ah
je 0x52c4ef
cmp al, 0xd0
jne 0x52c4dd
jmp 0x52c52e
movdqa xmm0, xmmword [0xb0a140]
paddb xmm0, xmmword [0x7996d0]
movdqa xmmword [0xb0a140], xmm0
movdqa xmm0, xmmword [0xb0a150]
paddb xmm0, xmmword [0x7996e0]
movd dword [0xb0a150], xmm0
add byte [0xb0a154], 0xad
mov al, 0xd0
xchg byte [0xb0a155], al
movzx eax, byte [0xb0a115]
cmp al, 0xcd
je 0x52c593
mov ah, 0x2e
mov al, 3
lock cmpxchg byte [0xb0a115], ah
je 0x52c54d
cmp al, 0xcd
jne 0x52c53b
jmp 0x52c593
movdqa xmm0, xmmword [0xb0a100]
paddb xmm0, xmmword [0x7996f0]
movdqa xmmword [0xb0a100], xmm0
movdqa xmm0, xmmword [0xb0a110]
paddb xmm0, xmmword [0x799700]
movd dword [0xb0a110], xmm0
add byte [0xb0a114], 0x9c
mov al, 0xcd
xchg byte [0xb0a115], al
mov dword [ebp - 0x10], 0xffffffff
test dl, 2
mov eax, 0xb0a140
mov edx, 0xb0a120
cmove edx, eax
test bl, 4
mov esi, 0xb0a100
cmove esi, edx
lea edi, [ebp - 0x40]
push 1
push edi
call fcn.0052c870
add esp, 8
mov dword [ebp - 0x10], 0xffffffff
lea ebx, [ebp - 0x38]
mov ecx, ebx
push edi
push esi
call fcn.0052c8d0
push 0xaf2718
push ebx
call fcn.0077d4eb
nop word [eax + eax]
push ebp
sub esp, 8
add ebp, 0xc
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x52c617
mov eax, dword [esi]
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0xb0836c]
mov ecx, esi
call edi
test eax, eax
je 0x52c617
mov esi, eax
mov eax, dword [eax]
mov edi, dword [eax]
mov ecx, edi
call dword [0xb0836c]
mov ecx, esi
push 1
call edi
add esp, 8
pop ebp
ret