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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
vmovss dword [rsp + 0x10], xmm1
mov dword [rsp + 8], ecx
sub rsp, 0xb8
mov rax, qword [0x140188080]
xor rax, rsp
mov qword [rsp + 0xa0], rax
vmovss xmm0, dword [rsp + 0xc8]
vcomiss xmm0, dword [0x1401765d4]
jbe 0x1400c3bf2
mov rax, qword [rsp + 0xd8]
cmp qword [rsp + 0xd0], rax
jne 0x1400c3bff
mov rax, qword [rsp + 0xd0]
jmp 0x1400c41b1
vmovss xmm0, dword [rsp + 0xc8]
vcomiss xmm0, dword [0x1401767b0]
jb 0x1400c3c1f
mov rax, qword [rsp + 0xd8]
jmp 0x1400c41b1
mov qword [rsp + 0x28], 0
movzx eax, byte [rsp + 0xe0]
test eax, eax
je 0x1400c40b3
vcvtsi2sd xmm0, xmm0, qword [rsp + 0xd0]
call fcn.14009b2e0
vcvtss2sd xmm1, xmm1, dword [rsp + 0xe8]
vcomisd xmm0, xmm1
jae 0x1400c3ca0
vcvtsi2ss xmm0, xmm0, qword [rsp + 0xd0]
vcomiss xmm0, dword [0x1401765d4]
jae 0x1400c3c83
vmovss xmm0, dword [rsp + 0xe8]
vxorps xmm0, xmm0, xmmword [0x140176a30]
vmovss dword [rsp + 0x38], xmm0
jmp 0x1400c3c92
vmovss xmm0, dword [rsp + 0xe8]
vmovss dword [rsp + 0x38], xmm0
vcvtss2sd xmm0, xmm0, dword [rsp + 0x38]
vmovsd qword [rsp + 0x50], xmm0
jmp 0x1400c3cb0
vcvtsi2sd xmm0, xmm0, qword [rsp + 0xd0]
vmovsd qword [rsp + 0x50], xmm0
vmovsd xmm0, qword [rsp + 0x50]
vmovsd qword [rsp + 0x98], xmm0
vcvtsi2sd xmm0, xmm0, qword [rsp + 0xd8]
call fcn.14009b2e0
vcvtss2sd xmm1, xmm1, dword [rsp + 0xe8]
vcomisd xmm0, xmm1
jae 0x1400c3d27
vcvtsi2ss xmm0, xmm0, qword [rsp + 0xd8]
vcomiss xmm0, dword [0x1401765d4]
jae 0x1400c3d0a
vmovss xmm0, dword [rsp + 0xe8]
vxorps xmm0, xmm0, xmmword [0x140176a30]
vmovss dword [rsp + 0x3c], xmm0
jmp 0x1400c3d19
vmovss xmm0, dword [rsp + 0xe8]
vmovss dword [rsp + 0x3c], xmm0
vcvtss2sd xmm0, xmm0, dword [rsp + 0x3c]
vmovsd qword [rsp + 0x58], xmm0
jmp 0x1400c3d37
vcvtsi2sd xmm0, xmm0, qword [rsp + 0xd8]
vmovsd qword [rsp + 0x58], xmm0
vmovsd xmm0, qword [rsp + 0x58]
vmovsd qword [rsp + 0x90], xmm0
mov rax, qword [rsp + 0xd0]
cmp qword [rsp + 0xd8], rax
jge 0x1400c3d5f
mov byte [rsp + 0x20], 1
jmp 0x1400c3d64
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x1400c3d8b
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x98]
call fcn.1400c7070
vcvtsi2ss xmm0, xmm0, qword [rsp + 0xd8]
vucomiss xmm0, dword [0x1401765d4]
jne 0x1400c3dd1
vcvtsi2ss xmm0, xmm0, qword [rsp + 0xd0]
vcomiss xmm0, dword [0x1401765d4]
jae 0x1400c3dd1
vmovss xmm0, dword [rsp + 0xe8]
vxorps xmm0, xmm0, xmmword [0x140176a30]
vcvtss2sd xmm0, xmm0, xmm0
vmovsd qword [rsp + 0x90], xmm0
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x1400c3df3
vmovss xmm0, dword [0x1401767b0]
vsubss xmm0, xmm0, dword [rsp + 0xc8]
vmovss dword [rsp + 0x40], xmm0
jmp 0x1400c3e02
vmovss xmm0, dword [rsp + 0xc8]
vmovss dword [rsp + 0x40], xmm0
vmovss xmm0, dword [rsp + 0x40]
vmovss dword [rsp + 0x24], xmm0
mov rax, qword [rsp + 0xd0]
imul rax, qword [rsp + 0xd8]
vcvtsi2ss xmm0, xmm0, rax
vcomiss xmm0, dword [0x1401765d4]
jae 0x1400c3fc6
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
call fcn.1400c70c0
vcvtsi2ss xmm0, xmm0, rax
vxorps xmm0, xmm0, xmmword [0x140176a30]
vmovss dword [rsp + 0x48], xmm0
vcvtsi2ss xmm1, xmm1, qword [rsp + 0xd8]
vcvtsi2ss xmm2, xmm2, qword [rsp + 0xd0]
vsubss xmm1, xmm1, xmm2
vmovups xmm0, xmm1
call fcn.140040e50
vmovss xmm1, dword [rsp + 0x48]
vdivss xmm0, xmm1, xmm0
vmovss dword [rsp + 0x30], xmm0
vmovss xmm0, dword [rsp + 0x30]
vsubss xmm0, xmm0, dword [rsp + 0xf0]
vmovss dword [rsp + 0x44], xmm0
vmovss xmm0, dword [rsp + 0x30]
vaddss xmm0, xmm0, dword [rsp + 0xf0]
vmovss dword [rsp + 0x34], xmm0
vmovss xmm0, dword [rsp + 0x24]
vcomiss xmm0, dword [rsp + 0x44]
jb 0x1400c3edf
vmovss xmm0, dword [rsp + 0x24]
vcomiss xmm0, dword [rsp + 0x34]
ja 0x1400c3edf
mov qword [rsp + 0x28], 0
jmp 0x1400c3fc1
vmovss xmm0, dword [rsp + 0x24]
vcomiss xmm0, dword [rsp + 0x30]
jae 0x1400c3f5d
vcvtss2sd xmm0, xmm0, dword [rsp + 0xe8]
vmovsd qword [rsp + 0x68], xmm0
vmovss xmm1, dword [rsp + 0x24]
vdivss xmm1, xmm1, dword [rsp + 0x44]
vmovss xmm2, dword [0x1401767b0]
vsubss xmm1, xmm2, xmm1
vcvtss2sd xmm1, xmm1, xmm1
vmovsd xmm2, qword [rsp + 0x98]
vxorpd xmm2, xmm2, xmmword [0x140176a20]
vcvtss2sd xmm3, xmm3, dword [rsp + 0xe8]
vdivsd xmm2, xmm2, xmm3
vmovupd xmm0, xmm2
call fcn.14009b270
vmovsd xmm1, qword [rsp + 0x68]
vmulsd xmm0, xmm1, xmm0
vxorpd xmm0, xmm0, xmmword [0x140176a20]
vcvttsd2si rax, xmm0
mov qword [rsp + 0x28], rax
jmp 0x1400c3fc1
vcvtss2sd xmm0, xmm0, dword [rsp + 0xe8]
vmovsd qword [rsp + 0x70], xmm0
vmovss xmm1, dword [rsp + 0x24]
vsubss xmm1, xmm1, dword [rsp + 0x34]
vmovss xmm2, dword [0x1401767b0]
vsubss xmm2, xmm2, dword [rsp + 0x34]
vdivss xmm1, xmm1, xmm2
vcvtss2sd xmm1, xmm1, xmm1
vcvtss2sd xmm2, xmm2, dword [rsp + 0xe8]
vmovsd xmm3, qword [rsp + 0x90]
vdivsd xmm2, xmm3, xmm2
vmovupd xmm0, xmm2
call fcn.14009b270
vmovsd xmm1, qword [rsp + 0x70]
vmulsd xmm0, xmm1, xmm0
vcvttsd2si rax, xmm0
mov qword [rsp + 0x28], rax
jmp 0x1400c40ae
vcvtsi2ss xmm0, xmm0, qword [rsp + 0xd0]
vcomiss xmm0, dword [0x1401765d4]
jb 0x1400c3fee
vcvtsi2ss xmm0, xmm0, qword [rsp + 0xd8]
vcomiss xmm0, dword [0x1401765d4]
jae 0x1400c4064
vmovsd xmm0, qword [rsp + 0x90]
vxorpd xmm0, xmm0, xmmword [0x140176a20]
vmovsd qword [rsp + 0x78], xmm0
vmovss xmm1, dword [0x1401767b0]
vsubss xmm1, xmm1, dword [rsp + 0x24]
vcvtss2sd xmm1, xmm1, xmm1
vmovsd xmm2, qword [rsp + 0x98]
vxorpd xmm2, xmm2, xmmword [0x140176a20]
vmovsd xmm3, qword [rsp + 0x90]
vxorpd xmm3, xmm3, xmmword [0x140176a20]
vdivsd xmm2, xmm2, xmm3
vmovupd xmm0, xmm2
call fcn.14009b270
vmovsd xmm1, qword [rsp + 0x78]
vmulsd xmm0, xmm1, xmm0
vxorpd xmm0, xmm0, xmmword [0x140176a20]
vcvttsd2si rax, xmm0
mov qword [rsp + 0x28], rax
jmp 0x1400c40ae
vcvtss2sd xmm0, xmm0, dword [rsp + 0x24]
vmovsd xmm1, qword [rsp + 0x90]
vdivsd xmm1, xmm1, qword [rsp + 0x98]
vmovsd qword [rsp + 0x80], xmm1
vmovupd xmm1, xmm0
vmovsd xmm0, qword [rsp + 0x80]
call fcn.14009b270
vmovsd xmm1, qword [rsp + 0x98]
vmulsd xmm0, xmm1, xmm0
vcvttsd2si rax, xmm0
mov qword [rsp + 0x28], rax
jmp 0x1400c41ac
cmp dword [rsp + 0xc0], 8
je 0x1400c40ce
cmp dword [rsp + 0xc0], 9
je 0x1400c40ce
mov byte [rsp + 0x22], 0
jmp 0x1400c40d3
mov byte [rsp + 0x22], 1
movzx eax, byte [rsp + 0x22]
mov byte [rsp + 0x23], al
movzx eax, byte [rsp + 0x23]
test eax, eax
je 0x1400c410d
vmovss xmm2, dword [rsp + 0xc8]
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
call fcn.1400c7100
mov qword [rsp + 0x28], rax
jmp 0x1400c41ac
vcvtss2sd xmm0, xmm0, dword [rsp + 0xc8]
vcomisd xmm0, qword [0x140176818]
jae 0x1400c41ac
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xd8]
sub rcx, rax
mov rax, rcx
vcvtsi2ss xmm0, xmm0, rax
vmulss xmm0, xmm0, dword [rsp + 0xc8]
vcvtss2sd xmm0, xmm0, xmm0
vmovsd qword [rsp + 0x88], xmm0
mov rax, qword [rsp + 0xd8]
cmp qword [rsp + 0xd0], rax
jle 0x1400c4177
vmovsd xmm0, qword [0x1401769e0]
vmovsd qword [rsp + 0x60], xmm0
jmp 0x1400c4185
vmovsd xmm0, qword [0x1401767f0]
vmovsd qword [rsp + 0x60], xmm0
vmovsd xmm0, qword [rsp + 0x88]
vaddsd xmm0, xmm0, qword [rsp + 0x60]
vcvttsd2si rax, xmm0
mov rcx, qword [rsp + 0xd0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14013d530
add rsp, 0xb8
ret