Function at 0x140115350
Capabilities:
Terminate process

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x14020c050]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r15d, r8d
mov r12d, edx
mov r14, rcx
cmp edx, dword [rcx + 0x3e8]
jge 0x1401155df
cmp r15d, dword [rcx + 0x3ec]
jge 0x1401155df
movsxd rax, r12d
lea rdx, [rax + rax*2]
mov rax, qword [rcx + 0x3f0]
movsxd rcx, r15d
mov rax, qword [rax + rdx*8]
mov edx, dword [rax + rcx*4]
shr edx, 0x1f
xor dl, 1
jne 0x14011558d
mov rax, qword [r14 + 0x3e0]
mov r8d, r15d
mov edx, r12d
lea rcx, [r14 + 0x3e0]
call qword [rax + 0x18]
mov rdx, qword [r14 + 0x3d8]
mov ecx, r12d
cmp dword [r14 + 0x424], r15d
cmovne ecx, r15d
mov rax, qword [rdx]
mov rdx, qword [rax + rcx*8]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x30]
test eax, eax
jle 0x1401155c2
mov rax, qword [r14]
mov r9, qword [rax + 0x38]
mov rax, qword [r14 + 0x3d8]
mov rcx, qword [rax]
mov rax, qword [rcx + r15*8]
mov r8d, dword [rax + 0x30]
mov rax, qword [rcx + r12*8]
mov edx, dword [rax + 0x30]
mov rcx, r14
call r9
test al, al
je 0x1401155c2
mov rax, qword [r14 + 0x3d8]
mov rcx, qword [rax]
mov rbp, qword [rcx + r12*8]
mov rsi, qword [rcx + r15*8]
mov ecx, 0x80
call fcn.14014a6f4
mov rdi, rax
mov qword [rsp + 0x40], rax
xor edx, edx
mov r8d, 0x80
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [r14]
mov r8, qword [rcx + 0x30]
mov rdx, rsi
mov rcx, r14
call r8
mov ebx, eax
mov rcx, qword [r14]
mov r8, qword [rcx + 0x30]
mov rdx, rbp
mov rcx, r14
call r8
lea rcx, [0x1401c1858]
mov qword [rdi + 8], rcx
lea rcx, [rdi + 0x40]
mov r8d, ebx
mov edx, eax
call fcn.140039570
lea rax, vtable.bondval_class_class_Charge_type_.0
mov qword [rdi], rax
mov rax, qword [rdi + 8]
movsxd rcx, dword [rax + 4]
lea rax, vtable.bondval_class_class_Charge_type_.1.0
mov qword [rcx + rdi + 8], rax
mov rax, qword [rdi + 8]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x38]
mov dword [rcx + rdi + 4], edx
xor eax, eax
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rax
mov qword [rdi + 0x20], rax
mov qword [rdi + 0x28], rax
mov qword [rdi + 0x30], rax
mov qword [rsp + 0x48], rdi
mov rax, qword [r14]
mov rbx, qword [rax + 8]
mov r8, rsi
mov rdx, rbp
mov rcx, qword [r14 + 0x3b0]
call fcn.1400fe2b0
mov qword [rsp + 0x20], rdi
mov r9, rax
mov r8, rsi
mov rdx, rbp
mov rcx, r14
call rbx
mov rdx, qword [rsp + 0x48]
mov rax, qword [rdx + 8]
movsxd rcx, dword [rax + 4]
mov rax, qword [rcx + rdx + 0x38]
sub rax, qword [rcx + rdx + 0x30]
sar rax, 3
mov r8d, r15d
mov edx, r12d
test eax, eax
mov rax, qword [r14 + 8]
jne 0x1401155ab
movsxd rcx, dword [rax + 4]
add rcx, 8
add rcx, r14
call fcn.140027690
test al, al
je 0x14011556a
mov rax, qword [r14 + 8]
movsxd rcx, dword [rax + 4]
add rcx, 8
add rcx, r14
mov rax, qword [rcx]
mov r8d, r15d
mov edx, r12d
call qword [rax + 0x20]
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x14011558d
mov rax, qword [rdx + 8]
movsxd rcx, dword [rax + 4]
add rcx, 8
add rcx, rdx
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov al, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14014a6d0
add rsp, 0x60
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
movsxd rcx, dword [rax + 0xc]
add rcx, 8
add rcx, r14
mov rax, qword [rcx]
lea r9, [rsp + 0x48]
call qword [rax]
jmp 0x14011558d
mov rax, qword [r14 + 8]
movsxd rcx, dword [rax + 4]
add rcx, 8
add rcx, r14
mov rax, qword [rcx]
mov r8d, r15d
mov edx, r12d
call qword [rax + 0x20]
jmp 0x14011558d
lea rdx, str.matrix_out_of_memory1
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400092d0
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