Function at 0x1400c2960
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 0x1400c298f
vxorps xmm0, xmm0, xmm0
jmp 0x1400c2eee
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x90], eax
jae 0x1400c29c0
mov r8d, dword [rsp + 0x98]
mov edx, dword [rsp + 0x90]
mov ecx, dword [rsp + 0x88]
call fcn.1400c6f50
mov dword [rsp + 0x38], eax
jmp 0x1400c29df
mov r8d, dword [rsp + 0x90]
mov edx, dword [rsp + 0x98]
mov ecx, dword [rsp + 0x88]
call fcn.1400c6f50
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x28], eax
movzx eax, byte [rsp + 0xa0]
test eax, eax
je 0x1400c2ec1
mov eax, dword [rsp + 0x90]
cmp dword [rsp + 0x98], eax
jae 0x1400c2a11
mov dword [rsp + 0x3c], 1
jmp 0x1400c2a19
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1400c2a40
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x90]
call fcn.1400c1d30
mov eax, dword [rsp + 0x90]
vcvtsi2ss xmm0, xmm0, rax
call fcn.140040e50
vcomiss xmm0, dword [rsp + 0xa8]
jae 0x1400c2aa8
mov eax, dword [rsp + 0x90]
vcvtsi2ss xmm0, xmm0, rax
vcomiss xmm0, dword [0x1401765d4]
jae 0x1400c2a8b
vmovss xmm0, dword [rsp + 0xa8]
vxorps xmm0, xmm0, xmmword [0x140176a30]
vmovss dword [rsp + 0x40], xmm0
jmp 0x1400c2a9a
vmovss xmm0, dword [rsp + 0xa8]
vmovss dword [rsp + 0x40], xmm0
vmovss xmm0, dword [rsp + 0x40]
vmovss dword [rsp + 0x44], xmm0
jmp 0x1400c2aba
mov eax, dword [rsp + 0x90]
vcvtsi2ss xmm0, xmm0, rax
vmovss dword [rsp + 0x44], xmm0
vmovss xmm0, dword [rsp + 0x44]
vmovss dword [rsp + 0x30], xmm0
mov eax, dword [rsp + 0x98]
vcvtsi2ss xmm0, xmm0, rax
call fcn.140040e50
vcomiss xmm0, dword [rsp + 0xa8]
jae 0x1400c2b2e
mov eax, dword [rsp + 0x98]
vcvtsi2ss xmm0, xmm0, rax
vcomiss xmm0, dword [0x1401765d4]
jae 0x1400c2b11
vmovss xmm0, dword [rsp + 0xa8]
vxorps xmm0, xmm0, xmmword [0x140176a30]
vmovss dword [rsp + 0x48], xmm0
jmp 0x1400c2b20
vmovss xmm0, dword [rsp + 0xa8]
vmovss dword [rsp + 0x48], xmm0
vmovss xmm0, dword [rsp + 0x48]
vmovss dword [rsp + 0x4c], xmm0
jmp 0x1400c2b40
mov eax, dword [rsp + 0x98]
vcvtsi2ss xmm0, xmm0, rax
vmovss dword [rsp + 0x4c], xmm0
vmovss xmm0, dword [rsp + 0x4c]
vmovss dword [rsp + 0x2c], xmm0
mov eax, dword [rsp + 0x90]
vcvtsi2ss xmm0, xmm0, rax
vucomiss xmm0, dword [0x1401765d4]
jne 0x1400c2b91
mov eax, dword [rsp + 0x98]
vcvtsi2ss xmm0, xmm0, rax
vcomiss xmm0, dword [0x1401765d4]
jae 0x1400c2b91
vmovss xmm0, dword [rsp + 0xa8]
vxorps xmm0, xmm0, xmmword [0x140176a30]
vmovss dword [rsp + 0x30], xmm0
jmp 0x1400c2bd4
mov eax, dword [rsp + 0x98]
vcvtsi2ss xmm0, xmm0, rax
vucomiss xmm0, dword [0x1401765d4]
jne 0x1400c2bd4
mov eax, dword [rsp + 0x90]
vcvtsi2ss xmm0, xmm0, rax
vcomiss xmm0, dword [0x1401765d4]
jae 0x1400c2bd4
vmovss xmm0, dword [rsp + 0xa8]
vxorps xmm0, xmm0, xmmword [0x140176a30]
vmovss dword [rsp + 0x2c], xmm0
mov eax, dword [rsp + 0x28]
vcvtsi2ss xmm0, xmm0, rax
vcomiss xmm0, dword [rsp + 0x30]
ja 0x1400c2bf4
vxorps xmm0, xmm0, xmm0
vmovss dword [rsp + 0x24], xmm0
jmp 0x1400c2e8c
mov eax, dword [rsp + 0x28]
vcvtsi2ss xmm0, xmm0, rax
vcomiss xmm0, dword [rsp + 0x2c]
jb 0x1400c2c18
vmovss xmm0, dword [0x1401767b0]
vmovss dword [rsp + 0x24], xmm0
jmp 0x1400c2e8c
mov eax, dword [rsp + 0x90]
imul eax, dword [rsp + 0x98]
mov eax, eax
vcvtsi2ss xmm0, xmm0, rax
vcomiss xmm0, dword [0x1401765d4]
jae 0x1400c2dac
mov eax, dword [rsp + 0x90]
vcvtsi2ss xmm0, xmm0, rax
vxorps xmm0, xmm0, xmmword [0x140176a30]
mov eax, dword [rsp + 0x98]
vcvtsi2ss xmm1, xmm1, rax
mov eax, dword [rsp + 0x90]
vcvtsi2ss xmm2, xmm2, rax
vsubss xmm1, xmm1, xmm2
vdivss xmm0, xmm0, xmm1
vmovss dword [rsp + 0x34], xmm0
vmovss xmm0, dword [rsp + 0x34]
vsubss xmm0, xmm0, dword [rsp + 0xb0]
vmovss dword [rsp + 0x5c], xmm0
vmovss xmm0, dword [rsp + 0x34]
vaddss xmm0, xmm0, dword [rsp + 0xb0]
vmovss dword [rsp + 0x50], xmm0
mov eax, dword [rsp + 0x88]
vcvtsi2ss xmm0, xmm0, rax
vucomiss xmm0, dword [0x1401765d4]
jne 0x1400c2cc7
vmovss xmm0, dword [rsp + 0x34]
vmovss dword [rsp + 0x24], xmm0
jmp 0x1400c2da7
mov eax, dword [rsp + 0x88]
vcvtsi2ss xmm0, xmm0, rax
vcomiss xmm0, dword [0x1401765d4]
jae 0x1400c2d46
mov eax, dword [rsp + 0x28]
vcvtsi2ss xmm0, xmm0, rax
vxorps xmm0, xmm0, xmmword [0x140176a30]
vdivss xmm0, xmm0, dword [rsp + 0xa8]
call fcn.14009b2a0
vmovss dword [rsp + 0x58], xmm0
vmovss xmm1, dword [rsp + 0x30]
vxorps xmm1, xmm1, xmmword [0x140176a30]
vdivss xmm1, xmm1, dword [rsp + 0xa8]
vmovups xmm0, xmm1
call fcn.14009b2a0
vmovss xmm1, dword [rsp + 0x58]
vdivss xmm0, xmm1, xmm0
vmovss xmm1, dword [0x1401767b0]
vsubss xmm0, xmm1, xmm0
vmulss xmm0, xmm0, dword [rsp + 0x5c]
vmovss dword [rsp + 0x24], xmm0
jmp 0x1400c2da7
mov eax, dword [rsp + 0x28]
vcvtsi2ss xmm0, xmm0, rax
vdivss xmm0, xmm0, dword [rsp + 0xa8]
call fcn.14009b2a0
vmovss dword [rsp + 0x60], xmm0
vmovss xmm1, dword [rsp + 0x2c]
vdivss xmm1, xmm1, dword [rsp + 0xa8]
vmovups xmm0, xmm1
call fcn.14009b2a0
vmovss xmm1, dword [rsp + 0x60]
vdivss xmm0, xmm1, xmm0
vmovss xmm1, dword [0x1401767b0]
vsubss xmm1, xmm1, dword [rsp + 0x50]
vmulss xmm0, xmm0, xmm1
vmovss xmm1, dword [rsp + 0x50]
vaddss xmm0, xmm1, xmm0
vmovss dword [rsp + 0x24], xmm0
jmp 0x1400c2e8c
mov eax, dword [rsp + 0x90]
vcvtsi2ss xmm0, xmm0, rax
vcomiss xmm0, dword [0x1401765d4]
jb 0x1400c2dd8
mov eax, dword [rsp + 0x98]
vcvtsi2ss xmm0, xmm0, rax
vcomiss xmm0, dword [0x1401765d4]
jae 0x1400c2e4d
mov eax, dword [rsp + 0x28]
vcvtsi2ss xmm0, xmm0, rax
vxorps xmm0, xmm0, xmmword [0x140176a30]
vmovss xmm1, dword [rsp + 0x2c]
vxorps xmm1, xmm1, xmmword [0x140176a30]
vdivss xmm0, xmm0, xmm1
call fcn.14009b2a0
vmovss dword [rsp + 0x64], xmm0
vmovss xmm1, dword [rsp + 0x30]
vxorps xmm1, xmm1, xmmword [0x140176a30]
vmovss xmm2, dword [rsp + 0x2c]
vxorps xmm2, xmm2, xmmword [0x140176a30]
vdivss xmm1, xmm1, xmm2
vmovups xmm0, xmm1
call fcn.14009b2a0
vmovss xmm1, dword [rsp + 0x64]
vdivss xmm0, xmm1, xmm0
vmovss xmm1, dword [0x1401767b0]
vsubss xmm0, xmm1, xmm0
vmovss dword [rsp + 0x24], xmm0
jmp 0x1400c2e8c
mov eax, dword [rsp + 0x28]
vcvtsi2ss xmm0, xmm0, rax
vdivss xmm0, xmm0, dword [rsp + 0x30]
call fcn.14009b2a0
vmovss dword [rsp + 0x68], xmm0
vmovss xmm1, dword [rsp + 0x2c]
vdivss xmm1, xmm1, dword [rsp + 0x30]
vmovups xmm0, xmm1
call fcn.14009b2a0
vmovss xmm1, dword [rsp + 0x68]
vdivss xmm0, xmm1, xmm0
vmovss dword [rsp + 0x24], xmm0
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1400c2eab
vmovss xmm0, dword [0x1401767b0]
vsubss xmm0, xmm0, dword [rsp + 0x24]
vmovss dword [rsp + 0x54], xmm0
jmp 0x1400c2eb7
vmovss xmm0, dword [rsp + 0x24]
vmovss dword [rsp + 0x54], xmm0
vmovss xmm0, dword [rsp + 0x54]
jmp 0x1400c2eee
mov eax, dword [rsp + 0x90]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
vcvtsi2ss xmm0, xmm0, eax
mov eax, dword [rsp + 0x90]
mov ecx, dword [rsp + 0x98]
sub ecx, eax
mov eax, ecx
vcvtsi2ss xmm1, xmm1, eax
vdivss xmm0, xmm0, xmm1
add rsp, 0x78
ret