Function at 0x140112970
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov qword [rax - 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x14020c050]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r14, rcx
mov rax, qword [rcx + 0x3d0]
mov rsi, qword [rax + 8]
mov rax, qword [rax + 0x10]
mov rcx, rax
sub rcx, rsi
add rcx, 3
shr rcx, 2
xor r12d, r12d
cmp rsi, rax
cmova rcx, r12
mov qword [rsp + 0x30], rcx
test rcx, rcx
je 0x140112b7c
mov ecx, r12d
mov qword [rsp + 0x28], rcx
nop dword [rax]
nop word [rax + rax]
mov rax, qword [r14 + 0x3d0]
mov rax, qword [rax + 0x40]
mov ecx, dword [rax + rcx*4]
mov dword [r14 + 0x428], ecx
movsxd rax, dword [rsi]
mov dword [r14 + 0x424], eax
mov rdx, qword [r14 + 0x3b8]
mov rcx, rax
mov rax, qword [rdx + 0x80]
mov r8d, dword [rax + rcx*4]
test r8d, r8d
js 0x140112b5d
mov dword [rdx + 0x180], r8d
cmp dword [r14 + 0x428], 0xffffffff
jne 0x140112a6a
cmp byte [r14 + 0x42d], 0
je 0x140112a6a
mov rax, qword [r14]
mov r8, qword [rax + 0x20]
mov rax, qword [r14 + 0x3d8]
mov edx, dword [r14 + 0x424]
mov rax, qword [rax]
mov rdx, qword [rax + rdx*8]
mov rcx, r14
call r8
mov rax, qword [r14 + 8]
movsxd r13, dword [rax + 8]
add r13, r14
mov r15, qword [r14 + 0x3b8]
movsxd rbp, dword [r14 + 0x424]
lea rcx, [rbp*2]
add rcx, rbp
lea r12, [rcx*8]
mov rax, qword [r13 + 0x18]
mov rbx, qword [r12 + rax]
mov rdi, qword [r12 + rax + 8]
cmp rbx, rdi
je 0x140112afd
nop dword [rax + rax]
mov rax, qword [r13 + 0x10]
movsxd rcx, dword [rax + 4]
movsxd rdx, dword [rbx]
mov rax, qword [rcx + r13 + 0x38]
mov r8, qword [rax + rdx*8]
shr r8, 0x20
mov rax, qword [r15 + 0x178]
movsxd rcx, r8d
mov rax, qword [rax + 0x28]
mov edx, dword [rax + rcx*4]
test edx, edx
js 0x140112ae6
cmp edx, dword [r15 + 0x180]
jg 0x140112af4
mov edx, ebp
mov rcx, r14
call fcn.140116fc0
test al, al
je 0x140112b5d
add rbx, 4
cmp rbx, rdi
jne 0x140112ab0
mov rax, qword [r13 + 0x30]
mov rbx, qword [r12 + rax]
mov rdi, qword [r12 + rax + 8]
cmp rbx, rdi
je 0x140112b5d
nop
mov rax, qword [r13 + 0x10]
movsxd rcx, dword [rax + 4]
movsxd rdx, dword [rbx]
mov rax, qword [rcx + r13 + 0x38]
movsxd rdx, dword [rax + rdx*8]
cmp edx, ebp
je 0x140112b54
mov rax, qword [r15 + 0x178]
mov rax, qword [rax + 0x28]
mov r8d, dword [rax + rdx*4]
test r8d, r8d
js 0x140112b45
cmp r8d, dword [r15 + 0x180]
jg 0x140112b54
mov r8d, ebp
mov rcx, r14
call fcn.140116fc0
test al, al
je 0x140112b5d
add rbx, 4
cmp rbx, rdi
jne 0x140112b10
mov rcx, qword [rsp + 0x28]
inc rcx
mov qword [rsp + 0x28], rcx
add rsi, 4
cmp rcx, qword [rsp + 0x30]
jne 0x1401129f0
xor r12d, r12d
mov dword [r14 + 0x424], 0xffffffff
mov rcx, qword [r14 + 0x3b8]
mov rbx, qword [rcx + 0xb0]
mov rdi, qword [rcx + 0xb8]
cmp rbx, rdi
je 0x140112c07
movsxd r8, dword [rbx + 4]
movsxd r9, dword [rbx]
mov rax, qword [r14 + 8]
movsxd rdx, dword [rax + 4]
cmp r9d, dword [rdx + r14 + 0x10]
jge 0x140112c84
cmp r8d, dword [rdx + r14 + 0x14]
jge 0x140112c84
lea rcx, [r9 + r9*2]
mov rax, qword [rdx + r14 + 0x18]
mov rax, qword [rax + rcx*8]
mov ecx, dword [rax + r8*4]
shr ecx, 0x1f
xor cl, 1
je 0x140112bf7
mov eax, dword [rbx + 8]
mov dword [r14 + 0x428], eax
mov r8d, dword [rbx + 4]
mov edx, dword [rbx]
mov rcx, r14
call fcn.140116fc0
add rbx, 0xc
cmp rbx, rdi
jne 0x140112ba1
mov rcx, qword [r14 + 0x3b8]
mov rbx, qword [rcx + 0x128]
mov rax, qword [rcx + 0x130]
sub rax, rbx
sar rax, 2
test eax, eax
je 0x140112d9a
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov rsi, r12
mov qword [rsp + 0x50], r12
mov rdi, qword [rsp + 0x48]
cmp rbx, qword [rcx + 0x130]
je 0x140112ce5
nop word [rax + rax]
mov rax, qword [r14 + 0x228]
movsxd rcx, dword [rax + 8]
add rcx, 0x228
add rcx, r14
mov edx, dword [rbx]
call fcn.14002b580
test eax, eax
je 0x140112ccd
cmp rsi, rdi
je 0x140112cb3
mov eax, dword [rbx]
mov dword [rdi], eax
add rdi, 4
mov qword [rsp + 0x48], rdi
jmp 0x140112ccd
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]
nop
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.14001b470
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
add rbx, 4
mov rax, qword [r14 + 0x3b8]
cmp rbx, qword [rax + 0x130]
jne 0x140112c50
mov r15, qword [rsp + 0x40]
mov rbp, rdi
sub rbp, r15
add rbp, 3
shr rbp, 2
cmp r15, rdi
cmova rbp, r12
mov rbx, r15
test rbp, rbp
je 0x140112d5b
nop word [rax + rax]
mov r13, qword [r14 + 0x3b8]
movsxd rdi, dword [rbx]
lea rcx, [r13 + 0xc8]
mov rax, qword [rcx + 0x28]
cmp dword [rax + rdi*4], 0
jl 0x140112d4f
mov rax, qword [rcx]
mov dword [rsp + 0x28], 1
lea r8, [rsp + 0x28]
mov edx, edi
call qword [rax + 0x48]
lea rcx, [r13 + 0x120]
mov rax, qword [rcx]
mov edx, edi
call qword [rax + 0x28]
add rbx, 4
inc r12
cmp r12, rbp
jne 0x140112d10
test r15, r15
je 0x140112d9a
sub rsi, r15
and rsi, 0xfffffffffffffffc
mov rax, r15
cmp rsi, 0x1000
jb 0x140112d8f
add rsi, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140112d8f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, rsi
mov rcx, r15
call fcn.14014a730
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14014a6d0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret