Function at 0x140056020
Capabilities:
Capture screenshot

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x148]
sub rsp, 0x248
movaps xmmword [rsp + 0x230], xmm6
xor r13d, r13d
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
lea rcx, [rbp + 0x190]
call fcn.1400415e0
movabs rdx, 0x7fffffffffffffff
lea esi, [r13 + 1]
movabs r9, 0x7fffffffa697d0ff
mov r8d, 0xff
mov rax, qword [rbp + 0x190]
cmp rax, r9
je 0x1400560ac
mov ecx, esi
cmovl ecx, r8d
test cl, cl
jns 0x1400560ac
add rax, 0x59682f00
mov qword [rbp + 0x190], rax
jmp 0x1400560b3
mov qword [rbp + 0x190], rdx
lea rcx, [rbp + 0x190]
call fcn.14006fdc0
cmp byte [0x140131a5e], r13b
je 0x140056671
movsd xmm6, qword [0x14011c448]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov r14, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
mov ecx, esi
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, eax
mov rcx, r14
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rsi, rax
mov r8d, edi
mov edx, ebx
mov rcx, r14
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov r15, rax
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
mov r12, rax
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], r13d
mov dword [rsp + 0x30], r13d
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], edi
mov r9d, ebx
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.GDI32.dll_BitBlt]
mov dword [rsp + 0x68], Ordinal_46
mov dword [rsp + 0x6c], ebx
mov ecx, edi
neg ecx
mov dword [rsp + 0x70], ecx
mov qword [rsp + 0x74], 0x180001
mov qword [rsp + 0x7c], r13
mov qword [rbp - 0x7c], r13
mov dword [rbp - 0x74], r13d
mov dword [rbp + 0x198], ebx
mov dword [rbp + 0x19c], edi
mov r8d, reloc.WS2_32.dll_recv
mov rdx, qword [rbp + 0x198]
lea rcx, [rbp + 0x10]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::constructor_class_cv::Size__int___int____ptr64]
nop
mov dword [rsp + 0x30], r13d
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x20]
mov qword [rsp + 0x20], rax
mov r9d, edi
xor r8d, r8d
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.GDI32.dll_GetDIBits]
mov r8d, 1
lea rdx, str.datawood.png
lea rcx, [rbp + 0xd0]
call qword [sym.imp.opencv_world490.dll_class_cv::Mat___cdecl_cv::imread_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__int_]
nop
lea rcx, [rbp + 0xd0]
call qword [sym.imp.opencv_world490.dll_public:_bool___cdecl_cv::Mat::empty_void_const___ptr64]
test al, al
jne 0x1400561fd
lea rcx, [rbp + 0x10]
call qword [sym.imp.opencv_world490.dll_public:_bool___cdecl_cv::Mat::empty_void_const___ptr64]
test al, al
je 0x14005621b
xor r9d, r9d
lea r8, [0x140110b18]
lea rdx, [0x140111cb0]
mov rcx, qword [0x140131b08]
call qword [sym.imp.USER32.dll_MessageBoxW]
lea rcx, [rbp + 0x70]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::constructor_void____ptr64]
nop
call qword [sym.imp.opencv_world490.dll_class_cv::_InputOutputArray_const____ptr64___cdecl_cv::noArray_void_]
mov qword [rbp - 0x20], r13
mov dword [rbp - 0x30], 0x2010000
lea rcx, [rbp + 0x70]
mov qword [rbp - 0x28], rcx
mov qword [rbp - 8], r13
mov dword [rbp - 0x18], 0x1010000
lea rcx, [rbp + 0xd0]
mov qword [rbp - 0x10], rcx
mov qword [rsp + 0x60], r13
mov dword [rsp + 0x50], 0x1010000
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x20], rax
mov r9d, 5
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x50]
call qword [sym.imp.opencv_world490.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 + 0x1a0], r13
mov qword [rbp + 0x190], r13
call qword [sym.imp.opencv_world490.dll_class_cv::_InputOutputArray_const____ptr64___cdecl_cv::noArray_void_]
mov qword [rsp + 0x60], r13
mov dword [rsp + 0x50], 0x1010000
lea rcx, [rbp + 0x70]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x190]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1a0]
lea r8, [rbp - 0x70]
lea rdx, [rbp]
lea rcx, [rsp + 0x50]
call qword [sym.imp.opencv_world490.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_]
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteDC]
movsd xmm0, qword [rbp - 0x70]
comisd xmm0, xmm6
jbe 0x14005661c
mov edx, dword [rbp + 0x194]
mov ecx, dword [rbp + 0x190]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
lea rcx, [rbp - 0x68]
call fcn.1400415e0
mov rax, qword [rbp - 0x68]
movabs rdi, 0x7fffffffee1e5cff
mov esi, 1
mov r14d, 0xff
cmp rax, rdi
je 0x140056386
mov ecx, esi
cmovl ecx, r14d
test cl, cl
jns 0x140056386
add rax, 0x11e1a300
mov qword [rbp + 0x1a8], rax
movabs rbx, 0x7fffffffffffffff
jmp 0x140056397
movabs rbx, 0x7fffffffffffffff
mov qword [rbp + 0x1a8], rbx
lea rcx, [rbp + 0x1a8]
call fcn.14006fdc0
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.USER32.dll_mouse_event]
lea rcx, [rbp - 0x60]
call fcn.1400415e0
mov rax, qword [rbp - 0x60]
cmp rax, rdi
je 0x1400563e4
mov ecx, esi
cmovl ecx, r14d
test cl, cl
jns 0x1400563e4
add rax, 0x11e1a300
mov qword [rbp + 0x1a8], rax
jmp 0x1400563eb
mov qword [rbp + 0x1a8], rbx
lea rcx, [rbp + 0x1a8]
call fcn.14006fdc0
mov edx, dword [rbp + 0x194]
add edx, 0xfffffff6
mov ecx, dword [rbp + 0x190]
add ecx, 0xfffffe70
call qword [sym.imp.USER32.dll_SetCursorPos]
lea rcx, [rbp - 0x58]
call fcn.1400415e0
mov rax, qword [rbp - 0x58]
movabs rdx, 0x7fffffffdc3cb9ff
cmp rax, rdx
je 0x140056447
mov ecx, esi
cmovl ecx, r14d
test cl, cl
jns 0x140056447
add rax, 0x23c34600
mov qword [rbp + 0x1a8], rax
jmp 0x14005644e
mov qword [rbp + 0x1a8], rbx
lea rcx, [rbp + 0x1a8]
call fcn.14006fdc0
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
lea rcx, [rbp - 0x50]
call fcn.1400415e0
mov rax, qword [rbp - 0x50]
cmp rax, rdi
je 0x14005649b
mov ecx, esi
cmovl ecx, r14d
test cl, cl
jns 0x14005649b
add rax, 0x11e1a300
mov qword [rbp + 0x1a8], rax
jmp 0x1400564a2
mov qword [rbp + 0x1a8], rbx
lea rcx, [rbp + 0x1a8]
call fcn.14006fdc0
mov edx, 0x160
mov ecx, 0x218
call qword [sym.imp.USER32.dll_SetCursorPos]
lea rcx, [rbp - 0x48]
call fcn.1400415e0
mov rax, qword [rbp - 0x48]
cmp rax, rdi
je 0x1400564e9
mov ecx, esi
cmovl ecx, r14d
test cl, cl
jns 0x1400564e9
add rax, 0x11e1a300
mov qword [rbp + 0x1a8], rax
jmp 0x1400564f0
mov qword [rbp + 0x1a8], rbx
lea rcx, [rbp + 0x1a8]
call fcn.14006fdc0
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.USER32.dll_mouse_event]
lea rcx, [rbp - 0x40]
call fcn.1400415e0
mov rax, qword [rbp - 0x40]
movabs rdx, 0x7ffffffffa0a1eff
cmp rax, rdx
je 0x140056547
mov ecx, esi
cmovl ecx, r14d
test cl, cl
jns 0x140056547
add rax, 0x5f5e100
mov qword [rbp + 0x1a8], rax
jmp 0x14005654e
mov qword [rbp + 0x1a8], rbx
lea rcx, [rbp + 0x1a8]
call fcn.14006fdc0
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
cmp byte [0x140131b47], 0
je 0x140056588
lea rdx, [0x140111ca0]
mov r8d, listen
jmp 0x140056595
lea rdx, [0x140111cf8]
mov r8d, reloc.WLDAP32.dll_Ordinal_27
lea rcx, [0x140130860]
call fcn.14006c8d0
lea rcx, [rbp - 0x38]
call fcn.1400415e0
mov rax, qword [rbp - 0x38]
movabs rdx, 0x7fffffffa697d0ff
cmp rax, rdx
je 0x1400565d6
mov ecx, esi
cmovl ecx, r14d
test cl, cl
jns 0x1400565d6
add rax, 0x59682f00
mov qword [rbp + 0x1a8], rax
jmp 0x1400565dd
mov qword [rbp + 0x1a8], rbx
lea rcx, [rbp + 0x1a8]
call fcn.14006fdc0
nop
lea rcx, [rbp + 0x70]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
lea rcx, [rbp + 0xd0]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x10]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
cmp byte [0x140131a5e], 0
jne 0x1400560d4
jmp 0x140056671
lea rcx, [0x140130860]
cmp byte [0x140131b47], 0
je 0x14005663b
mov r8d, Ordinal_41
lea rdx, [0x140111d18]
jmp 0x140056648
mov r8d, Ordinal_50
lea rdx, [0x140111d40]
call fcn.14006c8d0
nop
lea rcx, [rbp + 0x70]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
lea rcx, [rbp + 0xd0]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x10]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
movaps xmm6, xmmword [rsp + 0x230]
add rsp, 0x248
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret