Function at 0x14008ac54
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 0x14008ac82
xorps xmm0, xmm0
jmp 0x14008af42
movss xmm0, dword [rsp + 0xa0]
ucomiss xmm0, dword [0x1400c09c4]
je 0x14008acaf
cmp dword [rsp + 0x80], 8
je 0x14008aca8
cmp dword [rsp + 0x80], 9
jne 0x14008acaf
mov byte [rsp + 0x20], 1
jmp 0x14008acb4
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
jae 0x14008ad23
mov eax, dword [rsp + 0x90]
cmp dword [rsp + 0x88], eax
jae 0x14008ace9
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x2c], eax
jmp 0x14008ad19
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x88], eax
jbe 0x14008ad06
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x28], eax
jmp 0x14008ad11
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 0x14008ad78
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x88], eax
jae 0x14008ad40
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x34], eax
jmp 0x14008ad70
mov eax, dword [rsp + 0x90]
cmp dword [rsp + 0x88], eax
jbe 0x14008ad5d
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x30], eax
jmp 0x14008ad68
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 0x14008af0f
mov eax, dword [rsp + 0x24]
cvtsi2ss xmm0, rax
comiss xmm0, dword [0x1400c08dc]
jae 0x14008ae4a
cmp dword [rsp + 0x98], 0
jbe 0x14008adb7
mov dword [rsp + 0x3c], 0
jmp 0x14008adc2
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
xor edx, edx
div ecx
mov eax, eax
cvtsi2ss xmm0, rax
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 0x14008af42
cmp dword [rsp + 0x90], 0
ja 0x14008ae5e
mov dword [rsp + 0x40], 0
jmp 0x14008ae69
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x90], 0
ja 0x14008ae7d
mov dword [rsp + 0x44], 0
jmp 0x14008ae88
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
xor edx, edx
div ecx
mov eax, eax
cvtsi2ss xmm0, rax
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 0x14008af42
mov eax, dword [rsp + 0x90]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
mov eax, eax
cvtsi2ss xmm0, rax
mov eax, dword [rsp + 0x90]
mov ecx, dword [rsp + 0x98]
sub ecx, eax
mov eax, ecx
mov eax, eax
cvtsi2ss xmm1, rax
divss xmm0, xmm1
add rsp, 0x78
ret