Function at 0x140057950
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x4f]
sub rsp, 0x100
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
mov rax, qword [0x14020c050]
xor rax, rsp
mov qword [rbp - 0x49], rax
mov qword [rsp + 0x30], r9
mov rbx, r8
mov rdi, rdx
movsxd r15, dword [rbp + 0x77]
mov dword [rsp + 0x20], r15d
movsxd r12, dword [rbp + 0x7f]
mov r13, qword [rdx]
mov rsi, qword [r13 + 0xd8]
sub rsi, qword [r13 + 0xd0]
sar rsi, 3
cmp r12d, esi
jl 0x140057a30
lea rdx, str.theres_a_pb_in_your_Rotation._Res.dihedral.size
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400092d0
mov edx, esi
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov rcx, rax
lea rdx, str._and_you_want_to_move
call fcn.1400092d0
mov edx, r12d
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
lea rdx, [0x1400094a0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov esi, r12d
sub esi, r15d
mov r14, qword [r9 + 8]
sub r14, qword [r9]
sar r14, 3
dec r14d
cmp esi, r14d
je 0x140057a9f
lea rdx, str.mismatch_in_length:_you_want_to_move
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400092d0
lea edx, [rsi + 1]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov rcx, rax
lea rdx, str._dihedrals__but_size_is
call fcn.1400092d0
mov edx, r14d
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
lea rdx, [0x1400094a0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov r14, r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x48], r12
cmp r15, r12
jg 0x140057fe5
mov esi, r15d
movsd xmm10, qword [0x1401c46c0]
movsd xmm11, qword [0x1401c42c0]
mov r15d, 0x270f
movabs r12, 0x6666666666666667
lea rax, [r13 + 0x38]
mov rdx, rax
call fcn.140046700
movzx ecx, ax
lea rax, [rcx + rcx*2]
mov rcx, qword [0x1402b19a8]
mov r8, qword [rcx + rax*8]
mov rcx, qword [rcx + rax*8 + 8]
sub rcx, r8
mov rax, r12
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movsxd rcx, esi
mov qword [rsp + 0x40], rcx
lea rax, [rdx - 1]
cmp rcx, rax
ja 0x140057b33
movzx edx, si
cmp si, r15w
jne 0x140057b38
xor r15d, r15d
jmp 0x140057b46
movzx eax, dx
lea rcx, [rax + rax*4]
lea r15, [r8 + rcx*8]
movzx esi, dx
mov r12, r14
sub r12, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov rcx, qword [r13 + 0xd0]
movsd xmm9, qword [rax + r12*8]
subsd xmm9, qword [rcx + r14*8]
mulsd xmm9, qword [0x1402b0b98]
divsd xmm9, xmm10
mov rcx, qword [r13 + 0xe8]
movzx eax, word [r15 + 6]
mov r14, qword [rcx + rax*8]
movzx eax, word [r15 + 0xa]
mov rdx, qword [rcx + rax*8]
movsd xmm6, qword [rdx + 0x10]
subsd xmm6, qword [r14 + 0x10]
movsd xmm7, qword [rdx + 8]
subsd xmm7, qword [r14 + 8]
movsd xmm8, qword [rdx]
subsd xmm8, qword [r14]
movsd qword [rsp + 0x58], xmm8
movsd qword [rbp - 0x79], xmm7
movsd qword [rbp - 0x71], xmm6
movaps xmm0, xmm7
mulsd xmm0, xmm7
movaps xmm1, xmm8
mulsd xmm1, xmm8
addsd xmm0, xmm1
movaps xmm2, xmm6
mulsd xmm2, xmm6
addsd xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
comisd xmm0, xmm11
jbe 0x140057c0a
divsd xmm8, xmm0
movsd qword [rsp + 0x58], xmm8
divsd xmm7, xmm0
movsd qword [rbp - 0x79], xmm7
divsd xmm6, xmm0
movsd qword [rbp - 0x71], xmm6
xor eax, eax
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x61], rax
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x51], rax
movaps xmm2, xmm9
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x69]
call fcn.140057420
nop
movzx ecx, word [r15 + 0xa]
mov rax, qword [r13 + 0xe8]
mov rdx, qword [rbp - 0x61]
movsd xmm7, qword [r14 + 8]
movsd xmm5, qword [r14]
movsd xmm6, qword [r14 + 0x10]
movaps xmm4, xmm5
mulsd xmm4, qword [rdx]
movaps xmm0, xmm7
mulsd xmm0, qword [rdx + 8]
addsd xmm4, xmm0
movaps xmm1, xmm6
mulsd xmm1, qword [rdx + 0x10]
addsd xmm4, xmm1
movaps xmm3, xmm5
mulsd xmm3, qword [rdx + 0x18]
movaps xmm0, xmm7
mulsd xmm0, qword [rdx + 0x20]
addsd xmm3, xmm0
movaps xmm1, xmm6
mulsd xmm1, qword [rdx + 0x28]
addsd xmm3, xmm1
movaps xmm2, xmm5
mulsd xmm2, qword [rdx + 0x30]
movaps xmm0, xmm7
mulsd xmm0, qword [rdx + 0x38]
addsd xmm2, xmm0
movaps xmm1, xmm6
mulsd xmm1, qword [rdx + 0x40]
addsd xmm2, xmm1
subsd xmm6, xmm2
subsd xmm7, xmm3
subsd xmm5, xmm4
movsd qword [rsp + 0x58], xmm5
movsd qword [rbp - 0x79], xmm7
movsd qword [rbp - 0x71], xmm6
xor r9d, r9d
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x69]
mov rcx, qword [rax + rcx*8]
call fcn.14005b2b0
lea rdx, [r13 + 0x38]
call fcn.140046700
movzx ecx, ax
lea rax, [rcx + rcx*2]
mov rcx, qword [0x1402b19a8]
mov r8, qword [rcx + rax*8]
mov rcx, qword [rcx + rax*8 + 8]
sub rcx, r8
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
dec rax
add rax, rdx
cmp qword [rsp + 0x40], rax
mov eax, 0x270f
cmova si, ax
cmp si, ax
je 0x140058037
movzx eax, si
lea rax, [rax + rax*4]
mov r10, qword [r8 + rax*8 + 0x10]
mov rax, qword [r8 + rax*8 + 0x18]
xor edx, edx
mov r15d, edx
mov rsi, rax
sub rsi, r10
inc rsi
shr rsi, 1
cmp r10, rax
cmova rsi, rdx
test rsi, rsi
je 0x140057e32
nop word [rax + rax]
movzx ecx, word [r10]
mov rax, qword [r13 + 0xe8]
mov rdx, qword [rbp - 0x61]
movsd xmm7, qword [r14]
movsd xmm6, qword [r14 + 8]
movsd xmm5, qword [r14 + 0x10]
movaps xmm4, xmm7
mulsd xmm4, qword [rdx]
movaps xmm0, xmm6
mulsd xmm0, qword [rdx + 8]
addsd xmm4, xmm0
movaps xmm1, xmm5
mulsd xmm1, qword [rdx + 0x10]
addsd xmm4, xmm1
movaps xmm3, xmm7
mulsd xmm3, qword [rdx + 0x18]
movaps xmm0, xmm6
mulsd xmm0, qword [rdx + 0x20]
addsd xmm3, xmm0
movaps xmm1, xmm5
mulsd xmm1, qword [rdx + 0x28]
addsd xmm3, xmm1
movaps xmm2, xmm7
mulsd xmm2, qword [rdx + 0x30]
movaps xmm0, xmm6
mulsd xmm0, qword [rdx + 0x38]
addsd xmm2, xmm0
movaps xmm1, xmm5
mulsd xmm1, qword [rdx + 0x40]
addsd xmm2, xmm1
subsd xmm5, xmm2
subsd xmm6, xmm3
subsd xmm7, xmm4
movsd qword [rsp + 0x58], xmm7
movsd qword [rbp - 0x79], xmm6
movsd qword [rbp - 0x71], xmm5
mov r9b, 1
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x69]
mov rcx, qword [rax + rcx*8]
call fcn.14005b2b0
add r10, 2
inc r15
cmp r15, rsi
jne 0x140057d70
xor edx, edx
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
movsd xmm0, qword [rax + r12*8]
mov rax, qword [r13 + 0xd0]
mov rcx, qword [rsp + 0x28]
movsd qword [rax + rcx*8], xmm0
mov r15d, dword [rsp + 0x20]
cmp dword [r13 + 0x30], 1
jne 0x140057f88
lea eax, [r15 - 1]
cmp eax, 1
ja 0x140057f88
lea r11, [rdi + 8]
cmp r11, rbx
je 0x140057f88
nop dword [rax + rax]
mov r10, qword [r11]
mov rax, qword [r10 + 0xf0]
mov r10, qword [r10 + 0xe8]
mov r15, rdx
mov rsi, rax
sub rsi, r10
add rsi, 7
shr rsi, 3
cmp r10, rax
cmova rsi, rdx
test rsi, rsi
je 0x140057f76
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [rbp - 0x61]
movsd xmm7, qword [r14]
movsd xmm6, qword [r14 + 8]
movsd xmm5, qword [r14 + 0x10]
movaps xmm4, xmm7
mulsd xmm4, qword [rdx]
movaps xmm0, xmm6
mulsd xmm0, qword [rdx + 8]
addsd xmm4, xmm0
movaps xmm1, xmm5
mulsd xmm1, qword [rdx + 0x10]
addsd xmm4, xmm1
movaps xmm3, xmm7
mulsd xmm3, qword [rdx + 0x18]
movaps xmm0, xmm6
mulsd xmm0, qword [rdx + 0x20]
addsd xmm3, xmm0
movaps xmm1, xmm5
mulsd xmm1, qword [rdx + 0x28]
addsd xmm3, xmm1
movaps xmm2, xmm7
mulsd xmm2, qword [rdx + 0x30]
movaps xmm0, xmm6
mulsd xmm0, qword [rdx + 0x38]
addsd xmm2, xmm0
movaps xmm1, xmm5
mulsd xmm1, qword [rdx + 0x40]
addsd xmm2, xmm1
subsd xmm5, xmm2
subsd xmm6, xmm3
subsd xmm7, xmm4
movsd qword [rsp + 0x58], xmm7
movsd qword [rbp - 0x79], xmm6
movsd qword [rbp - 0x71], xmm5
mov r9b, 1
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x69]
mov rcx, qword [r10]
call fcn.14005b2b0
add r10, 8
inc r15
cmp r15, rsi
jne 0x140057ec0
xor edx, edx
add r11, 8
cmp r11, rbx
jne 0x140057e80
mov r15d, dword [rsp + 0x20]
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x140057fc2
mov rdx, qword [rbp - 0x51]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057fbd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140058030
call fcn.14014a730
inc r15d
mov dword [rsp + 0x20], r15d
mov esi, r15d
mov r14, qword [rsp + 0x28]
inc r14
mov qword [rsp + 0x28], r14
cmp r14, qword [rsp + 0x48]
jle 0x140057acf
mov rcx, qword [rbp - 0x49]
xor rcx, rsp
call fcn.14014a6d0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rsp + 0x58]
call fcn.14000b640
lea rcx, [rsp + 0x58]
call fcn.140016670
nop
lea rdx, str.We_dont_find_the_dihedral_moving_atoms_for
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400092d0
mov rcx, rax
lea rdx, [r13 + 0x38]
call fcn.1400094e0
lea rdx, [0x1400094a0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3