Function at 0x10036fa0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005ade9
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1006a040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x101382a4]
mov ebx, dword [0x10138308]
mov dword [ebp - 0x28], ebx
mov ecx, dword [eax + 0x74]
test ecx, ecx
je 0x1003772b
call fcn.10002f70
test al, al
je 0x1003772b
mov esi, dword [0x101382a4]
cmp dword [esi + 0x78], 0
je 0x1003772b
mov eax, dword [0x101382c4]
xor ecx, ecx
cmp byte [eax + 0x223], cl
setne cl
cmp byte [eax + 0x35], 0
mov eax, dword [esi + 0xd8]
lea edx, [ecx + 1]
cmove edx, ecx
mov ecx, dword [esi + 0x68]
add eax, 0x14
imul edx, eax
push ecx
mov eax, dword [ecx]
mov dword [esp], 0x3f800000
mov eax, dword [eax + 0x1b0]
movd xmm0, edx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x10062c40]
movss dword [ebp - 0x24], xmm0
call eax
mov ecx, dword [0x101382a4]
mov eax, dword [0x101382c4]
movd xmm0, dword [ecx + 0x1b4]
cmp byte [eax + 0x222], 0
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x10062c40]
subss xmm0, dword [ebp - 0x24]
movss dword [ebp - 0x1c], xmm0
je 0x100374db
mov edx, dword [ecx + 0x17c]
test edx, edx
jg 0x1003709d
mov eax, dword [ecx + 8]
mov esi, dword [eax + 0x4b28]
mov dword [ebp - 0x24], esi
jmp 0x100370a2
mov esi, edx
mov dword [ebp - 0x24], edx
mov eax, dword [ecx + 0x2c]
sub esp, 8
movd xmm0, edx
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x18], 0xffffffff
mulss xmm0, dword [eax + 0x1c]
lea eax, [ebp - 0x18]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push esi
push 0x1005d464
push eax
push dword [ecx + 0x120]
push 0
push 0x280
push 0x382
push dword [0x101382cc]
call fcn.10003a30
mov eax, dword [0x101382a4]
add esp, 0x28
movss xmm2, dword [ebp - 0x1c]
movd xmm0, dword [eax + 0x114]
mov ecx, dword [eax + 0x68]
cvtdq2ps xmm0, xmm0
push 0
push 0
mov eax, dword [ecx]
push 0
push 0x52
addss xmm2, xmm0
mov eax, dword [eax + 0x2c]
movss dword [ebp - 0x1c], xmm2
call eax
mov eax, dword [0x101382a4]
push 0x29f
push 0x408
push 0x280
mov ecx, dword [eax + 0x68]
push 0x379
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov eax, dword [0x10136ca8]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + eax*4]
mov eax, dword [0x10136d38]
cmp eax, dword [ecx + 4]
jle 0x100371a1
push 0x10136d38
call fcn.10056870
add esp, 4
cmp dword [0x10136d38], 0xffffffff
jne 0x100371a1
push str.m_iItemDefinitionIndex
push str.CEconEntity
mov dword [ebp - 4], 0
call fcn.10052870
push 0x10136d38
mov dword [0x10136cc0], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1005681f
add esp, 4
movss xmm2, dword [0x10062c4c]
lea ebx, [ebp - 0x14]
mov eax, dword [0x101382c4]
xor ecx, ecx
mov edi, dword [0x101382a4]
xorps xmm0, xmm0
movd xmm1, esi
cvtdq2ps xmm1, xmm1
cmp byte [eax + 0x1cc], cl
mov edx, dword [edi + 0x180]
sete cl
mov dword [ebp - 0x20], 0x63
add ecx, 0x14
mov dword [ebp - 0x18], 0
add edx, 0xffffffe8
mov dword [ebp - 0x2c], ecx
subss xmm1, xmm2
add edx, ecx
mov eax, edx
mov dword [ebp - 0x14], edx
shr eax, 0x1f
lea ecx, [ebp - 0x18]
test al, al
lea eax, [ebp - 0x20]
push 0xff
divss xmm1, dword [0x10062cbc]
cmove ecx, ebx
cmp edx, 0x63
lea edx, [ebp - 0x20]
cmovle eax, ecx
lea ecx, [ebp - 0x14]
push 0xc8
push 0xc8
push 0xc8
mov ebx, dword [eax]
mov dword [ebp - 0x18], 0x3f800000
mov dword [ebp - 0x20], 0
comiss xmm0, xmm1
movss dword [ebp - 0x14], xmm1
seta al
test al, al
cmove edx, ecx
lea ecx, [ebp - 0x18]
comiss xmm1, xmm2
seta al
test al, al
cmove ecx, edx
movss xmm0, dword [ecx]
mulss xmm0, dword [0x10062d14]
mov ecx, dword [edi + 0x68]
addss xmm0, xmm2
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
cvttss2si esi, xmm0
call eax
mov eax, dword [0x101382a4]
add esi, 0x383
push 1
push 0
push 0xff
mov ecx, dword [eax + 0x68]
push 0x2c1
push esi
push 0x2bc
mov eax, dword [ecx]
push 0x383
mov eax, dword [eax + 0x1d8]
call eax
mov eax, dword [0x101382a4]
push 0xff
push 0xa8
push 0x8f
mov ecx, dword [eax + 0x68]
push 0xe8
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
mov eax, dword [0x101382a4]
mov ecx, dword [eax + 0x68]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1d8]
push 1
push 0xff
push 0
push 0x2c1
push esi
push 0x2bc
push 0x383
call eax
mov eax, dword [0x101382a4]
push 0xb4
push 0x41
push 0x41
mov ecx, dword [eax + 0x68]
push 0x41
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
mov eax, dword [0x101382a4]
push 0x2c1
push 0x419
push 0x2a3
mov ecx, dword [eax + 0x68]
push 0x383
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x101382a4]
sub esp, 8
mov dword [ebp - 0x18], 0xffffffff
movd xmm0, dword [ecx + 0x17c]
mov eax, dword [ecx + 0x2c]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x1c]
lea eax, [ebp - 0x18]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push dword [ebp - 0x24]
push str.Charge
push eax
push dword [ecx + 0xf8]
push 0
push 0x2a6
push 0x38e
push dword [0x101382cc]
call fcn.10003a30
add esp, 0x28
test ebx, ebx
jle 0x10037401
mov edi, dword [0x101382a4]
lea ecx, [ebp - 0x20]
mov eax, dword [edi + 0x180]
lea edx, [edi + 0x180]
push dword [ebp - 0x2c]
shr eax, 0x1f
test al, al
mov dword [ebp - 0x14], 0x18
lea eax, [ebp - 0x14]
mov dword [ebp - 0x20], 0
cmove ecx, edx
mov dword [ebp - 0x18], 0xff0000b4
cmp dword [edx], 0x18
cmovle eax, ecx
mov ecx, 0x18
sub ecx, dword [eax]
lea eax, [ebp - 0x18]
push ecx
push str._____________CHARGE
push eax
push dword [edi + 0xf8]
push 0
push 0x2a6
push 0x3b1
push dword [0x101382cc]
call fcn.10003a30
add esp, 0x24
jmp 0x100374c0
mov eax, dword [0x101382c4]
cmp byte [eax + 0x225], 0
jne 0x1003748b
mov edx, dword [0x10136ca8]
mov edi, dword fs:[0x2c]
mov eax, dword [0x101382a4]
mov ecx, dword [edi + edx*4]
mov esi, dword [eax + 0x74]
mov eax, dword [0x10136e44]
cmp eax, dword [ecx + 4]
jle 0x10037479
push 0x10136e44
call fcn.10056870
add esp, 4
cmp dword [0x10136e44], 0xffffffff
jne 0x10037479
push str.m_fFlags
push str.CBasePlayer
mov dword [ebp - 4], 1
call fcn.10052870
push 0x10136e44
mov dword [0x10136e40], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1005681f
add esp, 4
mov eax, dword [0x10136e40]
mov dword [ebp - 0x18], 0xff0000b4
test byte [esi + eax], 1
je 0x10037492
mov dword [ebp - 0x18], 0xff00aa00
mov eax, dword [0x101382a4]
lea ecx, [ebp - 0x18]
push str._____________CHARGE
push ecx
push dword [eax + 0xf8]
push 0
push 0x2a6
push 0x3b1
push dword [0x101382cc]
call fcn.10003a30
add esp, 0x1c
movss xmm0, dword [ebp - 0x1c]
addss xmm0, dword [0x10062ca8]
mov ecx, dword [0x101382a4]
mov ebx, dword [ebp - 0x28]
movss dword [ebp - 0x1c], xmm0
push dword [ecx + 0x20c]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0xff00ff00
push str.FPS___i
push eax
push dword [ecx + 0xf8]
push 0
push 0x64
push 0x25
push dword [0x101382cc]
call fcn.10003a30
mov ecx, dword [0x101382a4]
add esp, 0x18
mov dword [ebp - 0x18], 0xffb65c00
movd xmm1, dword [ecx + 0xd8]
movd xmm0, dword [ecx + 0x13c]
mov eax, dword [ecx + 0x2c]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
addss xmm1, dword [ebp - 0x1c]
addss xmm1, xmm0
movd xmm0, dword [ecx + 0x17c]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x28], xmm1
mulss xmm0, dword [eax + 0x1c]
lea eax, [ebp - 0x18]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push 0x1005d464
push eax
push dword [ecx + 0x148]
push 0
push 0x3e8
push 0x25
push dword [0x101382cc]
call fcn.10003a30
mov eax, dword [0x101382a4]
lea ecx, [ebp - 0x18]
add esp, 0x24
mov dword [ebp - 0x18], 0x370000ff
movd xmm0, dword [eax + 0x13c]
push 0x1005dacc
push ecx
push dword [eax + 0x148]
cvtdq2ps xmm0, xmm0
push 0
push 0x23
push 0x14
push dword [0x101382cc]
addss xmm0, dword [ebp - 0x28]
movss dword [ebp - 0x1c], xmm0
call fcn.10003e50
mov eax, dword [0x10136ca8]
add esp, 0x1c
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x10136d00]
cmp eax, dword [ecx + 4]
jle 0x10037622
push 0x10136d00
call fcn.10056870
add esp, 4
cmp dword [0x10136d00], 0xffffffff
jne 0x10037622
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 2
call fcn.10052870
push 0x10136d00
mov dword [0x10136cf8], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1005681f
add esp, 4
movss xmm0, dword [ebp - 0x1c]
addss xmm0, dword [0x10062cbc]
mov edx, dword [0x101382c4]
cmp byte [edx + 0x220], 0
movss dword [ebp - 0x1c], xmm0
je 0x10037660
mov eax, dword [0x101382a4]
mov ecx, dword [eax + 0x78]
mov eax, dword [ecx]
mov eax, dword [eax + 0x528]
call eax
mov edx, dword [0x101382c4]
movss xmm0, dword [ebp - 0x1c]
cmp byte [edx + 0x1cb], 0
je 0x10037711
cmp byte [ebx + 8], 0
je 0x10037711
cmp dword [0x10136334], 0xf
mov ecx, str.temp
mov eax, 0x10136308
cmova ecx, dword [str.temp]
cmp dword [0x1013631c], 0xf
push ecx
cmova eax, dword [0x10136308]
push eax
push str.Kick_called_on__s_by__s
lea eax, [edx + 0x258]
push eax
mov eax, dword [0x101382a4]
push dword [eax + 0xe4]
cvttss2si eax, xmm0
push 0
push eax
push 0x25
push dword [0x101382cc]
call fcn.10003a30
mov eax, dword [0x101382c4]
add esp, 0x24
movss xmm0, dword [ebp - 0x1c]
add eax, 0x258
addss xmm0, dword [0x10062cac]
push dword [ebx + 4]
push dword [ebx]
push str.Yes___i____No___i
push eax
mov eax, dword [0x101382a4]
push dword [eax + 0xe4]
cvttss2si eax, xmm0
push 0
push eax
push 0x25
push dword [0x101382cc]
call fcn.10003a30
add esp, 0x24
mov eax, dword [0x101382a4]
mov ecx, dword [eax + 0x68]
push ecx
mov dword [esp], 0x3f800000
mov eax, dword [ecx]
mov eax, dword [eax + 0x1b0]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100567e6
mov esp, ebp
pop ebp
ret