Function at 0x14004c130
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x14008e040]
xor rax, rsp
mov qword [rbp + 0x48], rax
mov r14, rcx
mov qword [rbp - 0x68], rcx
xor r15d, r15d
mov dword [rsp + 0x50], r15d
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov qword [rbp], rax
lea rdx, [rbp]
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, [r15 + 0x14]
lea rcx, [rbp + 0x30]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_strftime]
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
lea rax, [rbp + 0x30]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], r15b
jne 0x14004c1c0
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.14006ce70
mov dword [rsp + 0x50], 2
mov r8, qword [rbp - 0x78]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
sub rax, r8
lea rsi, str.img_Screenshot_
cmp rax, 0xf
jb 0x14004c27e
lea rax, [r8 + 0xf]
mov qword [rbp - 0x78], rax
lea rbx, [rsp + 0x78]
cmp rcx, 0xf
cmova rbx, qword [rsp + 0x78]
lea rax, [0x14007d77f]
cmp rax, rbx
jbe 0x14004c23c
lea rax, [rbx + r8]
cmp rsi, rax
ja 0x14004c23c
cmp rbx, rsi
ja 0x14004c234
mov rdi, r15
jmp 0x14004c241
mov rdi, rbx
sub rdi, rsi
jmp 0x14004c241
mov edi, 0xf
lea rcx, [rbx + 0xf]
inc r8
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + rdi]
mov r8d, 0xf
sub r8, rdi
lea rdx, [rsi + 0xf]
add rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x78]
jmp 0x14004c29b
mov qword [rsp + 0x28], 0xf
mov qword [rsp + 0x20], rsi
mov edx, 0xf
lea rcx, [rsp + 0x78]
call fcn.14006e1c0
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov dword [rsp + 0x50], 6
mov r8d, 4
lea rdx, str..jpg
lea rcx, [rsp + 0x58]
call fcn.14006b040
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r15
mov qword [r14 + 0x18], r15
movups xmm0, xmmword [rax]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r14 + 0x10], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov dword [rsp + 0x50], 0xf
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14004c361
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004c35c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c35c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140070a70
movdqa xmm0, xmmword [0x140080510]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x14004c3b3
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004c3ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c3ae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140070a70
movdqa xmm0, xmmword [0x140080510]
movdqu xmmword [rbp - 0x78], xmm0
mov byte [rsp + 0x78], 0
xorps xmm1, xmm1
movups xmmword [rbp - 0x60], xmm1
movups xmmword [rbp - 0x50], xmm1
movups xmmword [rbp - 0x40], xmm1
movups xmmword [rbp - 0x30], xmm1
movups xmmword [rbp - 0x20], xmm1
movups xmmword [rbp - 0x10], xmm1
mov r9d, 0x18
mov r8d, dword [0x14008f8d8]
mov edx, dword [0x14008f83c]
lea rcx, [rbp - 0x60]
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 [0x14008f83c]
mov edx, dword [0x14008f8d8]
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], r15d
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x28], rsi
mov eax, dword [0x14008f83c]
mov dword [rsp + 0x20], eax
mov r9d, dword [0x14008f8d8]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [0x14008f83c]
imul edx, dword [0x14008f8d8]
shl edx, 2
mov r8, qword [rbp - 0x50]
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 + 0x40], r15
mov dword [rbp + 0x30], 0x2010000
lea rax, [rbp - 0x60]
mov qword [rbp + 0x38], rax
mov qword [rsp + 0x68], r15
mov dword [rsp + 0x58], 0x1010000
lea rax, [rbp - 0x60]
mov qword [rsp + 0x60], rax
movabs r8, 0x2d000000500
mov dword [rsp + 0x28], 1
xorps xmm3, xmm3
movsd qword [rsp + 0x20], xmm3
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x58]
call qword [sym.imp.opencv_imgproc4.dll_void___cdecl_cv::resize_class_cv::_InputArray_const____ptr64__class_cv::_OutputArray_const____ptr64__class_cv::Size__int___double__double__int_]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], r15
mov qword [rsp + 0x68], r15
mov dword [rsp + 0x58], 0x1010000
lea rax, [rbp - 0x60]
mov qword [rsp + 0x60], rax
lea r8, [rbp + 0x30]
lea rdx, [rsp + 0x58]
mov rcx, r14
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 [rbp + 0x30]
test rcx, rcx
je 0x14004c57b
mov rax, qword [rbp + 0x40]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004c576
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c576
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140070a70
movzx eax, byte [0x14008f822]
test al, al
je 0x14004c62a
mov rcx, qword [r14 + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 0x15
jb 0x14004c660
mov rax, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x14004c5b2
mov rax, qword [r14]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x15
lea r9, [0x14007d780]
lea rcx, [rsp + 0x58]
call fcn.14006d6e0
mov dword [rsp + 0x50], 0x1f
lea rcx, [rsp + 0x58]
call fcn.140043e30
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14004c62a
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004c624
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c624
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140070a70
nop
lea rcx, [rbp - 0x60]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
mov rax, r14
mov rcx, qword [rbp + 0x48]
xor rcx, rsp
call fcn.1400707f0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140042590
int3