Function at 0x14004c870
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 - 0x10]
sub rsp, 0x110
mov rax, qword [0x140085040]
xor rax, rsp
mov qword [rbp], rax
mov r14, rcx
mov qword [rbp - 0x68], rcx
xor r13d, r13d
mov dword [rsp + 0x50], r13d
lea rcx, [rsp + 0x78]
call fcn.1400440b0
mov rbx, rax
mov r8, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
mov rax, rcx
sub rax, r8
cmp rax, 0xb
jb 0x14004c956
lea rax, [r8 + 0xb]
mov qword [rbx + 0x10], rax
mov rdi, rbx
cmp rcx, 0xf
jbe 0x14004c8ea
mov rdi, qword [rbx]
lea rax, [0x14007622b]
mov r12d, 0xb
lea r15, str.Screenshot_
cmp rax, rdi
jbe 0x14004c91e
lea rax, [rdi + r8]
cmp r15, rax
ja 0x14004c91e
cmp rdi, r15
ja 0x14004c916
mov rsi, r13
jmp 0x14004c921
mov rsi, rdi
sub rsi, r15
jmp 0x14004c921
mov rsi, r12
lea rcx, [rdi + 0xb]
inc r8
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
mov r8, rsi
mov rdx, r15
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rdi + rsi]
sub r12, rsi
lea rdx, [r15 + 0xb]
add rdx, rsi
mov r8, r12
call sub.VCRUNTIME140.dll_memcpy
jmp 0x14004c97b
mov r12d, 0xb
mov qword [rsp + 0x28], r12
lea r15, str.Screenshot_
mov qword [rsp + 0x20], r15
mov edx, r12d
mov rcx, rbx
call fcn.140067f70
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov dword [rsp + 0x50], 2
mov r8d, 4
lea rdx, str..jpg
lea rcx, [rsp + 0x58]
call fcn.140065550
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], r13
movups xmm0, xmmword [rax]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r14 + 0x10], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov dword [rsp + 0x50], 7
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14004ca41
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ca3c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004ca3c
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 [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x14004ca93
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ca8e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004ca8e
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 - 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 [0x14008609c]
mov edx, dword [0x140086008]
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 [0x140086008]
mov edx, dword [0x14008609c]
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], r13d
mov dword [rsp + 0x30], r13d
mov qword [rsp + 0x28], rsi
mov eax, dword [0x140086008]
mov dword [rsp + 0x20], eax
mov r9d, dword [0x14008609c]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [0x140086008]
imul edx, dword [0x14008609c]
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 - 0x78], r13
mov dword [rsp + 0x78], 0x1010000
lea rax, [rbp - 0x60]
mov qword [rbp - 0x80], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r13
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x78]
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 [rsp + 0x58]
test rcx, rcx
je 0x14004cc0b
mov rax, qword [rsp + 0x68]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004cc06
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004cc06
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 0x14004ccba
mov rcx, qword [r14 + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 0x15
jb 0x14004ccf4
mov rax, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x14004cc42
mov rax, qword [r14]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x15
lea r9, [0x140076230]
lea rcx, [rsp + 0x58]
call fcn.140067910
mov dword [rsp + 0x50], 0xf
lea rcx, [rsp + 0x58]
call fcn.1400444e0
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14004ccba
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ccb4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004ccb4
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 rax, r14
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140069f30
lea r11, [rsp + 0x110]
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
call fcn.140042f80
int3