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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x88
mov eax, dword [0x10349734]
push esi
push edi
mov dword [esp + 0x68], ecx
mov edx, dword [eax + 8]
mov eax, dword [ecx + 4]
cmp byte [edx + eax + 0x18], 0
je 0x1012db80
mov eax, dword [0x1034972c]
xorps xmm1, xmm1
movss xmm0, dword [0x102fa268]
movss dword [esp + 0x60], xmm0
movss dword [esp + 0x64], xmm0
xorps xmm0, xmm0
mov eax, dword [eax]
movss dword [esp + 0x3c], xmm1
movss dword [esp + 0x40], xmm1
movss dword [esp + 0x44], xmm1
mov edi, dword [eax]
mov ecx, edi
movss dword [esp + 0x30], xmm1
movss dword [esp + 0x34], xmm1
movss dword [esp + 0x38], xmm0
call fcn.10039fa0
mov ecx, edi
mov esi, eax
call fcn.10007a80
mov edi, dword [0x1034972c]
movss xmm0, dword ds:[esi]
movss xmm1, dword [esi + 4]
movss xmm2, dword [esi + 8]
addss xmm0, dword [eax]
addss xmm1, dword [eax + 4]
addss xmm2, dword [eax + 8]
mov esi, dword [edi + 0x10]
mov eax, dword [edi + 0x14]
add eax, esi
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x18], xmm1
movss dword [esp + 0x1c], xmm2
mov dword [esp + 0x2c], eax
cmp esi, eax
je 0x1012d9c7
mov eax, dword [edi + 0xc]
mov edx, esi
dec eax
shr edx, 1
and edx, eax
mov ecx, esi
mov eax, dword [edi + 8]
and ecx, 1
mov eax, dword [eax + edx*4]
mov ecx, dword [eax + ecx*8]
cmp byte [ecx + 6], 0
jne 0x1012d9aa
cmp byte [ecx + 4], 0
jne 0x1012d9aa
cmp byte [ecx + 5], 0
je 0x1012d9aa
mov ecx, dword [ecx]
call fcn.10007a80
movss xmm2, dword [eax]
movss xmm0, dword [eax + 8]
movss dword [esp + 0x20], xmm2
movss xmm2, dword [eax + 4]
mov eax, dword [esp + 0x68]
movss dword [esp + 0x24], xmm2
movss dword [esp + 0x28], xmm0
mov ecx, dword [eax + 4]
mov eax, dword [0x10349734]
mov eax, dword [eax + 8]
cmp dword [eax + ecx*4 + 0x1c], 1
jne 0x1012d8e1
mov eax, dword [0x1034973c]
lea edx, [esp + 0x54]
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov ecx, dword [eax + 0x1c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x4c]
movss xmm0, dword [0x102fa074]
sub esp, 8
divss xmm0, dword [0x102fa1d4]
mulss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x18], xmm0
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100d4d50
movss xmm0, dword [esp + 0x18]
cvtps2pd xmm0, xmm0
fstp dword [esp + 0x80]
movsd qword [esp], xmm0
call fcn.100d4da0
movss xmm0, dword [0x102fa074]
divss xmm0, dword [0x102fa1d4]
fstp dword [esp + 0x78]
mulss xmm0, dword [esp + 0x60]
movss dword [esp + 0x18], xmm0
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100d4d50
movss xmm0, dword [esp + 0x18]
cvtps2pd xmm0, xmm0
fstp dword [esp + 0x7c]
movsd qword [esp], xmm0
call fcn.100d4da0
movss xmm0, dword [0x102fa074]
divss xmm0, dword [0x102fa1d4]
fstp dword ds:[esp + 0x74]
mulss xmm0, dword [esp + 0x64]
movss dword [esp + 0x18], xmm0
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100d4d50
movss xmm0, dword [esp + 0x18]
fstp st(0)
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100d4da0
movss xmm0, dword [esp + 0x74]
fstp st(0)
mulss xmm0, dword [esp + 0x78]
movss xmm2, dword [esp + 0x28]
subss xmm2, dword [esp + 0x1c]
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [esp + 0x7c]
mulss xmm0, dword [esp + 0x78]
movss xmm3, dword [esp + 0x30]
subss xmm3, dword [esp + 0x24]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0x80]
xorps xmm0, xmmword [0x102fa780]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x2c]
subss xmm0, dword [esp + 0x20]
movss dword [esp + 0x84], xmm2
movss dword [esp + 0x14], xmm3
movaps xmm1, xmm0
movss dword [esp + 0x88], xmm0
mulss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm1, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm3
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.100d4ca0
fstp dword [esp + 0x18]
movss xmm4, dword [esp + 0x18]
add esp, 8
xorps xmm1, xmm1
ucomiss xmm4, xmm1
lahf
test ah, 0x44
jnp 0x1012d798
movss xmm0, dword [esp + 0x7c]
movss xmm2, dword [esp + 0x80]
movss xmm3, dword [esp + 0xc]
divss xmm0, xmm4
divss xmm2, xmm4
divss xmm3, xmm4
jmp 0x1012d7a6
movss xmm3, dword [0x102f9fe4]
xorps xmm0, xmm0
xorps xmm2, xmm2
movss xmm1, dword [esp + 0x54]
sub esp, 8
mulss xmm1, xmm0
movss xmm0, dword [esp + 0x60]
mulss xmm0, xmm2
addss xmm1, xmm0
movss xmm0, dword [esp + 0x64]
mulss xmm0, xmm3
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.100d8f30
movss xmm1, dword [0x102fa1d4]
add esp, 8
divss xmm1, dword [0x102fa074]
movss xmm0, dword [0x102fa178]
divss xmm0, dword [0x102fa030]
fstp dword [esp + 0xc]
mulss xmm1, dword [esp + 0xc]
comiss xmm0, xmm1
jbe 0x1012d8e1
movss xmm1, dword [esp + 0x20]
sub esp, 8
movss xmm2, dword [esp + 0x2c]
subss xmm2, dword [esp + 0x20]
subss xmm1, dword [esp + 0x1c]
movss xmm0, dword [esp + 0x30]
subss xmm0, dword [esp + 0x24]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
cvtps2pd xmm0, xmm2
movsd qword [esp], xmm0
call fcn.100d4ca0
movss xmm0, dword [esp + 0x68]
add esp, 8
fstp dword [esp + 0xc]
comiss xmm0, dword [esp + 0xc]
jbe 0x1012d8e1
movss xmm0, dword [esp + 0x24]
sub esp, 8
movss xmm1, dword [esp + 0x28]
movaps xmm2, xmm0
subss xmm2, dword [esp + 0x20]
movss xmm3, dword [esp + 0x30]
movss dword [esp + 0x38], xmm1
subss xmm1, dword [esp + 0x1c]
movss dword [esp + 0x3c], xmm0
movaps xmm0, xmm3
subss xmm0, dword [esp + 0x24]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
movss dword [esp + 0x40], xmm3
addss xmm2, xmm0
cvtps2pd xmm0, xmm2
movsd qword [esp], xmm0
call fcn.100d4ca0
fstp dword [esp + 0x14]
movss xmm0, dword [esp + 0x14]
add esp, 8
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0x24]
sub esp, 8
movss xmm2, dword [esp + 0x28]
subss xmm2, dword [esp + 0x1c]
subss xmm0, dword [esp + 0x20]
movss xmm1, dword [esp + 0x30]
subss xmm1, dword [esp + 0x24]
mulss xmm2, xmm2
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm2, xmm0
addss xmm2, xmm1
cvtps2pd xmm0, xmm2
movsd qword [esp], xmm0
call fcn.100d4ca0
movss xmm0, dword [esp + 0x6c]
add esp, 8
fstp dword [esp + 0xc]
comiss xmm0, dword [esp + 0xc]
jbe 0x1012d9aa
movss xmm0, dword [esp + 0x24]
sub esp, 8
movss xmm1, dword [esp + 0x28]
movss xmm2, dword [esp + 0x30]
movss dword [esp + 0x48], xmm0
subss xmm0, dword [esp + 0x20]
movss dword [esp + 0x44], xmm1
subss xmm1, dword [esp + 0x1c]
movss dword [esp + 0x4c], xmm2
subss xmm2, dword [esp + 0x24]
mulss xmm0, xmm0
mulss xmm1, xmm1
mulss xmm2, xmm2
addss xmm0, xmm1
addss xmm0, xmm2
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100d4ca0
fstp dword [esp + 0x14]
movss xmm0, dword [esp + 0x14]
add esp, 8
movss dword [esp + 0x64], xmm0
inc esi
cmp esi, dword [esp + 0x2c]
jne 0x1012d548
movss xmm0, dword [esp + 0x14]
movss xmm1, dword [esp + 0x18]
movss xmm2, dword [esp + 0x1c]
mov esi, dword ds:[esp + 0x68]
mov eax, dword [0x10349734]
mov ecx, dword [esi + 4]
mov eax, dword [eax + 8]
cmp dword [eax + ecx*4 + 0x1c], 1
jne 0x1012daa8
movss xmm3, dword [0x102fa268]
comiss xmm3, dword [esp + 0x60]
jbe 0x1012daa8
movss xmm3, dword [esp + 0x30]
sub esp, 8
movss xmm4, dword [esp + 0x3c]
subss xmm3, xmm0
movss xmm5, dword [esp + 0x40]
subss xmm4, xmm1
subss xmm5, xmm2
movaps xmm1, xmm3
movss dword [esp + 0x38], xmm3
movaps xmm0, xmm4
mulss xmm1, xmm3
mulss xmm0, xmm4
movss dword [esp + 0x3c], xmm4
movss dword [esp + 0x40], xmm5
addss xmm1, xmm0
movaps xmm0, xmm5
mulss xmm0, xmm5
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.100d4ca0
fstp dword [esp + 0x34]
movss xmm2, dword [esp + 0x34]
add esp, 8
xorps xmm0, xmm0
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jnp 0x1012db50
movss xmm1, dword [esp + 0x30]
divss xmm1, xmm2
movss xmm0, dword [esp + 0x38]
movss dword [esp + 0x48], xmm1
movss xmm1, dword [esp + 0x34]
divss xmm1, xmm2
divss xmm0, xmm2
movss dword [esp + 0x4c], xmm1
movss dword [esp + 0x50], xmm0
jmp 0x1012db68
movss xmm3, dword [esp + 0x3c]
sub esp, 8
movss xmm4, dword [esp + 0x48]
subss xmm3, xmm0
movss xmm5, dword [esp + 0x4c]
subss xmm4, xmm1
subss xmm5, xmm2
movaps xmm1, xmm3
movss dword [esp + 0x44], xmm3
movaps xmm0, xmm4
mulss xmm1, xmm3
mulss xmm0, xmm4
movss dword [esp + 0x48], xmm4
movss dword [esp + 0x4c], xmm5
addss xmm1, xmm0
movaps xmm0, xmm5
mulss xmm0, xmm5
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.100d4ca0
fstp dword [esp + 0x34]
movss xmm2, dword [esp + 0x34]
add esp, 8
xorps xmm0, xmm0
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jnp 0x1012db50
movss xmm1, dword [esp + 0x3c]
divss xmm1, xmm2
movss dword [esp + 0x48], xmm1
movss xmm1, dword [esp + 0x40]
divss xmm1, xmm2
movss dword [esp + 0x4c], xmm1
movss xmm1, dword [esp + 0x44]
divss xmm1, xmm2
movss dword [esp + 0x50], xmm1
jmp 0x1012db68
mov dword [esp + 0x48], 0
mov dword [esp + 0x50], 0x3f800000
mov dword [esp + 0x4c], 0
push ecx
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x50]
call fcn.101a3f40
mov eax, dword [eax + 4]
mov dword [esi + 0x10], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret