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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x88
mov eax, dword [0x1034a734]
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 0x1012e700
mov eax, dword [0x1034a72c]
xorps xmm1, xmm1
movss xmm0, dword [0x102fb280]
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.1003ae40
mov ecx, edi
mov esi, eax
call fcn.10007a80
mov edi, dword [0x1034a72c]
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 0x1012e547
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 0x1012e52a
cmp byte [ecx + 4], 0
jne 0x1012e52a
cmp byte [ecx + 5], 0
je 0x1012e52a
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 [0x1034a734]
mov eax, dword [eax + 8]
cmp dword [eax + ecx*4 + 0x1c], 1
jne 0x1012e461
mov eax, dword [0x1034a73c]
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 [0x102fb094]
sub esp, 8
divss xmm0, dword [0x102fb1f0]
mulss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x18], xmm0
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100d5c80
movss xmm0, dword [esp + 0x18]
cvtps2pd xmm0, xmm0
fstp dword [esp + 0x80]
movsd qword [esp], xmm0
call fcn.100d5cd0
movss xmm0, dword [0x102fb094]
divss xmm0, dword [0x102fb1f0]
fstp dword [esp + 0x78]
mulss xmm0, dword [esp + 0x60]
movss dword [esp + 0x18], xmm0
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100d5c80
movss xmm0, dword [esp + 0x18]
cvtps2pd xmm0, xmm0
fstp dword [esp + 0x7c]
movsd qword [esp], xmm0
call fcn.100d5cd0
movss xmm0, dword [0x102fb094]
divss xmm0, dword [0x102fb1f0]
fstp dword ds:[esp + 0x74]
mulss xmm0, dword [esp + 0x64]
movss dword [esp + 0x18], xmm0
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100d5c80
movss xmm0, dword [esp + 0x18]
fstp st(0)
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100d5cd0
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 [0x102fb790]
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.100d5bd0
fstp dword [esp + 0x18]
movss xmm4, dword [esp + 0x18]
add esp, 8
xorps xmm1, xmm1
ucomiss xmm4, xmm1
lahf
test ah, 0x44
jnp 0x1012e318
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 0x1012e326
movss xmm3, dword [0x102fb004]
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.100d9e60
movss xmm1, dword [0x102fb1f0]
add esp, 8
divss xmm1, dword [0x102fb094]
movss xmm0, dword [0x102fb198]
divss xmm0, dword [0x102fb050]
fstp dword [esp + 0xc]
mulss xmm1, dword [esp + 0xc]
comiss xmm0, xmm1
jbe 0x1012e461
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.100d5bd0
movss xmm0, dword [esp + 0x68]
add esp, 8
fstp dword [esp + 0xc]
comiss xmm0, dword [esp + 0xc]
jbe 0x1012e461
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.100d5bd0
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.100d5bd0
movss xmm0, dword [esp + 0x6c]
add esp, 8
fstp dword [esp + 0xc]
comiss xmm0, dword [esp + 0xc]
jbe 0x1012e52a
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.100d5bd0
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 0x1012e0c8
movss xmm0, dword [esp + 0x14]
movss xmm1, dword [esp + 0x18]
movss xmm2, dword [esp + 0x1c]
mov esi, dword ds:[esp + 0x68]
mov eax, dword [0x1034a734]
mov ecx, dword [esi + 4]
mov eax, dword [eax + 8]
cmp dword [eax + ecx*4 + 0x1c], 1
jne 0x1012e628
movss xmm3, dword [0x102fb280]
comiss xmm3, dword [esp + 0x60]
jbe 0x1012e628
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.100d5bd0
fstp dword [esp + 0x34]
movss xmm2, dword [esp + 0x34]
add esp, 8
xorps xmm0, xmm0
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jnp 0x1012e6d0
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 0x1012e6e8
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.100d5bd0
fstp dword [esp + 0x34]
movss xmm2, dword [esp + 0x34]
add esp, 8
xorps xmm0, xmm0
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jnp 0x1012e6d0
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 0x1012e6e8
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.101a4c40
mov eax, dword [eax + 4]
mov dword [esi + 0x10], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret