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

Disassembly:
mov r11, rsp
push rsi
push rdi
sub rsp, 0x1a8
mov rax, qword [0x14008a040]
xor rax, rsp
mov qword [rsp + 0xf8], rax
mov rsi, qword [rcx]
mov rdi, rcx
test rsi, rsi
je 0x14006605e
vmovss xmm0, dword [rcx + 0x44]
vmovaps xmmword [r11 - 0xa8], xmm14
vxorps xmm14, xmm14, xmm14
vcomiss xmm0, xmm14
jbe 0x140066055
cmp byte [rcx + 0x34], 0
vmovaps xmmword [r11 - 0x28], xmm6
vmovss xmm6, dword [rcx + 0x3c]
vmovaps xmmword [r11 - 0x38], xmm7
vmovss xmm7, dword [rcx + 0x40]
vmovaps xmmword [r11 - 0x48], xmm8
vmovaps xmmword [r11 - 0x58], xmm9
vmovaps xmmword [r11 - 0x68], xmm10
vmovaps xmmword [r11 - 0x78], xmm11
vmovss xmm11, dword [0x14007b8ec]
vmulss xmm0, xmm0, xmm11
vmovaps xmmword [r11 - 0x88], xmm12
vsubss xmm8, xmm6, xmm0
vaddss xmm9, xmm6, xmm0
vsubss xmm10, xmm7, xmm0
vaddss xmm12, xmm7, xmm0
je 0x140065ff6
cmp byte [rcx + 8], 0
mov qword [r11 - 0x18], r15
mov qword [r11 + 8], rbx
je 0x14006574d
add rcx, 0xc
call fcn.140016770
vmovss dword [rsp + 0x4c], xmm7
vmovss dword [rsp + 0x58], xmm7
vmovss xmm7, dword [0x14007b93c]
mov r9d, eax
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x54]
mov rcx, rsi
vmovss dword [rsp + 0x20], xmm7
vmovss dword [rsp + 0x48], xmm9
vmovss dword [rsp + 0x54], xmm8
call fcn.14003a4e0
lea rcx, [rdi + 0xc]
call fcn.140016770
mov rcx, qword [rdi]
lea r8, [rsp + 0x48]
mov r9d, eax
lea rdx, [rsp + 0x54]
vmovss dword [rsp + 0x48], xmm6
vmovss dword [rsp + 0x4c], xmm12
vmovss dword [rsp + 0x54], xmm6
vmovss dword [rsp + 0x58], xmm10
vmovss dword [rsp + 0x20], xmm7
call fcn.14003a4e0
jmp 0x140065755
vmovss xmm7, dword [0x14007b93c]
mov r15, qword [rdi + 0x50]
mov rsi, qword [rdi + 0x48]
cmp rsi, r15
je 0x140065fe6
vmovss xmm5, dword [0x14007b900]
mov qword [rsp + 0x1c8], r12
xor r12d, r12d
vmovaps xmmword [rsp + 0x100], xmm15
vmovsd xmm15, qword [0x14007b950]
mov qword [rsp + 0x1d0], r14
vmovaps xmmword [rsp + 0x120], xmm13
nop dword [rax + rax]
mov eax, dword [rsi + 4]
vmovups xmm0, xmmword [rsi + 8]
vmovss xmm1, dword [rsi]
vmovss xmm8, dword [rsi + 0x18]
vmovss xmm10, dword [rsi + 0x1c]
vmovups xmmword [rsp + 0x60], xmm0
test eax, eax
jne 0x1400658c1
mov rbx, qword [rdi]
lea rcx, [rsp + 0x60]
call fcn.140016770
mov r14d, eax
vmovss xmm0, dword [rdi + 0x20]
vmovss dword [rsp + 0x80], xmm8
vmovss dword [rsp + 0x84], xmm10
test eax, 0xff000000
je 0x140065848
vcomiss xmm0, xmm11
jb 0x140065848
vsubss xmm2, xmm0, xmm11
xor r9d, r9d
mov dword [rsp + 0x20], 0x30
lea rdx, [rsp + 0x80]
mov rcx, rbx
call fcn.140039620
mov r8d, dword [rbx + 0x78]
mov r9d, r14d
mov rdx, qword [rbx + 0x80]
dec r8d
vmovss dword [rsp + 0x28], xmm7
mov rcx, rbx
mov dword [rbx + 0x78], r8d
mov dword [rsp + 0x20], 1
call fcn.1400381a0
mov dword [rbx + 0x78], r12d
vmovups xmm0, xmmword [0x14007bc80]
mov rbx, qword [rdi]
lea rcx, [rsp + 0x60]
vmovups xmmword [rsp + 0x60], xmm0
call fcn.140016770
mov r14d, eax
vmovss xmm2, dword [rdi + 0x20]
vmovss dword [rsp + 0x88], xmm8
vmovss dword [rsp + 0x8c], xmm10
test eax, 0xff000000
je 0x140065fa7
vcomiss xmm2, xmm11
jb 0x140065fa7
xor r9d, r9d
mov dword [rsp + 0x20], 0x30
lea rdx, [rsp + 0x88]
mov rcx, rbx
call fcn.140039620
mov r8d, dword [rbx + 0x78]
mov r9d, r14d
dec r8d
mov dword [rbx + 0x78], r8d
jmp 0x140065f94
vmovss xmm0, dword [rdi + 0x30]
vsubss xmm0, xmm0, xmm1
cmp eax, 1
jne 0x140065c37
vaddss xmm13, xmm0, dword [0x14007ba98]
vucomiss xmm13, xmm14
vmovss xmm9, dword [rdi + 0x3c]
vmovss xmm12, dword [rdi + 0x40]
jne 0x140065904
vunpcklps xmm0, xmm8, xmm10
vmovsd qword [rsp + 0x40], xmm0
vmovss xmm6, dword [rsp + 0x40]
vshufps xmm2, xmm0, xmm0, 0x55
jmp 0x140065959
vcvtss2sd xmm0, xmm13, xmm13
vmulsd xmm0, xmm0, xmm15
call fcn.14006d2b0
vpermilpd xmm5, xmm0, 1
vsubss xmm1, xmm8, xmm9
vcvtss2sd xmm3, xmm1, xmm1
vsubss xmm2, xmm10, xmm12
vcvtss2sd xmm4, xmm2, xmm2
vcvtss2sd xmm1, xmm9, xmm9
vfmadd231sd xmm1, xmm3, xmm5
vcvtss2sd xmm2, xmm12, xmm12
vfnmadd231sd xmm2, xmm3, xmm0
vfmadd231sd xmm2, xmm4, xmm5
vmovss xmm5, dword [0x14007b900]
vfmadd231sd xmm1, xmm4, xmm0
vcvtsd2ss xmm6, xmm1, xmm1
vcvtsd2ss xmm2, xmm2, xmm2
vxorps xmm13, xmm13, xmmword [0x14007bd70]
vmovaps xmm4, xmm12
vcvtss2sd xmm0, xmm4, xmm4
vmovsd qword [rsp + 0x40], xmm0
vmovaps xmm3, xmm9
vcvtss2sd xmm0, xmm3, xmm3
vmovsd qword [rsp + 0x48], xmm0
vmovss xmm0, dword [rdi + 0x24]
vaddss xmm1, xmm2, xmm0
vmovaps xmm14, xmm6
vmovaps xmm7, xmm2
vmovaps xmm15, xmm6
vfnmadd231ss xmm14, xmm0, xmm5
vfnmadd231ss xmm7, xmm0, xmm11
vfmadd231ss xmm15, xmm0, xmm5
vxorps xmm0, xmm0, xmm0
vucomiss xmm13, xmm0
vmovss dword [rsp + 0x50], xmm1
vmovss dword [rsp + 0x70], xmm13
jne 0x1400659fd
vunpcklps xmm2, xmm14, xmm7
vunpcklps xmm0, xmm15, xmm7
vunpcklps xmm3, xmm6, xmm1
vmovsd qword [rsp + 0x40], xmm0
vmovss xmm7, dword [rsp + 0x40]
vmovsd qword [rsp + 0x40], xmm2
vmovss xmm13, dword [rsp + 0x40]
vmovsd qword [rsp + 0x40], xmm3
vmovss xmm14, dword [rsp + 0x40]
vshufps xmm6, xmm0, xmm0, 0x55
vshufps xmm12, xmm2, xmm2, 0x55
vshufps xmm9, xmm3, xmm3, 0x55
jmp 0x140065b11
vcvtss2sd xmm0, xmm13, xmm13
vmulsd xmm0, xmm0, qword [0x14007b950]
call fcn.14006d2b0
vmovss xmm2, dword [rsp + 0x50]
vpermilpd xmm5, xmm0, 1
vsubss xmm2, xmm2, xmm12
vcvtss2sd xmm4, xmm2, xmm2
vsubss xmm1, xmm6, xmm9
vcvtss2sd xmm3, xmm1, xmm1
vmovsd xmm1, qword [rsp + 0x48]
vfmadd231sd xmm1, xmm3, xmm5
vfmadd231sd xmm1, xmm4, xmm0
vcvtsd2ss xmm2, xmm1, xmm1
vmovss dword [rsp + 0x54], xmm2
vmovsd xmm2, qword [rsp + 0x40]
vfnmadd231sd xmm2, xmm3, xmm0
vfmadd231sd xmm2, xmm4, xmm5
vcvtsd2ss xmm0, xmm2, xmm2
vmovss dword [rsp + 0x50], xmm0
vcvtss2sd xmm0, xmm13, xmm13
vmulsd xmm0, xmm0, qword [0x14007b950]
call fcn.14006d2b0
vmovsd xmm2, qword [rsp + 0x40]
vpermilpd xmm5, xmm0, 1
vsubss xmm1, xmm14, xmm9
vcvtss2sd xmm3, xmm1, xmm1
vmovsd xmm1, qword [rsp + 0x48]
vfnmadd231sd xmm2, xmm3, xmm0
vsubss xmm6, xmm7, xmm12
vfmadd231sd xmm1, xmm3, xmm5
vcvtss2sd xmm4, xmm6, xmm6
vfmadd231sd xmm1, xmm4, xmm0
vmovss xmm0, dword [rsp + 0x70]
vcvtss2sd xmm0, xmm0, xmm0
vmulsd xmm0, xmm0, qword [0x14007b950]
vfmadd231sd xmm2, xmm4, xmm5
vcvtsd2ss xmm13, xmm1, xmm1
vcvtsd2ss xmm12, xmm2, xmm2
call fcn.14006d2b0
vmovsd xmm2, qword [rsp + 0x48]
vmovss xmm14, dword [rsp + 0x54]
vsubss xmm1, xmm15, xmm9
vmovss xmm9, dword [rsp + 0x50]
vcvtss2sd xmm3, xmm1, xmm1
vmovsd xmm1, qword [rsp + 0x40]
vcvtss2sd xmm4, xmm6, xmm6
vpermilpd xmm5, xmm0, 1
vfnmadd231sd xmm1, xmm3, xmm0
vfmadd231sd xmm2, xmm3, xmm5
vfmadd231sd xmm1, xmm4, xmm5
vfmadd231sd xmm2, xmm4, xmm0
vcvtsd2ss xmm6, xmm1, xmm1
vcvtsd2ss xmm7, xmm2, xmm2
lea rcx, [rsp + 0x60]
vmovss dword [rsp + 0x90], xmm7
vmovss dword [rsp + 0x94], xmm6
vmovss dword [rsp + 0x98], xmm8
vmovss dword [rsp + 0x9c], xmm10
vmovss dword [rsp + 0xa0], xmm13
vmovss dword [rsp + 0xa4], xmm12
vmovss dword [rsp + 0xa8], xmm14
vmovss dword [rsp + 0xac], xmm9
call fcn.140016770
mov rcx, qword [rdi]
lea r9, [rsp + 0x98]
mov dword [rsp + 0x28], eax
lea r8, [rsp + 0xa0]
lea rax, [rsp + 0x90]
lea rdx, [rsp + 0xa8]
mov qword [rsp + 0x20], rax
call fcn.14003ac80
vmovups xmm0, xmmword [0x14007bc50]
lea rcx, [rsp + 0x60]
vmovups xmmword [rsp + 0x60], xmm0
vmovss dword [rsp + 0xb0], xmm7
vmovss dword [rsp + 0xb4], xmm6
vmovss dword [rsp + 0xb8], xmm8
vmovss dword [rsp + 0xbc], xmm10
vmovss dword [rsp + 0xc0], xmm13
vmovss dword [rsp + 0xc4], xmm12
vmovss dword [rsp + 0xc8], xmm14
vmovss dword [rsp + 0xcc], xmm9
call fcn.140016770
mov rcx, qword [rdi]
lea r9, [rsp + 0xb8]
mov dword [rsp + 0x28], eax
lea r8, [rsp + 0xc0]
lea rax, [rsp + 0xb0]
lea rdx, [rsp + 0xc8]
mov qword [rsp + 0x20], rax
call fcn.14003aad0
vmovsd xmm15, qword [0x14007b950]
vxorps xmm14, xmm14, xmm14
jmp 0x140065fa7
vsubss xmm12, xmm0, dword [0x14007ba80]
mov rbx, qword [rdi]
lea rcx, [rsp + 0x60]
call fcn.140016770
mov r14d, eax
vmovss xmm0, dword [rdi + 0x28]
vmulss xmm2, xmm0, dword [0x14007b91c]
vmovss dword [rsp + 0xd0], xmm8
vmovss dword [rsp + 0xd4], xmm10
test eax, 0xff000000
je 0x140065cc1
vcomiss xmm2, xmm11
jb 0x140065cc1
vmovss xmm0, dword [0x14007ba18]
mov dword [rsp + 0x28], 0x1d
lea rdx, [rsp + 0xd0]
vmovaps xmm3, xmm14
mov rcx, rbx
vmovss dword [rsp + 0x20], xmm0
call fcn.140039b30
mov r8d, dword [rbx + 0x78]
mov r9d, r14d
mov rdx, qword [rbx + 0x80]
mov rcx, rbx
call fcn.140039060
mov dword [rbx + 0x78], r12d
vmovups xmm0, xmmword [0x14007bc50]
mov rbx, qword [rdi]
lea rcx, [rsp + 0x60]
vmovups xmmword [rsp + 0x60], xmm0
call fcn.140016770
mov r14d, eax
vmovss xmm0, dword [rdi + 0x28]
vmulss xmm1, xmm0, dword [0x14007b92c]
vmovss dword [rsp + 0xd8], xmm8
vmovss dword [rsp + 0xdc], xmm10
test eax, 0xff000000
je 0x140065d63
vcomiss xmm1, xmm11
jb 0x140065d63
vsubss xmm2, xmm1, xmm11
xor r9d, r9d
mov dword [rsp + 0x20], 0x30
lea rdx, [rsp + 0xd8]
mov rcx, rbx
call fcn.140039620
mov r8d, dword [rbx + 0x78]
mov r9d, r14d
vmovss xmm0, dword [0x14007b89c]
mov rdx, qword [rbx + 0x80]
dec r8d
vmovss dword [rsp + 0x28], xmm0
mov rcx, rbx
mov dword [rbx + 0x78], r8d
mov dword [rsp + 0x20], 1
call fcn.1400381a0
mov dword [rbx + 0x78], r12d
vxorps xmm0, xmm12, xmmword [0x14007bd70]
vcvtss2sd xmm1, xmm0, xmm0
vmulsd xmm3, xmm1, xmm15
vmovss xmm1, dword [0x14007ba68]
vxorpd xmm2, xmm2, xmm2
vsubss xmm1, xmm1, xmm12
vmovsd xmm0, xmm2, xmm3
vcvtss2sd xmm2, xmm1, xmm1
vmulsd xmm1, xmm2, xmm15
call fcn.14006d272
vmovss xmm4, dword [rdi + 0x28]
vmulss xmm1, xmm4, dword [0x14007b960]
vperm2f128 ymm7, ymm0, ymm0, 1
vmovupd ymm5, ymm0
vcvtss2sd xmm3, xmm1, xmm1
vcvtss2sd xmm9, xmm8, xmm8
vmovaps xmm1, xmm9
vcvtss2sd xmm8, xmm10, xmm10
vcvtss2sd xmm6, xmm4, xmm4
vpermilpd xmm2, xmm5, 1
vfmadd231sd xmm1, xmm3, xmm2
vcvtsd2ss xmm0, xmm1, xmm1
vmovss dword [rsp + 0xe0], xmm0
vmovaps xmm0, xmm8
vfnmadd231sd xmm0, xmm3, xmm5
vcvtsd2ss xmm0, xmm0, xmm0
vmovss dword [rsp + 0xe4], xmm0
vmovaps xmm0, xmm9
vpermilpd xmm1, xmm7, 1
vfmadd231sd xmm0, xmm6, xmm1
vcvtsd2ss xmm0, xmm0, xmm0
vmovss dword [rsp + 0xe8], xmm0
vmovaps xmm1, xmm8
vfnmadd231sd xmm1, xmm6, xmm7
vcvtsd2ss xmm0, xmm1, xmm1
vmovss dword [rsp + 0xec], xmm0
vmovss xmm0, dword [0x14007bb64]
vsubss xmm1, xmm0, xmm12
vcvtss2sd xmm0, xmm1, xmm1
vmulsd xmm0, xmm0, xmm15
vzeroupper
call fcn.14006d2b0
mov rbx, qword [rdi]
vpermilpd xmm1, xmm0, 1
vmovaps xmm2, xmm9
vfmadd231sd xmm2, xmm6, xmm1
mov ecx, dword [rbx + 0x78]
mov r8d, dword [rbx + 0x7c]
vcvtsd2ss xmm1, xmm2, xmm2
vmovaps xmm2, xmm8
vfnmadd231sd xmm2, xmm6, xmm0
vcvtsd2ss xmm0, xmm2, xmm2
vmovss dword [rsp + 0xf4], xmm0
vmovss dword [rsp + 0xf0], xmm1
cmp ecx, r8d
jne 0x140065eb2
inc ecx
test r8d, r8d
je 0x140065e9d
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140065ea2
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rbx + 0x78]
call fcn.14002f310
movsxd rdx, dword [rbx + 0x78]
mov rcx, qword [rbx + 0x80]
mov rax, qword [rsp + 0xe0]
mov qword [rcx + rdx*8], rax
inc dword [rbx + 0x78]
mov rbx, qword [rdi]
mov r8d, dword [rbx + 0x78]
mov ecx, dword [rbx + 0x7c]
cmp r8d, ecx
jne 0x140065f05
inc r8d
test ecx, ecx
je 0x140065eed
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140065ef2
mov eax, 8
cmp eax, r8d
lea rcx, [rbx + 0x78]
cmovg r8d, eax
mov edx, r8d
call fcn.14002f310
movsxd rdx, dword [rbx + 0x78]
mov rcx, qword [rbx + 0x80]
mov rax, qword [rsp + 0xe8]
mov qword [rcx + rdx*8], rax
inc dword [rbx + 0x78]
mov rbx, qword [rdi]
mov r8d, dword [rbx + 0x78]
mov ecx, dword [rbx + 0x7c]
cmp r8d, ecx
jne 0x140065f58
inc r8d
test ecx, ecx
je 0x140065f40
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140065f45
mov eax, 8
cmp eax, r8d
lea rcx, [rbx + 0x78]
cmovg r8d, eax
mov edx, r8d
call fcn.14002f310
movsxd rdx, dword [rbx + 0x78]
mov rcx, qword [rbx + 0x80]
mov rax, qword [rsp + 0xf0]
vmovups xmm0, xmmword [0x14007bc70]
vmovups xmmword [rsp + 0x60], xmm0
mov qword [rcx + rdx*8], rax
lea rcx, [rsp + 0x60]
inc dword [rbx + 0x78]
mov rbx, qword [rdi]
call fcn.140016770
mov r8d, dword [rbx + 0x78]
mov r9d, eax
mov rdx, qword [rbx + 0x80]
mov rcx, rbx
call fcn.140039060
mov dword [rbx + 0x78], r12d
vmovss xmm5, dword [0x14007b900]
vmovss xmm7, dword [0x14007b93c]
add rsi, 0x20
cmp rsi, r15
jne 0x1400657a0
vmovaps xmm15, xmmword [rsp + 0x100]
vmovaps xmm13, xmmword [rsp + 0x120]
mov r14, qword [rsp + 0x1d0]
mov r12, qword [rsp + 0x1c8]
mov rbx, qword [rsp + 0x1c0]
mov r15, qword [rsp + 0x1a0]
mov rdx, qword [rdi + 0x50]
mov rcx, qword [rdi + 0x48]
mov rax, rdx
vmovaps xmm12, xmmword [rsp + 0x130]
sub rax, rcx
vmovaps xmm11, xmmword [rsp + 0x140]
vmovaps xmm10, xmmword [rsp + 0x150]
vmovaps xmm9, xmmword [rsp + 0x160]
vmovaps xmm8, xmmword [rsp + 0x170]
vmovaps xmm7, xmmword [rsp + 0x180]
vmovaps xmm6, xmmword [rsp + 0x190]
sar rax, 5
test rax, rax
je 0x140066055
cmp rcx, rdx
je 0x140066055
mov qword [rdi + 0x50], rcx
vmovaps xmm14, xmmword [rsp + 0x110]
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.14006c170
add rsp, 0x1a8
pop rdi
pop rsi
ret