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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd0
mov eax, dword [0x100b6004]
xor eax, esp
mov dword [esp + 0xcc], eax
push esi
mov esi, dword [ebp + 0x10]
movss dword [esp + 0xc], xmm3
movss dword [esp + 0x10], xmm2
mov dword [esp + 0x70], ecx
push edi
mov edi, edx
mov dword [esp + 0x70], edi
cmp esi, 2
jl 0x1000ba2a
movss xmm3, dword [edi + 4]
movss xmm1, dword [edi]
movaps xmm0, xmm3
mulss xmm0, xmm3
mulss xmm1, xmm1
movss dword [esp + 0x18], xmm3
addss xmm1, xmm0
movss xmm0, dword [edi + 8]
mulss xmm0, xmm0
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x1000aedb
sqrtsd xmm0, xmm0
jmp 0x1000aee0
call fcn.10098f60
movss xmm4, dword [0x100aa724]
lea eax, [esi - 1]
xorps xmm2, xmm2
movss xmm3, dword [esp + 0x14]
cvtsd2ss xmm2, xmm0
movd xmm0, eax
movaps xmm1, xmm4
cvtdq2ps xmm0, xmm0
mulss xmm3, dword [0x100aa6fc]
divss xmm1, xmm0
mulss xmm3, dword [0x100aa75c]
mulss xmm1, xmm2
movss dword [esp + 0x24], xmm2
comiss xmm3, xmm1
jbe 0x1000af4b
movaps xmm0, xmm2
divss xmm0, xmm3
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm4
cvttss2si esi, xmm0
cmp esi, 2
jge 0x1000af4b
mov esi, 2
jmp 0x1000af55
mov eax, 0x40
cmp esi, eax
cmova esi, eax
lea eax, [esi - 1]
movaps xmm1, xmm4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x100aa6ac]
movss dword [esp + 0x38], xmm1
mulss xmm1, xmm0
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [ebp + 8]
mulss xmm0, dword [ebp + 0xc]
movss dword [esp + 0x94], xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x98], xmm0
fld qword [esp + 0x98]
fld1
call fcn.10097300
mov eax, dword [ebp + 0x14]
mov ecx, eax
and ecx, 0x10
fstp dword [esp + 0x20]
mov dword [esp + 0x7c], ecx
je 0x1000aff7
cmp esi, 0x10
jae 0x1000afd8
movss xmm0, dword [0x100aa6c4]
mov esi, 0x10
movss dword [esp + 0x38], xmm0
movss xmm0, dword [0x100aa90c]
movd xmm1, esi
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x100aa6cc]
movss dword [esp + 0x3c], xmm1
jmp 0x1000b001
movss xmm0, dword [esp + 0x3c]
addss xmm0, xmm0
mulss xmm0, dword [esp + 0x10]
and eax, 0x40
mov dword [esp + 0x44], 0
movss xmm3, dword [0x100aa724]
xorps xmm2, xmm2
movss dword [esp + 8], xmm3
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x38]
mulss xmm0, dword [0x100aa900]
mov dword [esp + 0x90], eax
mulss xmm0, dword [0x100aa95c]
cvttss2si ecx, xmm0
mov dword [esp + 0x98], ecx
je 0x1000b05c
xorps xmm0, xmm0
movss dword [esp + 8], xmm0
movss xmm1, dword [esp + 0x24]
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jnp 0x1000b075
movaps xmm0, xmm3
divss xmm0, xmm1
movaps xmm1, xmm0
movss xmm5, dword [esp + 0x18]
movss xmm4, dword [edi]
movss xmm3, dword [edi + 8]
mulss xmm5, xmm1
mulss xmm4, xmm1
mulss xmm3, xmm1
movaps xmm0, xmm5
mulss xmm0, dword [0x11a08088]
movaps xmm7, xmm4
mulss xmm7, dword [0x11a08088]
movaps xmm6, xmm3
mulss xmm6, dword [0x11a08084]
mulss xmm3, dword [0x11a08080]
mulss xmm5, dword [0x11a08080]
subss xmm6, xmm0
mulss xmm4, dword [0x11a08084]
subss xmm7, xmm3
movaps xmm0, xmm6
movss dword [esp + 0x34], xmm6
mulss xmm0, xmm6
subss xmm5, xmm4
movaps xmm1, xmm7
movss dword [esp + 0x40], xmm7
mulss xmm1, xmm7
movss dword [esp + 0x18], xmm5
addss xmm1, xmm0
movaps xmm0, xmm5
mulss xmm0, xmm5
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x1000b116
sqrtsd xmm0, xmm0
jmp 0x1000b11b
call fcn.10098f60
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
xorps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x1000b13d
movss xmm0, dword [0x100aa724]
divss xmm0, xmm1
movaps xmm1, xmm0
movss xmm7, dword [esp + 0x34]
xor eax, eax
movss xmm0, dword [esp + 0x40]
xor edi, edi
movss xmm5, dword [esp + 0x18]
mulss xmm7, xmm1
mov dword [esp + 0x24], eax
mulss xmm0, xmm1
mulss xmm5, xmm1
movss dword [esp + 0x34], xmm7
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x18], xmm5
test esi, esi
je 0x1000ba2a
movss xmm0, dword [esp + 0x14]
mov ecx, dword [ebp + 0x14]
addss xmm0, xmm0
and ecx, 0xc0
mov dword [esp + 0x8c], ecx
xor ecx, ecx
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x20]
movss dword [esp + 0x1c], xmm0
nop dword [eax + eax]
cmp ecx, 0x400000
jl 0x1000b1e4
push 0x106
push str.D:_axash3d_fwgsxash3d_fwgs_refglgl_beams.c
push str.assert_failed_at__s:_i_n
call dword [0x11a5f3dc]
movss xmm5, dword [esp + 0x24]
add esp, 0xc
movss xmm7, dword [esp + 0x34]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x24]
movss xmm6, dword [esp + 0x78]
xorps xmm2, xmm2
mov edx, dword [esp + 0x74]
movd xmm0, eax
mov eax, dword [esp + 0x70]
cvtdq2ps xmm0, xmm0
ucomiss xmm6, xmm2
mulss xmm0, dword [esp + 0x38]
movaps xmm4, xmm0
movss dword [esp + 0x20], xmm0
mulss xmm4, dword [eax]
movaps xmm1, xmm0
mulss xmm1, dword [eax + 4]
movaps xmm3, xmm0
mulss xmm3, dword [eax + 8]
addss xmm4, dword [edx]
addss xmm1, dword [edx + 4]
addss xmm3, dword [edx + 8]
lahf
movss dword [esp + 0x28], xmm4
movss dword [esp + 0x48], xmm4
movss dword [esp + 0x2c], xmm1
movss dword [esp + 0x4c], xmm1
movss dword [esp + 0x30], xmm3
movss dword [esp + 0x50], xmm3
test ah, 0x44
jnp 0x1000b379
mov eax, ecx
movaps xmm2, xmm6
sar eax, 0x10
cmp dword [esp + 0x7c], 0
mulss xmm2, dword [eax*4 + 0x100ea0a0]
movss dword [esp + 0x10], xmm2
je 0x1000b331
mulss xmm0, dword [0x100aa858]
mulss xmm0, dword [esp + 0x3c]
addss xmm0, dword [ebp + 8]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x80], xmm0
call fcn.10098d90
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x10]
movss dword [esp + 0xc], xmm0
movsd xmm0, qword [esp + 0x80]
call fcn.10098080
movss xmm3, dword [esp + 0xc]
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm0
movaps xmm4, xmm3
movaps xmm1, xmm3
mulss xmm2, dword [esp + 0x10]
mulss xmm4, dword [0x11a08098]
mulss xmm1, dword [0x11a0809c]
movaps xmm0, xmm2
mulss xmm0, dword [0x11a0808c]
addss xmm4, dword [esp + 0x28]
mulss xmm3, dword [0x11a080a0]
addss xmm1, dword [esp + 0x2c]
addss xmm3, dword [esp + 0x30]
addss xmm4, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x11a08090]
mulss xmm2, dword [0x11a08094]
addss xmm1, xmm0
addss xmm3, xmm2
jmp 0x1000b355
movaps xmm0, xmm7
mulss xmm0, xmm2
addss xmm4, xmm0
movss xmm0, dword [esp + 0x40]
mulss xmm0, xmm2
addss xmm1, xmm0
movaps xmm0, xmm5
mulss xmm0, xmm2
addss xmm3, xmm0
movss dword [esp + 0x50], xmm3
movss dword [esp + 0x30], xmm3
movss dword [esp + 0x4c], xmm1
movss dword [esp + 0x2c], xmm1
movss dword [esp + 0x48], xmm4
movss dword [esp + 0x28], xmm4
movss xmm5, dword [esp + 0x14]
movss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x58], xmm5
movss dword [esp + 0x54], xmm0
test edi, edi
je 0x1000b776
movss xmm6, dword [esp + 0x60]
movss xmm5, dword [esp + 0x5c]
subss xmm5, xmm4
movaps xmm4, xmm6
subss xmm6, dword [0x11a0806c]
subss xmm4, xmm1
movss xmm1, dword [esp + 0x64]
movaps xmm2, xmm1
subss xmm1, dword [0x11a08070]
subss xmm2, xmm3
movss xmm3, dword [esp + 0x5c]
subss xmm3, dword [0x11a08068]
movaps xmm0, xmm6
mulss xmm6, xmm5
movaps xmm7, xmm1
mulss xmm1, xmm5
mulss xmm0, xmm2
mulss xmm7, xmm4
subss xmm7, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm2
mulss xmm3, xmm4
subss xmm0, xmm1
subss xmm6, xmm3
movss xmm3, dword [0x100aa6fc]
movaps xmm1, xmm0
movss dword [esp + 0x10], xmm0
mulss xmm1, xmm0
movaps xmm0, xmm7
mulss xmm0, xmm7
addss xmm1, xmm0
movaps xmm0, xmm6
mulss xmm0, xmm6
addss xmm1, xmm0
xorps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1000b444
xorps xmm2, xmm2
jmp 0x1000b47d
movss xmm2, dword [0x100aa774]
mov eax, 0x5f3759df
movss dword [esp + 0xc], xmm1
mov ecx, dword [esp + 0xc]
sar ecx, 1
sub eax, ecx
mulss xmm1, xmm3
mov dword [esp + 0xc], eax
movss xmm0, dword [esp + 0xc]
mulss xmm1, xmm0
mulss xmm1, xmm0
subss xmm2, xmm1
mulss xmm2, xmm0
movaps xmm0, xmm2
movaps xmm1, xmm2
mulss xmm1, dword [esp + 0x10]
mulss xmm0, xmm7
mulss xmm2, xmm6
movss dword [esp + 0x10], xmm1
movss dword [esp + 0x80], xmm0
cmp edi, 1
jbe 0x1000b566
movss xmm4, dword [esp + 0xa4]
movss xmm5, dword [esp + 0xa8]
addss xmm4, xmm0
movss xmm6, dword [esp + 0xac]
addss xmm5, xmm1
addss xmm6, xmm2
mulss xmm4, xmm3
mulss xmm5, xmm3
movaps xmm0, xmm4
mulss xmm6, xmm3
mulss xmm0, xmm4
movaps xmm1, xmm5
mulss xmm1, xmm5
addss xmm1, xmm0
movaps xmm0, xmm6
mulss xmm0, xmm6
addss xmm1, xmm0
xorps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1000b50a
xorps xmm3, xmm3
jmp 0x1000b543
movss dword [esp + 0xc], xmm1
mov eax, 0x5f3759df
mov ecx, dword [esp + 0xc]
mulss xmm1, xmm3
sar ecx, 1
movss xmm3, dword [0x100aa774]
sub eax, ecx
mov dword [esp + 0xc], eax
movss xmm0, dword [esp + 0xc]
mulss xmm1, xmm0
mulss xmm1, xmm0
subss xmm3, xmm1
mulss xmm3, xmm0
movss xmm0, dword [esp + 0x80]
movaps xmm7, xmm3
movss xmm1, dword [esp + 0x10]
mulss xmm7, xmm4
movaps xmm4, xmm3
mulss xmm4, xmm5
mulss xmm3, xmm6
jmp 0x1000b56f
movaps xmm7, xmm0
movaps xmm4, xmm1
movaps xmm3, xmm2
movss dword [esp + 0xa4], xmm0
sub esp, 8
movss dword [esp + 0xb4], xmm2
movaps xmm0, xmm7
movss xmm2, dword [esp + 0x74]
movss dword [esp + 0xb0], xmm1
movaps xmm1, xmm2
mulss xmm1, dword [0x100aa6fc]
xorps xmm2, xmmword [0x100aaa70]
mulss xmm2, dword [0x100aa6fc]
mulss xmm0, xmm1
movss dword [esp + 0xc0], xmm3
movss dword [esp + 0xbc], xmm4
addss xmm0, dword [esp + 0x64]
movss dword [esp + 0xb8], xmm7
mulss xmm7, xmm2
movss dword [esp + 0xc4], xmm0
movaps xmm0, xmm4
addss xmm7, dword [esp + 0x64]
mulss xmm0, xmm1
mulss xmm4, xmm2
addss xmm0, dword [esp + 0x68]
movss dword [esp + 0xd0], xmm7
addss xmm4, dword [esp + 0x68]
movss dword [esp + 0xc8], xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
mulss xmm3, xmm2
addss xmm0, dword [esp + 0x6c]
movss dword [esp + 0xd4], xmm4
addss xmm3, dword [esp + 0x6c]
movss dword [esp + 0xcc], xmm0
movss xmm0, dword [esp + 0x70]
movss dword [esp + 4], xmm0
movss dword [esp + 0xd8], xmm3
mov dword [esp], 0
call dword [0x11a5f230]
movss xmm1, dword [0x115e3bf0]
sub esp, 0x10
movss xmm0, dword [0x115e3bec]
movss xmm2, dword [esp + 0x18]
mulss xmm0, xmm1
mov dword [esp + 0xc], 0x3f800000
mulss xmm0, xmm2
movss dword [esp + 8], xmm0
movss xmm0, dword [0x115e3be8]
mulss xmm0, xmm1
mulss xmm0, xmm2
movss dword [esp + 4], xmm0
movss xmm0, dword [0x115e3be4]
mulss xmm0, xmm1
mulss xmm0, xmm2
movss dword [esp], xmm0
call dword [0x11a5f264]
lea eax, [esp + 0xb0]
push eax
call dword [0x11a5f1f8]
lea eax, [esp + 0xbc]
push eax
call dword [0x11a5f1fc]
movss xmm0, dword [esp + 0x68]
sub esp, 8
movss dword [esp + 4], xmm0
mov dword [esp], 0x3f800000
call dword [0x11a5f230]
movss xmm1, dword [0x115e3bf0]
sub esp, 0x10
movss xmm0, dword [0x115e3bec]
movss xmm2, dword [esp + 0x18]
mulss xmm0, xmm1
mov dword [esp + 0xc], 0x3f800000
mulss xmm0, xmm2
movss dword [esp + 8], xmm0
movss xmm0, dword [0x115e3be8]
mulss xmm0, xmm1
mulss xmm0, xmm2
movss dword [esp + 4], xmm0
movss xmm0, dword [0x115e3be4]
mulss xmm0, xmm1
mulss xmm0, xmm2
movss dword [esp], xmm0
call dword [0x11a5f264]
lea eax, [esp + 0xb0]
push eax
call dword [0x11a5f1f8]
lea eax, [esp + 0xc8]
push eax
call dword [0x11a5f1fc]
movss xmm5, dword [esp + 0x14]
movups xmm0, xmmword [esp + 0x48]
mov eax, dword [esp + 0x58]
inc edi
cmp dword [esp + 0x8c], 0xc0
movups xmmword [esp + 0x5c], xmm0
mov dword [esp + 0x6c], eax
jne 0x1000b7c5
movss xmm0, dword [esp + 0x20]
movss xmm2, dword [0x100aa6fc]
comiss xmm2, xmm0
jbe 0x1000b7b1
movss dword [esp + 8], xmm0
jmp 0x1000b7ff
movss xmm1, dword [0x100aa724]
subss xmm1, xmm0
movss dword [esp + 8], xmm1
jmp 0x1000b7ff
cmp dword [esp + 0x90], 0
je 0x1000b7dd
movss xmm0, dword [esp + 0x20]
movss dword [esp + 8], xmm0
jmp 0x1000b7f7
test byte [ebp + 0x14], 0x80
je 0x1000b7f7
movss xmm1, dword [0x100aa724]
subss xmm1, dword [esp + 0x20]
movss dword [esp + 8], xmm1
movss xmm2, dword [0x100aa6fc]
cmp edi, esi
jne 0x1000b9e9
movss xmm4, dword [esp + 0xa4]
movaps xmm1, xmm5
movss xmm3, dword [esp + 0xa8]
movaps xmm0, xmm4
mulss xmm1, xmm2
sub esp, 8
movss xmm2, dword [esp + 0xb4]
mulss xmm0, xmm1
addss xmm0, dword [esp + 0x30]
movss dword [esp + 0xc4], xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
addss xmm0, dword [esp + 0x34]
movss dword [esp + 0xc8], xmm0
movaps xmm0, xmm2
mulss xmm0, xmm1
addss xmm0, dword [esp + 0x38]
movss dword [esp + 0xcc], xmm0
movss xmm0, dword [esp + 0x1c]
xorps xmm0, xmmword [0x100aaa70]
mulss xmm0, dword [0x100aa6fc]
mulss xmm4, xmm0
mulss xmm3, xmm0
addss xmm4, dword [esp + 0x30]
mulss xmm2, xmm0
addss xmm3, dword [esp + 0x34]
movss xmm0, dword [esp + 0x24]
addss xmm2, dword [esp + 0x38]
movss dword [esp + 4], xmm0
movss dword [esp + 0xd0], xmm4
movss dword [esp + 0xd4], xmm3
mov dword [esp], 0
movss dword [esp + 0xd8], xmm2
call dword [0x11a5f230]
movss xmm1, dword [0x115e3bf0]
sub esp, 0x10
movss xmm0, dword [0x115e3bec]
movss xmm2, dword [esp + 0x18]
mulss xmm0, xmm1
mov dword [esp + 0xc], 0x3f800000
mulss xmm0, xmm2
movss dword [esp + 8], xmm0
movss xmm0, dword [0x115e3be8]
mulss xmm0, xmm1
mulss xmm0, xmm2
movss dword [esp + 4], xmm0
movss xmm0, dword [0x115e3be4]
mulss xmm0, xmm1
mulss xmm0, xmm2
movss dword [esp], xmm0
call dword [0x11a5f264]
lea eax, [esp + 0xa4]
push eax
call dword [0x11a5f1f8]
lea eax, [esp + 0xbc]
push eax
call dword [0x11a5f1fc]
movss xmm0, dword [esp + 0x1c]
sub esp, 8
movss dword [esp + 4], xmm0
mov dword [esp], 0x3f800000
call dword [0x11a5f230]
movss xmm1, dword [0x115e3bf0]
sub esp, 0x10
movss xmm0, dword [0x115e3bec]
movss xmm2, dword [esp + 0x18]
mulss xmm0, xmm1
mov dword [esp + 0xc], 0x3f800000
mulss xmm0, xmm2
movss dword [esp + 8], xmm0
movss xmm0, dword [0x115e3be8]
mulss xmm0, xmm1
mulss xmm0, xmm2
movss dword [esp + 4], xmm0
movss xmm0, dword [0x115e3be4]
mulss xmm0, xmm1
mulss xmm0, xmm2
movss dword [esp], xmm0
call dword [0x11a5f264]
lea eax, [esp + 0xa4]
push eax
call dword [0x11a5f1f8]
lea eax, [esp + 0xc8]
push eax
call dword [0x11a5f1fc]
movss xmm0, dword [esp + 0x1c]
addss xmm0, dword [esp + 0x94]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x44]
inc eax
add ecx, dword [esp + 0x98]
movss xmm5, dword [esp + 0x18]
movss xmm7, dword [esp + 0x34]
movss dword [esp + 0x1c], xmm0
mov dword [esp + 0x44], ecx
mov dword [esp + 0x24], eax
cmp eax, esi
jl 0x1000b1b0
mov ecx, dword [esp + 0xd4]
pop edi
pop esi
xor ecx, esp
call fcn.10048715
mov esp, ebp
pop ebp
ret