Function at 0x14008a970
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 0x14008a99e
xorps xmm0, xmm0
jmp 0x14008ac4d
movss xmm0, dword [rsp + 0xa0]
ucomiss xmm0, dword [0x1400c09c4]
je 0x14008a9cb
cmp dword [rsp + 0x80], 8
je 0x14008a9c4
cmp dword [rsp + 0x80], 9
jne 0x14008a9cb
mov byte [rsp + 0x20], 1
jmp 0x14008a9d0
mov byte [rsp + 0x20], 0
mov al, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x90], eax
jge 0x14008aa3f
mov eax, dword [rsp + 0x90]
cmp dword [rsp + 0x88], eax
jge 0x14008aa05
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x2c], eax
jmp 0x14008aa35
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x88], eax
jle 0x14008aa22
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x28], eax
jmp 0x14008aa2d
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x38], eax
jmp 0x14008aa94
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x88], eax
jge 0x14008aa5c
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x34], eax
jmp 0x14008aa8c
mov eax, dword [rsp + 0x90]
cmp dword [rsp + 0x88], eax
jle 0x14008aa79
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x30], eax
jmp 0x14008aa84
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x24], eax
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x14008ac20
cvtsi2ss xmm0, dword [rsp + 0x24]
comiss xmm0, dword [0x1400c08dc]
jae 0x14008ab5f
cmp dword [rsp + 0x98], 0
jle 0x14008aad0
mov dword [rsp + 0x3c], 0
jmp 0x14008aadb
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x90]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x90]
mov edx, dword [rsp + 0x3c]
sub edx, ecx
mov ecx, edx
cdq
idiv ecx
cvtsi2ss xmm0, eax
movss xmm1, dword [0x1400c09c4]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x50], xmm0
movss xmm0, dword [0x1400c09c4]
divss xmm0, dword [rsp + 0xa0]
movss dword [rsp + 0x48], xmm0
movss xmm1, dword [rsp + 0x48]
movss xmm0, dword [rsp + 0x50]
call fcn.1400ac740
movss xmm1, dword [0x1400c09c4]
subss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [rsp + 0xa8]
jmp 0x14008ac4d
cmp dword [rsp + 0x90], 0
jg 0x14008ab73
mov dword [rsp + 0x40], 0
jmp 0x14008ab7e
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x90], 0
jg 0x14008ab92
mov dword [rsp + 0x44], 0
jmp 0x14008ab9d
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x44]
mov edx, dword [rsp + 0x98]
sub edx, ecx
mov ecx, edx
cdq
idiv ecx
cvtsi2ss xmm0, eax
movss dword [rsp + 0x60], xmm0
movss xmm0, dword [0x1400c09c4]
divss xmm0, dword [rsp + 0xa0]
movss dword [rsp + 0x58], xmm0
movss xmm0, dword [0x1400c09c4]
subss xmm0, dword [rsp + 0xa8]
movss dword [rsp + 0x64], xmm0
movss xmm1, dword [rsp + 0x58]
movss xmm0, dword [rsp + 0x60]
call fcn.1400ac740
movss xmm1, dword [rsp + 0x64]
mulss xmm0, xmm1
movss xmm1, dword [rsp + 0xa8]
addss xmm1, xmm0
movaps xmm0, xmm1
jmp 0x14008ac4d
mov eax, dword [rsp + 0x90]
mov ecx, dword [rsp + 0x24]
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