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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x118
mov eax, dword [0x10101380]
xor eax, esp
mov dword [esp + 0x114], eax
cmp byte [0x102f9c6c], 0
mov eax, dword [ebp + 8]
push esi
push edi
mov dword [esp + 0x2c], eax
je 0x1002d862
cmp byte [0x102f7cfc], 0
je 0x1002d862
mov eax, dword [0x102f7cbc]
mov ecx, dword [eax]
mov eax, dword [ecx + 4]
add ecx, 4
mov eax, dword [eax + 0x20]
call eax
test eax, eax
je 0x1002d862
mov ecx, dword [0x10311ed0]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x78]
call edx
mov esi, eax
test esi, esi
je 0x1002d862
mov ecx, dword [0x102f7cbc]
mov edx, dword [0x10312104]
mov eax, dword [esi + 0xb0]
add edx, 0xffffffc2
xor edx, 0xc274d83b
mov ecx, dword [ecx]
mov ecx, dword [edx + ecx]
lea ecx, [ecx + ecx*2]
lea edx, [eax + ecx*4]
add edx, esi
je 0x1002d862
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
shl ecx, 4
add ecx, dword [ebp + 0xc]
lea eax, [eax + ecx*4]
add eax, edx
je 0x1002d862
mov eax, dword [0x102f9c64]
push 0x30
push 0
movss xmm0, dword [eax + 0x104]
mov eax, dword [0x102f7cf8]
mov dword [esp + 0x74], eax
lea eax, [esp + 0xec]
movss dword [esp + 0x64], xmm0
movq xmm0, qword [0x102f7cf0]
push eax
movq qword [esp + 0x70], xmm0
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
mov dword [esp + 0xec], 0
add esp, 0xc
cmp dword [0x102f9c60], 8
movups xmmword [esp + 0xc0], xmm0
movups xmmword [esp + 0xd0], xmm0
movss xmm0, dword [0x102fa844]
jne 0x1002d2b9
movss xmm0, dword [0x100f5350]
mulss xmm0, dword [0x100f5250]
mov esi, dword [ebp + 0x10]
movss dword [esp + 0x60], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esi]
mulss xmm0, dword [0x100f50ac]
movss dword [esp + 0x10], xmm0
call fcn.10027de0
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x10]
call fcn.10027e20
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esi + 4]
mulss xmm0, dword [0x100f50ac]
movss dword [esp + 0x10], xmm0
call fcn.10027de0
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x10]
call fcn.10027e20
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esi + 8]
mulss xmm0, dword [0x100f50ac]
movss dword [esp + 0x10], xmm0
call fcn.10027de0
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x10]
call fcn.10027e20
movss xmm3, dword [esp + 0x18]
movaps xmm2, xmm0
movss xmm4, dword [esp + 0x14]
movaps xmm0, xmm3
movss xmm5, dword [esp + 0x20]
movaps xmm1, xmm2
mulss xmm1, dword [esp + 0x28]
mov ecx, dword [0x102f9b3c]
movss xmm7, dword [esp + 0x24]
mulss xmm0, xmm4
movaps xmm6, xmm7
mulss xmm6, xmm5
mov eax, dword [ecx]
movss dword [esp + 0x48], xmm0
movaps xmm0, xmm5
mulss xmm0, xmm4
mov eax, dword [eax + 0x754]
mov dword [esp + 0x10], eax
movss dword [esp + 0x54], xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
subss xmm6, xmm0
movaps xmm0, xmm5
mulss xmm0, xmm1
movaps xmm1, xmm7
mulss xmm1, dword [esp + 0x28]
movss dword [esp + 0x44], xmm6
movaps xmm6, xmm7
mulss xmm6, xmm3
mulss xmm7, xmm4
xorps xmm6, xmmword [0x100f5720]
subss xmm6, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm4
movss dword [esp + 0x24], xmm7
movss dword [esp + 0x50], xmm6
movaps xmm6, xmm2
movss dword [esp + 0x58], xmm0
movaps xmm0, xmm3
mulss xmm6, xmm5
mulss xmm0, xmm1
mulss xmm5, xmm1
mulss xmm2, xmm3
addss xmm6, xmm0
subss xmm5, xmm2
movss dword [esp + 0x4c], xmm6
movss dword [esp + 0x20], xmm5
call dword [esp + 0x10]
mov ecx, dword [0x102f9b3c]
fstp dword [esp + 0x40]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6dc]
mov dword [esp + 0x10], eax
call dword [esp + 0x10]
mov edi, 0xff
mov dword [esp + 0x14], 0
fstp dword [esp + 0x3c]
mov dword [esp + 0x10], edi
nop dword [eax]
mov esi, dword [0x102f9b3c]
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0x6f8]
call eax
test eax, eax
je 0x1002d612
cmp dword [eax + 0xf4], 0
je 0x1002d612
mov eax, dword [0x103121a8]
add eax, 0xffffff99
xor eax, 0xc274d864
mov edi, dword [eax + esi]
mov eax, dword [0x103121e0]
add eax, 0xffffff8b
xor eax, 0xc274d872
movss xmm0, dword [eax + esi]
mov esi, dword [esp + 0x14]
push esi
movss dword [esp + 0x34], xmm0
call dword [0x10311fcc]
mov eax, dword [0x10311fd4]
mov dword [esp], 0x3f800000
push ecx
mov dword [esp + 0x20], eax
mov dword [esp], 0
call dword [esp + 0x20]
fstp dword [esp + 0x1c]
mov dword [esp + 4], 0x40c90fdb
mov dword [esp], 0
call dword [0x10311fd4]
mov eax, dword [0x10311fd4]
fstp dword [esp + 0x40]
mov dword [esp + 0x20], eax
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0
call dword [esp + 0x20]
fstp dword [esp + 0x20]
mov dword [esp + 4], 0x40c90fdb
mov dword [esp], 0
call dword [0x10311fd4]
add esp, 8
fstp dword [esp + 0x34]
cmp edi, 0x40
je 0x1002d59b
cmp edi, 0x1c
jne 0x1002d59b
movss xmm3, dword [esp + 0x30]
movss xmm0, dword [0x100f5254]
comiss xmm0, xmm3
jbe 0x1002d59b
movss xmm1, dword [esp + 0x14]
lea eax, [edi - 0x19]
movss xmm2, dword [esp + 0x18]
nop dword [eax + eax]
movaps xmm0, xmm1
dec eax
mulss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm2, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm3
ja 0x1002d560
movss xmm0, dword [0x100f51a8]
subss xmm0, xmm1
movss dword [esp + 0x14], xmm0
movss xmm0, dword [0x100f51a8]
subss xmm0, xmm2
jmp 0x1002d5ad
movss xmm0, dword [esp + 0x14]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x18]
movss xmm1, dword [esp + 0x38]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x34]
call fcn.100c4880
movss xmm4, dword [esp + 0x18]
movaps xmm2, xmm0
movss xmm3, dword [esp + 0x14]
movaps xmm1, xmm2
mulss xmm4, dword [esp + 0x3c]
movaps xmm0, xmm2
mov edi, dword [esp + 0x10]
mulss xmm3, dword [esp + 0x40]
shufps xmm1, xmm2, 0xe
movaps xmm5, xmm1
shufps xmm2, xmm2, 1
shufps xmm1, xmm1, 1
mulss xmm5, xmm3
mulss xmm0, xmm4
mulss xmm2, xmm4
mulss xmm1, xmm3
addss xmm5, xmm0
addss xmm2, xmm1
jmp 0x1002d621
movss xmm5, dword [0x100f5400]
mov esi, dword [esp + 0x14]
movaps xmm2, xmm5
movaps xmm4, xmm2
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0x4c]
movaps xmm3, xmm2
mulss xmm4, dword [esp + 0x44]
mulss xmm3, dword [esp + 0x50]
addss xmm4, dword [esp + 0x48]
addss xmm3, dword [esp + 0x54]
addss xmm4, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0x20]
mulss xmm5, dword [esp + 0x24]
addss xmm3, xmm0
movaps xmm1, xmm4
movss xmm0, dword [esp + 0x58]
mulss xmm0, xmm2
mulss xmm1, xmm4
addss xmm0, dword [esp + 0x28]
subss xmm5, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm3
addss xmm0, xmm1
movaps xmm1, xmm5
mulss xmm1, xmm5
addss xmm0, xmm1
call fcn.10027e30
addss xmm0, dword [0x100f506c]
movss xmm2, dword [0x100f51a8]
movss xmm7, dword [esp + 0x5c]
movss xmm6, dword [esp + 0x64]
mov dword [esp + 0x8c], 0
divss xmm2, xmm0
mov byte [esp + 0xb5], 1
movaps xmm1, xmm2
movaps xmm0, xmm2
mulss xmm0, xmm3
movss xmm3, dword [esp + 0x6c]
mulss xmm1, xmm4
movss xmm4, dword [esp + 0x68]
mulss xmm0, xmm7
mulss xmm1, xmm7
mulss xmm2, xmm5
addss xmm0, xmm4
addss xmm1, xmm6
mulss xmm2, xmm7
subss xmm0, xmm4
subss xmm1, xmm6
addss xmm2, xmm3
movss dword [esp + 0x84], xmm0
movss dword [esp + 0x80], xmm1
subss xmm2, xmm3
mulss xmm0, xmm0
mulss xmm1, xmm1
movss dword [esp + 0x88], xmm2
addss xmm0, xmm1
mulss xmm2, xmm2
addss xmm0, xmm2
ucomiss xmm0, dword [0x100f5054]
lahf
test ah, 0x44
jp 0x1002d74e
mov byte [esp + 0xb5], 0
mov ecx, dword [0x10311eb4]
lea edx, [esp + 0xc0]
push edx
push dword [esp + 0x30]
mov dword [esp + 0xb8], 0
lea edx, [esp + 0x78]
mov byte [esp + 0xbc], 1
movss dword [esp + 0x78], xmm6
movss dword [esp + 0x7c], xmm4
movss dword [esp + 0x80], xmm3
mov dword [esp + 0x84], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], 0
mov eax, dword [ecx]
push 0x4600400b
push edx
mov eax, dword [eax + 0xc]
call eax
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x10c], eax
jne 0x1002d81f
mov eax, dword [esp + 0x104]
cmp eax, 1
jl 0x1002d804
cmp eax, 7
jle 0x1002d809
cmp eax, 0xa
jne 0x1002d81f
movss xmm1, dword [esp + 0x1c]
addss xmm1, dword [0x100f51a8]
movss dword [esp + 0x1c], xmm1
jmp 0x1002d825
movss xmm1, dword [esp + 0x1c]
movss xmm2, dword [esp + 0x60]
comiss xmm1, xmm2
jae 0x1002d87a
movd xmm0, edi
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
comiss xmm2, xmm0
ja 0x1002d862
inc esi
sub edi, 1
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edi
jns 0x1002d460
mulss xmm1, dword [0x100f514c]
movss dword [0x102f7cc0], xmm1
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.100c2c0c
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esp + 0x11c]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.100c2c0c
mov esp, ebp
pop ebp
ret 0xc