Function at 0x14004eae0
Capabilities:
Capture screenshot
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x140085040]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rsi, rdx
xor r14d, r14d
imul rdx, qword [rcx], 0x88
add rdx, qword [0x1400860b8]
lea rcx, [rbp + 0x38]
call fcn.140065670
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
lea r9d, [r14 + 0x18]
mov r8d, dword [0x140085f08]
mov edx, dword [0x140085fc8]
lea rcx, [rbp - 0x30]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::constructor_int__int__int____ptr64]
nop
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov r12, rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r13, rax
mov r8d, dword [0x140085fc8]
mov edx, dword [0x140085f08]
mov rcx, r12
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [rbp - 0x40], rax
mov rdx, rax
mov rcx, r13
call qword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [0x140085f08]
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
mov eax, dword [0x140085fc8]
cdq
sub eax, edx
sar eax, 1
mov edi, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea r8d, [r14 + 3]
lea rdx, [0x14007651c]
lea rcx, [rsp + 0x50]
call fcn.140066f80
nop
lea edx, [r14 + 1]
lea rcx, [rsp + 0x50]
call qword [sym.imp.opencv_highgui4.dll_void___cdecl_cv::namedWindow_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__int_]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14004ec33
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ec2e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004ec2e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a1b0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 3
lea rdx, [0x14007651c]
lea rcx, [rsp + 0x50]
call fcn.140066f80
nop
movsd xmm2, qword [0x140078668]
mov edx, 5
lea rcx, [rsp + 0x50]
call qword [sym.imp.opencv_highgui4.dll_void___cdecl_cv::setWindowProperty_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__int__double_]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14004ecb5
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ecb0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004ecb0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a1b0
mov dword [rbp - 0x50], ebx
mov dword [rbp - 0x78], ebx
mov dword [rbp - 0x74], r14d
mov dword [rbp - 0x44], edi
mov dword [rbp + 0x30], r14d
mov dword [rbp + 0x34], edi
mov rbx, qword [rbp - 0x78]
mov rdi, qword [rbp + 0x30]
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx r14d, ax
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx r15d, ax
lea rcx, [rbp + 0x30]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov r9d, dword [0x140085f08]
mov eax, r9d
cdq
sub eax, edx
sar eax, 1
mov r8d, dword [rbp + 0x30]
sub r8d, eax
mov ecx, dword [rbp + 0x34]
mov edx, dword [0x140085fc8]
sub ecx, edx
sub ecx, 0x19
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], r8d
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], edx
xor r8d, r8d
xor edx, edx
mov rcx, r13
call qword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [0x140085fc8]
imul edx, dword [0x140085f08]
shl edx, 2
mov r8, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.GDI32.dll_GetBitmapBits]
xorps xmm0, 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
movups xmmword [rbp + 0xb0], xmm0
lea rdx, [rbp + 0x60]
lea rcx, [rbp - 0x30]
call qword [sym.imp.opencv_core4.dll_public:_class_cv::Mat___cdecl_cv::Mat::clone_void____ptr64]
nop
xor ecx, ecx
mov qword [rbp - 0x80], rcx
mov dword [rsp + 0x70], 0x3010000
lea rax, [rbp + 0x60]
mov qword [rsp + 0x78], rax
mov eax, dword [0x140085fc8]
mov dword [rbp - 0x4c], eax
movaps xmm0, xmmword [0x140078880]
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x60], xmm1
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], 8
mov dword [rsp + 0x20], 2
lea r9, [rbp - 0x70]
mov r8, qword [rbp - 0x50]
mov rdx, rbx
lea rcx, [rsp + 0x70]
call qword [sym.imp.opencv_imgproc4.dll_void___cdecl_cv::line_class_cv::_InputOutputArray_const____ptr64__class_cv::Point__int___class_cv::Point__int___class_cv::Scalar__double__const____ptr64__int__int__int_]
xor ecx, ecx
mov qword [rbp - 0x80], rcx
mov dword [rsp + 0x70], 0x3010000
lea rax, [rbp + 0x60]
mov qword [rsp + 0x78], rax
movaps xmm0, xmmword [0x140078880]
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x60], xmm1
mov eax, dword [0x140085f08]
mov dword [rbp - 0x48], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], 8
mov dword [rsp + 0x20], 2
lea r9, [rbp - 0x70]
mov r8, qword [rbp - 0x48]
mov rdx, rdi
lea rcx, [rsp + 0x70]
call qword [sym.imp.opencv_imgproc4.dll_void___cdecl_cv::line_class_cv::_InputOutputArray_const____ptr64__class_cv::Point__int___class_cv::Point__int___class_cv::Scalar__double__const____ptr64__int__int__int_]
xor ecx, ecx
mov qword [rbp - 0x80], rcx
mov dword [rsp + 0x70], 0x1010000
lea rax, [rbp + 0x60]
mov qword [rsp + 0x78], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rcx
lea r8d, [rcx + 3]
lea rdx, [0x14007651c]
lea rcx, [rsp + 0x50]
call fcn.140066f80
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call qword [sym.imp.opencv_highgui4.dll_void___cdecl_cv::imshow_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__class_cv::_InputArray_const____ptr64_]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14004eeda
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004eed5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ef04
call fcn.14006a1b0
mov ecx, 1
call qword [sym.imp.opencv_highgui4.dll_int___cdecl_cv::waitKey_int_]
test r14w, r14w
js 0x14004efa9
test r15w, r15w
js 0x14004ef0b
lea rcx, [rbp + 0x60]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
jmp 0x14004ecd1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 3
lea rdx, [0x14007651c]
lea rcx, [rsp + 0x50]
call fcn.140066f80
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.opencv_highgui4.dll_void___cdecl_cv::destroyWindow_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64_]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14004ef80
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ef7b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004ef7b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a1b0
xor r14d, r14d
mov qword [0x140085190], r14
lea rax, [0x140085180]
cmp qword [0x140085198], 0xf
cmova rax, qword [0x140085180]
mov byte [rax], r14b
jmp 0x14004f261
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 3
lea rdx, [0x14007651c]
lea rcx, [rsp + 0x50]
call fcn.140066f80
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.opencv_highgui4.dll_void___cdecl_cv::destroyWindow_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64_]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14004f01e
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f019
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f019
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a1b0
xor r14d, r14d
mov qword [rbp - 0x80], r14
mov dword [rsp + 0x70], 0x2010000
lea rax, [rbp - 0x30]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x60], r14
mov dword [rsp + 0x50], 0x1010000
lea rax, [rbp - 0x30]
mov qword [rsp + 0x58], rax
xor r9d, r9d
lea r8d, [r14 + 1]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call qword [sym.imp.opencv_imgproc4.dll_void___cdecl_cv::cvtColor_class_cv::_InputArray_const____ptr64__class_cv::_OutputArray_const____ptr64__int__int_]
mov qword [rsp + 0x60], r14
mov dword [rsp + 0x50], 0x1010000
lea rax, [rbp - 0x30]
mov qword [rsp + 0x58], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r14
lea r8, [rbp + 0x38]
mov rdx, rsi
lea rcx, [rbp - 0x70]
call fcn.140066880
nop
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.opencv_imgcodecs4.dll_bool___cdecl_cv::imwrite_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__class_cv::_InputArray_const____ptr64__class_std::vector_int__class_std::allocator_int___const____ptr64_]
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x14004f0e9
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f0e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f0e4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a1b0
movdqa xmm0, xmmword [0x1400787e0]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14004f144
mov rax, qword [rbp - 0x80]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f13f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f13f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a1b0
movzx eax, byte [0x140085fd5]
test al, al
je 0x14004f261
mov rcx, qword [rsi + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 0x23
jb 0x14004f2fd
cmp qword [rsi + 0x18], 0xf
jbe 0x14004f178
mov rsi, qword [rsi]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], 0x23
lea r9, [0x140076520]
lea rcx, [rsp + 0x50]
call fcn.140067910
nop
lea rdx, [rbp + 0x38]
cmp qword [rbp + 0x50], 0xf
cmova rdx, qword [rbp + 0x38]
mov r8, qword [rbp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.140065550
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rbp - 0x70]
call fcn.1400444e0
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x14004f220
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f21a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f21a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a1b0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14004f261
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f25b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f25b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a1b0
nop
lea rcx, [rbp + 0x60]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
mov rcx, r13
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, r12
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.GDI32.dll_DeleteObject]
nop
lea rcx, [rbp - 0x30]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x50]
cmp rdx, 0xf
jbe 0x14004f2d3
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f2ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f2ce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a1b0
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.140069f30
mov rbx, qword [rsp + 0x220]
add rsp, 0x1d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140042f80
nop
int3