Function at 0x538c70
Capabilities:
Get number of processors

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x2b9ae3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x1a8
push esi
push edi
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.0048ca80
mov byte [ebp - 4], 2
sub esp, 0x18
lea eax, [ebx + 8]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00487fb0
mov byte [ebp - 4], 3
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.005590c0
add esp, 0x18
mov byte [ebp - 4], 4
lea eax, [ebx + 8]
cmp dword [ebx + 0x1c], 0xf
cmova eax, dword [ebx + 8]
push eax
call dword [0x2bd0b8]
push 0x64
lea eax, [ebp - 0xe0]
push 0
push eax
call fcn.004a75b0
add esp, 0xc
lea eax, [ebx + 0x20]
cmp dword [ebx + 0x34], 0xf
cmova eax, dword [ebx + 0x20]
push dword [ebx + 0x30]
push eax
lea eax, [ebp - 0xe0]
push eax
call fcn.004a6e70
add esp, 0xc
lea eax, [ebp - 0x148]
push 0x64
push 0
push eax
call fcn.004a75b0
add esp, 0xc
mov eax, 0x2e6da4
cmp dword [0x2e6db8], 0xf
cmova eax, dword [0x2e6da4]
push dword [0x2e6db4]
push eax
lea eax, [ebp - 0x148]
push eax
call fcn.004a6e70
add esp, 0xc
lea eax, [ebp - 0x1b0]
push 0x64
push 0
push eax
call fcn.004a75b0
add esp, 0xc
mov eax, 0x2e93dc
cmp dword [0x2e93f0], 0xf
cmova eax, dword [0x2e93dc]
push dword [0x2e93ec]
push eax
lea eax, [ebp - 0x1b0]
push eax
call fcn.004a6e70
mov eax, dword [ebp - 0x48]
add esp, 0xc
mov ecx, dword [ebp - 0x20]
mov eax, dword [eax + 0x10]
mov edx, dword [ecx + 0x10]
add eax, 0x12c
cmp eax, edx
ja 0x538dc0
mov dword [ecx + 0x10], eax
cmp dword [ecx + 0x14], 0xf
jbe 0x538dba
mov ecx, dword [ecx]
mov byte [ecx + eax], 0
jmp 0x538dca
push 0
sub eax, edx
push eax
call fcn.0048a9c0
mov edi, dword [ebp - 0x20]
cmp dword [edi + 0x14], 0xf
jbe 0x538dd5
mov edi, dword [edi]
mov ecx, 0x19
lea esi, [ebp - 0xe0]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x20]
cmp dword [edi + 0x14], 0xf
jbe 0x538ded
mov edi, dword [edi]
add edi, 0x64
lea esi, [ebp - 0x148]
mov ecx, 0x19
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x20]
cmp dword [edi + 0x14], 0xf
jbe 0x538e08
mov edi, dword [edi]
add edi, 0xc8
lea esi, [ebp - 0x1b0]
mov ecx, 0x19
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x48]
mov edx, ecx
cmp dword [edx + 0x14], 0xf
jbe 0x538e28
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x14], 0xf
jbe 0x538e33
mov eax, dword [eax]
push dword [edx + 0x10]
add eax, 0x12c
push ecx
push eax
call fcn.004a6e70
add esp, 0xc
push 0
push 0x2bba
call fcn.0055c020
mov edi, dword [0x2e5b24]
mov esi, eax
mov dword [ebp - 0x18], 0xdfabd1a4
sub esp, 0x10
mov dword [ebp - 0x14], 0xf940fadb
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], edx
mov edx, esp
mov dword [ebp - 0x18], 0x7dbb92e6
mov dword [ebp - 0x14], 0x14d846fe
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x18], 0xdf9be395
mov dword [ebp - 0x14], 0xf940fadb
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0x7dbb92e6
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x14], 0x14d846fe
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x14]
movaps xmm1, xmmword [ebp - 0x60]
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x38], eax
lea eax, [ecx + 1]
xorps xmm1, xmmword [ebp - 0x40]
movups xmmword [edx], xmm0
mov dword [ebp - 0x24], esp
movaps xmmword [ebp - 0x60], xmm1
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [ebp - 0x14], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x538ef2
sub ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x60]
push ecx
push eax
mov ecx, edx
call fcn.00474c40
mov byte [ebp - 4], 5
mov byte [ebp - 4], 4
mov edx, esi
mov ecx, edi
call fcn.0047ae80
push 0
push 0x2bbe
call fcn.0055c020
mov edi, dword [0x2e5b24]
add esp, 0x18
mov edx, esp
mov dword [ebp - 0x24], esp
mov esi, eax
mov dword [edx], 0
mov dword [edx + 4], 0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x538f4d
lock inc dword [ecx + 4]
mov eax, dword [ebp - 0x20]
mov dword [edx], eax
mov eax, dword [ebp - 0x1c]
mov dword [edx + 4], eax
mov byte [ebp - 4], 6
mov byte [ebp - 4], 4
mov edx, esi
mov ecx, edi
call fcn.0047ab20
push 0
push 0x2bba
call fcn.0055c020
mov edi, dword [0x2e5b24]
mov esi, eax
mov dword [ebp - 0x18], 0xdf9be3a6
sub esp, 8
mov dword [ebp - 0x14], 0xf940fadb
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], edx
mov edx, esp
mov dword [ebp - 0x18], 0x7dbb92e6
mov dword [ebp - 0x14], 0x14d846fe
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x18], 0xdf9be395
mov dword [ebp - 0x14], 0xf940fadb
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0x7dbb92e6
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x14], 0x14d846fe
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x14]
movaps xmm1, xmmword [ebp - 0x70]
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x38], eax
lea eax, [ecx + 1]
xorps xmm1, xmmword [ebp - 0x40]
movups xmmword [edx], xmm0
mov dword [ebp - 0x24], esp
movaps xmmword [ebp - 0x70], xmm1
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [ebp - 0x14], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x539016
sub ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x70]
push ecx
push eax
mov ecx, edx
call fcn.00474c40
mov byte [ebp - 4], 7
mov byte [ebp - 4], 4
mov edx, esi
mov ecx, edi
call fcn.0047ae80
add esp, 0x18
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x44]
or edi, 0xffffffff
test esi, esi
je 0x53906d
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x53906d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x53906d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x539096
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x539096
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x539096
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0
lea ecx, [ebx + 8]
call fcn.004749f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0x20]
call fcn.004749f0
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret