Function at 0x140057300
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 [0x14008e040]
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.14006ce70
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.14006ce70
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.14006ce70
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.14006ce70
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.14006ce70
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.14006ce70
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.14006ce70
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.14006ce70
nop
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x298], xmm0
mov qword [rbp + 0x2a8], 0
mov ecx, 0xe0
call fcn.140070cb8
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.14006b160
add rbx, 0x20
mov qword [rbp + 0x280], rbx
add rdi, 0x20
lea rax, [rbp + 0x90]
cmp rdi, rax
jne 0x140057500
mov rdx, rbx
mov rcx, rbx
call fcn.14006d020
mov qword [rbp + 0x2a0], rbx
lea r9, [fcn.14006b0c0]
mov edx, 0x20
lea r8d, [rdx - 0x19]
lea rcx, [rbp - 0x50]
call fcn.140070cf4
mov esi, dword [0x14008f6e0]
mov ebx, dword [0x14008f8ec]
mov dword [rsp + 0x60], ebx
mov r12d, dword [0x14008f6f8]
mov dword [rsp + 0x64], r12d
mov r15d, dword [0x14008f738]
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 0x140057c02
nop word [rax + rax]
mov r8, rbx
lea rdx, [rbp + 0x2d0]
lea rcx, [rbp + 0x2b0]
call fcn.14006c530
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.140069590
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 0x140058042
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.140044f10
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
call qword [sym.imp.opencv_core4.dll_class_cv::_InputOutputArray_const____ptr64___cdecl_cv::noArray_void_]
xor edx, edx
mov qword [rbp + 0x288], rdx
mov dword [rbp + 0x278], 0x2010000
lea rcx, [rbp + 0x350]
mov qword [rbp + 0x280], rcx
mov qword [rbp - 0x80], rdx
mov dword [rsp + 0x70], 0x1010000
lea rcx, [rbp + 0x2f0]
mov qword [rsp + 0x78], rcx
mov qword [rbp - 0x60], rdx
mov dword [rbp - 0x70], 0x1010000
lea rcx, [rbp + 0x100]
mov qword [rbp - 0x68], rcx
mov qword [rsp + 0x20], rax
lea r9d, [rdx + 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
call qword [sym.imp.opencv_core4.dll_class_cv::_InputOutputArray_const____ptr64___cdecl_cv::noArray_void_]
xor ecx, ecx
mov qword [rbp - 0x60], rcx
mov dword [rbp - 0x70], 0x1010000
lea rcx, [rbp + 0x350]
mov qword [rbp - 0x68], rcx
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 [0x14008e128]
cvtps2pd xmm1, xmm1
movsd xmm0, qword [rbp + 0xf0]
comisd xmm0, xmm1
jb 0x140057b3f
mov r9, qword [rbx + 0x10]
mov rdx, rbx
mov r8, qword [rbx + 0x18]
cmp r8, 0xf
jbe 0x140057937
mov rdx, qword [rbx]
cmp r9, 6
jne 0x140057975
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 0x140057968
cmp rcx, 6
jne 0x140057950
xor eax, eax
jmp 0x14005796d
sbb eax, eax
or eax, 1
test eax, eax
je 0x140057dcc
mov rdx, rbx
cmp r8, 0xf
jbe 0x140057981
mov rdx, qword [rbx]
cmp r9, 6
jne 0x1400579b5
xor ecx, ecx
lea r10, str.23.bin
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r10 + rcx - 1]
jne 0x1400579a8
cmp rcx, 6
jne 0x140057990
xor eax, eax
jmp 0x1400579ad
sbb eax, eax
or eax, 1
test eax, eax
je 0x140057dcc
mov rdx, rbx
cmp r8, 0xf
jbe 0x1400579c1
mov rdx, qword [rbx]
cmp r9, 6
jne 0x1400579f5
xor ecx, ecx
lea r10, str.35.bin
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r10 + rcx - 1]
jne 0x1400579e8
cmp rcx, 6
jne 0x1400579d0
xor eax, eax
jmp 0x1400579ed
sbb eax, eax
or eax, 1
test eax, eax
je 0x140057dcc
mov rdx, rbx
cmp r8, 0xf
jbe 0x140057a01
mov rdx, qword [rbx]
cmp r9, 6
jne 0x140057a35
xor ecx, ecx
lea r10, str.36.bin
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r10 + rcx - 1]
jne 0x140057a28
cmp rcx, 6
jne 0x140057a10
xor eax, eax
jmp 0x140057a2d
sbb eax, eax
or eax, 1
test eax, eax
je 0x140057dcc
mov rdx, rbx
cmp r8, 0xf
jbe 0x140057a41
mov rdx, qword [rbx]
cmp r9, 6
jne 0x140057a75
xor ecx, ecx
lea r10, str.44.bin
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r10 + rcx - 1]
jne 0x140057a68
cmp rcx, 6
jne 0x140057a50
xor eax, eax
jmp 0x140057a6d
sbb eax, eax
or eax, 1
test eax, eax
je 0x140057dcc
mov rdx, rbx
cmp r8, 0xf
jbe 0x140057a81
mov rdx, qword [rbx]
cmp r9, 6
jne 0x140057ac7
xor ecx, ecx
lea r10, str.24.bin
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r10 + rcx - 1]
jne 0x140057aa8
cmp rcx, 6
jne 0x140057a90
xor eax, eax
jmp 0x140057aad
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140057ac7
mov r14d, dword [rbp + 0x2fc]
add r14d, dword [rbp + 0x270]
mov edi, dword [rbp + 0x274]
jmp 0x140057b3f
mov rdx, rbx
cmp r8, 0xf
jbe 0x140057ad3
mov rdx, qword [rbx]
cmp r9, 6
jne 0x140057b3f
xor ecx, ecx
lea r8, str.25.bin
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x140057afa
cmp rcx, 6
jne 0x140057ae2
xor eax, eax
jmp 0x140057aff
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140057b3f
mov esi, dword [rbp + 0x270]
sub esi, r14d
mov eax, dword [rbp + 0x2f8]
mov dword [rsp + 0x60], eax
mov eax, dword [0x14008f6f8]
add eax, r14d
mov dword [rsp + 0x64], eax
mov ecx, dword [rbp + 0x274]
mov r15d, dword [0x14008f738]
cmp edi, ecx
jne 0x140057b39
add r15d, edi
jmp 0x140057b3c
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.14006a290
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 0x140057bf5
inc rdx
mov rcx, qword [rbp + 0x2b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057bf0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140057f2d
call fcn.140070a70
add rbx, 0x20
cmp rbx, r12
jne 0x1400576c0
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 0x1400576a0
lea r9, [0x14008e154]
lea r8, [0x14008e10c]
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x2b0]
call fcn.140044a20
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 0x140057d99
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 0x140057f34
lea rcx, str.invalid_stoi_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
nop
mov byte [0x14008f734], 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.14006a290
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 0x140057ead
inc rdx
mov rcx, qword [rbp + 0x2b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057ea8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140057f2d
call fcn.140070a70
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.14006add0
nop
mov rdx, qword [rbp + 0x2e8]
cmp rdx, 0xf
jbe 0x140058012
inc rdx
mov rcx, qword [rbp + 0x2d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005800d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005800d
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 0x140057f47
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 [0x14008f768], eax
mov rdx, qword [rbp + 0x2c8]
cmp rdx, 0xf
jbe 0x140057f91
inc rdx
mov rcx, qword [rbp + 0x2b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057f8c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140057f8c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140070a70
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.14006add0
nop
mov rdx, qword [rbp + 0x2e8]
cmp rdx, 0xf
jbe 0x140058012
inc rdx
mov rcx, qword [rbp + 0x2d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005800d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005800d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140070a70
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.1400707f0
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.14006b120
nop
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.1400437f0
mov rbx, rax
lea rdx, str.TosBFF_Wzu0fudGznIkw
lea rcx, [rbp + 0x278]
call fcn.14006b120
nop
lea rdx, [rbp + 0x278]
lea rcx, [rbp + 0x90]
call fcn.1400437f0
nop
lea r8, [rbp + 0x2b0]
mov rdx, rax
lea rcx, [rbp + 0xb0]
call fcn.14006c690
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0xd0]
call fcn.14006c700
nop
mov rcx, rax
call fcn.140043b90
int3