Function at 0x5c1d20
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x66b310
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x70903c]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebp, ecx
push 0xc
xor esi, esi
push str.meshfilename
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], esi
mov byte [esp + 0x30], 0
call fcn.00417040
mov edi, dword [esp + 0x88]
mov dword [esp + 0x80], esi
lea esi, [ebp + 0x44]
push esi
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call fcn.00568010
mov ebx, 0x10
mov dword [esp + 0x88], eax
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x3c], ebx
jb 0x5c1db4
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00613a18
add esp, 4
cmp dword [esp + 0x88], 0
je 0x5c23f6
cmp dword [esi + 0x18], ebx
jb 0x5c1dcc
mov eax, dword [esi + 4]
jmp 0x5c1dcf
lea eax, [esi + 4]
push eax
call fcn.00587680
add esp, 4
test al, al
jne 0x5c1e30
push esi
mov ecx, edi
call fcn.005673b0
push eax
call fcn.00587a60
add esp, 4
push eax
lea edx, [esp + 0x48]
push edx
call fcn.00416aa0
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
mov dword [esp + 0x8c], 1
call fcn.00417560
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x58], ebx
jb 0x5c1e30
mov eax, dword [esp + 0x44]
push eax
call fcn.00613a18
add esp, 4
push 0x17
mov esi, 0xf
push str.meshanimationloopenable
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
call fcn.00417040
lea ecx, [ebp + 0x20]
push ecx
lea edx, [esp + 0x28]
push edx
mov ecx, edi
mov dword [esp + 0x88], 2
call fcn.00567cd0
test eax, eax
sete byte [esp + 0x88]
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x3c], ebx
jb 0x5c1e99
mov eax, dword [esp + 0x28]
push eax
call fcn.00613a18
add esp, 4
cmp byte [esp + 0x88], 0
jne 0x5c23f6
push 0x16
push str.meshanimationloopcount
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
call fcn.00417040
lea esi, [ebp + 0x24]
push esi
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
mov dword [esp + 0x88], 3
call fcn.00567cd0
test eax, eax
sete byte [esp + 0x88]
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x3c], ebx
jb 0x5c1f0b
mov edx, dword [esp + 0x28]
push edx
call fcn.00613a18
add esp, 4
cmp byte [esp + 0x88], 0
je 0x5c1f1b
mov dword [esi], 0
push 0x17
push str.meshanimationframedelay
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
call fcn.00417040
lea eax, [ebp + 0x28]
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
mov dword [esp + 0x88], 4
call fcn.00567d50
test eax, eax
sete byte [esp + 0x88]
or esi, 0xffffffff
mov dword [esp + 0x80], esi
cmp dword [esp + 0x3c], ebx
jb 0x5c1f82
mov edx, dword [esp + 0x28]
push edx
call fcn.00613a18
add esp, 4
cmp byte [esp + 0x88], 0
jne 0x5c23f6
push str.meshelementcount
lea ecx, [esp + 0x44]
call fcn.00417170
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, edi
mov dword [esp + 0x88], 5
call fcn.00567d40
test eax, eax
sete byte [esp + 0x88]
mov dword [esp + 0x80], esi
cmp dword [esp + 0x58], ebx
jb 0x5c1fde
mov edx, dword [esp + 0x44]
push edx
call fcn.00613a18
add esp, 4
cmp byte [esp + 0x88], 0
jne 0x5c23f6
add ebp, 0x2c
mov ecx, ebp
call fcn.005bf8b0
mov eax, dword [esp + 0x1c]
push eax
mov ecx, ebp
call fcn.005c03e0
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov ecx, edx
xor esi, esi
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x14], esi
je 0x5c23dd
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], esi
lea ebx, [esi + 6]
jmp 0x5c2036
mov esi, dword [esp + 0x14]
push esi
mov ecx, edi
call fcn.00567350
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x80], ebx
cmp esi, eax
jb 0x5c2065
call fcn.00615e0c
mov esi, dword [ebp + 0xc]
add esi, dword [esp + 0x18]
push 0xd
push str.billboardtype
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], 0
mov byte [esp + 0x4c], 0
call fcn.00417040
push esi
lea ecx, [esp + 0x44]
push ecx
mov ecx, edi
mov byte [esp + 0x88], 7
call fcn.00567bf0
test eax, eax
sete byte [esp + 0x88]
cmp dword [esp + 0x58], 0x10
mov byte [esp + 0x80], bl
jb 0x5c20cb
mov edx, dword [esp + 0x44]
push edx
call fcn.00613a18
add esp, 4
cmp byte [esp + 0x88], 0
jne 0x5c23e4
push str.blendingenable
lea ecx, [esp + 0x44]
call fcn.00417170
lea eax, [esi + 4]
push eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, edi
mov byte [esp + 0x88], 8
call fcn.00567cd0
test eax, eax
sete byte [esp + 0x88]
cmp dword [esp + 0x58], 0x10
mov byte [esp + 0x80], bl
jb 0x5c2124
mov edx, dword [esp + 0x44]
push edx
call fcn.00613a18
add esp, 4
cmp byte [esp + 0x88], 0
jne 0x5c23e4
push str.blendingsrctype
lea ecx, [esp + 0x44]
call fcn.00417170
lea eax, [esi + 8]
push eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, edi
mov byte [esp + 0x88], 9
call fcn.00567bf0
test eax, eax
lea ecx, [esp + 0x40]
sete byte [esp + 0x88]
mov byte [esp + 0x80], bl
call fcn.005d2b30
cmp byte [esp + 0x88], 0
jne 0x5c23e4
push str.blendingdesttype
lea ecx, [esp + 0x44]
call fcn.00417170
lea edx, [esi + 9]
push edx
lea eax, [esp + 0x44]
push eax
mov ecx, edi
mov byte [esp + 0x88], 0xa
call fcn.00567bf0
test eax, eax
lea ecx, [esp + 0x40]
sete byte [esp + 0x88]
mov byte [esp + 0x80], bl
call fcn.005d2b30
cmp byte [esp + 0x88], 0
jne 0x5c23e4
push str.textureanimationloopenable
lea ecx, [esp + 0x44]
call fcn.00417170
lea ecx, [esi + 0x24]
push ecx
lea edx, [esp + 0x44]
push edx
mov ecx, edi
mov byte [esp + 0x88], 0xb
call fcn.00567cd0
test eax, eax
lea ecx, [esp + 0x40]
sete byte [esp + 0x88]
mov byte [esp + 0x80], bl
call fcn.005d2b30
cmp byte [esp + 0x88], 0
jne 0x5c23e4
push str.textureanimationframedelay
lea ecx, [esp + 0x44]
call fcn.00417170
lea eax, [esi + 0x28]
push eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, edi
mov byte [esp + 0x88], 0xc
call fcn.00567d50
test eax, eax
lea ecx, [esp + 0x40]
sete byte [esp + 0x88]
mov byte [esp + 0x80], bl
call fcn.005d2b30
cmp byte [esp + 0x88], 0
jne 0x5c23e4
push str.textureanimationstartframe
lea ecx, [esp + 0x44]
call fcn.00417170
lea eax, [esi + 0x2c]
push eax
lea edx, [esp + 0x44]
push edx
mov ecx, edi
mov byte [esp + 0x88], 0xd
call fcn.00567d40
test eax, eax
lea ecx, [esp + 0x40]
sete byte [esp + 0x88]
mov byte [esp + 0x80], bl
call fcn.005d2b30
cmp byte [esp + 0x88], 0
je 0x5c22bb
mov dword [esi + 0x2c], 0
push str.coloroperationtype
lea ecx, [esp + 0x44]
call fcn.00417170
lea eax, [esi + 0x10]
push eax
lea eax, [esp + 0x44]
push eax
mov ecx, edi
mov byte [esp + 0x88], 0xe
call fcn.00567bf0
test eax, eax
lea ecx, [esp + 0x40]
sete byte [esp + 0x88]
mov byte [esp + 0x80], bl
call fcn.005d2b30
cmp byte [esp + 0x88], 0
je 0x5c2309
mov byte [esi + 0x10], 4
push str.colorfactor
lea ecx, [esp + 0x60]
call fcn.00417170
lea eax, [esi + 0x14]
push eax
lea ecx, [esp + 0x60]
push ecx
mov ecx, edi
mov byte [esp + 0x88], 0xf
call fcn.00567f30
test eax, eax
lea ecx, [esp + 0x5c]
sete byte [esp + 0x88]
mov byte [esp + 0x80], bl
call fcn.005d2b30
cmp byte [esp + 0x88], 0
je 0x5c2381
fld1
fst dword [esp + 0x24]
mov edx, dword [esp + 0x24]
fst dword [esp + 0x28]
mov eax, dword [esp + 0x28]
fst dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
fstp dword [esp + 0x30]
mov dword [esi + 0x14], edx
mov edx, dword [esp + 0x30]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], edx
add esi, 0x30
push esi
push str.timeeventalpha
push edi
call fcn.005cfe90
add esp, 0xc
test eax, eax
jne 0x5c239e
mov ecx, esi
call fcn.00518720
mov ecx, edi
mov dword [esp + 0x80], 0xffffffff
call fcn.005671c0
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov esi, dword [esp + 0x14]
add dword [esp + 0x18], 0x48
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
mov dword [esp + 0x14], esi
cmp esi, eax
jb 0x5c2032
mov eax, 1
jmp 0x5c23f8
mov ecx, edi
mov dword [esp + 0x80], 0xffffffff
call fcn.005671c0
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 4