Function at 0x140056a40
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 - 0x2d0]
sub rsp, 0x3d0
mov rax, qword [0x140082040]
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.140064ae0
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.140064ae0
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.140064ae0
nop
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x188], xmm0
mov qword [rbp + 0x198], 0
mov ecx, 0x40
call fcn.140067fe8
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
mov rdx, rdi
mov rcx, rbx
call fcn.140063210
add rbx, 0x20
mov qword [rbp + 0x168], rbx
add rdi, 0x20
lea rax, [rbp - 0x10]
cmp rdi, rax
jne 0x140056b75
mov rdx, rbx
mov rcx, rbx
call fcn.140064c90
mov qword [rbp + 0x190], rbx
lea r9, [fcn.140063170]
mov edx, 0x20
lea r8d, [rdx - 0x1e]
lea rcx, [rbp - 0x50]
call fcn.140068024
mov edi, dword [0x140082e64]
mov r12d, dword [0x140083068]
mov r13d, dword [0x140082e7c]
mov ebx, dword [0x140082eb4]
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 + 0xa]
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_]
nop word [rax + rax]
mov rbx, qword [rbp + 0x188]
mov r15, qword [rbp + 0x190]
cmp rbx, r15
je 0x1400570de
nop word [rax + rax]
mov r8, rbx
lea rdx, [rbp + 0x1d0]
lea rcx, [rbp + 0x1a0]
call fcn.1400643e0
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.140061660
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 0x1400574bc
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.140045560
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_]
movss xmm1, dword [0x140082120]
cvtps2pd xmm1, xmm1
movsd xmm0, qword [rbp + 0x1c8]
comisd xmm0, xmm1
jb 0x14005730e
mov rdx, rbx
mov r9, qword [rbx + 0x18]
cmp r9, 0xf
jbe 0x140056f7a
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
cmp r8, 6
jne 0x140056fc6
xor ecx, ecx
lea r10, str.33.bin
nop dword [rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r10 + rcx - 1]
jne 0x140056fa8
cmp rcx, 6
jne 0x140056f90
xor eax, eax
jmp 0x140056fad
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140056fc6
mov esi, dword [rbp + 0x1fc]
add esi, dword [rbp + 0x180]
mov r14d, dword [rbp + 0x184]
jmp 0x14005702d
mov rdx, rbx
cmp r9, 0xf
jbe 0x140056fd2
mov rdx, qword [rbx]
cmp r8, 6
jne 0x14005702d
xor ecx, ecx
lea r8, str.34.bin
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x140056ff9
cmp rcx, 6
jne 0x140056fe1
xor eax, eax
jmp 0x140056ffe
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14005702d
mov edi, dword [rbp + 0x180]
sub edi, esi
mov r12d, dword [rbp + 0x1f8]
mov r13d, dword [0x140082e7c]
add r13d, esi
mov eax, dword [0x140082eb4]
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.140062360
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 0x1400570d1
inc rdx
mov rcx, qword [rbp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400570cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400573a9
call fcn.140067da0
add rbx, 0x20
cmp rbx, r15
jne 0x140056d10
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 + 0xa]
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 0x140056cf0
lea r9, [0x140082118]
lea r8, [0x1400820e4]
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x1a0]
call fcn.140045070
mov rbx, rax
lea rax, [0x140082170]
cmp rax, rbx
je 0x1400572c3
mov rdx, qword [0x140082188]
cmp rdx, 0xf
jbe 0x140057288
mov rcx, qword [0x140082170]
inc rdx
cmp rdx, 0x1000
jb 0x140057283
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140057307
mov rcx, r8
call fcn.140067da0
movdqa xmm0, xmmword [0x1400753e0]
movdqu xmmword [0x140082180], xmm0
mov byte [0x140082170], r15b
movups xmm0, xmmword [rbx]
movups xmmword [0x140082170], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x140082180], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 0xf
mov byte [rbx], r15b
mov rdx, qword [rbp + 0x1b8]
cmp rdx, 0xf
jbe 0x140057430
inc rdx
mov rcx, qword [rbp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005742a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005742a
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.140062360
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 0x1400573b5
inc rdx
mov rcx, qword [rbp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400573b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400573b0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140067da0
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.140062bf0
nop
mov rdx, qword [rbp + 0x1e8]
cmp rdx, 0xf
jbe 0x14005748c
inc rdx
mov rcx, qword [rbp + 0x1d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057487
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140057487
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140067da0
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.140062bf0
nop
mov rdx, qword [rbp + 0x1e8]
cmp rdx, 0xf
jbe 0x14005748c
inc rdx
mov rcx, qword [rbp + 0x1d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057487
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140057487
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140067da0
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.140067b20
lea r11, [rsp + 0x3d0]
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
lea r8, [rbp + 0x1a0]
lea rdx, [0x1400736b0]
lea rcx, [rbp - 0x70]
call fcn.140064210
nop
lea r8, [0x1400736a0]
mov rdx, rax
lea rcx, [rbp + 0x160]
call fcn.140064370
nop
mov rcx, rax
call fcn.140044180
int3