Function at 0x14005aab0
Capabilities:
Capture screenshot

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x28]
sub rsp, 0x128
cvttss2si edi, dword [0x14007b1d8]
mov dword [rbp + 0x78], edi
cvttss2si ebx, dword [0x14007b1dc]
mov dword [rbp + 0x70], ebx
mov eax, dword [0x14007bb6c]
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x50], eax
sub ecx, eax
mov dword [rbp + 0x80], ecx
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
mov dword [rsp + 0x54], eax
mov eax, dword [0x14007bb68]
cdq
sub eax, edx
sar eax, 1
sub eax, ecx
mov dword [rbp + 0x88], eax
movsxd r12, edi
movsxd r13, ebx
mov qword [rsp + 0x58], r13
cmp byte [0x14007b1d0], 0
je 0x14005ae4d
movzx r15d, byte [rbp + 0x70]
nop dword [rax]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x14007b939], 0
je 0x14005ae35
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov r14, rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rsi, rax
mov r8d, ebx
mov edx, edi
mov rcx, r14
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdi, rax
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rbx, rax
mov dword [rsp + 0x40], 0xcc0020
mov eax, dword [rbp + 0x80]
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0x88]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r14
mov eax, dword [rbp + 0x70]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 0x78]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
mov dword [rsp + 0x60], 0x28
mov qword [rsp + 0x6c], 0x200001
mov ecx, dword [rbp + 0x78]
mov dword [rsp + 0x64], ecx
mov ebx, dword [rbp + 0x70]
mov eax, ebx
neg eax
mov dword [rsp + 0x68], eax
xor eax, eax
mov dword [rsp + 0x74], eax
lea r9d, [rax + 0x18]
mov r8d, ecx
mov edx, ebx
lea rcx, [rbp - 0x40]
call sub.opencv_world470.dll_public:_void___cdecl_cv::Mat::constructor_int__int__int____ptr64
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.GDI32.dll_GetDIBits]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
nop
xor ecx, ecx
mov qword [rbp - 0x68], rcx
mov dword [rbp - 0x78], 0x2010000
lea rax, [rbp - 0x40]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x50], rcx
mov dword [rbp - 0x60], 0x1010000
lea rax, [rbp - 0x40]
mov qword [rbp - 0x58], rax
xor r9d, r9d
lea r8d, [rcx + 1]
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x60]
call sub.opencv_world470.dll_void___cdecl_cv::cvtColor_class_cv::_InputArray_const____ptr64__class_cv::_OutputArray_const____ptr64__int__int_
xor r14d, r14d
xor esi, esi
test r13, r13
jle 0x14005ae0f
mov r13, qword [rbp + 8]
mov ebx, dword [0x14007b940]
mov rax, qword [rsp + 0x58]
nop word [rax + rax]
xor edi, edi
xor r11d, r11d
test r12, r12
jle 0x14005ae00
mov rax, rsi
imul rax, qword [r13]
mov r10, qword [rbp - 0x30]
add r10, 2
add r10, rax
movzx r8d, byte [r10 - 2]
movzx ecx, byte [r10 - 1]
movzx edx, byte [r10]
cmp ebx, 1
jbe 0x14005ad7b
cmp ebx, 2
jne 0x14005ad4a
lea eax, [rdx - 0xdd]
cmp eax, 0x21
ja 0x14005ade6
lea eax, [rcx - 0x3d]
cmp eax, 0x1c
ja 0x14005ade6
lea eax, [r8 - 0x3d]
cmp eax, 0x1c
ja 0x14005ade6
mov r15b, 1
sub r14d, dword [rsp + 0x50]
movd xmm0, r14d
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x14007b964]
cvttss2si eax, xmm0
sub edi, dword [rsp + 0x54]
jmp 0x14005ae13
cmp ebx, 3
jne 0x14005ad74
lea eax, [rdx - 0xf1]
cmp eax, 0xd
ja 0x14005ade6
lea eax, [rcx - 0xf1]
cmp eax, 0xd
ja 0x14005ade6
lea eax, [r8 - 0x3d]
cmp eax, 0x11
jbe 0x14005ad25
jmp 0x14005ade6
test r15b, r15b
jne 0x14005ad28
jmp 0x14005ade9
cmp ecx, 0xbe
jae 0x14005ade6
mov eax, edx
sub eax, r8d
mov r9d, eax
neg r9d
cmovs r9d, eax
cmp ecx, 0x8c
jb 0x14005adbe
cmp r9d, 8
jg 0x14005ade6
mov eax, edx
sub eax, ecx
cmp eax, 0x32
jl 0x14005ade6
mov eax, r8d
sub eax, ecx
cmp eax, 0x32
jl 0x14005ade6
cmp edx, 0x69
jb 0x14005ade6
cmp r8d, 0x69
jmp 0x14005ade0
cmp r9d, 0xd
jg 0x14005ade6
mov eax, edx
sub eax, ecx
cmp eax, 0x3c
jl 0x14005ade6
mov eax, r8d
sub eax, ecx
cmp eax, 0x3c
jl 0x14005ade6
cmp edx, 0x6e
jb 0x14005ade6
cmp r8d, 0x64
jae 0x14005ad25
xor r15b, r15b
inc edi
inc r11
add r10, 3
cmp r11, r12
jl 0x14005ace1
mov rax, qword [rsp + 0x58]
inc r14d
inc rsi
cmp rsi, rax
jl 0x14005acc0
xor eax, eax
xor edi, edi
mov dword [0x14007b930], edi
mov dword [0x14007b934], eax
lea rcx, [rbp - 0x40]
call sub.opencv_world470.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64
mov r13, qword [rsp + 0x58]
mov ebx, dword [rbp + 0x70]
mov edi, dword [rbp + 0x78]
jmp 0x14005ae40
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x14007b1d0], 0
jne 0x14005ab40
add rsp, 0x128
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret