Function at 0x14007d840
Capabilities:
Capture screenshot
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x140171140]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov r15d, r9d
mov r12, rcx
mov edi, dword [rbp + 0xc0]
mov qword [rbp - 0x50], rcx
xor r13d, r13d
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, edi
mov edx, r15d
mov rcx, r14
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rbx, rax
mov rdx, rax
mov rcx, rsi
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], r14
mov dword [rsp + 0x20], edi
mov r9d, r15d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.GDI32.dll_BitBlt]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x24], xmm0
movups xmmword [rbp + 0x34], xmm0
mov qword [rbp + 0x44], rax
mov dword [rbp + 0x20], Ordinal_46
mov dword [rbp + 0x24], r15d
mov eax, edi
neg eax
mov dword [rbp + 0x28], eax
mov qword [rbp + 0x2c], 0x200001
mov qword [rbp + 0x34], r13
mov qword [rbp + 0x3c], r13
mov dword [rbp + 0x44], r13d
mov dword [rsp + 0x30], r13d
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.GDI32.dll_GetDIBits]
mov dword [rbp + 0x30], r13d
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
lea rcx, [rbp - 0x40]
call qword [sym.imp.opencv_world480.dll_public:_void___cdecl_cv::Mat::constructor_void____ptr64]
nop
lea r9d, [r13 + 0x18]
mov r8d, r15d
mov edx, edi
lea rcx, [rbp - 0x40]
call qword [sym.imp.opencv_world480.dll_public:_void___cdecl_cv::Mat::create_int__int__int____ptr64]
mov dword [rsp + 0x30], r13d
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp + 0x28]
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.GDI32.dll_GetDIBits]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteDC]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x78], r13
mov dword [rsp + 0x78], 0x1010000
lea rax, [rbp - 0x40]
mov qword [rbp - 0x80], rax
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea r8d, [r13 + 7]
lea rdx, str.tmp.png
lea rcx, [rsp + 0x50]
call fcn.14000a820
nop
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x50]
call qword [sym.imp.opencv_world480.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 rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14007da55
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007da50
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007da50
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140128004
movdqa xmm0, xmmword [0x14014f110]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14007dab1
mov rax, qword [rbp - 0x60]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007daac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007daac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140128004
xorps xmm0, xmm0
movups xmmword [r12], xmm0
movups xmmword [r12 + 0x10], xmm0
movups xmmword [r12 + 0x20], xmm0
movups xmmword [r12 + 0x30], xmm0
movups xmmword [r12 + 0x40], xmm0
movups xmmword [r12 + 0x50], xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 7
lea rdx, str.tmp.png
lea rcx, [rsp + 0x50]
call fcn.14000a820
nop
mov r8d, 1
lea rdx, [rsp + 0x50]
mov rcx, r12
call qword [sym.imp.opencv_world480.dll_class_cv::Mat___cdecl_cv::imread_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__int_]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14007db52
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007db4d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007db4d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140128004
lea rcx, str.tmp.png
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
nop
lea rcx, [rbp - 0x40]
call qword [sym.imp.opencv_world480.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
mov rax, r12
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.140127fa0
mov rbx, qword [rsp + 0x1a8]
add rsp, 0x160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret