Function at 0x14010bef0
Capabilities:
Terminate process

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov rdi, r9
movsxd r10, edx
mov rbx, rcx
mov rax, qword [rcx + 8]
movsxd r9, dword [rax + 4]
add rcx, 8
add rcx, r9
cmp r10d, dword [rcx + 8]
jge 0x14010c02f
cmp r8d, dword [rcx + 0xc]
jge 0x14010c02f
lea r11, [r10 + r10*2]
mov rax, qword [rcx + 0x10]
movsxd rsi, r8d
mov rax, qword [rax + r11*8]
mov edx, dword [rax + rsi*4]
shr edx, 0x1f
xor dl, 1
jne 0x14010bfc6
mov edx, r10d
call fcn.1400261a0
lea rsi, [rbx + 0x10]
mov rbx, qword [rsi + 8]
cmp qword [rsi + 0x10], rbx
je 0x14010bfa9
mov qword [rsp + 0x40], rbx
mov rax, qword [rdi]
mov qword [rbx], rax
mov rax, qword [rdi + 8]
mov qword [rbx + 8], rax
lea rcx, [rbx + 0x10]
lea rdx, [rdi + 0x10]
call fcn.140017030
nop
lea rcx, [rbx + 0x28]
lea rdx, [rdi + 0x28]
call fcn.140017030
nop
add qword [rsi + 8], 0x40
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov r8, rdi
mov rdx, rbx
mov rcx, rsi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
jmp fcn.1401138a0
cmp r10d, dword [r9 + rbx + 0x10]
jge 0x14010c000
cmp r8d, dword [r9 + rbx + 0x14]
jge 0x14010c000
mov rax, qword [r9 + rbx + 0x18]
mov rcx, qword [rax + r11*8]
movsxd rcx, dword [rcx + rsi*4]
shl rcx, 6
add rcx, qword [rbx + 0x10]
mov rdx, rdi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
jmp 0x14010c4d0
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
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
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rax, qword [rdx]
mov rdi, rdx
mov qword [rcx], rax
mov rbx, rcx
mov rax, qword [rdx + 8]
add rdx, 0x10
mov qword [rcx + 8], rax
add rcx, 0x10
cmp rcx, rdx
je 0x14010c507
mov r8, qword [rdx + 8]
mov rdx, qword [rdx]
call fcn.140024e60
lea rdx, [rdi + 0x28]
lea rcx, [rbx + 0x28]
cmp rcx, rdx
je 0x14010c520
mov r8, qword [rdx + 8]
mov rdx, qword [rdx]
call fcn.140024e60
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret