Function at 0x14005b3f0
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
xor ebx, ebx
mov r13, qword [0x140131b50]
mov qword [rbp + 0xc0], r13
mov dword [0x140131b30], ebx
mov byte [0x140131aac], bl
movzx eax, byte [0x140131b14]
test al, al
je 0x14005bc14
mov r14d, ebx
mov r15d, 1
lea r12d, [r15 + 0xb]
nop dword [rax]
test al, al
je 0x14005bc14
mov rcx, r13
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, r13
call qword [sym.imp.USER32.dll_GetClientRect]
mov edx, __WSAFDIsSet
lea r8d, [rdx - 0x7d]
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], 0x235
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], Ordinal_27
mov r9d, __WSAFDIsSet
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_BitBlt]
mov dword [rbp - 0x78], Ordinal_46
mov dword [rbp - 0x74], __WSAFDIsSet
mov dword [rbp - 0x70], 0xffffffe7
mov qword [rbp - 0x6c], 0x200001
xor eax, eax
mov dword [rbp - 0x64], eax
mov dword [rbp - 0x60], r15d
mov dword [rbp - 0x5c], 2
mov dword [rbp - 0x58], 3
mov dword [rbp - 0x54], 4
lea edx, [rax + 0x19]
lea r9d, [rax + 0x18]
lea r8d, [rdx + 0x7d]
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], 0
lea rax, [rbp - 0x78]
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, r13
call qword [sym.imp.USER32.dll_ReleaseDC]
nop
xor ebx, ebx
mov qword [rsp + 0x78], rbx
mov dword [rsp + 0x68], 0x2010000
lea rdi, [0x140131d40]
mov qword [rsp + 0x70], rdi
lea rdx, [rsp + 0x68]
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 + 0x78], rbx
mov dword [rsp + 0x68], 0x2010000
lea rax, [rbp - 0x50]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x60], rbx
mov dword [rsp + 0x50], 0x1010000
lea rax, [rbp - 0x50]
mov qword [rsp + 0x58], rax
xor r9d, r9d
lea r8d, [rbx + 0x28]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x50]
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 [0x1401321a8]
cmp rax, qword [0x1401321b0]
je 0x14005b5f9
mov qword [0x1401321b0], 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.14004c180
mov rdx, rdi
lea rcx, [rbp + 0x20]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::constructor_class_cv::Mat_const____ptr64____ptr64]
mov rsi, rax
mov qword [rbp + 0xc8], rax
mov rdi, rbx
mov r9, qword [0x1401321b0]
mov rcx, r9
mov r8, qword [0x1401321a8]
sub rcx, r8
movabs rax, 0x4924924924924925
imul rcx
sar rdx, 3
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
je 0x14005b731
movabs r13, 0x4924924924924925
nop dword [rax + rax]
cmp dword [rbx + r8], 0
jne 0x14005b6fe
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
movaps xmm1, xmmword [0x14011c8f0]
movups xmmword [rsp + 0x78], xmm1
mov edx, dword [rbx + r8 + 0x10]
mov ecx, dword [rbx + r8 + 0x18]
add ecx, edx
mov eax, dword [rbx + r8 + 0x14]
mov r9d, dword [rbx + r8 + 0xc]
xor r10d, r10d
mov qword [rsp + 0x60], r10
mov dword [rsp + 0x50], 0x3010000
mov qword [rsp + 0x58], rsi
lea r8d, [r9 + rax]
mov eax, ecx
shl rax, 0x20
or r8, rax
shl rdx, 0x20
or rdx, r9
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], 8
mov dword [rsp + 0x20], r15d
lea r9, [rsp + 0x68]
lea rcx, [rsp + 0x50]
call qword [sym.imp.opencv_world490.dll_void___cdecl_cv::rectangle_class_cv::_InputOutputArray_const____ptr64__class_cv::Point__int___class_cv::Point__int___class_cv::Scalar__double__const____ptr64__int__int__int_]
mov r9, qword [0x1401321b0]
mov r8, qword [0x1401321a8]
inc rdi
add rbx, 0x1c
mov rcx, r9
sub rcx, r8
mov rax, r13
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdi, rdx
jb 0x14005b670
mov r13, qword [rbp + 0xc0]
xor ebx, ebx
mov rcx, rsi
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
mov r8d, dword [0x140131b2c]
test r8d, r8d
je 0x14005b82f
mov rcx, qword [0x1401321b0]
sub rcx, qword [0x1401321a8]
movabs rax, 0x4924924924924925
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x14005b82f
cmp r8d, 0x55
jle 0x14005b7cc
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
lea rcx, [0x140130860]
cmp byte [0x140131b47], 0
je 0x14005b7b1
lea rdx, [0x140112570]
mov r8, r12
jmp 0x14005b7be
lea rdx, [0x140112580]
mov r8d, Ordinal_27
call fcn.14006c8d0
cmp dword [0x140131b2c], 0x55
jg 0x14005b813
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.USER32.dll_mouse_event]
lea rcx, [0x140130860]
cmp byte [0x140131b47], 0
je 0x14005b801
mov r8d, reloc.WS2_32.dll_ntohs
lea rdx, [0x1401125a0]
jmp 0x14005b80e
mov r8d, reloc.WLDAP32.dll_Ordinal_27
lea rdx, [0x1401125b0]
call fcn.14006c8d0
mov eax, dword [0x140131b30]
inc eax
mov dword [0x140131b30], eax
cmp eax, 0x384
mov eax, reloc.WLDAP32.dll_Ordinal_26
cmovge r14d, eax
mov rcx, qword [0x1401321b0]
sub rcx, qword [0x1401321a8]
movabs rax, 0x4924924924924925
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
jne 0x14005b871
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
inc r14d
cmp r14d, 0x19
jge 0x14005b88d
lea rcx, [rbp - 0x50]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
movzx eax, byte [0x140131b14]
jmp 0x14005b450
mov dword [0x140131b30], ebx
mov qword [rsp + 0x20], rbx
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
lea rcx, [0x140131d40]
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 [0x140131b3f]
mov eax, dword [0x140131b5c]
test cl, cl
je 0x14005b8e8
inc eax
mov dword [0x140131b5c], eax
cmp eax, 0xc
jne 0x14005b903
test cl, cl
je 0x14005b903
call fcn.140053890
mov dword [0x140131b5c], ebx
movzx ecx, byte [0x140131b3f]
cmp dword [0x140131a48], 1
jne 0x14005b93a
test cl, cl
je 0x14005b93a
cmp byte [0x140131b44], 0
jne 0x14005b922
cmp byte [0x140131a0d], 0
je 0x14005b93a
call fcn.140054aa0
mov dword [0x140131a48], ebx
mov dword [0x140131aec], ebx
mov byte [0x140131ae7], 1
movzx ecx, byte [reloc.WS2_32.dll_accept]
mov eax, dword [0x140131b24]
test cl, cl
je 0x14005b953
inc eax
mov dword [0x140131b24], eax
cmp eax, dword [reloc.WS2_32.dll_sendto]
jl 0x14005bb4a
test cl, cl
je 0x14005bb4a
mov byte [0x140131ae6], 0
mov dword [0x140131b60], ebx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
lea rcx, [rbp + 0xc0]
call fcn.1400415e0
movabs rdx, 0x7fffffff88ca6bff
movabs rsi, 0x7fffffffffffffff
mov r14d, 0xff
mov rax, qword [rbp + 0xc0]
cmp rax, rdx
je 0x14005b9d6
mov ecx, r15d
cmovl ecx, r14d
test cl, cl
jns 0x14005b9d6
add rax, 0x77359400
mov qword [rbp + 0xc0], rax
jmp 0x14005b9dd
mov qword [rbp + 0xc0], rsi
lea rcx, [rbp + 0xc0]
call fcn.14006fdc0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
movzx ecx, byte [0x140130158]
call qword [sym.imp.USER32.dll_keybd_event]
lea rcx, [rbp + 0xc0]
call fcn.1400415e0
movabs rdi, 0x7ffffffffa0a1eff
mov rax, qword [rbp + 0xc0]
cmp rax, rdi
je 0x14005ba3a
mov ecx, r15d
cmovl ecx, r14d
test cl, cl
jns 0x14005ba3a
add rax, 0x5f5e100
mov qword [rbp + 0xc0], rax
jmp 0x14005ba41
mov qword [rbp + 0xc0], rsi
lea rcx, [rbp + 0xc0]
call fcn.14006fdc0
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
movzx ecx, byte [0x140130158]
call qword [sym.imp.USER32.dll_keybd_event]
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x14005ba71
call fcn.140056020
cmp byte [0x140131a0c], 0
je 0x14005ba7f
call fcn.140056690
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x14005ba8d
call fcn.140057510
xor r9d, r9d
xor r8d, r8d
xor edx, edx
movzx ecx, byte [0x140130158]
call qword [sym.imp.USER32.dll_keybd_event]
lea rcx, [rbp + 0xc0]
call fcn.1400415e0
mov rax, qword [rbp + 0xc0]
cmp rax, rdi
je 0x14005bad4
mov ecx, r15d
cmovl ecx, r14d
test cl, cl
jns 0x14005bad4
add rax, 0x5f5e100
mov qword [rbp + 0xc0], rax
jmp 0x14005badb
mov qword [rbp + 0xc0], rsi
lea rcx, [rbp + 0xc0]
call fcn.14006fdc0
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
movzx ecx, byte [0x140130158]
call qword [sym.imp.USER32.dll_keybd_event]
cmp byte [0x140131b47], 0
je 0x14005bb15
lea rdx, [0x140111fb0]
mov r8d, reloc.WLDAP32.dll_Ordinal_33
jmp 0x14005bb22
lea rdx, [0x140111fd8]
mov r8d, gethostname
lea rcx, [0x140130860]
call fcn.14006c8d0
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
mov dword [0x140131b24], ebx
mov byte [0x140131b14], 0
mov dword [0x140131b60], ebx
cmp byte [0x140131b47], 0
je 0x14005bb69
lea rdx, [0x1401125d0]
jmp 0x14005bb76
lea rdx, [0x1401125e0]
mov r12d, Ordinal_41
mov r8, r12
lea rcx, [0x140130860]
call fcn.14006c8d0
mov dword [0x140131b2c], ebx
mov eax, dword [reloc.WS2_32.dll_accept]
cmp eax, 3
jl 0x14005bbc1
mov eax, dword [reloc.WS2_32.dll_accept]
cmp eax, 2
jg 0x14005bba7
lea r15d, [rax + 1]
jmp 0x14005bbae
mov dword [reloc.WS2_32.dll_accept], r15d
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]
jmp 0x14005bc14
cmp eax, 2
jne 0x14005bbdd
mov eax, dword [reloc.WS2_32.dll_accept]
cmp eax, 2
jle 0x14005bbed
mov dword [reloc.WS2_32.dll_accept], 3
jmp 0x14005bc01
cmp eax, 1
jne 0x14005bc08
mov eax, dword [reloc.WS2_32.dll_accept]
cmp eax, 2
jg 0x14005bbf7
inc eax
mov dword [reloc.WS2_32.dll_accept], eax
jmp 0x14005bc08
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]
mov al, 1
mov rbx, qword [rsp + 0x1d8]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret