Function at 0x1400a9030
Capabilities:
Capture screenshot

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf]
sub rsp, 0xf8
mov rax, qword [0x14036f200]
xor rax, rsp
mov qword [rbp - 9], rax
mov r12d, r9d
mov dword [rsp + 0x54], r9d
mov dword [rsp + 0x5c], r8d
mov dword [rsp + 0x60], edx
mov rsi, rcx
mov r15d, dword [rbp + 0x77]
mov dword [rsp + 0x50], r15d
mov qword [rbp - 0x41], rcx
mov r13d, dword [rbp + 0x7f]
mov ebx, 1
mov dword [rsp + 0x58], ebx
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm0
movups xmmword [rcx + 0x40], xmm0
movups xmmword [rcx + 0x50], xmm0
call sub.opencv_world470.dll_public:_void___cdecl_cv::Mat::constructor_void____ptr64
nop
mov dword [rsp + 0x58], ebx
xor r14d, r14d
test r13d, r13d
jle 0x1400a9249
movabs rdi, 0x7fffffffffffffff
nop
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rbx, rax
test rax, rax
jne 0x1400a911a
lea rcx, [rbp - 0x79]
call fcn.140099db0
mov rax, qword [rbp - 0x79]
movabs rcx, 0x7ffffffffd050f7f
cmp rax, rcx
jge 0x1400a9106
add rax, 0x2faf080
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x68]
call fcn.1400780e0
jmp 0x1400a923d
mov qword [rsp + 0x68], rdi
lea rcx, [rsp + 0x68]
call fcn.1400780e0
jmp 0x1400a923d
mov rcx, rbx
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rdi, rax
mov r8d, r15d
mov edx, r12d
mov rcx, rbx
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov r15, rax
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov r12, rax
mov dword [rsp + 0x40], 0xcc0020
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rbx
mov r9d, dword [rsp + 0x50]
mov dword [rsp + 0x20], r9d
mov r9d, dword [rsp + 0x54]
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x1400a9200
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x35], xmm0
movups xmmword [rbp - 0x25], xmm0
mov qword [rbp - 0x15], rax
mov dword [rbp - 0x39], 0x28
mov edx, dword [rsp + 0x54]
mov dword [rbp - 0x35], edx
mov eax, dword [rsp + 0x50]
neg eax
mov dword [rbp - 0x31], eax
mov qword [rbp - 0x2d], 0x200001
mov r9d, 0x18
mov r8d, edx
mov edx, dword [rsp + 0x50]
mov rcx, rsi
call sub.opencv_world470.dll_public:_void___cdecl_cv::Mat::create_int__int__int____ptr64
mov dword [rsp + 0x30], 0
lea rax, [rbp - 0x39]
mov qword [rsp + 0x28], rax
mov rax, qword [rsi + 0x10]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x50]
xor r8d, r8d
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.GDI32.dll_GetDIBits]
test eax, eax
jne 0x1400a92ab
mov rdx, r12
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov r15d, dword [rsp + 0x50]
mov r12d, dword [rsp + 0x54]
movabs rdi, 0x7fffffffffffffff
inc r14d
cmp r14d, r13d
jl 0x1400a90c0
lea rdx, str.Screen_capture_failed_after
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400a6280
mov edx, r13d
mov rcx, rax
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___int____ptr64]
mov rcx, rax
lea rdx, str._attempts
call fcn.1400a6280
lea rdx, [0x1400a6ce0]
mov rcx, rax
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
mov rax, rsi
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.1401686c0
add rsp, 0xf8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
xor eax, eax
mov qword [rbp - 0x61], rax
mov dword [rbp - 0x71], 0x2010000
mov qword [rbp - 0x69], rsi
mov qword [rbp - 0x49], rax
mov dword [rbp - 0x59], 0x1010000
mov qword [rbp - 0x51], rsi
xor r9d, r9d
mov r8d, 1
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x59]
call sub.opencv_world470.dll_void___cdecl_cv::cvtColor_class_cv::_InputArray_const____ptr64__class_cv::_OutputArray_const____ptr64__int__int_
mov rdx, r12
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x1400a9288