Function at 0x140057010
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3c0]
sub rsp, 0x4c0
mov rax, qword [0x140085040]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x2d0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x2e0], xmm1
mov r8d, 4
lea rdx, str.bin_
lea rcx, [rbp + 0x2d0]
call fcn.140066f80
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x298], xmm0
mov qword [rbp + 0x2a8], rax
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x40], xmm1
lea r8d, [rax + 6]
lea rdx, str.22.bin
lea rcx, [rbp - 0x50]
call fcn.140066f80
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x20], xmm1
mov r8d, 6
lea rdx, str.23.bin
lea rcx, [rbp - 0x30]
call fcn.140066f80
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp], xmm1
mov r8d, 6
lea rdx, str.44.bin
lea rcx, [rbp - 0x10]
call fcn.140066f80
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x20], xmm1
mov r8d, 6
lea rdx, str.35.bin
lea rcx, [rbp + 0x10]
call fcn.140066f80
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x40], xmm1
mov r8d, 6
lea rdx, str.36.bin
lea rcx, [rbp + 0x30]
call fcn.140066f80
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x60], xmm1
mov r8d, 6
lea rdx, str.24.bin
lea rcx, [rbp + 0x50]
call fcn.140066f80
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x80], xmm1
mov r8d, 6
lea rdx, str.25.bin
lea rcx, [rbp + 0x70]
call fcn.140066f80
nop
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x298], xmm0
mov qword [rbp + 0x2a8], 0
mov ecx, 0xe0
call fcn.14006a3f8
mov rbx, rax
mov qword [rbp + 0x298], rax
mov qword [rbp + 0x2a0], rax
lea rcx, [rax + 0xe0]
mov qword [rbp + 0x2a8], rcx
lea rax, [rbp + 0x298]
mov qword [rbp + 0xf0], rax
lea rdi, [rbp - 0x50]
xorps xmm0, xmm0
movups xmmword [rbp + 0x278], xmm0
mov qword [rbp + 0x278], rbx
mov qword [rbp + 0x280], rbx
lea rax, [rbp + 0x298]
mov qword [rbp + 0x288], rax
nop dword [rax]
mov rdx, rdi
mov rcx, rbx
call fcn.140065670
add rbx, 0x20
mov qword [rbp + 0x280], rbx
add rdi, 0x20
lea rax, [rbp + 0x90]
cmp rdi, rax
jne 0x140057210
mov rdx, rbx
mov rcx, rbx
call fcn.140067130
mov qword [rbp + 0x2a0], rbx
lea r9, [fcn.1400655d0]
mov edx, 0x20
lea r8d, [rdx - 0x19]
lea rcx, [rbp - 0x50]
call fcn.14006a434
mov esi, dword [0x140085eb0]
mov ebx, dword [0x1400860b0]
mov dword [rsp + 0x60], ebx
mov r12d, dword [0x140085ec8]
mov dword [rsp + 0x64], r12d
mov r15d, dword [0x140085f04]
xor r14d, r14d
xor edi, edi
xor r13b, r13b
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov qword [rsp + 0x68], rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov qword [rsp + 0x50], rax
mov r8d, ebx
mov edx, esi
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [rsp + 0x58], rax
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r12d
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
mov r9d, esi
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.GDI32.dll_BitBlt]
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
movups xmmword [rbp + 0x110], xmm0
movups xmmword [rbp + 0x120], xmm0
movups xmmword [rbp + 0x130], xmm0
movups xmmword [rbp + 0x140], xmm0
movups xmmword [rbp + 0x150], xmm0
lea r9d, [r14 + 0x18]
mov r8d, esi
mov edx, ebx
lea rcx, [rbp + 0x100]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::constructor_int__int__int____ptr64]
nop
mov edx, ebx
imul edx, esi
shl edx, 2
mov r8, qword [rbp + 0x110]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.GDI32.dll_GetBitmapBits]
xor ecx, ecx
mov qword [rbp - 0x80], rcx
mov dword [rsp + 0x70], 0x2010000
lea rax, [rbp + 0x100]
mov qword [rsp + 0x78], rax
mov qword [rbp + 0x288], rcx
mov dword [rbp + 0x278], 0x1010000
lea rax, [rbp + 0x100]
mov qword [rbp + 0x280], rax
xor r9d, r9d
lea r8d, [r14 + 0xa]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x278]
call qword [sym.imp.opencv_imgproc4.dll_void___cdecl_cv::cvtColor_class_cv::_InputArray_const____ptr64__class_cv::_OutputArray_const____ptr64__int__int_]
nop dword [rax]
mov rbx, qword [rbp + 0x298]
mov r12, qword [rbp + 0x2a0]
cmp rbx, r12
je 0x140057912
nop word [rax + rax]
mov r8, rbx
lea rdx, [rbp + 0x2d0]
lea rcx, [rbp + 0x2b0]
call fcn.140066880
nop
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x160]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x2b0]
cmp qword [rbp + 0x2c8], 0xf
cmova rdx, qword [rbp + 0x2b0]
mov r8d, 1
lea rcx, [rbp + 0x160]
call fcn.140063ac0
mov rax, qword [rbp + 0x160]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x160], rax
mov rax, qword [rbp + 0x160]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x15c], edx
mov rax, qword [rbp + 0x160]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x160]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
test al, al
jne 0x140057d52
xorps xmm0, xmm0
movups xmmword [rbp + 0x2f0], xmm0
movups xmmword [rbp + 0x300], xmm0
movups xmmword [rbp + 0x310], xmm0
movups xmmword [rbp + 0x320], xmm0
movups xmmword [rbp + 0x330], xmm0
movups xmmword [rbp + 0x340], xmm0
lea rcx, [rbp + 0x2f0]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::constructor_void____ptr64]
nop
lea r8, [rbp + 0x2f0]
lea rdx, [rbp + 0x2b0]
call fcn.140045ac0
xor ecx, ecx
mov qword [rbp + 0x288], rcx
mov dword [rbp + 0x278], 0x2010000
lea rax, [rbp + 0x2f0]
mov qword [rbp + 0x280], rax
mov qword [rbp - 0x80], rcx
mov dword [rsp + 0x70], 0x1010000
lea rax, [rbp + 0x2f0]
mov qword [rsp + 0x78], rax
xor r9d, r9d
lea r8d, [rcx + 6]
lea rdx, [rbp + 0x278]
lea rcx, [rsp + 0x70]
call qword [sym.imp.opencv_imgproc4.dll_void___cdecl_cv::cvtColor_class_cv::_InputArray_const____ptr64__class_cv::_OutputArray_const____ptr64__int__int_]
xorps xmm0, xmm0
movups xmmword [rbp + 0x350], xmm0
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
lea rcx, [rbp + 0x350]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::constructor_void____ptr64]
nop
xor ecx, ecx
mov qword [rbp + 0x288], rcx
mov dword [rbp + 0x278], 0x2010000
lea rax, [rbp + 0x350]
mov qword [rbp + 0x280], rax
mov qword [rbp - 0x80], rcx
mov dword [rsp + 0x70], 0x1010000
lea rax, [rbp + 0x2f0]
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x60], rcx
mov dword [rbp - 0x70], 0x1010000
lea rax, [rbp + 0x100]
mov qword [rbp - 0x68], rax
call qword [sym.imp.opencv_core4.dll_class_cv::_InputOutputArray_const____ptr64___cdecl_cv::noArray_void_]
mov qword [rsp + 0x20], rax
mov r9d, 5
lea r8, [rbp + 0x278]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x70]
call qword [sym.imp.opencv_imgproc4.dll_void___cdecl_cv::matchTemplate_class_cv::_InputArray_const____ptr64__class_cv::_InputArray_const____ptr64__class_cv::_OutputArray_const____ptr64__int__class_cv::_InputArray_const____ptr64_]
xor eax, eax
mov qword [rbp + 0x270], rax
mov qword [rbp - 0x60], rax
mov dword [rbp - 0x70], 0x1010000
lea rax, [rbp + 0x350]
mov qword [rbp - 0x68], rax
call qword [sym.imp.opencv_core4.dll_class_cv::_InputOutputArray_const____ptr64___cdecl_cv::noArray_void_]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x270]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp + 0xf0]
xor edx, edx
lea rcx, [rbp - 0x70]
call qword [sym.imp.opencv_core4.dll_void___cdecl_cv::minMaxLoc_class_cv::_InputArray_const____ptr64__double____ptr64__double____ptr64__class_cv::Point__int_____ptr64__class_cv::Point__int_____ptr64__class_cv::_InputArray_const____ptr64_]
movss xmm1, dword [0x140085128]
cvtps2pd xmm1, xmm1
movsd xmm0, qword [rbp + 0xf0]
comisd xmm0, xmm1
jb 0x14005784f
mov rdx, rbx
mov r9, qword [rbx + 0x18]
cmp r9, 0xf
jbe 0x140057643
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
cmp r8, 6
jne 0x140057685
xor ecx, ecx
lea r10, str.22.bin
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r10 + rcx - 1]
jne 0x140057678
cmp rcx, 6
jne 0x140057660
xor eax, eax
jmp 0x14005767d
sbb eax, eax
or eax, 1
test eax, eax
je 0x140057adc
mov rdx, rbx
cmp r9, 0xf
jbe 0x140057691
mov rdx, qword [rbx]
cmp r8, 6
jne 0x1400576c5
xor ecx, ecx
lea r10, str.23.bin
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r10 + rcx - 1]
jne 0x1400576b8
cmp rcx, 6
jne 0x1400576a0
xor eax, eax
jmp 0x1400576bd
sbb eax, eax
or eax, 1
test eax, eax
je 0x140057adc
mov rdx, rbx
cmp r9, 0xf
jbe 0x1400576d1
mov rdx, qword [rbx]
cmp r8, 6
jne 0x140057705
xor ecx, ecx
lea r10, str.35.bin
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r10 + rcx - 1]
jne 0x1400576f8
cmp rcx, 6
jne 0x1400576e0
xor eax, eax
jmp 0x1400576fd
sbb eax, eax
or eax, 1
test eax, eax
je 0x140057adc
mov rdx, rbx
cmp r9, 0xf
jbe 0x140057711
mov rdx, qword [rbx]
cmp r8, 6
jne 0x140057745
xor ecx, ecx
lea r10, str.36.bin
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r10 + rcx - 1]
jne 0x140057738
cmp rcx, 6
jne 0x140057720
xor eax, eax
jmp 0x14005773d
sbb eax, eax
or eax, 1
test eax, eax
je 0x140057adc
mov rdx, rbx
cmp r9, 0xf
jbe 0x140057751
mov rdx, qword [rbx]
cmp r8, 6
jne 0x140057785
xor ecx, ecx
lea r10, str.44.bin
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r10 + rcx - 1]
jne 0x140057778
cmp rcx, 6
jne 0x140057760
xor eax, eax
jmp 0x14005777d
sbb eax, eax
or eax, 1
test eax, eax
je 0x140057adc
mov rdx, rbx
cmp r9, 0xf
jbe 0x140057791
mov rdx, qword [rbx]
cmp r8, 6
jne 0x1400577d7
xor ecx, ecx
lea r10, str.24.bin
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r10 + rcx - 1]
jne 0x1400577b8
cmp rcx, 6
jne 0x1400577a0
xor eax, eax
jmp 0x1400577bd
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400577d7
mov r14d, dword [rbp + 0x2fc]
add r14d, dword [rbp + 0x270]
mov edi, dword [rbp + 0x274]
jmp 0x14005784f
mov rdx, rbx
cmp r9, 0xf
jbe 0x1400577e3
mov rdx, qword [rbx]
cmp r8, 6
jne 0x14005784f
xor ecx, ecx
lea r8, str.25.bin
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x14005780a
cmp rcx, 6
jne 0x1400577f2
xor eax, eax
jmp 0x14005780f
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14005784f
mov esi, dword [rbp + 0x270]
sub esi, r14d
mov eax, dword [rbp + 0x2f8]
mov dword [rsp + 0x60], eax
mov eax, dword [0x140085ec8]
add eax, r14d
mov dword [rsp + 0x64], eax
mov ecx, dword [rbp + 0x274]
mov r15d, dword [0x140085f04]
cmp edi, ecx
jne 0x140057849
add r15d, edi
jmp 0x14005784c
add r15d, ecx
mov r13b, 1
lea rcx, [rbp + 0x350]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x2f0]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
mov rax, qword [rbp + 0x160]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x160], rax
mov rax, qword [rbp + 0x160]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x15c], edx
lea rcx, [rbp + 0x170]
call fcn.1400647c0
lea rcx, [rbp + 0x178]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x210]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x2c8]
cmp rdx, 0xf
jbe 0x140057905
inc rdx
mov rcx, qword [rbp + 0x2b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057900
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140057c3d
call fcn.14006a1b0
add rbx, 0x20
cmp rbx, r12
jne 0x1400573d0
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, qword [rsp + 0x68]
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
nop
lea rcx, [rbp + 0x100]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov r12, rax
mov qword [rsp + 0x68], rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov qword [rsp + 0x50], rax
mov ebx, dword [rsp + 0x60]
mov r8d, ebx
mov edx, esi
mov rcx, r12
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [rsp + 0x58], rax
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], r15d
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], ebx
mov r9d, esi
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.GDI32.dll_BitBlt]
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
movups xmmword [rbp + 0x110], xmm0
movups xmmword [rbp + 0x120], xmm0
movups xmmword [rbp + 0x130], xmm0
movups xmmword [rbp + 0x140], xmm0
movups xmmword [rbp + 0x150], xmm0
mov r9d, 0x18
mov r8d, esi
mov edx, ebx
lea rcx, [rbp + 0x100]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::constructor_int__int__int____ptr64]
nop
mov edx, ebx
imul edx, esi
shl edx, 2
mov r8, qword [rbp + 0x110]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.GDI32.dll_GetBitmapBits]
xor ecx, ecx
mov qword [rbp - 0x80], rcx
mov dword [rsp + 0x70], 0x2010000
lea rax, [rbp + 0x100]
mov qword [rsp + 0x78], rax
mov qword [rbp + 0x288], rcx
mov dword [rbp + 0x278], 0x1010000
lea rax, [rbp + 0x100]
mov qword [rbp + 0x280], rax
xor r9d, r9d
lea r8d, [rcx + 0xa]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x278]
call qword [sym.imp.opencv_imgproc4.dll_void___cdecl_cv::cvtColor_class_cv::_InputArray_const____ptr64__class_cv::_OutputArray_const____ptr64__int__int_]
test r13b, r13b
je 0x1400573b0
lea r9, [0x140085154]
lea r8, [0x14008510c]
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x2b0]
call fcn.140045280
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rdi, rax
cmp qword [rbx + 0x18], 0xf
jbe 0x140057aa9
mov rbx, qword [rbx]
xor ecx, ecx
mov dword [rax], ecx
lea r8d, [rcx + 0xa]
lea rdx, [rbp + 0xf0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
cmp rbx, qword [rbp + 0xf0]
jne 0x140057c44
lea rcx, str.invalid_stoi_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
nop
mov byte [0x140085efd], 1
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, qword [rsp + 0x68]
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
nop
lea rcx, [rbp + 0x350]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x2f0]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
mov rax, qword [rbp + 0x160]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x160], rax
mov rax, qword [rbp + 0x160]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x15c], edx
lea rcx, [rbp + 0x170]
call fcn.1400647c0
lea rcx, [rbp + 0x178]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x210]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x2c8]
cmp rdx, 0xf
jbe 0x140057bbd
inc rdx
mov rcx, qword [rbp + 0x2b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057bb8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140057c3d
call fcn.14006a1b0
xor ecx, ecx
mov qword [rbp + 0x2c0], rcx
mov qword [rbp + 0x2c8], 0xf
mov byte [rbp + 0x2b0], cl
lea rcx, [rbp + 0x100]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x298]
call fcn.140065050
nop
mov rdx, qword [rbp + 0x2e8]
cmp rdx, 0xf
jbe 0x140057d22
inc rdx
mov rcx, qword [rbp + 0x2d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057d1d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140057d1d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
cmp dword [rdi], 0x22
jne 0x140057c57
lea rcx, str.stoi_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
mov dword [0x140085f34], eax
mov rdx, qword [rbp + 0x2c8]
cmp rdx, 0xf
jbe 0x140057ca1
inc rdx
mov rcx, qword [rbp + 0x2b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057c9c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140057c9c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a1b0
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, r12
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
nop
lea rcx, [rbp + 0x100]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x298]
call fcn.140065050
nop
mov rdx, qword [rbp + 0x2e8]
cmp rdx, 0xf
jbe 0x140057d22
inc rdx
mov rcx, qword [rbp + 0x2d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057d1d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140057d1d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a1b0
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.140069f30
lea r11, [rsp + 0x4c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rdx, str.NcxKl_83c2jEUQgMaJk7Rg
lea rcx, [rbp - 0x70]
call fcn.140065630
nop
lea rdx, str.TosBFF_Wzu0fudGznIkw
lea rcx, [rbp + 0x278]
call fcn.140065630
nop
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.140043f60
mov rbx, rax
lea rdx, [rbp + 0x278]
lea rcx, [rbp + 0x90]
call fcn.140043f60
nop
lea r8, [rbp + 0x2b0]
mov rdx, rax
lea rcx, [rbp + 0xb0]
call fcn.1400669e0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0xd0]
call fcn.140066a50
nop
mov rcx, rax
call fcn.140044240
int3