Function at 0x140082500
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 [0x140246400]
xor rax, rsp
mov qword [rsp + 0xa0], rax
vxorps xmm0, xmm0, xmm0
vcomiss xmm0, dword [rsp + 0xc8]
jae 0x14008254e
mov rax, qword [rsp + 0xd8]
cmp qword [rsp + 0xd0], rax
jne 0x14008255b
mov rax, qword [rsp + 0xd0]
jmp 0x140082dd4
vmovss xmm0, dword [rsp + 0xc8]
vcomiss xmm0, dword [0x140220a14]
jb 0x14008257b
mov rax, qword [rsp + 0xd8]
jmp 0x140082dd4
mov qword [rsp + 0x28], 0
movzx eax, byte [rsp + 0xe0]
test eax, eax
je 0x140082cd2
mov rax, qword [rsp + 0xd0]
test rax, rax
jl 0x1400825a8
vcvtsi2sd xmm0, xmm0, rax
jmp 0x1400825c2
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
vcvtsi2sd xmm1, xmm1, rcx
vaddsd xmm1, xmm1, xmm1
vmovupd xmm0, xmm1
call fcn.1401a75b0
vcvtss2sd xmm1, xmm1, dword [rsp + 0xe8]
vcomisd xmm1, xmm0
jbe 0x140082644
mov rax, qword [rsp + 0xd0]
test rax, rax
jl 0x1400825ea
vcvtsi2ss xmm0, xmm0, rax
jmp 0x140082604
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
vcvtsi2ss xmm1, xmm1, rcx
vaddss xmm1, xmm1, xmm1
vmovups xmm0, xmm1
vxorps xmm1, xmm1, xmm1
vcomiss xmm1, xmm0
jbe 0x140082627
vmovss xmm0, dword [rsp + 0xe8]
vxorps xmm0, xmm0, xmmword [0x140220e80]
vmovss dword [rsp + 0x38], xmm0
jmp 0x140082636
vmovss xmm0, dword [rsp + 0xe8]
vmovss dword [rsp + 0x38], xmm0
vcvtss2sd xmm0, xmm0, dword [rsp + 0x38]
vmovsd qword [rsp + 0x50], xmm0
jmp 0x140082678
mov rax, qword [rsp + 0xd0]
test rax, rax
jl 0x140082658
vcvtsi2sd xmm0, xmm0, rax
jmp 0x140082672
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
vcvtsi2sd xmm1, xmm1, rcx
vaddsd xmm1, xmm1, xmm1
vmovupd xmm0, xmm1
vmovsd qword [rsp + 0x50], xmm0
vmovsd xmm0, qword [rsp + 0x50]
vmovsd qword [rsp + 0x98], xmm0
mov rax, qword [rsp + 0xd8]
test rax, rax
jl 0x14008269b
vcvtsi2sd xmm0, xmm0, rax
jmp 0x1400826b5
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
vcvtsi2sd xmm1, xmm1, rcx
vaddsd xmm1, xmm1, xmm1
vmovupd xmm0, xmm1
call fcn.1401a75b0
vcvtss2sd xmm1, xmm1, dword [rsp + 0xe8]
vcomisd xmm1, xmm0
jbe 0x140082737
mov rax, qword [rsp + 0xd8]
test rax, rax
jl 0x1400826dd
vcvtsi2ss xmm0, xmm0, rax
jmp 0x1400826f7
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
vcvtsi2ss xmm1, xmm1, rcx
vaddss xmm1, xmm1, xmm1
vmovups xmm0, xmm1
vxorps xmm1, xmm1, xmm1
vcomiss xmm1, xmm0
jbe 0x14008271a
vmovss xmm0, dword [rsp + 0xe8]
vxorps xmm0, xmm0, xmmword [0x140220e80]
vmovss dword [rsp + 0x3c], xmm0
jmp 0x140082729
vmovss xmm0, dword [rsp + 0xe8]
vmovss dword [rsp + 0x3c], xmm0
vcvtss2sd xmm0, xmm0, dword [rsp + 0x3c]
vmovsd qword [rsp + 0x58], xmm0
jmp 0x14008276b
mov rax, qword [rsp + 0xd8]
test rax, rax
jl 0x14008274b
vcvtsi2sd xmm0, xmm0, rax
jmp 0x140082765
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
vcvtsi2sd xmm1, xmm1, rcx
vaddsd xmm1, xmm1, xmm1
vmovupd xmm0, xmm1
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
jae 0x140082793
mov byte [rsp + 0x20], 1
jmp 0x140082798
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x1400827bf
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x98]
call fcn.14019da60
mov rax, qword [rsp + 0xd8]
test rax, rax
jl 0x1400827d3
vcvtsi2ss xmm0, xmm0, rax
jmp 0x1400827ed
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
vcvtsi2ss xmm1, xmm1, rcx
vaddss xmm1, xmm1, xmm1
vmovups xmm0, xmm1
vucomiss xmm0, dword [0x1402208a8]
jp 0x14008284f
jne 0x14008284f
mov rax, qword [rsp + 0xd0]
test rax, rax
jl 0x14008280d
vcvtsi2ss xmm0, xmm0, rax
jmp 0x140082827
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
vcvtsi2ss xmm1, xmm1, rcx
vaddss xmm1, xmm1, xmm1
vmovups xmm0, xmm1
vxorps xmm1, xmm1, xmm1
vcomiss xmm1, xmm0
jbe 0x14008284f
vmovss xmm0, dword [rsp + 0xe8]
vxorps xmm0, xmm0, xmmword [0x140220e80]
vcvtss2sd xmm0, xmm0, xmm0
vmovsd qword [rsp + 0x90], xmm0
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x140082871
vmovss xmm0, dword [0x140220a14]
vsubss xmm0, xmm0, dword [rsp + 0xc8]
vmovss dword [rsp + 0x40], xmm0
jmp 0x140082880
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]
test rax, rax
jl 0x1400828a9
vcvtsi2ss xmm0, xmm0, rax
jmp 0x1400828c3
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
vcvtsi2ss xmm1, xmm1, rcx
vaddss xmm1, xmm1, xmm1
vmovups xmm0, xmm1
vxorps xmm1, xmm1, xmm1
vcomiss xmm1, xmm0
jbe 0x140082b37
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
call fcn.14019de90
test rax, rax
jl 0x1400828f2
vcvtsi2ss xmm0, xmm0, rax
jmp 0x14008290c
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
vcvtsi2ss xmm1, xmm1, rcx
vaddss xmm1, xmm1, xmm1
vmovups xmm0, xmm1
vxorps xmm0, xmm0, xmmword [0x140220e80]
vmovss dword [rsp + 0x48], xmm0
mov rax, qword [rsp + 0xd8]
test rax, rax
jl 0x14008292e
vcvtsi2ss xmm1, xmm1, rax
jmp 0x140082948
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
vcvtsi2ss xmm2, xmm2, rcx
vaddss xmm2, xmm2, xmm2
vmovups xmm1, xmm2
mov rax, qword [rsp + 0xd0]
test rax, rax
jl 0x14008295c
vcvtsi2ss xmm2, xmm2, rax
jmp 0x140082976
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
vcvtsi2ss xmm3, xmm3, rcx
vaddss xmm3, xmm3, xmm3
vmovups xmm2, xmm3
vsubss xmm1, xmm1, xmm2
vmovups xmm0, xmm1
call fcn.1401a75d0
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 0x1400829e7
vmovss xmm0, dword [rsp + 0x34]
vcomiss xmm0, dword [rsp + 0x24]
jb 0x1400829e7
mov qword [rsp + 0x28], 0
jmp 0x140082b32
vmovss xmm0, dword [rsp + 0x30]
vcomiss xmm0, dword [rsp + 0x24]
jbe 0x140082a9d
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 [0x140220a14]
vsubss xmm1, xmm2, xmm1
vcvtss2sd xmm1, xmm1, xmm1
vmovsd xmm2, qword [rsp + 0x98]
vxorpd xmm2, xmm2, xmmword [0x140220e70]
vcvtss2sd xmm3, xmm3, dword [rsp + 0xe8]
vdivsd xmm2, xmm2, xmm3
vmovupd xmm0, xmm2
call fcn.1401a7630
vmovsd xmm1, qword [rsp + 0x68]
vmulsd xmm0, xmm1, xmm0
vxorpd xmm0, xmm0, xmmword [0x140220e70]
xor eax, eax
vcomisd xmm0, qword [0x140220ce8]
jb 0x140082a88
vsubsd xmm0, xmm0, qword [0x140220ce8]
vcomisd xmm0, qword [0x140220ce8]
jae 0x140082a88
movabs rcx, 0x8000000000000000
add rax, rcx
vcvttsd2si rcx, xmm0
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
jmp 0x140082b32
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 [0x140220a14]
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.1401a7630
vmovsd xmm1, qword [rsp + 0x70]
vmulsd xmm0, xmm1, xmm0
xor eax, eax
vcomisd xmm0, qword [0x140220ce8]
jb 0x140082b22
vsubsd xmm0, xmm0, qword [0x140220ce8]
vcomisd xmm0, qword [0x140220ce8]
jae 0x140082b22
movabs rcx, 0x8000000000000000
add rax, rcx
vcvttsd2si rcx, xmm0
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
jmp 0x140082ccd
mov rax, qword [rsp + 0xd0]
test rax, rax
jl 0x140082b4b
vcvtsi2ss xmm0, xmm0, rax
jmp 0x140082b65
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
vcvtsi2ss xmm1, xmm1, rcx
vaddss xmm1, xmm1, xmm1
vmovups xmm0, xmm1
vxorps xmm1, xmm1, xmm1
vcomiss xmm1, xmm0
ja 0x140082bab
mov rax, qword [rsp + 0xd8]
test rax, rax
jl 0x140082b83
vcvtsi2ss xmm0, xmm0, rax
jmp 0x140082b9d
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
vcvtsi2ss xmm1, xmm1, rcx
vaddss xmm1, xmm1, xmm1
vmovups xmm0, xmm1
vxorps xmm1, xmm1, xmm1
vcomiss xmm1, xmm0
jbe 0x140082c52
vmovsd xmm0, qword [rsp + 0x90]
vxorpd xmm0, xmm0, xmmword [0x140220e70]
vmovsd qword [rsp + 0x78], xmm0
vmovss xmm1, dword [0x140220a14]
vsubss xmm1, xmm1, dword [rsp + 0x24]
vcvtss2sd xmm1, xmm1, xmm1
vmovsd xmm2, qword [rsp + 0x98]
vxorpd xmm2, xmm2, xmmword [0x140220e70]
vmovsd xmm3, qword [rsp + 0x90]
vxorpd xmm3, xmm3, xmmword [0x140220e70]
vdivsd xmm2, xmm2, xmm3
vmovupd xmm0, xmm2
call fcn.1401a7630
vmovsd xmm1, qword [rsp + 0x78]
vmulsd xmm0, xmm1, xmm0
vxorpd xmm0, xmm0, xmmword [0x140220e70]
xor eax, eax
vcomisd xmm0, qword [0x140220ce8]
jb 0x140082c40
vsubsd xmm0, xmm0, qword [0x140220ce8]
vcomisd xmm0, qword [0x140220ce8]
jae 0x140082c40
movabs rcx, 0x8000000000000000
add rax, rcx
vcvttsd2si rcx, xmm0
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
jmp 0x140082ccd
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.1401a7630
vmovsd xmm1, qword [rsp + 0x98]
vmulsd xmm0, xmm1, xmm0
xor eax, eax
vcomisd xmm0, qword [0x140220ce8]
jb 0x140082cbd
vsubsd xmm0, xmm0, qword [0x140220ce8]
vcomisd xmm0, qword [0x140220ce8]
jae 0x140082cbd
movabs rcx, 0x8000000000000000
add rax, rcx
vcvttsd2si rcx, xmm0
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
jmp 0x140082dcf
cmp dword [rsp + 0xc0], 8
je 0x140082ced
cmp dword [rsp + 0xc0], 9
je 0x140082ced
mov byte [rsp + 0x22], 0
jmp 0x140082cf2
mov byte [rsp + 0x22], 1
movzx eax, byte [rsp + 0x22]
mov byte [rsp + 0x23], al
movzx eax, byte [rsp + 0x23]
test eax, eax
je 0x140082d2c
vmovss xmm2, dword [rsp + 0xc8]
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
call fcn.14019d850
mov qword [rsp + 0x28], rax
jmp 0x140082dcf
vcvtss2sd xmm0, xmm0, dword [rsp + 0xc8]
vmovsd xmm1, qword [0x140220a50]
vcomisd xmm1, xmm0
jbe 0x140082dcf
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
jbe 0x140082d9a
vmovsd xmm0, qword [0x140220d78]
vmovsd qword [rsp + 0x60], xmm0
jmp 0x140082da8
vmovsd xmm0, qword [0x140220a40]
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.1400f9f90
add rsp, 0xb8
ret