Function at 0x140058b00
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 [0x140085040]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
xor r12d, r12d
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0xd0]
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [0x1400851d0]
movabs r13, 0x7fffffffffffffff
mov rax, r13
sub rax, rcx
cmp rax, 4
jb 0x140059460
lea rdi, [0x1400851c0]
mov rax, rdi
cmp qword [0x1400851d8], 0xf
cmova rax, qword [0x1400851c0]
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, [r12 + 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], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], r12b
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rdx, qword [rsp + 0x50]
lea r8d, [r12 + 1]
lea rcx, [rbp + 0xd0]
call fcn.140063ac0
mov rax, qword [rbp + 0xd0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xd0], rax
mov rax, qword [rbp + 0xd0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0xcc], edx
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140058c8a
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058c85
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140058c85
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 0x140058cdc
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058cd7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140058cd7
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 + 0xd0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xd0]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
test al, al
jne 0x140059466
lea rcx, [rbp + 0xe0]
call fcn.1400661d0
test rax, rax
jne 0x140058d44
mov rax, qword [rbp + 0xd0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xd0]
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 [0x1400851d0]
mov rax, r13
sub rax, rcx
cmp rax, 4
jb 0x14005945a
cmp qword [0x1400851d8], 0xf
cmova rdi, qword [0x1400851c0]
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], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea r8, [rbp + 0x250]
lea rdx, [rsp + 0x50]
call fcn.140045ac0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140058e65
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058e60
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140058e60
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 0x140058eb7
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058eb2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140058eb2
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], r12
mov dword [rsp + 0x50], 0x2010000
lea rax, [rbp + 0x250]
mov qword [rsp + 0x58], rax
mov qword [rbp - 0x80], r12
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_]
lea rcx, [rbp - 0x50]
call fcn.140043330
xor r15b, r15b
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rdi, rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rsi, rax
mov r8d, dword [0x140086010]
mov edx, dword [0x140085ff8]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov r14, rax
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x40], 0xcc0020
mov ecx, dword [0x140085f00]
mov dword [rsp + 0x38], ecx
mov ecx, dword [0x140085f94]
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], rdi
mov ecx, dword [0x140086010]
mov dword [rsp + 0x20], ecx
mov r9d, dword [0x140085ff8]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.GDI32.dll_BitBlt]
xorps xmm0, 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
movups xmmword [rbp + 0xc0], xmm0
mov r9d, 0x18
mov r8d, dword [0x140085ff8]
mov edx, dword [0x140086010]
lea rcx, [rbp + 0x70]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::constructor_int__int__int____ptr64]
nop
mov edx, dword [0x140085ff8]
imul edx, dword [0x140086010]
shl edx, 2
mov r8, qword [rbp + 0x80]
mov rcx, r14
call qword [sym.imp.GDI32.dll_GetBitmapBits]
mov qword [rbp - 0x60], r12
mov dword [rbp - 0x70], 0x2010000
lea rax, [rbp + 0x70]
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x80], r12
mov dword [rsp + 0x70], 0x1010000
lea rax, [rbp + 0x70]
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], r12
mov dword [rsp + 0x70], 0x2010000
lea rax, [rbp + 0x1f0]
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x60], r12
mov dword [rbp - 0x70], 0x1010000
lea rax, [rbp + 0x250]
mov qword [rbp - 0x68], rax
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x50], 0x1010000
lea rax, [rbp + 0x70]
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 [rsp + 0x60], r12
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
mov qword [rsp + 0x20], r12
xor r9d, r9d
lea r8, [rbp + 0x1e0]
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 [0x140085100]
cvtps2pd xmm1, xmm1
movsd xmm0, qword [rbp + 0x1e0]
comisd xmm0, xmm1
jae 0x140059385
mov rbx, qword [rbp - 0x50]
lea rcx, [rbp - 0x48]
call fcn.140043330
mov rax, qword [rbp - 0x48]
sub rax, rbx
mov ecx, 0xb2d05e00
cmp rax, rcx
jge 0x140059388
lea rcx, [rbp - 0x40]
call fcn.140043330
mov rax, qword [rbp - 0x40]
movabs rcx, 0x7fffffffff67697f
cmp rax, rcx
jge 0x140059178
add rax, 0x989680
mov qword [rbp - 0x50], rax
jmp 0x14005917c
mov qword [rbp - 0x50], r13
lea rcx, [rbp - 0x50]
call fcn.140067db0
nop
lea rcx, [rbp + 0x1f0]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x70]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
mov dword [rsp + 0x40], 0xcc0020
mov eax, dword [0x140085f00]
mov dword [rsp + 0x38], eax
mov eax, dword [0x140085f94]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdi
mov eax, dword [0x140086010]
mov dword [rsp + 0x20], eax
mov r9d, dword [0x140085ff8]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.GDI32.dll_BitBlt]
xorps xmm0, 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
movups xmmword [rbp + 0xc0], xmm0
mov r9d, 0x18
mov r8d, dword [0x140085ff8]
mov edx, dword [0x140086010]
lea rcx, [rbp + 0x70]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::constructor_int__int__int____ptr64]
nop
mov edx, dword [0x140085ff8]
imul edx, dword [0x140086010]
shl edx, 2
mov r8, qword [rbp + 0x80]
mov rcx, r14
call qword [sym.imp.GDI32.dll_GetBitmapBits]
mov qword [rbp - 0x60], r12
mov dword [rbp - 0x70], 0x2010000
lea rax, [rbp + 0x70]
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x80], r12
mov dword [rsp + 0x70], 0x1010000
lea rax, [rbp + 0x70]
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], r12
mov dword [rsp + 0x70], 0x2010000
lea rax, [rbp + 0x1f0]
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x60], r12
mov dword [rbp - 0x70], 0x1010000
lea rax, [rbp + 0x250]
mov qword [rbp - 0x68], rax
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x50], 0x1010000
lea rax, [rbp + 0x70]
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 [rsp + 0x60], r12
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
mov qword [rsp + 0x20], r12
xor r9d, r9d
lea r8, [rbp + 0x1e0]
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 [0x140085100]
cvtps2pd xmm1, xmm1
movsd xmm0, qword [rbp + 0x1e0]
comisd xmm0, xmm1
jb 0x140059132
mov r15b, 1
lea rcx, [rbp + 0x1f0]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x70]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, rdi
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 rcx, qword [rbp + 0xd0]
movsxd rdx, dword [rcx + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rdx + 0xd0], rax
mov rcx, qword [rbp + 0xd0]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0xb0]
mov dword [rbp + rdx + 0xcc], r8d
lea rcx, [rbp + 0xe0]
call fcn.1400647c0
lea rcx, [rbp + 0xe8]
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 + 0x180]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
movzx eax, r15b
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.140069f30
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.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 - 0x38]
call fcn.140065630
nop
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x18]
call fcn.140043f60
mov rbx, rax
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 8]
call fcn.140043f60
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rbp + 0x28]
call fcn.1400669e0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x48]
call fcn.140066a50
nop
mov rcx, rax
call fcn.140044240
int3