Function at 0x14004f450
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 - 0x2c0]
sub rsp, 0x3c0
mov rax, qword [0x140083040]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
xor r14d, r14d
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0xc0]
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [0x140083168]
movabs r15, 0x7fffffffffffffff
mov rax, r15
sub rax, rcx
cmp rax, 4
jb 0x14004fdde
lea rdi, [0x140083158]
mov rax, rdi
cmp qword [0x140083170], 0xf
cmova rax, qword [0x140083158]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 4
lea r9, str.bin_
lea rcx, [rsp + 0x70]
call fcn.140066610
nop
lea r8d, [r14 + 4]
lea rdx, str..bin
lea rcx, [rsp + 0x70]
call fcn.140064290
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], r14b
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rdx, qword [rsp + 0x50]
lea r8d, [r14 + 1]
lea rcx, [rbp + 0xc0]
call fcn.140062940
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
lea r13, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xc0], r13
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0xbc], edx
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14004f5d8
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f5d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f5d3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140068eb0
movdqa xmm0, xmmword [0x1400765f0]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x14004f62a
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f625
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f625
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140068eb0
movdqa xmm0, xmmword [0x1400765f0]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xc0]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
test al, al
jne 0x14004fde4
lea rcx, [rbp + 0xd0]
call fcn.140064f10
test rax, rax
jne 0x14004f692
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xc0]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
xorps xmm0, xmm0
movups xmmword [rbp + 0x250], 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
lea rcx, [rbp + 0x250]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::constructor_void____ptr64]
nop
mov rcx, qword [0x140083168]
mov rax, r15
sub rax, rcx
cmp rax, 4
jb 0x14004fdd8
cmp qword [0x140083170], 0xf
cmova rdi, qword [0x140083158]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], 4
lea r9, str.bin_
lea rcx, [rsp + 0x70]
call fcn.140066610
nop
mov r8d, 4
lea rdx, str..bin
lea rcx, [rsp + 0x70]
call fcn.140064290
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea r8, [rbp + 0x250]
lea rdx, [rsp + 0x50]
call fcn.1400455d0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14004f7b3
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f7ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f7ae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140068eb0
movdqa xmm0, xmmword [0x1400765f0]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x14004f805
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f800
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f800
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140068eb0
mov qword [rsp + 0x60], r14
mov dword [rsp + 0x50], 0x2010000
lea rax, [rbp + 0x250]
mov qword [rsp + 0x58], rax
mov qword [rbp - 0x80], r14
mov dword [rsp + 0x70], 0x1010000
lea rax, [rbp + 0x250]
mov qword [rsp + 0x78], rax
xor r9d, r9d
lea r8d, [r9 + 6]
lea rdx, [rsp + 0x50]
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_]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rbx, rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rdi, rax
mov r8d, dword [0x140083f10]
mov edx, dword [0x140084054]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rsi, rax
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x40], 0xcc0020
mov ecx, dword [0x140083ed4]
mov dword [rsp + 0x38], ecx
mov ecx, dword [0x140084090]
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], rbx
mov ecx, dword [0x140083f10]
mov dword [rsp + 0x20], ecx
mov r9d, dword [0x140084054]
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_BitBlt]
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
mov r9d, 0x18
mov r8d, dword [0x140084054]
mov edx, dword [0x140083f10]
lea rcx, [rbp + 0x60]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::constructor_int__int__int____ptr64]
nop
mov edx, dword [0x140084054]
imul edx, dword [0x140083f10]
shl edx, 2
mov r8, qword [rbp + 0x70]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_GetBitmapBits]
mov qword [rbp - 0x60], r14
mov dword [rbp - 0x70], 0x2010000
lea rax, [rbp + 0x60]
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x80], r14
mov dword [rsp + 0x70], 0x1010000
lea rax, [rbp + 0x60]
mov qword [rsp + 0x78], rax
xor r9d, r9d
lea r8d, [r9 + 0xa]
lea rdx, [rbp - 0x70]
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 + 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
mov qword [rbp - 0x80], r14
mov dword [rsp + 0x70], 0x2010000
lea rax, [rbp + 0x1f0]
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x60], r14
mov dword [rbp - 0x70], 0x1010000
lea rax, [rbp + 0x250]
mov qword [rbp - 0x68], rax
mov qword [rsp + 0x60], r14
mov dword [rsp + 0x50], 0x1010000
lea rax, [rbp + 0x60]
mov qword [rsp + 0x58], 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, [rsp + 0x70]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x50]
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_]
mov qword [rbp + 0x1d8], r14
mov qword [rbp + 0x1d0], r14
mov qword [rsp + 0x60], r14
mov dword [rsp + 0x50], 0x1010000
lea rax, [rbp + 0x1f0]
mov qword [rsp + 0x58], 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 + 0x1d0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1d8]
lea r8, [rbp + 0x1e0]
lea rdx, [rbp + 0x1e8]
lea rcx, [rsp + 0x50]
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 [0x1400830bc]
cvtps2pd xmm1, xmm1
movsd xmm0, qword [rbp + 0x1e0]
comisd xmm0, xmm1
jae 0x14004fcd5
movabs r12, 0x7fffffffc46535ff
lea rcx, [rbp - 0x48]
call fcn.140043360
mov rax, qword [rbp - 0x48]
cmp rax, r12
jge 0x14004fab0
add rax, 0x3b9aca00
mov qword [rbp - 0x50], rax
jmp 0x14004fab4
mov qword [rbp - 0x50], r15
lea rcx, [rbp - 0x50]
call fcn.140066ab0
nop
lea rcx, [rbp + 0x1f0]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x60]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
mov dword [rsp + 0x40], 0xcc0020
mov eax, dword [0x140083ed4]
mov dword [rsp + 0x38], eax
mov eax, dword [0x140084090]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rbx
mov eax, dword [0x140083f10]
mov dword [rsp + 0x20], eax
mov r9d, dword [0x140084054]
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_BitBlt]
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
mov r9d, 0x18
mov r8d, dword [0x140084054]
mov edx, dword [0x140083f10]
lea rcx, [rbp + 0x60]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::constructor_int__int__int____ptr64]
nop
mov edx, dword [0x140084054]
imul edx, dword [0x140083f10]
shl edx, 2
mov r8, qword [rbp + 0x70]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_GetBitmapBits]
mov qword [rbp - 0x60], r14
mov dword [rbp - 0x70], 0x2010000
lea rax, [rbp + 0x60]
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x80], r14
mov dword [rsp + 0x70], 0x1010000
lea rax, [rbp + 0x60]
mov qword [rsp + 0x78], rax
xor r9d, r9d
lea r8d, [r9 + 0xa]
lea rdx, [rbp - 0x70]
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 + 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
mov qword [rbp - 0x80], r14
mov dword [rsp + 0x70], 0x2010000
lea rax, [rbp + 0x1f0]
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x60], r14
mov dword [rbp - 0x70], 0x1010000
lea rax, [rbp + 0x250]
mov qword [rbp - 0x68], rax
mov qword [rsp + 0x60], r14
mov dword [rsp + 0x50], 0x1010000
lea rax, [rbp + 0x60]
mov qword [rsp + 0x58], 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, [rsp + 0x70]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x50]
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_]
mov qword [rbp + 0x1d8], r14
mov qword [rbp + 0x1d0], r14
mov qword [rsp + 0x60], r14
mov dword [rsp + 0x50], 0x1010000
lea rax, [rbp + 0x1f0]
mov qword [rsp + 0x58], 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 + 0x1d0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1d8]
lea r8, [rbp + 0x1e0]
lea rdx, [rbp + 0x1e8]
lea rcx, [rsp + 0x50]
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 [0x1400830bc]
cvtps2pd xmm1, xmm1
movsd xmm0, qword [rbp + 0x1e0]
comisd xmm0, xmm1
jb 0x14004fa92
mov eax, dword [rbp + 0x25c]
cdq
sub eax, edx
sar eax, 1
mov r8d, eax
add r8d, dword [rbp + 0x1d0]
mov eax, dword [rbp + 0x258]
cdq
sub eax, edx
sar eax, 1
add eax, dword [rbp + 0x1d4]
mov edx, dword [0x140083ed4]
add edx, eax
mov ecx, dword [0x140084090]
add ecx, r8d
call qword [sym.imp.USER32.dll_SetCursorPos]
nop
lea rcx, [rbp + 0x1f0]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x60]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
nop
lea rcx, [rbp + 0x250]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0xc0], r13
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0xbc], edx
lea rcx, [rbp + 0xd0]
call fcn.140063640
lea rcx, [rbp + 0xd8]
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 + 0x170]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.140068c30
lea r11, [rsp + 0x3c0]
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
call fcn.140042f30
nop
call fcn.140042f30
nop
lea rdx, str.PVwFvD4KbmyV8FNBiEkHAQ
lea rcx, [rbp - 0x70]
call fcn.140064370
nop
lea rdx, str.SiD6JdjSFIK3AHzYEMb1DgZd3OFO7W9EnMPPpPT3So
lea rcx, [rbp - 0x40]
call fcn.140064370
nop
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x20]
call fcn.140044040
mov rbx, rax
lea rdx, [rbp - 0x40]
lea rcx, [rbp]
call fcn.140044040
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.1400656e0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.140065750
nop
mov rcx, rax
call fcn.140044190
int3