Function at 0x1000cc20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, dword [0x10044040]
xor eax, esp
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [0x1006a9e8]
push edi
mov edi, ecx
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x38], eax
mov dword [esp + 0x10], edx
mov eax, dword [edi + 0xc]
mov dword [esp + 0x18], eax
test al, 0x20
jne 0x1000cc68
cmp dword [esi + 0x37b0], 0xffffffff
je 0x1000cc68
mov dl, 1
jmp 0x1000cc6a
xor dl, dl
mov eax, dword [esi + 0x46b8]
mov dword [esp + 0x24], eax
or eax, 0x10
cmp dword [esp + 0x30], 0
mov dword [esi + 0x46b8], eax
mov eax, dword [esp + 0x10]
mov dword [edi + 0x148], 1
movss xmm2, dword [esi + 0x37c4]
movss xmm5, dword [esi + 0x3bd0]
movaps xmm3, xmm2
movss xmm4, dword [eax + 8]
movss xmm6, dword [eax + 4]
movss dword [esp + 0xc], xmm2
movss dword [esp + 0x34], xmm3
movss dword [esp + 0x14], xmm5
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
je 0x1000cd18
movaps xmm0, xmm6
movaps xmm1, xmm4
addss xmm0, dword [esi + 0x37c8]
subss xmm1, xmm3
movss dword [esp + 0x44], xmm0
movaps xmm0, xmm5
addss xmm0, dword [esi + 0x37dc]
subss xmm1, xmm5
addss xmm3, xmm0
movss dword [esp + 0x40], xmm1
movss dword [esp + 0x34], xmm3
test dl, dl
je 0x1000cde4
mov eax, dword [esi + 0x37b0]
cmp eax, 1
jne 0x1000cd50
movaps xmm0, xmm5
subss xmm4, xmm3
addss xmm0, dword [esi + 0x37dc]
subss xmm4, xmm5
addss xmm3, xmm0
movss dword [esp + 0x28], xmm4
movss dword [esp + 0x34], xmm3
jmp 0x1000cd7a
test eax, eax
jne 0x1000cd88
mov edx, dword [esp + 0x10]
movaps xmm0, xmm2
addss xmm0, dword [edx]
movss dword [esp + 0x28], xmm0
movaps xmm0, xmm5
addss xmm0, dword [esi + 0x37dc]
addss xmm2, xmm0
movss dword [esp + 0xc], xmm2
addss xmm6, dword [esi + 0x37c8]
movss dword [esp + 0x2c], xmm6
mov ecx, dword [edi + 0xe4]
xor edx, edx
mov eax, dword [edi + 0xec]
push dword [eax + ecx*4 - 4]
mov ecx, str.COLLAPSE
call fcn.100037c0
mov ecx, dword [edi]
add esp, 4
mov dword [esp + 0x3c], eax
cmp dword [ecx + 0x3e94], eax
jne 0x1000cdce
push ecx
push str.COLLAPSE
mov edx, 0xb
mov ecx, eax
call fcn.100193a0
mov eax, dword [esp + 0x44]
add esp, 8
lea edx, [esp + 0x28]
mov ecx, eax
call fcn.1002ecd0
test al, al
je 0x1000cde4
mov byte [edi + 0xae], 1
cmp dword [esp + 0x30], 0
je 0x1000ce47
mov ecx, dword [edi + 0xe4]
xor edx, edx
mov eax, dword [edi + 0xec]
push dword [eax + ecx*4 - 4]
mov ecx, str.CLOSE
call fcn.100037c0
mov ecx, dword [edi]
add esp, 4
mov dword [esp + 0x3c], eax
cmp dword [ecx + 0x3e94], eax
jne 0x1000ce31
push ecx
push str.CLOSE
mov edx, 0xb
mov ecx, eax
call fcn.100193a0
mov eax, dword [esp + 0x44]
add esp, 8
lea edx, [esp + 0x40]
mov ecx, eax
call fcn.1002e830
test al, al
je 0x1000ce47
mov eax, dword [esp + 0x30]
mov byte [eax], 0
test dword [esp + 0x18], 0x100000
xorps xmm4, xmm4
mov eax, dword [esp + 0x24]
mov dword [edi + 0x148], 0
mov dword [esi + 0x46b8], eax
je 0x1000ce7e
movss xmm0, dword [esp + 0x14]
mulss xmm0, dword [0x10041b60]
movss dword [esp + 0x14], xmm0
jmp 0x1000ce84
movss dword [esp + 0x14], xmm4
mov edx, dword [esp + 0x38]
mov ecx, edx
cmp edx, 0xffffffff
jae 0x1000ceaa
nop
mov dl, byte [ecx]
test dl, dl
je 0x1000cea6
cmp dl, 0x23
jne 0x1000cea0
cmp byte [ecx + 1], dl
je 0x1000cea6
inc ecx
cmp ecx, 0xffffffff
jb 0x1000ce90
mov edx, dword [esp + 0x38]
mov eax, dword [0x1006a9e8]
movss xmm0, dword [eax + 0x3bd0]
cmp edx, ecx
jne 0x1000cec0
movaps xmm7, xmm4
jmp 0x1000cf0e
movss xmm3, dword [0x10041c28]
movaps xmm2, xmm0
push ecx
push ecx
push edx
push ecx
lea ecx, [esp + 0x50]
mov dword [esp], 0xbf800000
push ecx
mov ecx, dword [eax + 0x3bcc]
call fcn.100289b0
movss xmm0, dword [esp + 0x40]
xorps xmm4, xmm4
addss xmm0, dword [0x10041b6c]
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x44]
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss dword [esp + 0x28], xmm7
addss xmm7, dword [esp + 0x14]
movss xmm2, dword [esp + 0xc]
addss xmm0, xmm4
movss dword [esp + 0x28], xmm7
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esi + 0x37c4]
comiss xmm2, xmm0
jbe 0x1000cf3f
addss xmm2, dword [esi + 0x37dc]
movss xmm5, dword [esp + 0x34]
comiss xmm5, xmm0
jbe 0x1000cf52
addss xmm5, dword [esi + 0x37dc]
movss xmm0, dword [esi + 0x37a8]
comiss xmm0, xmm4
movss xmm3, dword [0x10041b74]
movss xmm6, dword [0x10041b3c]
jbe 0x1000cfe1
comiss xmm3, xmm0
jbe 0x1000cfe1
subss xmm0, xmm6
movaps xmm1, xmm3
andps xmm0, xmmword [0x10041d10]
addss xmm0, xmm0
subss xmm1, xmm0
comiss xmm4, xmm1
jbe 0x1000cf97
movss dword [esp + 0xc], xmm4
jmp 0x1000cfa4
movaps xmm0, xmm3
minss xmm0, xmm1
movss dword [esp + 0xc], xmm0
mov eax, dword [esp + 0x10]
movaps xmm1, xmm2
maxss xmm1, xmm5
movss xmm0, dword [eax + 8]
subss xmm0, dword [eax]
subss xmm0, xmm2
subss xmm0, xmm5
subss xmm0, xmm7
minss xmm1, xmm0
mulss xmm1, dword [esp + 0xc]
movaps xmm0, xmm1
maxss xmm1, xmm5
maxss xmm0, xmm2
movaps xmm5, xmm1
movaps xmm2, xmm0
jmp 0x1000cfe5
mov eax, dword [esp + 0x10]
test dword [esp + 0x18], 0x100000
movss xmm1, dword [eax + 8]
movss xmm0, dword [eax + 4]
subss xmm1, xmm5
movss xmm5, dword [eax + 0xc]
addss xmm2, dword [eax]
movss dword [esp + 0x70], xmm0
movss dword [esp + 0x24], xmm5
movaps xmm4, xmm1
movss dword [esp + 0x78], xmm5
addss xmm4, dword [esi + 0x37dc]
movaps xmm5, xmm0
movss dword [esp + 0x6c], xmm2
movss dword [esp + 0x74], xmm1
movss dword [esp + 0x5c], xmm2
movss dword [esp + 0x60], xmm5
minss xmm4, dword [eax + 8]
movaps xmm0, xmm4
movss dword [esp + 0xc], xmm4
movss dword [esp + 0x64], xmm0
xorps xmm4, xmm4
movss xmm0, dword [eax + 0xc]
movss dword [esp + 0x68], xmm0
je 0x1000d1f3
movaps xmm0, xmm1
subss xmm0, xmm2
subss xmm0, xmm7
mulss xmm0, dword [esi + 0x37a8]
addss xmm0, xmm2
addss xmm0, xmm7
comiss xmm2, xmm0
jbe 0x1000d08f
movaps xmm1, xmm2
movss dword [esp + 0x18], xmm2
jmp 0x1000d099
minss xmm1, xmm0
movss dword [esp + 0x18], xmm1
comiss xmm1, xmm2
addss xmm5, dword [esp + 0x24]
mulss xmm5, xmm6
jbe 0x1000d1f3
mov eax, dword [0x1006a9e8]
movups xmm2, xmmword [eax + 0x3868]
comiss xmm4, xmm2
movaps xmm7, xmm2
movaps xmmword [esp + 0x40], xmm2
shufps xmm7, xmm2, 0xff
mulss xmm7, dword [eax + 0x3788]
jbe 0x1000d0d6
xorps xmm0, xmm0
jmp 0x1000d0dd
movaps xmm0, xmm3
minss xmm0, xmm2
comiss xmm4, dword [esp + 0x44]
movss xmm2, dword [0x10041c08]
mulss xmm0, xmm2
addss xmm0, xmm6
cvttss2si edx, xmm0
jbe 0x1000d0fd
xorps xmm0, xmm0
jmp 0x1000d106
movaps xmm0, xmm3
minss xmm0, dword [esp + 0x44]
mulss xmm0, xmm2
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or edx, eax
comiss xmm4, dword [esp + 0x48]
jbe 0x1000d123
xorps xmm0, xmm0
jmp 0x1000d12c
movaps xmm0, xmm3
minss xmm0, dword [esp + 0x48]
mulss xmm0, xmm2
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 0x10
or edx, eax
comiss xmm4, xmm7
jbe 0x1000d147
xorps xmm3, xmm3
jmp 0x1000d14b
minss xmm3, xmm7
mov edi, dword [edi + 0x264]
mulss xmm3, xmm2
movss dword [esp + 0x40], xmm1
mov eax, dword [edi + 0x2c]
addss xmm3, xmm6
movss dword [esp + 0x44], xmm5
movss xmm2, dword [eax + 0xc]
mulss xmm2, dword [0x10041b24]
cvttss2si ecx, xmm3
shl ecx, 0x18
or ecx, edx
mov dword [esp + 0x24], ecx
test ecx, 0xff000000
je 0x1000d1ce
comiss xmm6, xmm2
ja 0x1000d1ce
push 7
push ecx
lea eax, [esp + 0x48]
mov dword [esp], 0x40afede0
push eax
xorps xmm3, xmm3
mov ecx, edi
call fcn.100243e0
push dword [esp + 0x24]
mov ecx, edi
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10023be0
movss xmm1, dword [esp + 0x18]
movss xmm6, dword [0x10041b3c]
mov dword [edi + 0x54], 0
movss xmm0, dword [esp + 0x14]
mulss xmm0, xmm6
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
minss xmm1, dword [esp + 0xc]
movss dword [esp + 0x64], xmm1
lea eax, [esp + 0x5c]
push eax
lea eax, [esi + 0x37a8]
push eax
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x80]
push ecx
push eax
lea ecx, [esp + 0x80]
call fcn.10004650
mov ecx, dword [esp + 0x90]
add esp, 0x14
pop edi
pop esi
xor ecx, esp
call fcn.100398db
mov esp, ebp
pop ebp
ret