Function at 0x140047450
Capabilities:
Capture screenshot

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x108]
sub rsp, 0x208
movaps xmmword [rsp + 0x1f0], xmm6
cmp byte [0x1400e86ee], 0
je 0x1400479fa
mov edi, 1
xor r13d, r13d
movsd xmm6, qword [0x1400d5ca8]
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
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, edi
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_45
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 + 0x150], ebx
mov dword [rbp + 0x154], edi
mov r8d, reloc.WS2_32.dll_recv
mov rdx, qword [rbp + 0x150]
lea rcx, [rbp - 0x30]
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 edi, 1
mov r8d, edi
lea rdx, str.disconnect.png
lea rcx, [rbp + 0x90]
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 + 0x90]
call qword [sym.imp.opencv_world490.dll_public:_bool___cdecl_cv::Mat::empty_void_const___ptr64]
test al, al
jne 0x1400475c7
lea rcx, [rbp - 0x30]
call qword [sym.imp.opencv_world490.dll_public:_bool___cdecl_cv::Mat::empty_void_const___ptr64]
test al, al
je 0x1400475ea
lea rdx, [0x1400d2610]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140051580
lea rdx, [0x140051790]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, [rbp + 0x30]
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 - 0x60], r13
mov dword [rbp - 0x70], 0x2010000
lea rcx, [rbp + 0x30]
mov qword [rbp - 0x68], rcx
mov qword [rbp - 0x48], r13
mov dword [rbp - 0x58], 0x1010000
lea rcx, [rbp + 0x90]
mov qword [rbp - 0x50], rcx
mov qword [rsp + 0x60], r13
mov dword [rsp + 0x50], 0x1010000
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x20], rax
mov r9d, 5
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x58]
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 + 0x160], r13
mov qword [rbp + 0x158], 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 + 0x30]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x158]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x160]
lea r8, [rbp + 0x168]
lea rdx, [rbp - 0x40]
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 + 0x168]
comisd xmm0, xmm6
jbe 0x1400479d7
mov byte [0x1400e877e], 0
mov dword [0x1400e87d4], r13d
mov r8d, Ordinal_60
lea rdx, [0x1400d2930]
lea rcx, [0x1400e7600]
call fcn.1400508d0
movzx eax, byte [0x1400e86ee]
test al, al
jne 0x140047727
cmp byte [0x1400e879e], al
je 0x14004799e
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140046ac0
call fcn.140046df0
call fcn.140047120
cmp byte [0x1400e86ee], 0
jne 0x140047757
cmp byte [0x1400e879e], 0
je 0x14004799e
mov ecx, 0x4e20
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x1400e86ee], 0
jne 0x140047778
cmp byte [0x1400e879e], 0
je 0x14004799e
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov cl, reloc.WLDAP32.dll_Ordinal_27
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
mov cl, reloc.WLDAP32.dll_Ordinal_27
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x20], r13
mov r9d, edi
xor r8d, r8d
xor edx, edx
mov ecx, 0x800
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [rsp + 0x20], r13
mov r9d, edi
xor r8d, r8d
xor edx, edx
mov ecx, 0x800
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [rsp + 0x20], r13
mov r9d, edi
xor r8d, r8d
xor edx, edx
mov ecx, 0x800
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [rsp + 0x20], r13
mov r9d, edi
xor r8d, r8d
xor edx, edx
mov ecx, 0x800
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [rsp + 0x20], r13
mov r9d, edi
xor r8d, r8d
xor edx, edx
mov ecx, 0x800
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [rsp + 0x20], r13
mov r9d, edi
xor r8d, r8d
xor edx, edx
mov ecx, 0x800
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [rsp + 0x20], r13
mov r9d, edi
xor r8d, r8d
xor edx, edx
mov ecx, 0x800
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [rsp + 0x20], r13
mov r9d, edi
xor r8d, r8d
xor edx, edx
mov ecx, 0x800
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [rsp + 0x20], r13
mov r9d, edi
xor r8d, r8d
xor edx, edx
mov ecx, 0x800
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [rsp + 0x20], r13
mov r9d, edi
xor r8d, r8d
xor edx, edx
mov ecx, 0x800
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [rsp + 0x20], r13
mov r9d, edi
xor r8d, r8d
xor edx, edx
mov ecx, 0x800
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [rsp + 0x20], r13
mov r9d, edi
xor r8d, r8d
xor edx, edx
mov ecx, 0x800
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [rsp + 0x20], r13
mov r9d, edi
xor r8d, r8d
xor edx, edx
mov ecx, 0x800
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [rsp + 0x20], r13
mov r9d, edi
xor r8d, r8d
xor edx, edx
mov ecx, 0x800
call qword [sym.imp.USER32.dll_mouse_event]
mov r8d, Ordinal_45
lea rdx, [0x1400d2900]
lea rcx, [0x1400e7600]
call fcn.1400508d0
mov eax, dword [reloc.WS2_32.dll_accept]
cmp eax, 1
jne 0x140047946
mov edx, dword [0x1400e8700]
mov ecx, dword [0x1400e8708]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov eax, dword [reloc.WS2_32.dll_accept]
cmp eax, 2
jne 0x140047963
mov edx, dword [0x1400e878c]
mov ecx, dword [0x1400e8750]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov eax, dword [reloc.WS2_32.dll_accept]
cmp eax, 3
jne 0x14004797a
mov edx, dword [0x1400e87b8]
mov ecx, dword [0x1400e8798]
call qword [sym.imp.USER32.dll_SetCursorPos]
cmp byte [0x1400e87ca], 1
je 0x14004799e
movzx eax, byte [0x1400e86ee]
test al, al
jne 0x140047727
cmp byte [0x1400e879e], al
jne 0x140047717
mov byte [0x1400e87ca], 0
lea rcx, [rbp + 0x30]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x90]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x30]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
cmp byte [0x1400e86ee], 0
jne 0x140047491
jmp 0x1400479fa
lea rcx, [rbp + 0x30]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x90]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x30]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
movaps xmm6, xmmword [rsp + 0x1f0]
add rsp, 0x208
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret