Function at 0x14004ef20
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2b0]
sub rsp, 0x3b0
mov rax, qword [0x14008e040]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
mov rdi, rcx
xor r14d, r14d
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0xc0]
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rdi + 0x10]
movabs r15, 0x7fffffffffffffff
mov rax, r15
sub rax, rcx
cmp rax, 4
jb 0x14004f87c
mov rax, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14004ef9d
mov rax, qword [rdi]
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.14006d6e0
nop
mov r8d, 4
lea rdx, str..bin
lea rcx, [rsp + 0x70]
call fcn.14006b040
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 rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rdx, qword [rsp + 0x50]
mov r8d, 1
lea rcx, [rbp + 0xc0]
call fcn.140069590
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 0x14004f09f
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f09a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f09a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140070a70
movdqa xmm0, xmmword [0x140080510]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x14004f0f1
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f0ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f0ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140070a70
movdqa xmm0, xmmword [0x140080510]
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 0x14004f882
lea rcx, [rbp + 0xd0]
call fcn.14006b870
test rax, rax
jne 0x14004f159
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 + 0x240], 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
lea rcx, [rbp + 0x240]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::constructor_void____ptr64]
nop
mov rcx, qword [rdi + 0x10]
mov rax, r15
sub rax, rcx
cmp rax, 4
jb 0x14004f876
cmp qword [rdi + 0x18], 0xf
jbe 0x14004f1b2
mov rdi, qword [rdi]
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.14006d6e0
nop
mov r8d, 4
lea rdx, str..bin
lea rcx, [rsp + 0x70]
call fcn.14006b040
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 + 0x240]
lea rdx, [rsp + 0x50]
call fcn.140044f10
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14004f271
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f26c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f26c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140070a70
movdqa xmm0, xmmword [0x140080510]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x14004f2c3
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f2be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f2be
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140070a70
mov qword [rsp + 0x60], r14
mov dword [rsp + 0x50], 0x2010000
lea rax, [rbp + 0x240]
mov qword [rsp + 0x58], rax
mov qword [rbp - 0x80], r14
mov dword [rsp + 0x70], 0x1010000
lea rax, [rbp + 0x240]
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 [0x14008f764]
mov edx, dword [0x14008f8b8]
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 [0x14008f724]
mov dword [rsp + 0x38], ecx
mov ecx, dword [0x14008f8f0]
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], rbx
mov ecx, dword [0x14008f764]
mov dword [rsp + 0x20], ecx
mov r9d, dword [0x14008f8b8]
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 [0x14008f8b8]
mov edx, dword [0x14008f764]
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 [0x14008f8b8]
imul edx, dword [0x14008f764]
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 + 0x1e0], 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
lea rcx, [rbp + 0x1e0]
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_]
mov qword [rbp - 0x80], r14
mov dword [rsp + 0x70], 0x2010000
lea rcx, [rbp + 0x1e0]
mov qword [rsp + 0x78], rcx
mov qword [rbp - 0x60], r14
mov dword [rbp - 0x70], 0x1010000
lea rcx, [rbp + 0x240]
mov qword [rbp - 0x68], rcx
mov qword [rsp + 0x60], r14
mov dword [rsp + 0x50], 0x1010000
lea rcx, [rbp + 0x60]
mov qword [rsp + 0x58], rcx
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 + 0x1d0], r14
call qword [sym.imp.opencv_core4.dll_class_cv::_InputOutputArray_const____ptr64___cdecl_cv::noArray_void_]
mov qword [rsp + 0x60], r14
mov dword [rsp + 0x50], 0x1010000
lea rcx, [rbp + 0x1e0]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1d0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp + 0x1d8]
xor edx, edx
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 [0x14008e0bc]
cvtps2pd xmm1, xmm1
movsd xmm0, qword [rbp + 0x1d8]
comisd xmm0, xmm1
jae 0x14004f773
movabs r12, 0x7fffffffc46535ff
lea rcx, [rbp - 0x48]
call fcn.1400428f0
mov rax, qword [rbp - 0x48]
cmp rax, r12
jge 0x14004f55e
add rax, 0x3b9aca00
mov qword [rbp - 0x50], rax
jmp 0x14004f562
mov qword [rbp - 0x50], r15
lea rcx, [rbp - 0x50]
call fcn.14006e000
nop
lea rcx, [rbp + 0x1e0]
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 [0x14008f724]
mov dword [rsp + 0x38], eax
mov eax, dword [0x14008f8f0]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rbx
mov eax, dword [0x14008f764]
mov dword [rsp + 0x20], eax
mov r9d, dword [0x14008f8b8]
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 [0x14008f8b8]
mov edx, dword [0x14008f764]
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 [0x14008f8b8]
imul edx, dword [0x14008f764]
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 + 0x1e0], 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
lea rcx, [rbp + 0x1e0]
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_]
mov qword [rbp - 0x80], r14
mov dword [rsp + 0x70], 0x2010000
lea rcx, [rbp + 0x1e0]
mov qword [rsp + 0x78], rcx
mov qword [rbp - 0x60], r14
mov dword [rbp - 0x70], 0x1010000
lea rcx, [rbp + 0x240]
mov qword [rbp - 0x68], rcx
mov qword [rsp + 0x60], r14
mov dword [rsp + 0x50], 0x1010000
lea rcx, [rbp + 0x60]
mov qword [rsp + 0x58], rcx
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 + 0x1d0], r14
call qword [sym.imp.opencv_core4.dll_class_cv::_InputOutputArray_const____ptr64___cdecl_cv::noArray_void_]
mov qword [rsp + 0x60], r14
mov dword [rsp + 0x50], 0x1010000
lea rcx, [rbp + 0x1e0]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1d0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp + 0x1d8]
xor edx, edx
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 [0x14008e0bc]
cvtps2pd xmm1, xmm1
movsd xmm0, qword [rbp + 0x1d8]
comisd xmm0, xmm1
jb 0x14004f540
mov eax, dword [rbp + 0x24c]
cdq
sub eax, edx
sar eax, 1
mov r8d, eax
add r8d, dword [rbp + 0x1d0]
mov eax, dword [rbp + 0x248]
cdq
sub eax, edx
sar eax, 1
add eax, dword [rbp + 0x1d4]
mov edx, dword [0x14008f724]
add edx, eax
mov ecx, dword [0x14008f8f0]
add ecx, r8d
call qword [sym.imp.USER32.dll_SetCursorPos]
nop
lea rcx, [rbp + 0x1e0]
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 + 0x240]
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.14006a290
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 + 0x2a0]
xor rcx, rsp
call fcn.1400707f0
lea r11, [rsp + 0x3b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140042590
nop
call fcn.140042590
nop
lea rdx, str.PVwFvD4KbmyV8FNBiEkHAQ
lea rcx, [rbp - 0x70]
call fcn.14006b120
nop
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x20]
call fcn.1400437f0
mov rbx, rax
lea rdx, str.SiD6JdjSFIK3AHzYEMb1DgZd3OFO7W9EnMPPpPT3So
lea rcx, [rbp - 0x40]
call fcn.14006b120
nop
lea rdx, [rbp - 0x40]
lea rcx, [rbp]
call fcn.1400437f0
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.14006c690
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.14006c700
nop
mov rcx, rax
call fcn.140043b90
int3