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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x78
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x90], eax
jne 0x1400ae54e
xorps xmm0, xmm0
jmp 0x1400aea5b
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x90], eax
jge 0x1400ae57f
mov r8d, dword [rsp + 0x98]
mov edx, dword [rsp + 0x90]
mov ecx, dword [rsp + 0x88]
call fcn.1400782e0
mov dword [rsp + 0x38], eax
jmp 0x1400ae59e
mov r8d, dword [rsp + 0x90]
mov edx, dword [rsp + 0x98]
mov ecx, dword [rsp + 0x88]
call fcn.1400782e0
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x28], eax
movzx eax, byte [rsp + 0xa0]
test eax, eax
je 0x1400aea2e
mov eax, dword [rsp + 0x90]
cmp dword [rsp + 0x98], eax
jge 0x1400ae5d0
mov dword [rsp + 0x3c], 1
jmp 0x1400ae5d8
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1400ae5ff
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x90]
call fcn.1400ae470
cvtsi2ss xmm0, dword [rsp + 0x90]
call fcn.14002a610
comiss xmm0, dword [rsp + 0xa8]
jae 0x1400ae65e
cvtsi2ss xmm0, dword [rsp + 0x90]
comiss xmm0, dword [0x14010352c]
jae 0x1400ae641
movss xmm0, dword [rsp + 0xa8]
xorps xmm0, xmmword [0x140103a00]
movss dword [rsp + 0x40], xmm0
jmp 0x1400ae650
movss xmm0, dword [rsp + 0xa8]
movss dword [rsp + 0x40], xmm0
movss xmm0, dword [rsp + 0x40]
movss dword [rsp + 0x44], xmm0
jmp 0x1400ae66d
cvtsi2ss xmm0, dword [rsp + 0x90]
movss dword [rsp + 0x44], xmm0
movss xmm0, dword [rsp + 0x44]
movss dword [rsp + 0x30], xmm0
cvtsi2ss xmm0, dword [rsp + 0x98]
call fcn.14002a610
comiss xmm0, dword [rsp + 0xa8]
jae 0x1400ae6d8
cvtsi2ss xmm0, dword [rsp + 0x98]
comiss xmm0, dword [0x14010352c]
jae 0x1400ae6bb
movss xmm0, dword [rsp + 0xa8]
xorps xmm0, xmmword [0x140103a00]
movss dword [rsp + 0x48], xmm0
jmp 0x1400ae6ca
movss xmm0, dword [rsp + 0xa8]
movss dword [rsp + 0x48], xmm0
movss xmm0, dword [rsp + 0x48]
movss dword [rsp + 0x4c], xmm0
jmp 0x1400ae6e7
cvtsi2ss xmm0, dword [rsp + 0x98]
movss dword [rsp + 0x4c], xmm0
movss xmm0, dword [rsp + 0x4c]
movss dword [rsp + 0x2c], xmm0
cvtsi2ss xmm0, dword [rsp + 0x90]
ucomiss xmm0, dword [0x14010352c]
jne 0x1400ae72f
cvtsi2ss xmm0, dword [rsp + 0x98]
comiss xmm0, dword [0x14010352c]
jae 0x1400ae72f
movss xmm0, dword [rsp + 0xa8]
xorps xmm0, xmmword [0x140103a00]
movss dword [rsp + 0x30], xmm0
jmp 0x1400ae769
cvtsi2ss xmm0, dword [rsp + 0x98]
ucomiss xmm0, dword [0x14010352c]
jne 0x1400ae769
cvtsi2ss xmm0, dword [rsp + 0x90]
comiss xmm0, dword [0x14010352c]
jae 0x1400ae769
movss xmm0, dword [rsp + 0xa8]
xorps xmm0, xmmword [0x140103a00]
movss dword [rsp + 0x2c], xmm0
cvtsi2ss xmm0, dword [rsp + 0x28]
comiss xmm0, dword [rsp + 0x30]
ja 0x1400ae784
xorps xmm0, xmm0
movss dword [rsp + 0x24], xmm0
jmp 0x1400ae9f9
cvtsi2ss xmm0, dword [rsp + 0x28]
comiss xmm0, dword [rsp + 0x2c]
jb 0x1400ae7a4
movss xmm0, dword [0x1401036a0]
movss dword [rsp + 0x24], xmm0
jmp 0x1400ae9f9
mov eax, dword [rsp + 0x90]
imul eax, dword [rsp + 0x98]
cvtsi2ss xmm0, eax
comiss xmm0, dword [0x14010352c]
jae 0x1400ae924
cvtsi2ss xmm0, dword [rsp + 0x90]
xorps xmm0, xmmword [0x140103a00]
cvtsi2ss xmm1, dword [rsp + 0x98]
cvtsi2ss xmm2, dword [rsp + 0x90]
subss xmm1, xmm2
divss xmm0, xmm1
movss dword [rsp + 0x34], xmm0
movss xmm0, dword [rsp + 0x34]
subss xmm0, dword [rsp + 0xb0]
movss dword [rsp + 0x5c], xmm0
movss xmm0, dword [rsp + 0x34]
addss xmm0, dword [rsp + 0xb0]
movss dword [rsp + 0x50], xmm0
cvtsi2ss xmm0, dword [rsp + 0x88]
ucomiss xmm0, dword [0x14010352c]
jne 0x1400ae841
movss xmm0, dword [rsp + 0x34]
movss dword [rsp + 0x24], xmm0
jmp 0x1400ae91f
cvtsi2ss xmm0, dword [rsp + 0x88]
comiss xmm0, dword [0x14010352c]
jae 0x1400ae8bc
cvtsi2ss xmm0, dword [rsp + 0x28]
xorps xmm0, xmmword [0x140103a00]
divss xmm0, dword [rsp + 0xa8]
call fcn.14008b390
movss dword [rsp + 0x58], xmm0
movss xmm1, dword [rsp + 0x30]
xorps xmm1, xmmword [0x140103a00]
divss xmm1, dword [rsp + 0xa8]
movaps xmm0, xmm1
call fcn.14008b390
movss xmm1, dword [rsp + 0x58]
divss xmm1, xmm0
movaps xmm0, xmm1
movss xmm1, dword [0x1401036a0]
subss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [rsp + 0x5c]
movss dword [rsp + 0x24], xmm0
jmp 0x1400ae91f
cvtsi2ss xmm0, dword [rsp + 0x28]
divss xmm0, dword [rsp + 0xa8]
call fcn.14008b390
movss dword [rsp + 0x60], xmm0
movss xmm1, dword [rsp + 0x2c]
divss xmm1, dword [rsp + 0xa8]
movaps xmm0, xmm1
call fcn.14008b390
movss xmm1, dword [rsp + 0x60]
divss xmm1, xmm0
movaps xmm0, xmm1
movss xmm1, dword [0x1401036a0]
subss xmm1, dword [rsp + 0x50]
mulss xmm0, xmm1
movss xmm1, dword [rsp + 0x50]
addss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x24], xmm0
jmp 0x1400ae9f9
cvtsi2ss xmm0, dword [rsp + 0x90]
comiss xmm0, dword [0x14010352c]
jb 0x1400ae948
cvtsi2ss xmm0, dword [rsp + 0x98]
comiss xmm0, dword [0x14010352c]
jae 0x1400ae9bb
cvtsi2ss xmm0, dword [rsp + 0x28]
xorps xmm0, xmmword [0x140103a00]
movss xmm1, dword [rsp + 0x2c]
xorps xmm1, xmmword [0x140103a00]
divss xmm0, xmm1
call fcn.14008b390
movss dword [rsp + 0x64], xmm0
movss xmm1, dword [rsp + 0x30]
xorps xmm1, xmmword [0x140103a00]
movss xmm2, dword [rsp + 0x2c]
xorps xmm2, xmmword [0x140103a00]
divss xmm1, xmm2
movaps xmm0, xmm1
call fcn.14008b390
movss xmm1, dword [rsp + 0x64]
divss xmm1, xmm0
movaps xmm0, xmm1
movss xmm1, dword [0x1401036a0]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x24], xmm0
jmp 0x1400ae9f9
cvtsi2ss xmm0, dword [rsp + 0x28]
divss xmm0, dword [rsp + 0x30]
call fcn.14008b390
movss dword [rsp + 0x68], xmm0
movss xmm1, dword [rsp + 0x2c]
divss xmm1, dword [rsp + 0x30]
movaps xmm0, xmm1
call fcn.14008b390
movss xmm1, dword [rsp + 0x68]
divss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x24], xmm0
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1400aea18
movss xmm0, dword [0x1401036a0]
subss xmm0, dword [rsp + 0x24]
movss dword [rsp + 0x54], xmm0
jmp 0x1400aea24
movss xmm0, dword [rsp + 0x24]
movss dword [rsp + 0x54], xmm0
movss xmm0, dword [rsp + 0x54]
jmp 0x1400aea5b
mov eax, dword [rsp + 0x90]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm0, eax
mov eax, dword [rsp + 0x90]
mov ecx, dword [rsp + 0x98]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm1, eax
divss xmm0, xmm1
add rsp, 0x78
ret