Function at 0x5ce8b0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x66bba8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x70903c]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov esi, ecx
push 8
xor ebx, ebx
push str.duration
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00417040
mov edi, dword [esp + 0x5c]
lea eax, [esi + 0x24]
push eax
lea eax, [esp + 0x18]
push eax
mov ecx, edi
mov dword [esp + 0x5c], ebx
call fcn.00567d50
test eax, eax
sete byte [esp + 0x5c]
or ebp, 0xffffffff
cmp dword [esp + 0x2c], 0x10
mov dword [esp + 0x54], ebp
jb 0x5ce935
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00613a18
add esp, 4
cmp byte [esp + 0x5c], bl
je 0x5ce940
fld1
fstp dword [esi + 0x24]
push 8
push str.loopflag
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00417040
lea eax, [esi + 0x60]
push eax
lea edx, [esp + 0x18]
push edx
mov ecx, edi
mov dword [esp + 0x5c], 1
call fcn.00567cd0
test eax, eax
sete byte [esp + 0x5c]
cmp dword [esp + 0x2c], 0x10
mov dword [esp + 0x54], ebp
jb 0x5ce997
mov eax, dword [esp + 0x18]
push eax
call fcn.00613a18
add esp, 4
cmp byte [esp + 0x5c], bl
je 0x5ce9a0
mov dword [esi + 0x60], ebx
push 9
push str.loopcount
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00417040
lea eax, [esi + 0x64]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
mov dword [esp + 0x5c], 2
call fcn.00567cd0
test eax, eax
sete byte [esp + 0x5c]
cmp dword [esp + 0x2c], 0x10
mov dword [esp + 0x54], ebp
jb 0x5ce9f7
mov edx, dword [esp + 0x18]
push edx
call fcn.00613a18
add esp, 4
cmp byte [esp + 0x5c], bl
je 0x5cea00
mov dword [esi + 0x64], ebx
push 0xc
push str.ambientcolor
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00417040
lea eax, [esi + 0x40]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
mov dword [esp + 0x5c], 3
call fcn.00567f30
test eax, eax
sete byte [esp + 0x5c]
cmp dword [esp + 0x2c], 0x10
mov dword [esp + 0x54], ebp
jb 0x5cea57
mov edx, dword [esp + 0x18]
push edx
call fcn.00613a18
add esp, 4
cmp byte [esp + 0x5c], bl
je 0x5cea64
xor eax, eax
jmp 0x5cec1b
push 0xc
push str.diffusecolor
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00417040
lea eax, [esi + 0x50]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
mov dword [esp + 0x5c], 4
call fcn.00567f30
test eax, eax
sete byte [esp + 0x5c]
cmp dword [esp + 0x2c], 0x10
mov dword [esp + 0x54], ebp
jb 0x5ceabb
mov edx, dword [esp + 0x18]
push edx
call fcn.00613a18
add esp, 4
cmp byte [esp + 0x5c], bl
jne 0x5cea5d
push 8
push str.maxrange
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00417040
lea eax, [esi + 0x20]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
mov dword [esp + 0x5c], 5
call fcn.00567d50
test eax, eax
sete byte [esp + 0x5c]
cmp dword [esp + 0x2c], 0x10
mov dword [esp + 0x54], ebp
jb 0x5ceb18
mov edx, dword [esp + 0x18]
push edx
call fcn.00613a18
add esp, 4
cmp byte [esp + 0x5c], bl
jne 0x5cea5d
push str.attenuation0
lea ecx, [esp + 0x18]
call fcn.00417170
lea eax, [esi + 0x68]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
mov dword [esp + 0x5c], 6
call fcn.00567d50
test eax, eax
sete byte [esp + 0x5c]
cmp dword [esp + 0x2c], 0x10
mov dword [esp + 0x54], ebp
jb 0x5ceb67
mov edx, dword [esp + 0x18]
push edx
call fcn.00613a18
add esp, 4
cmp byte [esp + 0x5c], bl
jne 0x5cea5d
push str.attenuation1
lea ecx, [esp + 0x18]
call fcn.00417170
lea eax, [esi + 0x6c]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
mov dword [esp + 0x5c], 7
call fcn.00567d50
test eax, eax
lea ecx, [esp + 0x14]
sete byte [esp + 0x5c]
mov dword [esp + 0x54], ebp
call fcn.005d2b30
cmp byte [esp + 0x5c], bl
jne 0x5cea5d
push str.attenuation2
lea ecx, [esp + 0x34]
call fcn.00417170
lea edx, [esi + 0x70]
push edx
lea eax, [esp + 0x34]
push eax
mov ecx, edi
mov dword [esp + 0x5c], 8
call fcn.00567d50
test eax, eax
lea ecx, [esp + 0x30]
sete byte [esp + 0x5c]
mov dword [esp + 0x54], ebp
call fcn.005d2b30
cmp byte [esp + 0x5c], bl
jne 0x5cea5d
add esi, 0x28
push esi
push str.timeeventrange
push edi
call fcn.005cfe90
add esp, 0xc
test eax, eax
jne 0x5cec16
mov ecx, esi
call fcn.00518720
mov eax, 1
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 4