Function at 0x14004e2b0
Capabilities:
Create thread
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x1400e06c0]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rbx, rcx
mov qword [rbp - 0x70], rcx
xor r15d, r15d
mov dword [rbp - 0x60], r15d
add rcx, 8
call qword [sym.imp.opencv_world481.dll_public:_void___cdecl_cv::dnn::dnn4_v20230620::Net::constructor_void____ptr64]
nop
mov dword [rbx + 0x18], 0x3eb33333
mov dword [rbx + 0x1c], 0x3d4ccccd
mov dword [rbx + 0x20], 0x7d
mov qword [rbx + 0x28], r15
mov qword [rbx + 0x30], r15
mov qword [rbx + 0x38], r15
mov rcx, qword [0x140109058]
mov r8, qword [0x140109060]
cmp rcx, r8
je 0x14004e6d4
mov rax, qword [0x140109078]
cmp qword [0x140109070], rax
je 0x14004e6d4
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
sub r8d, ecx
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov edx, 1
lea rcx, [rbp + 0x10]
call qword [sym.imp.opencv_world481.dll_public:_void___cdecl_cv::Mat::constructor_int__int__int__void____ptr64__unsigned_long_long_unsigned___int64_____ptr64]
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
mov r8d, dword [0x140109078]
mov rax, qword [0x140109070]
sub r8d, eax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov edx, 1
lea rcx, [rbp - 0x50]
call qword [sym.imp.opencv_world481.dll_public:_void___cdecl_cv::Mat::constructor_int__int__int__void____ptr64__unsigned_long_long_unsigned___int64_____ptr64]
nop
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
mov qword [rbp - 0x80], r15
mov dword [rbp - 0x60], 1
mov qword [rsp + 0x68], r15
mov dword [rsp + 0x58], 0x82030000
lea rax, [rsp + 0x70]
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x50]
call qword [sym.imp.opencv_world481.dll_public:_void___cdecl_cv::Mat::copyTo_class_cv::_OutputArray_const____ptr64_const___ptr64]
nop
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov qword [rsp + 0x50], r15
mov dword [rbp - 0x60], 3
mov qword [rsp + 0x68], r15
mov dword [rsp + 0x58], 0x82030000
lea rax, [rsp + 0x40]
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x10]
call qword [sym.imp.opencv_world481.dll_public:_void___cdecl_cv::Mat::copyTo_class_cv::_OutputArray_const____ptr64_const___ptr64]
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call qword [sym.imp.opencv_world481.dll_class_cv::dnn::dnn4_v20230620::Net___cdecl_cv::dnn::dnn4_v20230620::readNetFromDarknet_class_std::vector_unsigned_char__class_std::allocator_unsigned_char___const____ptr64__class_std::vector_unsigned_char__class_std::allocator_unsigned_char___const____ptr64_]
mov rcx, rax
mov rax, qword [rax + 8]
test rax, rax
je 0x14004e462
lock inc dword [rax + 8]
mov rax, qword [rcx]
mov rcx, qword [rcx + 8]
mov qword [rbx + 8], rax
mov rdi, qword [rbx + 0x10]
mov qword [rbx + 0x10], rcx
test rdi, rdi
je 0x14004e4a6
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14004e4a6
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x14004e4a6
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
lea rcx, [rsp + 0x30]
call qword [sym.imp.opencv_world481.dll_public:_void___cdecl_cv::dnn::dnn4_v20230620::Net::destructor_void____ptr64]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14004e4ff
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e4ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004e4ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b5934
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14004e53e
mov rdx, qword [rbp - 0x80]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e538
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004e538
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b5934
nop
lea rcx, [rbp - 0x50]
call qword [sym.imp.opencv_world481.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x10]
call qword [sym.imp.opencv_world481.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
xor edx, edx
lea rcx, [rbx + 8]
call qword [sym.imp.opencv_world481.dll_public:_void___cdecl_cv::dnn::dnn4_v20230620::Net::setPreferableBackend_int____ptr64]
mov edx, 1
lea rcx, [rbx + 8]
call qword [sym.imp.opencv_world481.dll_public:_void___cdecl_cv::dnn::dnn4_v20230620::Net::setPreferableTarget_int____ptr64]
call qword [sym.imp.opencv_world481.dll_bool___cdecl_cv::ocl::haveOpenCL_void_]
test al, al
je 0x14004e5ea
mov qword [rbp - 0x60], r15
lea rcx, [rbp - 0x60]
call qword [sym.imp.opencv_world481.dll_public:_void___cdecl_cv::ocl::Context::constructor_void____ptr64]
nop
mov edx, 4
lea rcx, [rbp - 0x60]
call qword [sym.imp.opencv_world481.dll_public:_bool___cdecl_cv::ocl::Context::create_int____ptr64]
test al, al
je 0x14004e5c2
mov cl, 1
call qword [sym.imp.opencv_world481.dll_void___cdecl_cv::ocl::setUseOpenCL_bool_]
lea rdx, str.OpenCL_available:_Using_GPU._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14004fec0
nop
lea rcx, [rbp - 0x60]
call qword [sym.imp.opencv_world481.dll_public:_void___cdecl_cv::ocl::Context::destructor_void____ptr64]
jmp 0x14004e605
lea rdx, str.OpenCL_available__but_no_compatible_GPU_found._Using_CPU._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14004fec0
xor ecx, ecx
call qword [sym.imp.opencv_world481.dll_void___cdecl_cv::ocl::setUseOpenCL_bool_]
nop
lea rcx, [rbp - 0x60]
call qword [sym.imp.opencv_world481.dll_public:_void___cdecl_cv::ocl::Context::destructor_void____ptr64]
jmp 0x14004e605
lea rdx, str.OpenCL_not_available._Using_CPU._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14004fec0
xor ecx, ecx
call qword [sym.imp.opencv_world481.dll_void___cdecl_cv::ocl::setUseOpenCL_bool_]
call qword [sym.imp.opencv_world481.dll_bool___cdecl_cv::ocl::useOpenCL_void_]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test al, al
lea rdx, str.Confirmation:_OpenCL_is_now_active_and_being_used._n
jne 0x14004e624
lea rdx, str.Confirmation:_OpenCL_is_not_being_used._Using_CPU._n
call fcn.14004fec0
call fcn.14004bec0
mov ecx, 8
call fcn.1400b56b0
mov qword [rax], rbx
mov qword [rbp - 0x60], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x140050d90]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14004e6c3
cmp dword [rsp + 0x38], 0
je 0x14004e6b7
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rbp - 0x60], xmm0
lea rcx, [rbp - 0x60]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14004e6b7
mov rax, rbx
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1400b5570
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x38], r15d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea rdx, str.Error:_Model_data_is_empty_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14004fec0
lea rdx, [0x1400500a0]
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