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

Disassembly:
sub esp, 0x80
mov eax, dword [esp + 0x84]
mov edx, dword [0x10127f50]
mov dword [esp + 0x64], edx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x5c], ecx
test cl, 0x42
jne 0x10025452
cmp byte [eax + 0xc4], 0
jg 0x10025452
cmp byte [eax + 0xc5], 0
jg 0x10025452
cmp byte [eax + 0xab], 0
je 0x10025452
movss xmm1, dword [edx + 0x3bb8]
movaps xmm0, xmm1
mov cl, byte [edx + 0x66]
mulss xmm0, dword [0x100cda5c]
push esi
mulss xmm1, dword [0x100cda94]
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 [0x100c44b4]
mov dword [esp + 0x38], esi
maxss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x100cda80]
cvttss2si eax, xmm0
mov dword [esp + 0x68], eax
je 0x10024a49
movss xmm0, dword [0x100c44c0]
jmp 0x10024a4c
xorps xmm0, xmm0
cmp byte [edx + 0x67], 0
lea edi, [esp + 0x3c]
mov esi, dword [esp + 0xa0]
movss dword [esp + 0x70], 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 0x10024a8e
test byte [esp + 0x64], 1
jne 0x10024a8e
mov edi, dword [esp + 0x8c]
mov ecx, edi
mov byte [esp + 0x85], 1
call fcn.10023612
fsubr dword [esp + 0x40]
fstp dword [esp + 0x40]
jmp 0x10024a9d
mov edi, dword [esp + 0x8c]
mov byte [esp + 0x85], 0
movss xmm1, dword [0x100cdad8]
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.1000b2d9
xor eax, eax
pop ecx
mov dword [esp + 0x74], eax
cmp dword [esp + 0x98], eax
jle 0x10024e95
mov esi, dword [esp + 0x68]
movss xmm2, dword [edi + 0x20]
imul ecx, eax, 0x18
movd xmm6, esi
cvtdq2ps xmm6, xmm6
add ecx, 0x100c4ac0
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 + 0x70]
movaps xmm3, xmm1
mulss xmm1, dword [esp + 0x70]
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 0x10024b8b
movss dword [esp + 0x10], xmm5
movss dword [esp + 0x18], xmm4
comiss xmm2, xmm3
jbe 0x10024b9c
movss dword [esp + 0x14], xmm3
movss dword [esp + 0x1c], xmm2
push eax
mov ecx, edi
call fcn.1001103a
push 8
mov edi, eax
lea eax, [esp + 0x14]
push 0
push edi
push eax
call fcn.10013726
push 0x40800
lea eax, [esp + 0x9a]
push eax
lea eax, [esp + 0x9f]
push eax
lea eax, [esp + 0x2c]
push edi
push eax
call fcn.10064908
mov dh, byte [esp + 0xab]
add esp, 0x24
mov dl, byte [esp + 0x86]
test dh, dh
jne 0x10024bf2
test dl, dl
je 0x10024e0e
mov edi, dword [esp + 0x74]
mov eax, edi
mov ecx, dword [esp + 0x6c]
not eax
and eax, 1
add eax, 5
mov dword [ecx + 0x4960], eax
test dl, dl
je 0x10024e0e
push 2
pop eax
cmp word [ecx + 0x370a], ax
jne 0x10024c87
test edi, edi
jne 0x10024c87
push dword [esp + 0x90]
mov eax, dword [esp + 0x90]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.1001cd1d
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.100131f4
mov dl, byte [esp + 0x9a]
add esp, 0x14
mov dh, byte [esp + 0x87]
jmp 0x10024e1e
mov edx, dword [esp + 0x64]
xorps xmm0, xmm0
movss xmm1, dword [0x100c44b4]
movss xmm6, dword [edx + 4]
ucomiss xmm6, xmm1
lahf
test ah, 0x44
jnp 0x10024cc1
ucomiss xmm6, xmm0
lahf
test ah, 0x44
jp 0x10024cb7
cmp byte [esp + 0x85], 0
jne 0x10024cc1
movss xmm5, dword [0x100cdaf0]
jmp 0x10024cc7
movss xmm5, dword [esp + 0x40]
movss xmm2, dword [edx]
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jp 0x10024cdc
movss xmm4, dword [esp + 0x3c]
jmp 0x10024ce4
movss xmm4, dword [0x100cdaf0]
ucomiss xmm6, xmm0
lahf
test ah, 0x44
jp 0x10024d06
movss xmm1, dword [esp + 0x48]
movss dword [esp + 0x80], xmm1
movss xmm1, dword [0x100cdad8]
jmp 0x10024d17
movss xmm1, dword [0x100cdad8]
movss dword [esp + 0x80], xmm1
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jp 0x10024d28
movss xmm7, dword [esp + 0x44]
jmp 0x10024d2b
movaps xmm7, xmm1
movss xmm0, dword [edx + 8]
xorps xmm2, xmm2
mulss xmm0, dword [esp + 0x70]
movss xmm1, dword [edx + 0xc]
mulss xmm1, dword [esp + 0x70]
cvtsi2ss xmm2, esi
xorps xmm2, xmmword [0x100cdbc0]
movaps xmm3, xmm2
mulss xmm2, dword [edx + 0xc]
mulss xmm3, dword [edx + 8]
subss xmm2, xmm1
subss xmm3, xmm0
mulss xmm2, xmm6
mulss xmm3, dword [edx]
addss xmm2, xmm1
addss xmm3, xmm0
movss xmm0, dword [ecx + 0xdc0]
subss xmm0, dword [ecx + 0x3ea8]
addss xmm3, xmm0
movss xmm0, dword [ecx + 0xdc4]
subss xmm0, dword [ecx + 0x3eac]
addss xmm0, xmm2
comiss xmm5, xmm0
ja 0x10024dad
movaps xmm5, xmm0
minss xmm5, dword [esp + 0x80]
comiss xmm4, xmm3
ja 0x10024db9
movaps xmm4, xmm3
minss xmm4, xmm7
lea eax, [esp + 0x54]
movss dword [esp + 0x5c], xmm4
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.1001c83f
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 0x10024e1e
test dl, dl
jne 0x10024e1e
test dh, dh
je 0x10024e7c
mov ecx, dword [0x10127f50]
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.1000cfe4
mov edx, dword [esp + 0xa0]
mov esi, dword [esp + 0x6c]
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 0x10024afd
xor eax, eax
mov dword [esp + 0x70], eax
cmp dword [esp + 0x38], eax
jbe 0x1002518a
mov esi, dword [esp + 0x68]
imul ecx, eax, 0x1c
mov dword [esp + 8], ecx
test eax, eax
je 0x10024ec4
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x10024ec4
mov dword [esp + 0x80], ecx
jmp 0x10024ecc
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.1001dc33
mov eax, dword [esp + 0x84]
add esp, 0x14
add eax, 4
mov ecx, edi
push eax
call fcn.1001103a
push 8
mov edi, eax
lea eax, [esp + 0x24]
push 0
push edi
push eax
call fcn.10013726
push 0x40800
lea eax, [esp + 0x9b]
push eax
lea eax, [esp + 0x9e]
push eax
lea eax, [esp + 0x3c]
push edi
push eax
call fcn.10064908
mov ecx, dword [esp + 0x90]
add esp, 0x24
cmp byte [esp + 0x86], 0
je 0x10024f59
movss xmm0, dword [ecx + 0x3e8c]
comiss xmm0, dword [0x100cda4c]
ja 0x10024f67
cmp byte [esp + 0x87], 0
je 0x10025155
mov edx, dword [esp + 0x80]
mov eax, edx
xor eax, 1
add eax, 3
cmp byte [esp + 0x87], 0
mov dword [ecx + 0x4960], eax
je 0x10025155
mov edi, dword [esp + 0x94]
mov eax, dword [esp + 0x70]
push 2
mov dword [edi], eax
pop edi
cmp eax, 3
je 0x10024fb7
cmp eax, edi
jne 0x10024fad
cmp byte [esp + 0x85], 0
jne 0x10024fb7
movss xmm0, dword [0x100cdaf0]
jmp 0x10024fbd
movss xmm0, dword [esp + 0x40]
movss dword [esp + 0x78], xmm0
cmp eax, 1
jne 0x10024fe4
movss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x74], xmm0
movss xmm0, dword [0x100cdad8]
movss dword [esp + 0x68], xmm0
jmp 0x10025011
movss xmm0, dword [0x100cdaf0]
movss dword [esp + 0x74], xmm0
movaps xmm1, xmm0
cmp eax, edi
jne 0x1002511c
movss xmm0, dword [esp + 0x48]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [0x100cdad8]
movss dword [esp + 0x64], xmm0
mov eax, dword [esp + 0x8c]
add ecx, 0xdc0
push edx
movss xmm0, dword [eax + 0x14]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [eax + 0x18]
movss dword [esp + 0x64], xmm0
call fcn.1001c35d
mov ecx, dword [esp + 0x6c]
mov edi, eax
push dword [esp + 0x80]
lea ecx, [ecx + 0x3ea8]
call fcn.1001c35d
movss xmm0, dword [edi]
lea ecx, [esp + 0x5c]
push dword [esp + 0x80]
subss xmm0, dword [eax]
addss xmm0, dword [0x100c44c0]
movss dword [esp + 0x10], xmm0
call fcn.1001c35d
movss xmm0, dword [esp + 0xc]
movss xmm1, dword [esp + 0x78]
movss dword [eax], xmm0
comiss xmm1, dword [esp + 0x60]
ja 0x100250a1
movss xmm1, dword [esp + 0x60]
minss xmm1, dword [esp + 0x68]
movss xmm0, dword [esp + 0x74]
comiss xmm0, dword [esp + 0x5c]
ja 0x100250ba
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 + 0x100c4b28]
minss xmm0, dword [eax + 0x100c4b30]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [eax + 0x100c4b2c]
minss xmm0, dword [eax + 0x100c4b34]
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.1001c83f
add esp, 0x14
jmp 0x1002515c
movss xmm0, dword [0x100cdad8]
movss dword [esp + 0x68], xmm0
movaps xmm0, xmm1
movss dword [esp + 0x74], xmm0
test eax, eax
jne 0x10025009
movss xmm0, dword [esp + 0x44]
movss dword [esp + 0x64], xmm0
movaps xmm0, xmm1
movss dword [esp + 0x74], xmm0
jmp 0x10025017
mov edi, dword [esp + 0x8c]
mov eax, dword [esp + 0x70]
inc eax
mov dword [esp + 0x70], eax
cmp eax, dword [esp + 0x38]
jl 0x10024ea9
movss xmm0, dword [esp + 0x58]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x54]
movss dword [esp + 0x80], xmm0
call fcn.1000b39a
mov esi, dword [esp + 0x6c]
and dword [edi + 0x148], 0
mov eax, dword [esi + 0x4934]
test eax, eax
je 0x100253c6
cmp dword [eax + 0x300], edi
jne 0x100253c6
push 2
pop eax
xorps xmm2, xmm2
xorps xmm3, xmm3
cmp dword [esi + 0x47f8], eax
jne 0x100251f8
cmp byte [esi + 0xddd], 0
je 0x100251f8
push 0x204
push 0x203
push 0x202
lea eax, [esp + 0x58]
push 0x201
push eax
call fcn.10015907
add esp, 0x14
movss xmm2, dword [eax]
movss xmm3, dword [eax + 4]
cmp dword [esi + 0x47f8], 3
jne 0x1002522b
push 0x272
push 0x271
push 0x270
lea eax, [esp + 0x58]
push 0x26f
push eax
call fcn.10015907
add esp, 0x14
movss xmm2, dword [eax]
movss xmm3, dword [eax + 4]
xorps xmm0, xmm0
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jp 0x10025244
ucomiss xmm3, xmm0
lahf
test ah, 0x44
jnp 0x100253c6
movss xmm1, dword [esi + 0x5c]
minss xmm1, dword [esi + 0x58]
mulss xmm1, dword [esi + 0x18]
mulss xmm1, dword [0x100cdac8]
movaps xmm0, xmm1
mulss xmm1, xmm3
mulss xmm0, xmm2
addss xmm1, dword [esi + 0x4958]
movss xmm2, dword [esp + 0x3c]
addss xmm0, dword [esi + 0x4954]
movss dword [esi + 0x4958], xmm1
movss dword [esi + 0x4954], 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 + 0x4954], xmm2
lea edi, [esp + 0x20]
mov byte [esi + 0x4948], 0
mov byte [esi + 0x4803], 1
maxss xmm0, xmm1
movss dword [esi + 0x4958], xmm0
mov eax, dword [0x10127f50]
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.1000cfe4
pop ecx
mov ecx, dword [esp + 0x9c]
xorps xmm0, xmm0
mov dword [ecx], eax
mov eax, dword [esp + 0x6c]
cvttss2si esi, dword [eax + 0x4954]
cvttss2si edi, dword [eax + 0x4958]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movd xmm1, edi
ucomiss xmm2, xmm0
cvtdq2ps xmm1, xmm1
lahf
test ah, 0x44
jp 0x10025342
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x100253ce
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.1001cd1d
movd xmm2, esi
add esp, 0xc
cvtdq2ps xmm2, xmm2
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [esp + 0x6c]
movss dword [esp + 0x80], xmm0
movss xmm0, dword [eax + 0x4954]
subss xmm0, xmm2
movd xmm2, edi
cvtdq2ps xmm2, xmm2
movss dword [eax + 0x4954], xmm0
movss xmm0, dword [eax + 0x4958]
subss xmm0, xmm2
movss dword [eax + 0x4958], xmm0
jmp 0x100253d4
movss xmm1, dword [esp + 0x78]
jmp 0x100253db
movss xmm1, dword [esp + 0x78]
mov edi, dword [esp + 0x8c]
movss xmm0, dword [esp + 0x80]
ucomiss xmm0, dword [0x100cdad8]
lahf
test ah, 0x44
jnp 0x10025402
push edi
movss dword [edi + 0x24], xmm0
movss dword [edi + 0x28], xmm1
call fcn.100129e7
pop ecx
movss xmm0, dword [esp + 0x30]
ucomiss xmm0, dword [0x100cdad8]
lahf
test ah, 0x44
jnp 0x1002543e
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.100129e7
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 0x10025454
xor al, al
add esp, 0x80
ret