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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, dword [0x101e5040]
xor eax, esp
mov dword [esp + 0x74], eax
mov eax, ecx
mov dword [esp + 0xc], edx
mov ecx, dword [ebp + 8]
push esi
push edi
mov edi, dword [0x103c80a8]
mov dword [esp + 0x30], eax
mov eax, dword [eax + 8]
mov dword [esp + 0x2c], ecx
mov ecx, edi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x18], eax
test al, 0x20
jne 0x1006ec8b
cmp dword [ecx + 0x153c], 0xffffffff
je 0x1006ec8b
mov dl, 1
jmp 0x1006ec8d
xor dl, dl
mov eax, dword [ecx + 0x1c20]
mov dword [esp + 0x38], eax
or eax, 0x10
mov dword [ecx + 0x1c20], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [eax + 0x124], 1
movss xmm1, dword [ecx + 0x1550]
mov eax, dword [esp + 0x14]
movaps xmm0, xmm1
movss dword [esp + 0x24], xmm0
movaps xmm4, xmm0
movss xmm0, dword [ecx + 0x1930]
movss dword [esp + 0xc], xmm1
movaps xmm3, xmm0
movss xmm2, dword [eax + 8]
addss xmm3, xmm1
movss xmm5, dword [eax + 4]
movss dword [esp + 0x10], xmm0
test dl, dl
je 0x1006edc3
mov eax, dword [ecx + 0x153c]
cmp eax, 1
jne 0x1006ed27
movaps xmm0, xmm3
subss xmm2, xmm0
movss dword [esp + 0x24], xmm0
subss xmm2, xmm1
movss dword [esp + 0x40], xmm2
jmp 0x1006ed55
movaps xmm0, xmm4
movss dword [esp + 0x24], xmm0
test eax, eax
jne 0x1006ed5b
mov edx, dword [esp + 0x14]
movss dword [esp + 0x24], xmm4
addss xmm0, dword [edx]
subss xmm0, xmm1
movaps xmm1, xmm3
movss dword [esp + 0xc], xmm1
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x44], xmm5
mov esi, dword [esp + 0x30]
xor edx, edx
mov ecx, dword [esi + 0xcc]
mov eax, dword [esi + 0xd4]
push dword [eax + ecx*4 - 4]
mov ecx, str.COLLAPSE
call fcn.10067150
add esp, 4
cmp dword [edi + 0x1bd0], eax
jne 0x1006ed8c
mov dword [edi + 0x1bd4], eax
cmp dword [edi + 0x1c0c], eax
jne 0x1006ed9b
mov byte [edi + 0x1c10], 1
lea edx, [esp + 0x40]
mov ecx, eax
call fcn.10083940
mov edi, dword [0x103c80a8]
movss xmm0, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
test al, al
je 0x1006edc7
mov byte [esi + 0x96], 1
jmp 0x1006edc7
mov esi, dword [esp + 0x30]
test dword [esp + 0x18], 0x100000
xorps xmm4, xmm4
mov eax, dword [esp + 0x38]
mov dword [esi + 0x124], 0
mov dword [ecx + 0x1c20], eax
je 0x1006edf8
mulss xmm0, dword [0x101d84c0]
movss dword [esp + 0x10], xmm0
jmp 0x1006edfe
movss dword [esp + 0x10], xmm4
mov eax, dword [esp + 0x2c]
mov ecx, eax
cmp eax, 0xffffffff
jae 0x1006ee26
nop dword [eax]
mov dl, byte [ecx]
test dl, dl
je 0x1006ee26
cmp dl, 0x23
jne 0x1006ee20
cmp byte [ecx + 1], dl
je 0x1006ee26
inc ecx
cmp ecx, 0xffffffff
jb 0x1006ee10
movss xmm0, dword [edi + 0x1930]
cmp eax, ecx
jne 0x1006ee37
movaps xmm6, xmm4
jmp 0x1006ee85
movss xmm3, dword [0x101d86cc]
movaps xmm2, xmm0
push ecx
push ecx
push eax
push ecx
mov ecx, dword [edi + 0x192c]
lea eax, [esp + 0x50]
mov dword [esp], 0xbf800000
push eax
call fcn.1007d870
movss xmm0, dword [esp + 0x40]
xorps xmm4, xmm4
addss xmm0, dword [0x101d84e8]
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x44]
movd xmm6, eax
cvtdq2ps xmm6, xmm6
movss dword [esp + 0x38], xmm6
mov edx, dword [esp + 0x28]
addss xmm0, xmm4
addss xmm6, dword [esp + 0x10]
movss xmm2, dword [esp + 0xc]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [edx + 0x1550]
comiss xmm2, xmm0
movss dword [esp + 0x30], xmm6
jbe 0x1006eeba
addss xmm2, dword [edx + 0x1568]
movss xmm5, dword [esp + 0x24]
comiss xmm5, xmm0
jbe 0x1006eecd
addss xmm5, dword [edx + 0x1568]
movss xmm0, dword [edx + 0x1534]
comiss xmm0, xmm4
movss xmm3, dword [0x101d84f0]
movss xmm7, dword [0x101d8488]
jbe 0x1006ef5c
comiss xmm3, xmm0
jbe 0x1006ef5c
subss xmm0, xmm7
movaps xmm1, xmm3
andps xmm0, xmmword [0x101d8830]
addss xmm0, xmm0
subss xmm1, xmm0
comiss xmm4, xmm1
jbe 0x1006ef12
movss dword [esp + 0xc], xmm4
jmp 0x1006ef1f
movaps xmm0, xmm3
minss xmm0, xmm1
movss dword [esp + 0xc], xmm0
mov eax, dword [esp + 0x14]
movaps xmm1, xmm2
maxss xmm1, xmm5
movss xmm0, dword [eax + 8]
subss xmm0, dword [eax]
subss xmm0, xmm2
subss xmm0, xmm5
subss xmm0, xmm6
minss xmm1, xmm0
mulss xmm1, dword [esp + 0xc]
movaps xmm0, xmm1
maxss xmm1, xmm5
maxss xmm0, xmm2
movaps xmm5, xmm1
movaps xmm2, xmm0
jmp 0x1006ef60
mov eax, dword [esp + 0x14]
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 + 0x38], xmm5
movaps xmm4, xmm1
movss dword [esp + 0x78], xmm5
addss xmm4, dword [edx + 0x1568]
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 0x1006f166
movaps xmm0, xmm1
subss xmm0, xmm2
subss xmm0, xmm6
mulss xmm0, dword [edx + 0x1534]
addss xmm0, xmm2
addss xmm0, xmm6
comiss xmm2, xmm0
jbe 0x1006f00a
movaps xmm1, xmm2
movss dword [esp + 0x18], xmm2
jmp 0x1006f014
minss xmm1, xmm0
movss dword [esp + 0x18], xmm1
comiss xmm1, xmm2
addss xmm5, dword [esp + 0x38]
mulss xmm5, xmm7
jbe 0x1006f166
movups xmm2, xmmword [edi + 0x15dc]
comiss xmm4, xmm2
movaps xmm6, xmm2
movaps xmmword [esp + 0x40], xmm2
shufps xmm6, xmm2, 0xff
mulss xmm6, dword [edi + 0x1518]
jbe 0x1006f04c
xorps xmm0, xmm0
jmp 0x1006f053
movaps xmm0, xmm3
minss xmm0, xmm2
comiss xmm4, dword [esp + 0x44]
movss xmm2, dword [0x101d8670]
mulss xmm0, xmm2
addss xmm0, xmm7
cvttss2si ecx, xmm0
jbe 0x1006f073
xorps xmm0, xmm0
jmp 0x1006f07c
movaps xmm0, xmm3
minss xmm0, dword [esp + 0x44]
mulss xmm0, xmm2
addss xmm0, xmm7
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm4, dword [esp + 0x48]
jbe 0x1006f099
xorps xmm0, xmm0
jmp 0x1006f0a2
movaps xmm0, xmm3
minss xmm0, dword [esp + 0x48]
mulss xmm0, xmm2
addss xmm0, xmm7
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm4, xmm6
jbe 0x1006f0bd
xorps xmm3, xmm3
jmp 0x1006f0c1
minss xmm3, xmm6
mov esi, dword [esi + 0x25c]
mulss xmm3, xmm2
movss dword [esp + 0x40], xmm1
mov eax, dword [esi + 0x2c]
addss xmm3, xmm7
movss dword [esp + 0x44], xmm5
movss xmm2, dword [eax + 0xc]
mulss xmm2, dword [0x101d8448]
cvttss2si edi, xmm3
shl edi, 0x18
or edi, ecx
test edi, 0xff000000
je 0x1006f141
comiss xmm4, xmm2
jae 0x1006f141
push 7
push ecx
lea eax, [esp + 0x48]
mov dword [esp], 0x40afede0
push eax
xorps xmm3, xmm3
mov ecx, esi
call fcn.1007a9d0
push edi
push dword [esi + 0x54]
mov ecx, esi
push dword [esi + 0x5c]
call fcn.1007a190
movss xmm1, dword [esp + 0x18]
movss xmm7, dword [0x101d8488]
mov edx, dword [esp + 0x28]
mov dword [esi + 0x54], 0
movss xmm0, dword [esp + 0x10]
mulss xmm0, xmm7
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, [edx + 0x1534]
push eax
lea eax, [esp + 0x38]
push eax
push ecx
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x84]
push ecx
lea ecx, [esp + 0x80]
call fcn.10067fd0
mov ecx, dword [esp + 0x90]
add esp, 0x14
pop edi
pop esi
xor ecx, esp
call fcn.101528b9
mov esp, ebp
pop ebp
ret