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

Disassembly:
sub esp, 0x80
mov eax, dword [esp + 0x84]
mov edx, dword [0x10087edc]
mov dword [esp + 0x68], edx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x5c], ecx
test cl, 0x42
jne 0x10016a06
cmp byte [eax + 0xc4], 0
jg 0x10016a06
cmp byte [eax + 0xc5], 0
jg 0x10016a06
cmp byte [eax + 0xab], 0
je 0x10016a06
movss xmm1, dword [edx + 0x3bcc]
movaps xmm0, xmm1
mov cl, byte [edx + 0x4a]
mulss xmm0, dword [0x1006d0ec]
push esi
mulss xmm1, dword [0x1006d12c]
xor esi, esi
push edi
addss xmm0, dword [eax + 0x4c]
push 4
test cl, cl
mov byte [esp + 0x83], 0
pop edi
cmovne esi, edi
addss xmm0, dword [0x1006d124]
mov dword [esp + 0x38], esi
maxss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x1006d114]
cvttss2si eax, xmm0
mov dword [esp + 0x6c], eax
je 0x1001601d
movss xmm0, dword [0x1006d144]
jmp 0x10016020
xorps xmm0, xmm0
cmp byte [edx + 0x4b], 0
lea edi, [esp + 0x3c]
mov esi, dword [esp + 0xa0]
movss dword [esp + 0x68], xmm0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x10016062
test byte [esp + 0x64], 1
jne 0x10016062
mov edi, dword [esp + 0x8c]
mov ecx, edi
mov byte [esp + 0x85], 1
call fcn.1001433b
fsubr dword [esp + 0x40]
fstp dword [esp + 0x40]
jmp 0x10016071
mov edi, dword [esp + 0x8c]
mov byte [esp + 0x85], 0
movss xmm1, dword [0x1006d184]
movaps xmm0, xmm1
movss dword [esp + 0x30], xmm1
push str.RESIZE
mov dword [esp + 0x38], 0x7f7fffff
movss dword [esp + 0x84], xmm0
movss dword [esp + 0x58], xmm0
movss dword [esp + 0x7c], xmm0
movss dword [esp + 0x5c], xmm0
mov dword [edi + 0x148], 1
call fcn.1001072d
xor eax, eax
pop ecx
mov dword [esp + 0x74], eax
cmp dword [esp + 0x98], eax
jle 0x10016469
mov esi, dword [esp + 0x6c]
movss xmm2, dword [edi + 0x20]
imul ecx, eax, 0x18
movd xmm6, esi
cvtdq2ps xmm6, xmm6
add ecx, 0x10067838
mov dword [esp + 0x64], ecx
movss xmm4, dword [ecx]
mulss xmm4, dword [edi + 0x1c]
mulss xmm2, dword [ecx + 4]
movss xmm0, dword [ecx + 8]
movss xmm1, dword [ecx + 0xc]
movaps xmm5, xmm0
addss xmm4, dword [edi + 0x14]
addss xmm2, dword [edi + 0x18]
mulss xmm0, dword [esp + 0x68]
movaps xmm3, xmm1
mulss xmm1, dword [esp + 0x68]
mulss xmm5, xmm6
mulss xmm3, xmm6
addss xmm5, xmm4
subss xmm4, xmm0
addss xmm3, xmm2
subss xmm2, xmm1
movss dword [esp + 0x18], xmm5
comiss xmm4, xmm5
movss dword [esp + 0x10], xmm4
movss dword [esp + 0x14], xmm2
movss dword [esp + 0x1c], xmm3
jbe 0x1001615f
movss dword [esp + 0x10], xmm5
movss dword [esp + 0x18], xmm4
comiss xmm2, xmm3
jbe 0x10016170
movss dword [esp + 0x14], xmm3
movss dword [esp + 0x1c], xmm2
push eax
mov ecx, edi
call fcn.10009a54
push 8
mov edi, eax
lea eax, [esp + 0x14]
push 0
push edi
push eax
call fcn.1000ba63
push 0x40800
lea eax, [esp + 0x9a]
push eax
lea eax, [esp + 0x9f]
push eax
lea eax, [esp + 0x2c]
push edi
push eax
call fcn.1002dc0b
mov dh, byte [esp + 0xab]
add esp, 0x24
mov dl, byte [esp + 0x86]
test dh, dh
jne 0x100161c6
test dl, dl
je 0x100163e2
mov edi, dword [esp + 0x74]
mov eax, edi
mov ecx, dword [esp + 0x70]
not eax
and eax, 1
add eax, 5
mov dword [ecx + 0x4ac8], eax
test dl, dl
je 0x100163e2
push 2
pop eax
cmp word [ecx + 0x370a], ax
jne 0x1001625b
test edi, edi
jne 0x1001625b
push dword [esp + 0x90]
mov eax, dword [esp + 0x90]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.10006cd0
push edi
push edi
mov byte [esp + 0x93], 1
movss xmm0, dword [eax]
movss dword [esp + 0x94], xmm0
movss dword [esp + 0x68], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x8c], xmm0
movss dword [esp + 0x6c], xmm0
call fcn.1001304b
mov dl, byte [esp + 0x9a]
add esp, 0x14
mov dh, byte [esp + 0x87]
jmp 0x100163f2
mov edx, dword [esp + 0x64]
xorps xmm0, xmm0
movss xmm1, dword [0x1006d124]
movss xmm6, dword [edx + 4]
ucomiss xmm6, xmm1
lahf
test ah, 0x44
jnp 0x10016295
ucomiss xmm6, xmm0
lahf
test ah, 0x44
jp 0x1001628b
cmp byte [esp + 0x85], 0
jne 0x10016295
movss xmm5, dword [0x1006d190]
jmp 0x1001629b
movss xmm5, dword [esp + 0x40]
movss xmm2, dword [edx]
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jp 0x100162b0
movss xmm3, dword [esp + 0x3c]
jmp 0x100162b8
movss xmm3, dword [0x1006d190]
ucomiss xmm6, xmm0
lahf
test ah, 0x44
jp 0x100162da
movss xmm1, dword [esp + 0x48]
movss dword [esp + 0x80], xmm1
movss xmm1, dword [0x1006d184]
jmp 0x100162eb
movss xmm1, dword [0x1006d184]
movss dword [esp + 0x80], xmm1
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jp 0x100162fc
movss xmm7, dword [esp + 0x44]
jmp 0x100162ff
movaps xmm7, xmm1
movss xmm0, dword [edx + 8]
xorps xmm2, xmm2
mulss xmm0, dword [esp + 0x68]
movss xmm1, dword [edx + 0xc]
mulss xmm1, dword [esp + 0x68]
cvtsi2ss xmm2, esi
xorps xmm2, xmmword [0x1006d240]
movaps xmm4, xmm2
mulss xmm2, dword [edx + 0xc]
mulss xmm4, dword [edx + 8]
subss xmm2, xmm1
subss xmm4, xmm0
mulss xmm2, xmm6
mulss xmm4, dword [edx]
addss xmm2, xmm1
addss xmm4, xmm0
movss xmm0, dword [ecx + 0xdbc]
subss xmm0, dword [ecx + 0x3ec0]
addss xmm4, xmm0
movss xmm0, dword [ecx + 0xdc0]
subss xmm0, dword [ecx + 0x3ec4]
addss xmm0, xmm2
comiss xmm5, xmm0
ja 0x10016381
movaps xmm5, xmm0
minss xmm5, dword [esp + 0x80]
comiss xmm3, xmm4
ja 0x1001638d
movaps xmm3, xmm4
minss xmm3, xmm7
lea eax, [esp + 0x54]
movss dword [esp + 0x5c], xmm3
push eax
lea eax, [esp + 0x34]
movss dword [esp + 0x64], xmm5
push eax
push edx
lea eax, [esp + 0x68]
push eax
mov eax, dword [esp + 0x9c]
push eax
call fcn.100066eb
movss xmm0, dword [esp + 0x6c]
add esp, 0x14
mov dl, byte [esp + 0x86]
mov dh, byte [esp + 0x87]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x54]
movss dword [esp + 0x80], xmm0
mov eax, dword [esp + 0x74]
test eax, eax
je 0x100163f2
test dl, dl
jne 0x100163f2
test dh, dh
je 0x10016450
mov ecx, dword [0x10087edc]
lea edi, [esp + 0x20]
xor eax, eax
test dh, dh
push 0x20
setne al
add eax, 0x1e
test dl, dl
pop esi
cmovne eax, esi
lea esi, [ecx + 0x3864]
shl eax, 4
add esi, eax
lea eax, [esp + 0x20]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movss xmm0, dword [esp + 0x30]
mulss xmm0, dword [ecx + 0x3788]
movss dword [esp + 0x30], xmm0
call fcn.1000740a
mov edx, dword [esp + 0xa0]
mov esi, dword [esp + 0x70]
pop ecx
mov ecx, dword [esp + 0x74]
mov dword [edx + ecx*4], eax
mov eax, ecx
mov edi, dword [esp + 0x8c]
inc eax
mov dword [esp + 0x74], eax
cmp eax, dword [esp + 0x98]
jl 0x100160d1
xor eax, eax
mov dword [esp + 0x74], eax
cmp dword [esp + 0x38], eax
jbe 0x10016738
mov esi, dword [esp + 0x6c]
imul ecx, eax, 0x1c
mov dword [esp + 8], ecx
test eax, eax
je 0x10016498
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x10016498
mov dword [esp + 0x80], ecx
jmp 0x100164a0
and dword [esp + 0x80], 0
movd xmm0, esi
push ecx
push ecx
cvtdq2ps xmm0, xmm0
mov dword [esp + 4], 0x40800000
movss dword [esp], xmm0
push eax
lea eax, [esp + 0x2c]
push edi
push eax
call fcn.1000a004
mov eax, dword [esp + 0x88]
add esp, 0x14
add eax, 4
mov ecx, edi
push eax
call fcn.10009a54
push 8
mov edi, eax
lea eax, [esp + 0x24]
push 0
push edi
push eax
call fcn.1000ba63
push 0x40800
lea eax, [esp + 0x9b]
push eax
lea eax, [esp + 0x9e]
push eax
lea eax, [esp + 0x3c]
push edi
push eax
call fcn.1002dc0b
mov ecx, dword [esp + 0x94]
add esp, 0x24
cmp byte [esp + 0x86], 0
je 0x1001652d
movss xmm0, dword [ecx + 0x3ea4]
comiss xmm0, dword [0x1006d0e0]
ja 0x1001653b
cmp byte [esp + 0x87], 0
je 0x10016703
mov edx, dword [esp + 0x80]
mov eax, edx
xor eax, 1
add eax, 3
cmp byte [esp + 0x87], 0
mov dword [ecx + 0x4ac8], eax
je 0x10016703
mov edi, dword [esp + 0x94]
mov eax, dword [esp + 0x74]
push 2
mov dword [edi], eax
pop edi
cmp eax, 3
je 0x1001658b
cmp eax, edi
jne 0x10016581
cmp byte [esp + 0x85], 0
jne 0x1001658b
movss xmm0, dword [0x1006d190]
jmp 0x10016591
movss xmm0, dword [esp + 0x40]
movss dword [esp + 0x68], xmm0
cmp eax, 1
jne 0x100165b8
movss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [0x1006d184]
movss dword [esp + 0x6c], xmm0
jmp 0x100165f8
movss xmm0, dword [0x1006d190]
movss dword [esp + 0x78], xmm0
cmp eax, edi
jne 0x100165e0
movss xmm0, dword [esp + 0x48]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [0x1006d184]
jmp 0x100165f8
movss xmm0, dword [0x1006d184]
movss dword [esp + 0x6c], xmm0
test eax, eax
jne 0x100165f8
movss xmm0, dword [esp + 0x44]
mov eax, dword [esp + 0x8c]
add ecx, 0xdbc
movss dword [esp + 0x64], xmm0
push edx
movss xmm0, dword [eax + 0x14]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [eax + 0x18]
movss dword [esp + 0x64], xmm0
call fcn.100033bb
mov ecx, dword [esp + 0x70]
mov edi, eax
push dword [esp + 0x80]
lea ecx, [ecx + 0x3ec0]
call fcn.100033bb
movss xmm0, dword [edi]
lea ecx, [esp + 0x5c]
push dword [esp + 0x80]
subss xmm0, dword [eax]
addss xmm0, dword [0x1006d144]
movss dword [esp + 0x10], xmm0
call fcn.100033bb
movss xmm0, dword [esp + 0xc]
movss xmm1, dword [esp + 0x68]
movss dword [eax], xmm0
comiss xmm1, dword [esp + 0x60]
ja 0x10016688
movss xmm1, dword [esp + 0x60]
minss xmm1, dword [esp + 0x6c]
movss xmm0, dword [esp + 0x78]
comiss xmm0, dword [esp + 0x5c]
ja 0x100166a1
movss xmm0, dword [esp + 0x5c]
minss xmm0, dword [esp + 0x64]
mov eax, dword [esp + 8]
mov edi, dword [esp + 0x8c]
movss dword [esp + 0x5c], xmm0
movss dword [esp + 0x60], xmm1
movss xmm0, dword [eax + 0x100678a0]
minss xmm0, dword [eax + 0x100678a8]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [eax + 0x100678a4]
minss xmm0, dword [eax + 0x100678ac]
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x54]
movss dword [esp + 0x58], xmm0
push eax
lea eax, [esp + 0x68]
push eax
push edi
call fcn.100066eb
add esp, 0x14
jmp 0x1001670a
mov edi, dword [esp + 0x8c]
mov eax, dword [esp + 0x74]
inc eax
mov dword [esp + 0x74], eax
cmp eax, dword [esp + 0x38]
jl 0x1001647d
movss xmm0, dword [esp + 0x58]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x54]
movss dword [esp + 0x80], xmm0
call fcn.100104e5
mov esi, dword [esp + 0x70]
and dword [edi + 0x148], 0
mov eax, dword [esi + 0x495c]
test eax, eax
je 0x1001697a
cmp dword [eax + 0x300], edi
jne 0x1001697a
mov eax, dword [esi + 0x4820]
xorps xmm2, xmm2
xorps xmm3, xmm3
cmp eax, 2
jne 0x100167b0
cmp byte [esi + 0xdd9], 0
je 0x1001697a
push 0x204
push 0x203
push 0x202
lea eax, [esp + 0x58]
push 0x201
push eax
call fcn.10009beb
add esp, 0x14
movss xmm2, dword [eax]
movss xmm3, dword [eax + 4]
mov eax, dword [esi + 0x4820]
cmp eax, 3
jne 0x100167df
push 0x272
push 0x271
push 0x270
lea eax, [esp + 0x58]
push 0x26f
push eax
call fcn.10009beb
add esp, 0x14
movss xmm2, dword [eax]
movss xmm3, dword [eax + 4]
xorps xmm0, xmm0
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jp 0x100167f8
ucomiss xmm3, xmm0
lahf
test ah, 0x44
jnp 0x1001697a
movss xmm1, dword [esi + 0x40]
minss xmm1, dword [esi + 0x3c]
mulss xmm1, dword [esi + 0x18]
mulss xmm1, dword [0x1006d17c]
movaps xmm0, xmm1
mulss xmm1, xmm3
mulss xmm0, xmm2
addss xmm1, dword [esi + 0x4980]
movss xmm2, dword [esp + 0x3c]
addss xmm0, dword [esi + 0x497c]
movss dword [esi + 0x4980], xmm1
movss dword [esi + 0x497c], xmm0
subss xmm2, dword [edi + 0x14]
subss xmm2, dword [edi + 0x1c]
maxss xmm2, xmm0
movss xmm0, dword [esp + 0x40]
subss xmm0, dword [edi + 0x18]
subss xmm0, dword [edi + 0x20]
movss dword [esi + 0x497c], xmm2
lea edi, [esp + 0x20]
mov byte [esi + 0x4970], 0
mov byte [esi + 0x482b], 1
maxss xmm0, xmm1
movss dword [esi + 0x4980], xmm0
mov eax, dword [0x10087edc]
lea esi, [eax + 0x3a64]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movss xmm0, dword [esp + 0x2c]
mulss xmm0, dword [eax + 0x3788]
lea eax, [esp + 0x20]
push eax
movss dword [esp + 0x30], xmm0
call fcn.1000740a
pop ecx
mov ecx, dword [esp + 0x9c]
xorps xmm0, xmm0
mov dword [ecx], eax
mov eax, dword [esp + 0x70]
cvttss2si esi, dword [eax + 0x497c]
cvttss2si edi, dword [eax + 0x4980]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movd xmm1, edi
ucomiss xmm2, xmm0
cvtdq2ps xmm1, xmm1
lahf
test ah, 0x44
jp 0x100168f6
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x10016982
mov eax, dword [esp + 0x8c]
lea ecx, [esp + 0x4c]
movaps xmm0, xmm2
push ecx
push eax
addss xmm0, dword [eax + 0x24]
movss dword [esp + 0x54], xmm0
movaps xmm0, xmm1
addss xmm0, dword [eax + 0x28]
lea eax, [esp + 0x5c]
push eax
movss dword [esp + 0x5c], xmm0
call fcn.10006cd0
movd xmm2, esi
add esp, 0xc
cvtdq2ps xmm2, xmm2
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [esp + 0x70]
movss dword [esp + 0x80], xmm0
movss xmm0, dword [eax + 0x497c]
subss xmm0, xmm2
movd xmm2, edi
cvtdq2ps xmm2, xmm2
movss dword [eax + 0x497c], xmm0
movss xmm0, dword [eax + 0x4980]
subss xmm0, xmm2
movss dword [eax + 0x4980], xmm0
jmp 0x10016988
movss xmm1, dword [esp + 0x78]
jmp 0x1001698f
movss xmm1, dword [esp + 0x78]
mov edi, dword [esp + 0x8c]
movss xmm0, dword [esp + 0x80]
ucomiss xmm0, dword [0x1006d184]
lahf
test ah, 0x44
jnp 0x100169b6
push edi
movss dword [edi + 0x24], xmm0
movss dword [edi + 0x28], xmm1
call fcn.1000c4d0
pop ecx
movss xmm0, dword [esp + 0x30]
ucomiss xmm0, dword [0x1006d184]
lahf
test ah, 0x44
jnp 0x100169f2
cvttss2si eax, xmm0
push edi
movd xmm1, eax
cvttss2si eax, dword [esp + 0x38]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x14], xmm1
movss dword [edi + 0x18], xmm0
call fcn.1000c4d0
pop ecx
mov ecx, dword [edi + 0x24]
mov edx, dword [edi + 0x28]
mov al, byte [esp + 0x7f]
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x20], edx
pop edi
pop esi
jmp 0x10016a08
xor al, al
add esp, 0x80
ret