Function at 0x140048650
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
xor r13d, r13d
mov r12, qword [0x1400e87c0]
mov r14d, r13d
lea r15d, [r13 + 1]
cmp byte [0x1400e86ee], 0
jne 0x14004869b
cmp byte [0x1400e879e], 0
je 0x140048c09
mov rcx, r12
call qword [sym.imp.USER32.dll_GetDC]
mov rsi, rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rdi, rax
lea rdx, [rbp + 0x10]
mov rcx, r12
call qword [sym.imp.USER32.dll_GetClientRect]
mov edx, 0x78
lea r8d, [rdx - 0x5f]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rbx, rax
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], 0x166
mov dword [rsp + 0x30], 0x244
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], Ordinal_32
mov r9d, 0x78
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_BitBlt]
mov dword [rbp - 0x80], Ordinal_45
mov dword [rbp - 0x7c], 0x78
mov dword [rbp - 0x78], 0xffffffe7
mov qword [rbp - 0x74], 0x200001
mov dword [rbp - 0x6c], r13d
mov dword [rbp - 0x68], r15d
mov dword [rbp - 0x64], 2
mov dword [rbp - 0x60], 3
mov dword [rbp - 0x5c], 4
mov edx, Ordinal_27
lea r9d, [rdx - 1]
lea r8d, [rdx + 0x5f]
lea rcx, [rbp - 0x50]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::constructor_int__int__int____ptr64]
mov dword [rsp + 0x30], r13d
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9d, Ordinal_27
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_GetDIBits]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, rsi
mov rcx, r12
call qword [sym.imp.USER32.dll_ReleaseDC]
nop
mov qword [rsp + 0x60], r13
mov dword [rsp + 0x50], 0x2010000
lea rbx, [0x1400e8990]
mov qword [rsp + 0x58], rbx
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x50]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::copyTo_class_cv::_OutputArray_const____ptr64_const___ptr64]
mov qword [rsp + 0x60], r13
mov dword [rsp + 0x50], 0x2010000
lea rax, [rbp - 0x50]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x78], r13
mov dword [rsp + 0x68], 0x1010000
lea rax, [rbp - 0x50]
mov qword [rsp + 0x70], rax
xor r9d, r9d
lea r8d, [r9 + 0x28]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x68]
call qword [sym.imp.opencv_world490.dll_void___cdecl_cv::cvtColor_class_cv::_InputArray_const____ptr64__class_cv::_OutputArray_const____ptr64__int__int_]
mov rax, qword [0x1400e8cf8]
cmp rax, qword [0x1400e8d00]
je 0x140048838
mov qword [0x1400e8d00], rax
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x20]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::constructor_class_cv::Mat_const____ptr64____ptr64]
mov rcx, rax
call fcn.140044410
mov rdx, rbx
lea rcx, [rbp + 0x20]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::constructor_class_cv::Mat_const____ptr64____ptr64]
mov rcx, rax
call fcn.1400446a0
mov qword [rsp + 0x78], r13
mov dword [rsp + 0x68], 0x2010000
lea rdi, [0x1400e8800]
mov qword [rsp + 0x70], rdi
lea rdx, [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::copyTo_class_cv::_OutputArray_const____ptr64_const___ptr64]
mov r8d, dword [0x1400e87b4]
test r8d, r8d
je 0x140048936
mov rcx, qword [0x1400e8d00]
sub rcx, qword [0x1400e8cf8]
movabs rax, 0x4924924924924925
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x140048936
cmp r8d, 0x46
jle 0x140048905
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]
mov r8d, Ordinal_27
lea rdx, [0x1400d2b60]
lea rcx, [0x1400e7600]
call fcn.1400508d0
mov r8d, dword [0x1400e87b4]
cmp r8d, 0x46
jge 0x140048936
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]
mov r8d, reloc.WLDAP32.dll_Ordinal_27
lea rdx, [0x1400d2b80]
lea rcx, [0x1400e7600]
call fcn.1400508d0
mov rcx, qword [0x1400e8d00]
sub rcx, qword [0x1400e8cf8]
movabs rax, 0x4924924924924925
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
jne 0x140048978
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
inc r14d
cmp r14d, 5
jg 0x140048999
mov ecx, 5
call qword [sym.imp.opencv_world490.dll_int___cdecl_cv::waitKey_int_]
nop
lea rcx, [rbp - 0x50]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
jmp 0x140048685
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 + 0x20]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::constructor_void____ptr64]
nop
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.opencv_world490.dll_public:_class_cv::Mat____ptr64___cdecl_cv::Mat::operator_class_cv::Mat____ptr64____ptr64]
nop
lea rcx, [rbp + 0x20]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
movzx ecx, byte [0x1400e879f]
mov eax, dword [0x1400e87d0]
test cl, cl
je 0x1400489ea
inc eax
mov dword [0x1400e87d0], eax
cmp eax, 0xc
jne 0x140048a06
test cl, cl
je 0x140048a06
call fcn.140044b70
mov dword [0x1400e87d0], r13d
movzx ecx, byte [0x1400e879f]
cmp dword [0x1400e870c], 1
jne 0x140048a36
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x140048a36
test cl, cl
je 0x140048a36
call fcn.1400456e0
mov dword [0x1400e870c], r13d
mov dword [0x1400e8784], r13d
mov byte [0x1400e877f], 1
movzx ecx, byte [reloc.WS2_32.dll_accept]
mov eax, dword [0x1400e87ac]
test cl, cl
je 0x140048a4f
inc eax
mov dword [0x1400e87ac], eax
cmp eax, dword [reloc.WS2_32.dll_sendto]
jl 0x140048b5e
test cl, cl
je 0x140048b5e
mov byte [0x1400e877e], 0
mov dword [0x1400e87d4], 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]
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
movzx ecx, byte [0x1400e7158]
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]
movzx ecx, byte [0x1400e7158]
call qword [sym.imp.USER32.dll_keybd_event]
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x140048ad6
call fcn.140045e00
cmp byte [0x1400e86e9], 0
je 0x140048ae4
call fcn.140046240
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x140048af2
call fcn.140046680
xor r9d, r9d
xor r8d, r8d
xor edx, edx
movzx ecx, byte [0x1400e7158]
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]
movzx ecx, byte [0x1400e7158]
call qword [sym.imp.USER32.dll_keybd_event]
mov r8d, gethostname
lea rdx, [0x1400d2868]
lea rcx, [0x1400e7600]
call fcn.1400508d0
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]
mov dword [0x1400e87ac], r13d
mov byte [0x1400e879e], 0
mov dword [0x1400e87d4], r13d
mov r8d, Ordinal_41
lea rdx, [0x1400d2ba0]
lea rcx, [0x1400e7600]
call fcn.1400508d0
mov dword [0x1400e87b4], r13d
mov eax, dword [reloc.WS2_32.dll_accept]
cmp eax, 3
jl 0x140048bb8
mov eax, dword [reloc.WS2_32.dll_accept]
cmp eax, 2
jg 0x140048ba8
lea r15d, [rax + 1]
jmp 0x140048baf
mov dword [reloc.WS2_32.dll_accept], r15d
mov dword [reloc.WS2_32.dll_accept], r15d
jmp 0x140048bff
cmp eax, 2
jne 0x140048bd4
mov eax, dword [reloc.WS2_32.dll_accept]
cmp eax, 2
jle 0x140048be4
mov dword [reloc.WS2_32.dll_accept], 3
jmp 0x140048bf8
cmp eax, 1
jne 0x140048bff
mov eax, dword [reloc.WS2_32.dll_accept]
cmp eax, 2
jg 0x140048bee
inc eax
mov dword [reloc.WS2_32.dll_accept], eax
jmp 0x140048bff
mov dword [reloc.WS2_32.dll_accept], 2
mov dword [reloc.WS2_32.dll_accept], r15d
lea rcx, [rbp - 0x50]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret