Function at 0x14004f980
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 - 0x2b0]
sub rsp, 0x3b0
mov rax, qword [0x140085040]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
xor r14d, r14d
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0xc0]
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [0x140085170]
movabs r15, 0x7fffffffffffffff
mov rax, r15
sub rax, rcx
cmp rax, 4
jb 0x1400502ee
lea rdi, [0x140085160]
mov rax, rdi
cmp qword [0x140085178], 0xf
cmova rax, qword [0x140085160]
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.140067910
nop
lea r8d, [r14 + 4]
lea rdx, str..bin
lea rcx, [rsp + 0x70]
call fcn.140065550
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.140063ac0
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 0x14004fb08
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004fb03
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004fb03
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a1b0
movdqa xmm0, xmmword [0x1400787e0]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x14004fb5a
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004fb55
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004fb55
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a1b0
movdqa xmm0, xmmword [0x1400787e0]
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 0x1400502f4
lea rcx, [rbp + 0xd0]
call fcn.1400661d0
test rax, rax
jne 0x14004fbc2
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 [0x140085170]
mov rax, r15
sub rax, rcx
cmp rax, 4
jb 0x1400502e8
cmp qword [0x140085178], 0xf
cmova rdi, qword [0x140085160]
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.140067910
nop
mov r8d, 4
lea rdx, str..bin
lea rcx, [rsp + 0x70]
call fcn.140065550
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.140045ac0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14004fce3
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004fcde
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004fcde
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a1b0
movdqa xmm0, xmmword [0x1400787e0]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x14004fd35
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004fd30
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004fd30
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a1b0
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 [0x140085f30]
mov edx, dword [0x14008607c]
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 [0x140085ef0]
mov dword [rsp + 0x38], ecx
mov ecx, dword [0x1400860b4]
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], rbx
mov ecx, dword [0x140085f30]
mov dword [rsp + 0x20], ecx
mov r9d, dword [0x14008607c]
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 [0x14008607c]
mov edx, dword [0x140085f30]
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 [0x14008607c]
imul edx, dword [0x140085f30]
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
mov qword [rbp - 0x80], r14
mov dword [rsp + 0x70], 0x2010000
lea rax, [rbp + 0x1e0]
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x60], r14
mov dword [rbp - 0x70], 0x1010000
lea rax, [rbp + 0x240]
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 + 0x1d0], r14
mov qword [rsp + 0x60], r14
mov dword [rsp + 0x50], 0x1010000
lea rax, [rbp + 0x1e0]
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
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 [0x1400850bc]
cvtps2pd xmm1, xmm1
movsd xmm0, qword [rbp + 0x1d8]
comisd xmm0, xmm1
jae 0x1400501e5
movabs r12, 0x7fffffffc46535ff
lea rcx, [rbp - 0x48]
call fcn.140043330
mov rax, qword [rbp - 0x48]
cmp rax, r12
jge 0x14004ffd0
add rax, 0x3b9aca00
mov qword [rbp - 0x50], rax
jmp 0x14004ffd4
mov qword [rbp - 0x50], r15
lea rcx, [rbp - 0x50]
call fcn.140067db0
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 [0x140085ef0]
mov dword [rsp + 0x38], eax
mov eax, dword [0x1400860b4]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rbx
mov eax, dword [0x140085f30]
mov dword [rsp + 0x20], eax
mov r9d, dword [0x14008607c]
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 [0x14008607c]
mov edx, dword [0x140085f30]
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 [0x14008607c]
imul edx, dword [0x140085f30]
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
mov qword [rbp - 0x80], r14
mov dword [rsp + 0x70], 0x2010000
lea rax, [rbp + 0x1e0]
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x60], r14
mov dword [rbp - 0x70], 0x1010000
lea rax, [rbp + 0x240]
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 + 0x1d0], r14
mov qword [rsp + 0x60], r14
mov dword [rsp + 0x50], 0x1010000
lea rax, [rbp + 0x1e0]
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
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 [0x1400850bc]
cvtps2pd xmm1, xmm1
movsd xmm0, qword [rbp + 0x1d8]
comisd xmm0, xmm1
jb 0x14004ffb2
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 [0x140085ef0]
add edx, eax
mov ecx, dword [0x1400860b4]
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.1400647c0
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.140069f30
lea r11, [rsp + 0x3b0]
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.140042f80
nop
call fcn.140042f80
nop
lea rdx, str.PVwFvD4KbmyV8FNBiEkHAQ
lea rcx, [rbp - 0x70]
call fcn.140065630
nop
lea rdx, str.SiD6JdjSFIK3AHzYEMb1DgZd3OFO7W9EnMPPpPT3So
lea rcx, [rbp - 0x40]
call fcn.140065630
nop
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x20]
call fcn.140043f60
mov rbx, rax
lea rdx, [rbp - 0x40]
lea rcx, [rbp]
call fcn.140043f60
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.1400669e0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.140066a50
nop
mov rcx, rax
call fcn.140044240
int3