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

Disassembly:
sub esp, 0x54
mov eax, dword [0x10185028]
push edi
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x4c], eax
test byte [edi + 0xc], 0x42
jne 0x1002ca70
cmp byte [edi + 0xc4], 0
jg 0x1002ca70
cmp byte [edi + 0xc5], 0
jg 0x1002ca70
cmp byte [edi + 0xab], 0
je 0x1002ca70
movss xmm1, dword [eax + 0x3bd0]
xor edx, edx
mov cl, byte [eax + 0x66]
movaps xmm0, xmm1
mulss xmm0, dword [0x100d931c]
test cl, cl
push esi
mulss xmm1, dword [0x100d9350]
mov esi, 4
cmovne edx, esi
mov byte [esp + 0x59], 0
addss xmm0, dword [edi + 0x4c]
mov dword [esp + 0x3c], edx
addss xmm0, dword [0x100d5914]
maxss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x100d933c]
cvttss2si esi, xmm0
je 0x1002c1fa
movss xmm0, dword [0x100d5920]
jmp 0x1002c1fd
xorps xmm0, xmm0
movss dword [esp + 0x48], xmm0
movss xmm0, dword [0x100d939c]
push str.RESIZE
movss dword [esp + 0x24], xmm0
mov dword [esp + 0x28], 0x7f7fffff
movss dword [esp + 0x50], xmm0
movss dword [esp + 0x34], xmm0
mov dword [esp + 0x38], 0x7f7fffff
mov dword [edi + 0x148], 1
call fcn.10011bc0
xor ecx, ecx
add esp, 4
mov dword [esp + 0x54], ecx
cmp dword [esp + 0x6c], ecx
jle 0x1002c556
movss xmm4, dword [edi + 0x1c]
lea eax, [ecx + ecx*2]
mulss xmm4, dword [eax*8 + 0x100d5f20]
lea edx, [eax*8 + 0x100d5f20]
mov dword [esp + 0x40], edx
movss xmm2, dword [edi + 0x20]
mulss xmm2, dword [eax*8 + 0x100d5f24]
movss xmm0, dword [eax*8 + 0x100d5f28]
movss xmm1, dword [eax*8 + 0x100d5f2c]
movaps xmm5, xmm0
addss xmm4, dword [edi + 0x14]
addss xmm2, dword [edi + 0x18]
mulss xmm0, dword [esp + 0x48]
movaps xmm3, xmm1
mulss xmm1, dword [esp + 0x48]
movd xmm6, esi
cvtdq2ps xmm6, xmm6
mulss xmm5, xmm6
mulss xmm3, xmm6
addss xmm5, xmm4
subss xmm4, xmm0
addss xmm3, xmm2
subss xmm2, xmm1
movss dword [esp + 0x10], xmm5
comiss xmm4, xmm5
movss dword [esp + 8], xmm4
movss dword [esp + 0xc], xmm2
movss dword [esp + 0x14], xmm3
jbe 0x1002c2f4
movss dword [esp + 8], xmm5
movss dword [esp + 0x10], xmm4
comiss xmm2, xmm3
jbe 0x1002c305
movss dword [esp + 0xc], xmm3
movss dword [esp + 0x14], xmm2
push ecx
mov ecx, edi
call fcn.10017f60
push 8
mov edi, eax
lea eax, [esp + 0xc]
push 0
push edi
push eax
call fcn.1001aec0
push 0x40800
lea eax, [esp + 0x6f]
push eax
lea eax, [esp + 0x72]
push eax
lea eax, [esp + 0x24]
push edi
push eax
call fcn.1006ec70
mov ch, byte [esp + 0x7e]
add esp, 0x24
mov cl, byte [esp + 0x5b]
test ch, ch
jne 0x1002c34f
test cl, cl
je 0x1002c528
mov edi, dword [esp + 0x54]
mov eax, edi
mov edx, dword [esp + 0x50]
not eax
and eax, 1
add eax, 5
mov dword [edx + 0x4940], eax
test cl, cl
je 0x1002c528
cmp word [edx + 0x370a], 2
jne 0x1002c3d2
test edi, edi
jne 0x1002c3d2
push dword [esp + 0x64]
mov edi, dword [esp + 0x64]
lea eax, [esp + 0x1c]
push edi
push eax
call fcn.10024610
add esp, 0xc
mov byte [esp + 0x59], 1
movss xmm0, dword [eax]
movss dword [esp + 0x4c], xmm0
movss dword [esp + 0x30], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x34], xmm0
call fcn.1001abd0
mov cl, byte [esp + 0x5b]
mov ch, byte [esp + 0x5a]
test cl, cl
je 0x1002c5a7
mov eax, 0x20
jmp 0x1002c5b1
mov edi, dword [esp + 0x40]
movss xmm3, dword [0x100d5914]
mov ecx, dword [esp + 0x74]
movss xmm2, dword [0x100d93b0]
movss xmm0, dword [edi + 4]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x1002c3ff
movss xmm7, dword [ecx + 4]
jmp 0x1002c402
movaps xmm7, xmm2
movss xmm1, dword [edi]
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jp 0x1002c415
movss xmm5, dword [ecx]
jmp 0x1002c418
movaps xmm5, xmm2
xorps xmm2, xmm2
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x1002c439
movss xmm0, dword [ecx + 0xc]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [0x100d939c]
jmp 0x1002c447
movss xmm0, dword [0x100d939c]
movss dword [esp + 0x4c], xmm0
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jp 0x1002c455
movss xmm0, dword [ecx + 8]
movss xmm2, dword [edi + 0xc]
xorps xmm4, xmm4
mulss xmm2, dword [esp + 0x48]
cvtsi2ss xmm4, esi
movss dword [esp + 0x44], xmm0
xorps xmm4, xmmword [0x100d9460]
movss xmm0, dword [edi + 8]
movaps xmm6, xmm4
mulss xmm0, dword [esp + 0x48]
mulss xmm6, dword [edi + 8]
mulss xmm4, dword [edi + 0xc]
subss xmm6, xmm0
subss xmm4, xmm2
mulss xmm6, xmm1
mulss xmm4, dword [edi + 4]
addss xmm6, xmm0
movss xmm0, dword [edx + 0xdc0]
subss xmm0, dword [edx + 0x3ea0]
addss xmm4, xmm2
addss xmm6, xmm0
movss xmm0, dword [edx + 0xdc4]
subss xmm0, dword [edx + 0x3ea4]
addss xmm0, xmm4
comiss xmm7, xmm0
ja 0x1002c4db
movaps xmm7, xmm0
minss xmm7, dword [esp + 0x4c]
comiss xmm5, xmm6
ja 0x1002c4e9
movaps xmm5, xmm6
minss xmm5, dword [esp + 0x44]
lea eax, [esp + 0x30]
movss dword [esp + 0x28], xmm5
push eax
lea eax, [esp + 0x24]
movss dword [esp + 0x30], xmm7
push eax
push edi
mov edi, dword [esp + 0x6c]
lea eax, [esp + 0x34]
push eax
push edi
call fcn.100240b0
movss xmm0, dword [esp + 0x44]
add esp, 0x14
mov cl, byte [esp + 0x5b]
mov ch, byte [esp + 0x5a]
movss dword [esp + 0x4c], xmm0
jmp 0x1002c52c
mov edi, dword [esp + 0x60]
cmp dword [esp + 0x54], 0
je 0x1002c3c0
test cl, cl
jne 0x1002c3c8
test ch, ch
jne 0x1002c5a7
mov ecx, dword [esp + 0x54]
inc ecx
mov dword [esp + 0x54], ecx
cmp ecx, dword [esp + 0x6c]
jl 0x1002c254
xor edi, edi
mov dword [esp + 0x54], edi
cmp dword [esp + 0x3c], edi
jbe 0x1002c7e9
nop word [eax + eax]
lea eax, [edi*8]
sub eax, edi
shl eax, 2
mov dword [esp + 0x38], eax
test edi, edi
je 0x1002c5d2
cmp edi, 1
je 0x1002c5d2
mov dword [esp + 0x44], 3
lea eax, [esp + 0x2c]
mov dword [esp + 0x48], 0xdc4
mov dword [esp + 0x4c], 0x3ea4
jmp 0x1002c5ee
xor eax, eax
test ch, ch
setne al
add eax, 0x1e
push ecx
mov dword [esp], 0x3f800000
push eax
call fcn.10011380
mov ecx, dword [esp + 0x5c]
add esp, 8
mov edx, dword [esp + 0x70]
mov dword [edx + ecx*4], eax
jmp 0x1002c547
mov dword [esp + 0x44], 4
lea eax, [esp + 0x28]
mov dword [esp + 0x48], 0xdc0
mov dword [esp + 0x4c], 0x3ea0
mov edx, dword [esp + 0x60]
sub esp, 8
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x48], eax
lea eax, [esp + 0x10]
mov dword [esp + 4], 0x40800000
movss dword [esp], xmm0
push edi
push edx
push eax
call fcn.100255c0
add esp, 0x14
lea eax, [edi + 4]
mov ecx, edx
push eax
call fcn.10017f60
push 8
mov edi, eax
lea eax, [esp + 0xc]
push 0
push edi
push eax
call fcn.1001aec0
push 0x40800
lea eax, [esp + 0x6f]
push eax
lea eax, [esp + 0x72]
push eax
lea eax, [esp + 0x24]
push edi
push eax
call fcn.1006ec70
mov dl, byte [esp + 0x7f]
add esp, 0x24
cmp byte [esp + 0x5a], 0
mov ecx, dword [esp + 0x50]
je 0x1002c675
movss xmm0, dword [ecx + 0x3e84]
comiss xmm0, dword [0x100d930c]
ja 0x1002c67d
test dl, dl
je 0x1002c7ca
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x54]
mov dword [ecx + 0x4940], eax
test dl, dl
je 0x1002c7ce
mov eax, dword [esp + 0x68]
movss xmm2, dword [0x100d93b0]
mov dword [eax], edi
cmp edi, 3
jne 0x1002c77e
mov eax, dword [esp + 0x74]
movss xmm1, dword [eax + 4]
movss xmm3, dword [0x100d939c]
movss xmm5, dword [0x100d939c]
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x48]
movss xmm0, dword [eax + 0x14]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [eax + 0x18]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [edx + ecx]
mov edx, dword [esp + 0x4c]
subss xmm0, dword [edx + ecx]
mov ecx, dword [esp + 0x40]
addss xmm0, dword [0x100d5920]
movss dword [ecx], xmm0
movss xmm0, dword [esp + 0x2c]
comiss xmm1, xmm0
ja 0x1002c711
movaps xmm1, xmm0
minss xmm1, xmm3
movss xmm0, dword [esp + 0x28]
comiss xmm2, xmm0
ja 0x1002c723
movaps xmm2, xmm0
minss xmm2, xmm5
mov ecx, dword [esp + 0x38]
movss dword [esp + 0x28], xmm2
movss dword [esp + 0x2c], xmm1
movss xmm0, dword [ecx + 0x100d5f88]
minss xmm0, dword [ecx + 0x100d5f90]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [ecx + 0x100d5f8c]
minss xmm0, dword [ecx + 0x100d5f94]
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x20]
movss dword [esp + 0x24], xmm0
push ecx
lea ecx, [esp + 0x34]
push ecx
push eax
call fcn.100240b0
add esp, 0x14
jmp 0x1002c7ce
movaps xmm1, xmm2
movaps xmm0, xmm1
cmp edi, 1
jne 0x1002c796
mov eax, dword [esp + 0x74]
movss xmm2, dword [eax]
jmp 0x1002c6b3
movaps xmm4, xmm2
cmp edi, 2
jne 0x1002c7ac
mov eax, dword [esp + 0x74]
movss xmm3, dword [eax + 0xc]
jmp 0x1002c6bb
movss xmm3, dword [0x100d939c]
test edi, edi
jne 0x1002c6bb
mov eax, dword [esp + 0x74]
movss xmm5, dword [eax + 8]
jmp 0x1002c6c3
mov edi, dword [esp + 0x54]
inc edi
mov dword [esp + 0x54], edi
cmp edi, dword [esp + 0x3c]
jl 0x1002c570
movss xmm0, dword [esp + 0x30]
movss dword [esp + 0x4c], xmm0
call fcn.10011ca0
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x50]
mov dword [esi + 0x148], 0
mov eax, dword [edi + 0x4914]
test eax, eax
je 0x1002c9e8
cmp dword [eax + 0x300], esi
jne 0x1002c9e8
mov eax, dword [edi + 0x47f0]
cmp eax, 2
jne 0x1002c848
cmp byte [edi + 0xdd9], 0
je 0x1002c9e8
push 0x204
push 0x203
push 0x202
push 0x201
jmp 0x1002c865
cmp eax, 3
jne 0x1002c9e8
push 0x272
push 0x271
push 0x270
push 0x26f
lea eax, [esp + 0x28]
push eax
call fcn.1001cfa0
add esp, 0x14
xorps xmm0, xmm0
movss xmm2, dword [eax]
movss xmm3, dword [eax + 4]
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jp 0x1002c894
ucomiss xmm3, xmm0
lahf
test ah, 0x44
jnp 0x1002c9e8
movss xmm0, dword [edi + 0x5c]
minss xmm0, dword [edi + 0x58]
mov eax, dword [esp + 0x74]
push ecx
mov dword [esp], 0x3f800000
push 0x20
mulss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x100d938c]
mulss xmm2, xmm0
mulss xmm3, xmm0
addss xmm2, dword [edi + 0x4934]
addss xmm3, dword [edi + 0x4938]
movss dword [edi + 0x4934], xmm2
movss dword [edi + 0x4938], xmm3
movss xmm1, dword [eax]
movss xmm0, dword [eax + 4]
subss xmm1, dword [esi + 0x14]
subss xmm0, dword [esi + 0x18]
subss xmm1, dword [esi + 0x1c]
subss xmm0, dword [esi + 0x20]
mov byte [edi + 0x4928], 0
mov byte [edi + 0x47fb], 1
maxss xmm1, xmm2
maxss xmm0, xmm3
movss dword [edi + 0x4934], xmm1
movss dword [edi + 0x4938], xmm0
call fcn.10011380
mov ecx, dword [esp + 0x78]
add esp, 8
xorps xmm2, xmm2
mov dword [ecx], eax
cvttss2si esi, dword [edi + 0x4934]
cvttss2si edi, dword [edi + 0x4938]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movd xmm1, edi
ucomiss xmm0, xmm2
cvtdq2ps xmm1, xmm1
lahf
test ah, 0x44
jp 0x1002c965
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jnp 0x1002c9e4
mov eax, dword [esp + 0x60]
lea ecx, [esp + 0x18]
push ecx
push eax
addss xmm0, dword [eax + 0x24]
movss dword [esp + 0x20], xmm0
movaps xmm0, xmm1
addss xmm0, dword [eax + 0x28]
lea eax, [esp + 0x30]
push eax
movss dword [esp + 0x28], xmm0
call fcn.10024610
movd xmm1, esi
add esp, 0xc
cvtdq2ps xmm1, xmm1
movss xmm0, dword [eax]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [eax + 4]
mov eax, dword [esp + 0x50]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [eax + 0x4934]
subss xmm0, xmm1
movd xmm1, edi
cvtdq2ps xmm1, xmm1
movss dword [eax + 0x4934], xmm0
movss xmm0, dword [eax + 0x4938]
subss xmm0, xmm1
movss dword [eax + 0x4938], xmm0
mov esi, dword [esp + 0x60]
movss xmm0, dword [esp + 0x4c]
movss xmm1, dword [0x100d939c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1002ca20
movss dword [esi + 0x24], xmm0
movss xmm0, dword [esp + 0x34]
push esi
movss dword [esi + 0x28], xmm0
call fcn.1001a100
movss xmm1, dword [0x100d939c]
add esp, 4
movss xmm0, dword [esp + 0x20]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1002ca5a
cvttss2si eax, xmm0
push esi
movd xmm1, eax
cvttss2si eax, dword [esp + 0x28]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x14], xmm1
movss dword [esi + 0x18], xmm0
call fcn.1001a100
add esp, 4
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x28]
mov al, byte [esp + 0x59]
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], edx
pop esi
pop edi
add esp, 0x54
ret
xor al, al
pop edi
add esp, 0x54
ret