Function at 0x140057a10
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 - 0x330]
sub rsp, 0x430
mov rax, qword [0x140083040]
xor rax, rsp
mov qword [rbp + 0x320], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x230], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x240], xmm1
mov r8d, 4
lea rdx, str.bin_
lea rcx, [rbp + 0x230]
call fcn.140065c80
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x1e8], xmm0
mov qword [rbp + 0x1f8], 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.140065c80
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.140065c80
nop
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x1e8], xmm0
mov qword [rbp + 0x1f8], 0
mov ecx, 0x40
call fcn.1400690f8
mov rbx, rax
mov qword [rbp + 0x1e8], rax
mov qword [rbp + 0x1f0], rax
lea rcx, [rax + 0x40]
mov qword [rbp + 0x1f8], rcx
lea rax, [rbp + 0x1e8]
mov qword [rbp + 0x228], rax
lea rdi, [rbp - 0x50]
xorps xmm0, xmm0
movups xmmword [rbp + 0x1c0], xmm0
mov qword [rbp + 0x1c0], rbx
mov qword [rbp + 0x1c8], rbx
lea rax, [rbp + 0x1e8]
mov qword [rbp + 0x1d0], rax
mov rdx, rdi
mov rcx, rbx
call fcn.1400643b0
add rbx, 0x20
mov qword [rbp + 0x1c8], rbx
add rdi, 0x20
lea rax, [rbp - 0x10]
cmp rdi, rax
jne 0x140057b45
mov rdx, rbx
mov rcx, rbx
call fcn.140065e30
mov qword [rbp + 0x1f0], rbx
lea r9, [fcn.140064310]
mov edx, 0x20
lea r8d, [rdx - 0x1e]
lea rcx, [rbp - 0x50]
call fcn.140069134
mov edi, dword [0x140083e90]
mov r12d, dword [0x14008408c]
mov r13d, dword [0x140083ea8]
mov ebx, dword [0x140083ee0]
mov dword [rsp + 0x54], 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 + 0x60], rax
mov r8d, r12d
mov edx, edi
mov rcx, r15
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [rsp + 0x58], rax
mov rdx, rax
mov rcx, qword [rsp + 0x60]
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 + 0x60]
call qword [sym.imp.GDI32.dll_BitBlt]
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], 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
lea r9d, [rsi + 0x18]
mov r8d, edi
mov edx, r12d
lea rcx, [rbp + 0x50]
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 + 0x60]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.GDI32.dll_GetBitmapBits]
xor ecx, ecx
mov qword [rsp + 0x78], rcx
mov dword [rsp + 0x68], 0x2010000
lea rax, [rbp + 0x50]
mov qword [rsp + 0x70], rax
mov qword [rbp + 0x1d0], rcx
mov dword [rbp + 0x1c0], 0x1010000
lea rax, [rbp + 0x50]
mov qword [rbp + 0x1c8], rax
xor r9d, r9d
lea r8d, [rsi + 0xa]
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x1c0]
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 + 0x1e8]
mov r15, qword [rbp + 0x1f0]
cmp rbx, r15
je 0x1400580f0
nop word [rax + rax]
mov r8, rbx
lea rdx, [rbp + 0x230]
lea rcx, [rbp + 0x200]
call fcn.140065580
nop
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0xb0]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x200]
cmp qword [rbp + 0x218], 0xf
cmova rdx, qword [rbp + 0x200]
mov r8d, 1
lea rcx, [rbp + 0xb0]
call fcn.140062940
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xb0], rax
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0xac], edx
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xb0]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
test al, al
jne 0x140058515
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
lea r8, [rbp + 0x250]
lea rdx, [rbp + 0x200]
call fcn.1400455d0
xor ecx, ecx
mov qword [rbp + 0x1d0], rcx
mov dword [rbp + 0x1c0], 0x2010000
lea rax, [rbp + 0x250]
mov qword [rbp + 0x1c8], rax
mov qword [rsp + 0x78], rcx
mov dword [rsp + 0x68], 0x1010000
lea rax, [rbp + 0x250]
mov qword [rsp + 0x70], rax
xor r9d, r9d
lea r8d, [rcx + 6]
lea rdx, [rbp + 0x1c0]
lea rcx, [rsp + 0x68]
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 + 0x2c0], xmm0
movups xmmword [rbp + 0x2d0], xmm0
movups xmmword [rbp + 0x2e0], xmm0
movups xmmword [rbp + 0x2f0], xmm0
movups xmmword [rbp + 0x300], xmm0
movups xmmword [rbp + 0x310], xmm0
lea rcx, [rbp + 0x2c0]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::constructor_void____ptr64]
nop
xor ecx, ecx
mov qword [rbp + 0x1d0], rcx
mov dword [rbp + 0x1c0], 0x2010000
lea rax, [rbp + 0x2c0]
mov qword [rbp + 0x1c8], rax
mov qword [rsp + 0x78], rcx
mov dword [rsp + 0x68], 0x1010000
lea rax, [rbp + 0x250]
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x60], rcx
mov dword [rbp - 0x70], 0x1010000
lea rax, [rbp + 0x50]
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 + 0x1c0]
lea rdx, [rsp + 0x68]
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 + 0x220], rax
mov qword [rbp + 0x1e0], rax
mov qword [rbp - 0x60], rax
mov dword [rbp - 0x70], 0x1010000
lea rax, [rbp + 0x2c0]
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 + 0x1e0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x220]
lea r8, [rbp + 0x228]
lea rdx, [rbp + 0x2b0]
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 [0x140083128]
cvtps2pd xmm1, xmm1
movsd xmm0, qword [rbp + 0x228]
comisd xmm0, xmm1
jb 0x140058309
mov rdx, rbx
mov r9, qword [rbx + 0x18]
cmp r9, 0xf
jbe 0x140057f72
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
cmp r8, 6
jne 0x140057fc6
xor ecx, ecx
lea r10, str.33.bin
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r10 + rcx - 1]
jne 0x140057fa8
cmp rcx, 6
jne 0x140057f90
xor eax, eax
jmp 0x140057fad
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140057fc6
mov esi, dword [rbp + 0x25c]
add esi, dword [rbp + 0x1e0]
mov r14d, dword [rbp + 0x1e4]
jmp 0x14005802d
mov rdx, rbx
cmp r9, 0xf
jbe 0x140057fd2
mov rdx, qword [rbx]
cmp r8, 6
jne 0x14005802d
xor ecx, ecx
lea r8, str.34.bin
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x140057ff9
cmp rcx, 6
jne 0x140057fe1
xor eax, eax
jmp 0x140057ffe
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14005802d
mov edi, dword [rbp + 0x1e0]
sub edi, esi
mov r12d, dword [rbp + 0x258]
mov r13d, dword [0x140083ea8]
add r13d, esi
mov eax, dword [0x140083ee0]
add eax, r14d
mov dword [rsp + 0x54], eax
mov byte [rsp + 0x50], 1
lea rcx, [rbp + 0x2c0]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
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 + 0xb0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xb0], rax
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0xac], edx
lea rcx, [rbp + 0xc0]
call fcn.140063640
lea rcx, [rbp + 0xc8]
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 + 0x160]
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 + 0x218]
cmp rdx, 0xf
jbe 0x1400580e3
inc rdx
mov rcx, qword [rbp + 0x200]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400580de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400583d9
call fcn.140068eb0
add rbx, 0x20
cmp rbx, r15
jne 0x140057cf0
lea rcx, [rbp + 0x50]
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 r15, rax
mov qword [rbp - 0x78], rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rbx, rax
mov qword [rsp + 0x60], rax
mov r8d, r12d
mov edx, edi
mov rcx, r15
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [rsp + 0x58], rax
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x40], 0xcc0020
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x38], eax
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, rbx
call qword [sym.imp.GDI32.dll_BitBlt]
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], 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
mov r9d, 0x18
mov r8d, edi
mov edx, r12d
lea rcx, [rbp + 0x50]
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 + 0x60]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.GDI32.dll_GetBitmapBits]
xor ecx, ecx
mov qword [rsp + 0x78], rcx
mov dword [rsp + 0x68], 0x2010000
lea rax, [rbp + 0x50]
mov qword [rsp + 0x70], rax
mov qword [rbp + 0x1d0], rcx
mov dword [rbp + 0x1c0], 0x1010000
lea rax, [rbp + 0x50]
mov qword [rbp + 0x1c8], rax
xor r9d, r9d
lea r8d, [rcx + 0xa]
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x1c0]
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], 0
je 0x140057cd0
lea r9, [0x140083120]
lea r8, [0x1400830ec]
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x200]
call fcn.140045080
mov rbx, rax
lea rax, [0x140083198]
cmp rax, rbx
je 0x1400582be
mov rdx, qword [0x1400831b0]
cmp rdx, 0xf
jbe 0x140058282
mov rcx, qword [0x140083198]
inc rdx
cmp rdx, 0x1000
jb 0x14005827d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140058302
mov rcx, r8
call fcn.140068eb0
movdqa xmm0, xmmword [0x1400765f0]
movdqu xmmword [0x1400831a8], xmm0
mov byte [0x140083198], 0
movups xmm0, xmmword [rbx]
movups xmmword [0x140083198], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x1400831a8], xmm1
xor ecx, ecx
mov qword [rbx + 0x10], rcx
mov qword [rbx + 0x18], 0xf
mov byte [rbx], cl
mov rdx, qword [rbp + 0x218]
cmp rdx, 0xf
jbe 0x140058467
inc rdx
mov rcx, qword [rbp + 0x200]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058462
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140058462
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rsp + 0x60]
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 + 0x2c0]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
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 + 0xb0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xb0], rax
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0xac], edx
lea rcx, [rbp + 0xc0]
call fcn.140063640
lea rcx, [rbp + 0xc8]
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 + 0x160]
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 + 0x218]
cmp rdx, 0xf
jbe 0x1400583e5
inc rdx
mov rcx, qword [rbp + 0x200]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400583e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400583e0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140068eb0
xor ecx, ecx
mov qword [rbp + 0x210], rcx
mov qword [rbp + 0x218], 0xf
mov byte [rbp + 0x200], cl
lea rcx, [rbp + 0x50]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x1e8]
call fcn.140063ed0
nop
mov rdx, qword [rbp + 0x248]
cmp rdx, 0xf
jbe 0x1400584e5
inc rdx
mov rcx, qword [rbp + 0x230]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400584e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400584e0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140068eb0
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, r15
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
nop
lea rcx, [rbp + 0x50]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x1e8]
call fcn.140063ed0
nop
mov rdx, qword [rbp + 0x248]
cmp rdx, 0xf
jbe 0x1400584e5
inc rdx
mov rcx, qword [rbp + 0x230]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400584e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400584e0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140068eb0
mov rcx, qword [rbp + 0x320]
xor rcx, rsp
call fcn.140068c30
lea r11, [rsp + 0x430]
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 rdx, str.NcxKl_83c2jEUQgMaJk7Rg
lea rcx, [rbp - 0x70]
call fcn.140064370
nop
lea rdx, str.TosBFF_Wzu0fudGznIkw
lea rcx, [rbp + 0x1c0]
call fcn.140064370
nop
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x68]
call fcn.140044040
mov rbx, rax
lea rdx, [rbp + 0x1c0]
lea rcx, [rbp - 0x10]
call fcn.140044040
nop
lea r8, [rbp + 0x200]
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.1400656e0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.140065750
nop
mov rcx, rax
call fcn.140044190
int3