Function at 0x140044c20
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x140074040]
xor rax, rsp
mov qword [rbp + 0x38], rax
xor r14d, r14d
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov qword [rbp - 0x30], rax
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 8]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
lea r9, [rbp - 8]
lea r8, str._Y__m__d__H__M__S
lea edx, [r14 + 0x14]
lea rcx, [rbp + 0x20]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_strftime]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rax, [rbp + 0x20]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r14b
jne 0x140044ca1
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.140058800
mov rdx, qword [0x140074120]
cmp rdx, 0xf
jbe 0x140044cf9
mov rcx, qword [0x140074108]
inc rdx
cmp rdx, 0x1000
jb 0x140044cf4
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140044fe4
mov rcx, r8
call fcn.14005ba50
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [0x140074108], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [0x140074118], xmm1
movq rcx, xmm1
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 0xb
jb 0x140045019
lea rax, [0x140074108]
cmp qword [0x140074120], 0xf
cmova rax, qword [0x140074108]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0xb
lea r9, str.Screenshot_
lea rcx, [rsp + 0x50]
call fcn.140058fe0
nop
mov r8d, 4
lea rdx, str..jpg
lea rcx, [rsp + 0x50]
call fcn.140056c50
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140044ded
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140044de8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140044de8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005ba50
movdqa xmm0, xmmword [0x140068070]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
xorps xmm1, xmm1
movups xmmword [rsp + 0x70], xmm1
movups xmmword [rbp - 0x80], xmm1
movups xmmword [rbp - 0x70], xmm1
movups xmmword [rbp - 0x60], xmm1
movups xmmword [rbp - 0x50], xmm1
movups xmmword [rbp - 0x40], xmm1
mov r9d, 0x18
mov r8d, dword [0x140074f98]
mov edx, dword [0x140074f18]
lea rcx, [rsp + 0x70]
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 rsi, rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rbx, rax
mov r8d, dword [0x140074f18]
mov edx, dword [0x140074f98]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdi, rax
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], rsi
mov ecx, dword [0x140074f18]
mov dword [rsp + 0x20], ecx
mov r9d, dword [0x140074f98]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [0x140074f18]
imul edx, dword [0x140074f98]
shl edx, 2
mov r8, qword [rbp - 0x80]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_GetBitmapBits]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov qword [rbp + 0x30], r14
mov dword [rbp + 0x20], 0x1010000
lea rax, [rsp + 0x70]
mov qword [rbp + 0x28], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r14
lea r8, [rsp + 0x50]
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x28]
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 rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140044f68
mov rax, qword [rsp + 0x60]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140044f63
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140044f63
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005ba50
lea rdx, [0x140066ce0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140057bd0
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rdx, qword [rbp - 0x28]
mov r8, qword [rbp - 0x18]
mov rcx, rax
call fcn.140059120
mov rcx, rax
lea rdx, [0x1400580f0]
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]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x140044ff0
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140044feb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140044feb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005ba50
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.14005b7d0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.14003bf80
int3