Function at 0x140029aa0
Capabilities:
Terminate process

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0xc8], rbx
mov rax, qword [0x14020c050]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, r8
mov r13, rdx
mov qword [rsp + 0x38], rdx
mov rbx, rcx
mov qword [rsp + 0x48], rcx
movsxd r11, dword [rdx + 0x78]
mov dword [rsp + 0x28], r11d
movsxd r10, dword [r8 + 0x78]
mov dword [rsp + 0x24], r10d
mov r9, qword [rcx]
movsxd r8, dword [r9 + 4]
cmp r11d, dword [r8 + rcx + 8]
jge 0x140029d0b
cmp r10d, dword [r8 + rcx + 0xc]
jge 0x140029d0b
lea rdx, [r11 + r11*2]
mov rax, qword [r8 + rcx + 0x10]
mov rax, qword [rax + rdx*8]
mov edx, dword [rax + r10*4]
shr edx, 0x1f
xor dl, 1
je 0x140029b4f
movsxd rcx, dword [r9 + 0xc]
add rcx, rbx
mov r8d, r10d
mov edx, r11d
call fcn.14002ace0
mov rcx, qword [rax]
mov eax, dword [rbx + 0x490]
cmp dword [rcx + 0x20], eax
je 0x140029ce6
mov ecx, 0x28
call fcn.14014a6f4
mov r14, rax
mov qword [rsp + 0x30], rax
xor eax, eax
mov qword [r14], rax
mov qword [r14 + 8], rax
mov qword [r14 + 0x10], rax
mov qword [r14 + 0x18], rax
mov qword [r14 + 0x20], rax
mov rcx, qword [rsi + 0xf0]
sub rcx, qword [rsi + 0xe8]
sar rcx, 3
mov rax, qword [r13 + 0xf0]
sub rax, qword [r13 + 0xe8]
sar rax, 3
mov dword [r14], eax
mov dword [r14 + 4], ecx
lea r12, [r14 + 8]
mov qword [rsp + 0x40], r12
imul eax, ecx
movsxd rdx, eax
mov rcx, r12
call fcn.14002adb0
mov dword [r14 + 0x20], 0xffffffff
mov qword [rsp + 0x58], r14
xor edi, edi
mov rcx, qword [r13 + 0xe8]
mov rax, qword [r13 + 0xf0]
sub rax, rcx
sar rax, 3
test eax, eax
je 0x140029cbf
xor r15d, r15d
nop word [rax + rax]
xor ebp, ebp
mov rbx, qword [rsi + 0xe8]
mov rax, qword [rsi + 0xf0]
sub rax, rbx
sar rax, 3
test eax, eax
je 0x140029c92
mov r14, qword [r15 + rcx]
mov r12, qword [r12]
mov r13, qword [rsp + 0x30]
nop dword [rax]
mov rax, qword [rbx]
movsd xmm0, qword [rax]
subsd xmm0, qword [r14]
movsd xmm1, qword [rax + 8]
subsd xmm1, qword [r14 + 8]
movsd xmm2, qword [rax + 0x10]
subsd xmm2, qword [r14 + 0x10]
mulsd xmm0, xmm0
mulsd xmm1, xmm1
addsd xmm0, xmm1
mulsd xmm2, xmm2
addsd xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
mov eax, dword [r13 + 4]
imul eax, edi
add eax, ebp
cdqe
movsd qword [r12 + rax*8], xmm0
inc ebp
add rbx, 8
mov rax, qword [rsi + 0xf0]
sub rax, qword [rsi + 0xe8]
sar rax, 3
cmp ebp, eax
jb 0x140029c20
mov r13, qword [rsp + 0x38]
mov r12, qword [rsp + 0x40]
inc edi
add r15, 8
mov rcx, qword [r13 + 0xe8]
mov rax, qword [r13 + 0xf0]
sub rax, rcx
sar rax, 3
cmp edi, eax
jb 0x140029bf0
mov rbx, qword [rsp + 0x48]
mov r14, qword [rsp + 0x30]
mov eax, dword [rbx + 0x490]
mov dword [r14 + 0x20], eax
mov rax, qword [rbx]
movsxd rcx, dword [rax + 0xc]
add rcx, rbx
mov rax, qword [rcx]
lea r9, [rsp + 0x58]
mov r8d, dword [rsp + 0x24]
mov edx, dword [rsp + 0x28]
call qword [rax]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14014a6d0
mov rbx, qword [rsp + 0xc8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
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