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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x78
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x60], xmm7
mov r9, qword [rdx + 8]
mov rsi, rdx
mov rdx, qword [rdx + 0x10]
mov r12, rcx
movabs rcx, 0x1fffffffffffffff
mov dword [rsp + 0xd0], r8d
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
imul rdx, r9
cmp rdx, rcx
ja 0x497e80
test rdx, rdx
jne 0x497e14
lea r8, [rsp + 0x30]
xor r15d, r15d
xor ebp, ebp
mov qword [rsp + 0x28], r8
lea r14, [0x006e0c00]
test r9, r9
jle 0x497e52
nop word [rax + rax]
cmp qword [rsi + 0x10], 0
jle 0x497bfb
lea r13, [0x006e0c80]
xor edi, edi
xor ebx, ebx
jmp 0x497b63
mov rdx, rbx
mov rcx, qword [rsi]
imul rdx, r9
movsd xmm1, qword [r12 + 0x30]
add rdx, rbp
lea r8, [rcx + rdx*8]
ucomisd xmm1, qword [r8]
ja 0x497d64
lea ebx, [rdi + 1]
cmp rbx, qword [rsi + 0x10]
mov rdi, rbx
jge 0x497bfb
cmp r9, rbp
jg 0x497b30
mov r8d, 0x76
mov rdx, r14
mov rcx, r13
call fcn.005ac990
mov r9, qword [rsi + 8]
mov r10, rbx
mov r11, qword [rsi]
movsd xmm0, qword [r12 + 0x30]
imul r10, r9
add r10, rbp
lea r8, [r11 + r10*8]
ucomisd xmm0, qword [r8]
jbe 0x497b53
cmp r9, rbp
jg 0x497d64
mov r8d, 0x76
mov rdx, r14
mov rcx, r13
call fcn.005ac990
mov r9, qword [rsi + 8]
mov rax, qword [rsi]
mov rdx, qword [rsp + 0x38]
imul rbx, r9
add rbx, rbp
cmp rdx, qword [rsp + 0x40]
lea r8, [rax + rbx*8]
je 0x497d80
movsd xmm2, qword [r8]
lea ebx, [rdi + 1]
add rdx, 8
mov rdi, rbx
movsd qword [rdx - 8], xmm2
cmp rbx, qword [rsi + 0x10]
mov qword [rsp + 0x38], rdx
jl 0x497b63
lea ebp, [r15 + 1]
cmp rbp, r9
mov r15, rbp
jl 0x497b10
mov r13, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
cmp rsi, r13
je 0x497e57
mov r9d, dword [rsp + 0xd0]
sub r13, rsi
pxor xmm6, xmm6
sar r13, 3
sub r9d, 1
imul r9d, r13d
cvtsi2sd xmm6, r9d
divsd xmm6, qword [0x006e1b70]
movapd xmm0, xmm6
call fcn.005abb50
movapd xmm4, xmm6
movapd xmm1, xmm6
movq xmm7, qword [0x006e1b40]
cvttsd2si r15, xmm0
movsd xmm3, qword [0x006e1b78]
andpd xmm4, xmm7
movapd xmm0, xmm7
ucomisd xmm3, xmm4
ja 0x497de0
movapd xmm0, xmm6
movapd xmm2, xmm6
andpd xmm0, xmm7
ucomisd xmm3, xmm0
cvttsd2si r8, xmm1
ja 0x497da0
mov r10d, r8d
cmp r10, r13
jae 0x497d40
cvttsd2si r11, xmm2
mov edx, r11d
cmp rdx, r13
jae 0x497d40
pxor xmm1, xmm1
pxor xmm0, xmm0
cvtsi2sd xmm1, r10
movsd xmm5, qword [rsi + rdx*8]
cvtsi2sd xmm0, rdx
movsd xmm7, qword [rsi + r10*8]
subsd xmm0, xmm1
ucomisd xmm0, qword [0x006e1b58]
jp 0x497ce3
je 0x497d00
movapd xmm4, xmm5
subsd xmm6, xmm1
subsd xmm4, xmm7
mulsd xmm4, xmm6
divsd xmm4, xmm0
addsd xmm7, xmm4
nop dword [rax + rax]
movsd xmm6, qword [r12 + 0x30]
ucomisd xmm6, xmm7
jbe 0x497d93
test rsi, rsi
je 0x497d1e
mov rcx, rsi
call fcn.005ab730
movapd xmm0, xmm7
movaps xmm6, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x60]
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, r15d
movsd xmm7, qword [0x006e1b68]
cmp rcx, r13
jae 0x497d00
movsd xmm7, qword [rsi + rcx*8]
movsd xmm6, qword [r12 + 0x30]
ucomisd xmm6, xmm7
ja 0x497d11
jmp 0x497d93
cmp rbx, qword [rsi + 0x10]
jge 0x497ba5
mov rdx, qword [rsp + 0x38]
cmp rdx, qword [rsp + 0x40]
jne 0x497bd8
nop
mov rcx, qword [rsp + 0x28]
call fcn.006bf320
mov r9, qword [rsi + 8]
jmp 0x497b53
movsd xmm7, qword [0x006e1b68]
jmp 0x497d11
cvttsd2si r14, xmm6
pxor xmm4, xmm4
mov r10d, r8d
andnpd xmm7, xmm6
movsd xmm3, qword [0x006e1b80]
cmp r10, r13
cvtsi2sd xmm4, r14
cmpnlesd xmm2, xmm4
andpd xmm2, xmm3
addsd xmm4, xmm2
movapd xmm2, xmm7
orpd xmm2, xmm4
jae 0x497d40
jmp 0x497ca5
cvttsd2si rbp, xmm6
pxor xmm1, xmm1
movsd xmm5, qword [0x006e1b80]
andnpd xmm0, xmm6
cvtsi2sd xmm1, rbp
movapd xmm2, xmm1
cmpnlesd xmm2, xmm6
andpd xmm2, xmm5
subsd xmm1, xmm2
orpd xmm1, xmm0
jmp 0x497c7e
lea rbx, [rdx*8]
mov rcx, rbx
call fcn.005ab718
mov rcx, qword [rsp + 0x30]
mov rdi, rax
test rcx, rcx
je 0x497e36
call fcn.005ab730
lea rax, [rdi + rbx]
mov qword [rsp + 0x30], rdi
mov r9, qword [rsi + 8]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rax
jmp 0x497aeb
mov r13, qword [rsp + 0x30]
movsd xmm7, qword [r12 + 0x30]
mov rsi, r13
jmp 0x497d11
lea rcx, [0x006e157a]
call fcn.005ab780
nop
nop
nop