Function at 0x14004cf00
Capabilities:
Capture screenshot

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x308]
sub rsp, 0x3e0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x140074040]
xor rax, rsp
mov qword [rbp + 0x2c0], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x1d0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1e0], xmm1
mov r8d, 4
lea rdx, str.bin_
lea rcx, [rbp + 0x1d0]
call fcn.140058800
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x188], xmm0
mov qword [rbp + 0x198], rax
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x40], xmm1
lea r8d, [rax + 6]
lea rdx, str.33.bin
lea rcx, [rbp - 0x50]
call fcn.140058800
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x20], xmm1
mov r8d, 6
lea rdx, str.34.bin
lea rcx, [rbp - 0x30]
call fcn.140058800
nop
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x188], xmm0
mov qword [rbp + 0x198], 0
mov ecx, 0x40
call fcn.14005bc98
mov rbx, rax
mov qword [rbp + 0x188], rax
mov qword [rbp + 0x190], rax
lea rcx, [rax + 0x40]
mov qword [rbp + 0x198], rcx
lea rax, [rbp + 0x188]
mov qword [rbp + 0x1c8], rax
lea rdi, [rbp - 0x50]
xorps xmm0, xmm0
movups xmmword [rbp + 0x160], xmm0
mov qword [rbp + 0x160], rbx
mov qword [rbp + 0x168], rbx
lea rax, [rbp + 0x188]
mov qword [rbp + 0x170], rax
nop dword [rax + rax]
mov rdx, rdi
mov rcx, rbx
call fcn.140056d70
add rbx, 0x20
mov qword [rbp + 0x168], rbx
add rdi, 0x20
lea rax, [rbp - 0x10]
cmp rdi, rax
jne 0x14004d040
mov rdx, rbx
mov rcx, rbx
call fcn.1400589b0
mov qword [rbp + 0x190], rbx
lea r9, [fcn.140056cd0]
mov edx, 0x20
lea r8d, [rdx - 0x1e]
lea rcx, [rbp - 0x50]
call fcn.14005bcd4
mov edi, dword [0x140074e24]
mov r12d, dword [0x140075010]
mov r13d, dword [0x140074e38]
mov ebx, dword [0x140074e70]
mov dword [rsp + 0x70], ebx
xor esi, esi
xor r14d, r14d
mov byte [rsp + 0x50], sil
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov r15, rax
mov qword [rbp - 0x78], rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov qword [rsp + 0x78], rax
mov r8d, r12d
mov edx, edi
mov rcx, r15
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [rbp - 0x80], rax
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], r13d
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r12d
mov r9d, edi
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.GDI32.dll_BitBlt]
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
lea r9d, [rsi + 0x18]
mov r8d, edi
mov edx, r12d
lea rcx, [rbp - 0x10]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::constructor_int__int__int____ptr64]
nop
mov edx, r12d
imul edx, edi
shl edx, 2
mov r8, qword [rbp]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.GDI32.dll_GetBitmapBits]
xor ecx, ecx
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x58], 0x2010000
lea rax, [rbp - 0x10]
mov qword [rsp + 0x60], rax
mov qword [rbp + 0x170], rcx
mov dword [rbp + 0x160], 0x1010000
lea rax, [rbp - 0x10]
mov qword [rbp + 0x168], rax
xor r9d, r9d
lea r8d, [rsi + 6]
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x160]
call qword [sym.imp.opencv_imgproc4.dll_void___cdecl_cv::cvtColor_class_cv::_InputArray_const____ptr64__class_cv::_OutputArray_const____ptr64__int__int_]
movsd xmm6, qword [0x140067e78]
nop dword [rax]
mov rbx, qword [rbp + 0x188]
mov r15, qword [rbp + 0x190]
cmp rbx, r15
je 0x14004d5ad
nop word [rax + rax]
mov r8, rbx
lea rdx, [rbp + 0x1d0]
lea rcx, [rbp + 0x1a0]
call fcn.140057f90
nop
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x50]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x1a0]
cmp qword [rbp + 0x1b8], 0xf
cmova rdx, qword [rbp + 0x1a0]
mov r8d, 1
lea rcx, [rbp + 0x50]
call fcn.140055f70
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x50], rax
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x4c], edx
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x50]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
test al, al
jne 0x14004d982
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f0], xmm0
movups xmmword [rbp + 0x200], xmm0
movups xmmword [rbp + 0x210], xmm0
movups xmmword [rbp + 0x220], xmm0
movups xmmword [rbp + 0x230], xmm0
movups xmmword [rbp + 0x240], xmm0
lea rcx, [rbp + 0x1f0]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::constructor_void____ptr64]
nop
lea r8, [rbp + 0x1f0]
lea rdx, [rbp + 0x1a0]
call fcn.14003df20
xor ecx, ecx
mov qword [rbp + 0x170], rcx
mov dword [rbp + 0x160], 0x2010000
lea rax, [rbp + 0x1f0]
mov qword [rbp + 0x168], rax
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x58], 0x1010000
lea rax, [rbp + 0x1f0]
mov qword [rsp + 0x60], rax
xor r9d, r9d
lea r8d, [rcx + 6]
lea rdx, [rbp + 0x160]
lea rcx, [rsp + 0x58]
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 + 0x260], xmm0
movups xmmword [rbp + 0x270], xmm0
movups xmmword [rbp + 0x280], xmm0
movups xmmword [rbp + 0x290], xmm0
movups xmmword [rbp + 0x2a0], xmm0
movups xmmword [rbp + 0x2b0], xmm0
lea rcx, [rbp + 0x260]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::constructor_void____ptr64]
nop
xor ecx, ecx
mov qword [rbp + 0x170], rcx
mov dword [rbp + 0x160], 0x2010000
lea rax, [rbp + 0x260]
mov qword [rbp + 0x168], rax
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x58], 0x1010000
lea rax, [rbp + 0x1f0]
mov qword [rsp + 0x60], rax
mov qword [rbp - 0x60], rcx
mov dword [rbp - 0x70], 0x1010000
lea rax, [rbp - 0x10]
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 + 0x160]
lea rdx, [rsp + 0x58]
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 + 0x1c0], rax
mov qword [rbp + 0x180], rax
mov qword [rbp - 0x60], rax
mov dword [rbp - 0x70], 0x1010000
lea rax, [rbp + 0x260]
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 + 0x180]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1c0]
lea r8, [rbp + 0x1c8]
lea rdx, [rbp + 0x250]
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_]
movsd xmm0, qword [rbp + 0x1c8]
comisd xmm0, xmm6
jb 0x14004d7cf
mov rdx, rbx
mov r9, qword [rbx + 0x18]
cmp r9, 0xf
jbe 0x14004d43f
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
cmp r8, 6
jne 0x14004d488
xor ecx, ecx
lea r10, str.33.bin
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r10 + rcx - 1]
jne 0x14004d46a
cmp rcx, 6
jne 0x14004d452
xor eax, eax
jmp 0x14004d46f
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14004d488
mov esi, dword [rbp + 0x1fc]
add esi, dword [rbp + 0x180]
mov r14d, dword [rbp + 0x184]
jmp 0x14004d4fc
mov rdx, rbx
cmp r9, 0xf
jbe 0x14004d494
mov rdx, qword [rbx]
cmp r8, 6
jne 0x14004d4fc
xor ecx, ecx
lea r8, str.34.bin
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x14004d4c8
cmp rcx, 6
jne 0x14004d4b0
xor eax, eax
jmp 0x14004d4cd
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14004d4fc
mov edi, dword [rbp + 0x180]
sub edi, esi
mov r12d, dword [rbp + 0x1f8]
mov r13d, dword [0x140074e38]
add r13d, esi
mov eax, dword [0x140074e70]
add eax, r14d
mov dword [rsp + 0x70], eax
mov byte [rsp + 0x50], 1
lea rcx, [rbp + 0x260]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x1f0]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x50], rax
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x4c], edx
lea rcx, [rbp + 0x60]
call fcn.140055f00
lea rcx, [rbp + 0x68]
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 + 0x100]
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 + 0x1b8]
cmp rdx, 0xf
jbe 0x14004d5a0
inc rdx
mov rcx, qword [rbp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d59b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004d86a
call fcn.14005ba50
add rbx, 0x20
cmp rbx, r15
jne 0x14004d1e0
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, qword [rbp - 0x78]
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
nop
lea rcx, [rbp - 0x10]
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 rbx, rax
mov qword [rbp - 0x78], rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r15, rax
mov qword [rsp + 0x78], rax
mov r8d, r12d
mov edx, edi
mov rcx, rbx
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [rbp - 0x80], rax
mov rdx, rax
mov rcx, r15
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x40], 0xcc0020
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], r13d
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], r12d
mov r9d, edi
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.GDI32.dll_BitBlt]
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
mov r9d, 0x18
mov r8d, edi
mov edx, r12d
lea rcx, [rbp - 0x10]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::constructor_int__int__int____ptr64]
nop
mov edx, r12d
imul edx, edi
shl edx, 2
mov r8, qword [rbp]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.GDI32.dll_GetBitmapBits]
xor r15d, r15d
mov qword [rsp + 0x68], r15
mov dword [rsp + 0x58], 0x2010000
lea rax, [rbp - 0x10]
mov qword [rsp + 0x60], rax
mov qword [rbp + 0x170], r15
mov dword [rbp + 0x160], 0x1010000
lea rax, [rbp - 0x10]
mov qword [rbp + 0x168], rax
xor r9d, r9d
lea r8d, [r15 + 6]
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x160]
call qword [sym.imp.opencv_imgproc4.dll_void___cdecl_cv::cvtColor_class_cv::_InputArray_const____ptr64__class_cv::_OutputArray_const____ptr64__int__int_]
cmp byte [rsp + 0x50], r15b
je 0x14004d1c0
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x1a0]
call fcn.14003d960
mov rbx, rax
lea rax, [0x140074128]
cmp rax, rbx
je 0x14004d784
mov rdx, qword [0x140074140]
cmp rdx, 0xf
jbe 0x14004d749
mov rcx, qword [0x140074128]
inc rdx
cmp rdx, 0x1000
jb 0x14004d744
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004d7c8
mov rcx, r8
call fcn.14005ba50
movdqa xmm0, xmmword [0x140068070]
movdqu xmmword [0x140074138], xmm0
mov byte [0x140074128], r15b
movups xmm0, xmmword [rbx]
movups xmmword [0x140074128], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x140074138], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 0xf
mov byte [rbx], r15b
mov rdx, qword [rbp + 0x1b8]
cmp rdx, 0xf
jbe 0x14004d8f1
inc rdx
mov rcx, qword [rbp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d8eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004d8eb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rbp + 0x260]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x1f0]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x50], rax
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x4c], edx
lea rcx, [rbp + 0x60]
call fcn.140055f00
lea rcx, [rbp + 0x68]
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 + 0x100]
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 + 0x1b8]
cmp rdx, 0xf
jbe 0x14004d876
inc rdx
mov rcx, qword [rbp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d871
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004d871
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005ba50
xor ecx, ecx
mov qword [rbp + 0x1b0], rcx
mov qword [rbp + 0x1b8], 0xf
mov byte [rbp + 0x1a0], cl
lea rcx, [rbp - 0x10]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x188]
call fcn.140056750
nop
mov rdx, qword [rbp + 0x1e8]
cmp rdx, 0xf
jbe 0x14004d94d
inc rdx
mov rcx, qword [rbp + 0x1d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d948
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004d948
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14005ba50
nop
lea rcx, [rbp - 0x10]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x188]
call fcn.140056750
nop
mov rdx, qword [rbp + 0x1e8]
cmp rdx, 0xf
jbe 0x14004d94d
inc rdx
mov rcx, qword [rbp + 0x1d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d948
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004d948
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005ba50
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.14005b7d0
lea r11, [rsp + 0x3e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea r8, [rbp + 0x1a0]
lea rdx, [0x140067330]
lea rcx, [rbp - 0x70]
call fcn.140057dc0
nop
lea r8, [0x140067320]
mov rdx, rax
lea rcx, [rbp + 0x160]
call fcn.140057f20
nop
mov rcx, rax
call fcn.14003dbc0
int3