Function at 0x14005a870
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa8]
sub rsp, 0x1a8
xor ebx, ebx
mov r15, qword [0x140131b50]
mov dword [0x140131b40], ebx
mov r12d, ebx
cmp byte [0x140131b14], bl
jne 0x14005b3d7
movabs rsi, 0x7ffffffffff0bdbe
lea r13d, [rbx + 0xc]
movabs rdi, 0x7fffffffffffffff
cmp byte [0x140131a5e], 0
je 0x14005b3d7
mov byte [0x140131ae6], 1
call fcn.140059610
test al, al
je 0x14005b2de
mov r14d, ebx
mov eax, dword [0x140131b40]
cmp eax, 0x50
jge 0x14005ac5a
nop dword [rax]
cmp byte [0x140131a5e], 0
je 0x14005ac50
mov rcx, r15
call qword [sym.imp.USER32.dll_GetDC]
mov rsi, rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rdi, rax
lea rdx, [rbp + 0x20]
mov rcx, r15
call qword [sym.imp.USER32.dll_GetClientRect]
mov r8d, dword [0x140130148]
mov edx, dword [0x14013025c]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rbx, rax
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov r10d, dword [0x140130148]
mov eax, r10d
cdq
sub eax, edx
sar eax, 1
mov r8d, dword [0x140131a20]
sub r8d, eax
mov r9d, dword [0x14013025c]
mov eax, r9d
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [0x140131a38]
sub ecx, eax
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], r8d
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], r10d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_BitBlt]
mov r8d, dword [0x14013025c]
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [0x140131a98]
sub ecx, eax
mov eax, dword [0x140131a38]
add eax, 0xfffffff1
add ecx, eax
mov dword [0x140131b20], ecx
mov r10d, dword [0x140130148]
mov eax, r10d
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [0x140131a24]
sub ecx, eax
mov eax, dword [0x140131a20]
add eax, 0xfffffff4
add ecx, eax
mov dword [0x140131a4c], ecx
mov dword [rsp + 0x68], Ordinal_46
mov dword [rsp + 0x6c], r8d
mov eax, r10d
neg eax
mov dword [rsp + 0x70], eax
mov ecx, 1
mov qword [rsp + 0x74], 0x200001
xor eax, eax
mov dword [rsp + 0x7c], eax
mov dword [rbp - 0x80], ecx
mov dword [rbp - 0x7c], 2
mov dword [rbp - 0x78], 3
mov dword [rbp - 0x74], 4
lea r9d, [rcx + 0x17]
mov edx, r10d
lea rcx, [rbp - 0x40]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::constructor_int__int__int____ptr64]
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, dword [0x140130148]
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_GetDIBits]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, rsi
mov rcx, r15
call qword [sym.imp.USER32.dll_ReleaseDC]
nop
xor ebx, ebx
mov qword [rbp - 0x60], rbx
mov dword [rbp - 0x70], 0x2010000
lea rax, [rbp - 0x40]
mov qword [rbp - 0x68], rax
mov qword [rsp + 0x60], rbx
mov dword [rsp + 0x50], 0x1010000
lea rax, [rbp - 0x40]
mov qword [rsp + 0x58], rax
xor r9d, r9d
lea r8d, [rbx + 0x28]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x50]
call qword [sym.imp.opencv_world490.dll_void___cdecl_cv::cvtColor_class_cv::_InputArray_const____ptr64__class_cv::_OutputArray_const____ptr64__int__int_]
mov rax, qword [0x1401321a8]
cmp rax, qword [0x1401321b0]
je 0x14005aafb
mov qword [0x1401321b0], rax
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x40]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::constructor_class_cv::Mat_const____ptr64____ptr64]
mov rcx, rax
call fcn.14004bea0
mov rcx, qword [0x1401321b0]
sub rcx, qword [0x1401321a8]
movabs rax, 0x4924924924924925
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x14005ab68
inc r14d
cmp r14d, 5
jne 0x14005ab6e
lea rcx, [0x140130860]
cmp byte [0x140131b47], bl
je 0x14005ac23
lea r8d, [r14 + 0x1c]
lea rdx, [0x1401123c0]
jmp 0x14005ac30
inc dword [0x140131b40]
cmp byte [0x140131b47], bl
je 0x14005ab85
lea rdx, [0x1401123c0]
mov r8d, reloc.WLDAP32.dll_Ordinal_33
jmp 0x14005ab92
lea rdx, [0x140112438]
mov r8d, reloc.WS2_32.dll_socket
lea rcx, [0x140130860]
call fcn.14006c8d0
lea rcx, [rbp + 0xf8]
call fcn.1400415e0
mov rax, qword [rbp + 0xf8]
movabs rdi, 0x7ffffffffff0bdbf
cmp rax, rdi
je 0x14005abea
mov ecx, 1
mov edx, 0xff
cmovl ecx, edx
test cl, cl
jns 0x14005abea
add rax, 0xf4240
mov qword [rbp + 0xf0], rax
movabs rdi, 0x7fffffffffffffff
jmp 0x14005abfb
movabs rdi, 0x7fffffffffffffff
mov qword [rbp + 0xf0], rdi
lea rcx, [rbp + 0xf0]
call fcn.14006fdc0
nop
lea rcx, [rbp - 0x40]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
mov eax, dword [0x140131b40]
cmp eax, 0x50
jl 0x14005a900
jmp 0x14005ac50
mov r8d, 0x47
lea rdx, [0x1401123f0]
call fcn.14006c8d0
nop
lea rcx, [rbp - 0x40]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
mov eax, dword [0x140131b40]
movabs rdi, 0x7fffffffffffffff
movabs rsi, 0x7ffffffffff0bdbe
cmp eax, 0xc8
jl 0x14005adec
inc r12d
mov dword [0x140131b40], ebx
call fcn.140058fd0
cmp byte [0x140131b47], 0
je 0x14005ac8b
lea rdx, [0x140112450]
mov r8d, reloc.WLDAP32.dll_Ordinal_33
jmp 0x14005ac98
lea rdx, [0x140112480]
mov r8d, Ordinal_79
lea rcx, [0x140130860]
call fcn.14006c8d0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov cl, Ordinal_41
call qword [sym.imp.USER32.dll_keybd_event]
lea rcx, [rbp + 0x100]
call fcn.1400415e0
mov rax, qword [rbp + 0x100]
cmp rax, rsi
jg 0x14005acdb
add rax, 0xf4240
mov qword [rbp + 0xf0], rax
jmp 0x14005ace2
mov qword [rbp + 0xf0], rdi
lea rcx, [rbp + 0xf0]
call fcn.14006fdc0
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
mov cl, Ordinal_41
call qword [sym.imp.USER32.dll_keybd_event]
lea rcx, [rbp + 0x108]
call fcn.1400415e0
mov rax, qword [rbp + 0x108]
cmp rax, rsi
jg 0x14005ad26
add rax, 0xf4240
mov qword [rbp + 0xf0], rax
jmp 0x14005ad2d
mov qword [rbp + 0xf0], rdi
lea rcx, [rbp + 0xf0]
call fcn.14006fdc0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov cl, 0x26
call qword [sym.imp.USER32.dll_keybd_event]
lea rcx, [rbp - 0x58]
call fcn.1400415e0
mov rax, qword [rbp - 0x58]
cmp rax, rsi
jg 0x14005ad6a
add rax, 0xf4240
mov qword [rbp + 0xf0], rax
jmp 0x14005ad71
mov qword [rbp + 0xf0], rdi
lea rcx, [rbp + 0xf0]
call fcn.14006fdc0
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
mov cl, 0x26
call qword [sym.imp.USER32.dll_keybd_event]
cmp r12d, 2
jge 0x14005b17c
lea rcx, [rbp - 0x50]
call fcn.1400415e0
mov rax, qword [rbp - 0x50]
movabs rcx, 0x7fffffff4d2fa1fe
cmp rax, rcx
jg 0x14005add4
mov ecx, 0xb2d05e00
add rcx, rax
mov qword [rbp + 0xf0], rcx
lea rcx, [rbp + 0xf0]
call fcn.14006fdc0
jmp 0x14005b16a
mov qword [rbp + 0xf0], rdi
lea rcx, [rbp + 0xf0]
call fcn.14006fdc0
jmp 0x14005b16a
mov byte [0x140131b14], 0
mov r14d, ebx
nop word [rax + rax]
mov byte [0x140131aac], 1
cmp byte [0x140131a5e], 0
je 0x14005b157
mov rcx, r15
call qword [sym.imp.USER32.dll_GetDC]
mov rsi, rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rdi, rax
lea rdx, [rbp + 0x30]
mov rcx, r15
call qword [sym.imp.USER32.dll_GetClientRect]
mov edx, gethostname
mov r8d, edx
mov rcx, rsi
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rbx, rax
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x40], 0xcc0020
mov ecx, dword [0x140131a4c]
mov dword [rsp + 0x38], ecx
mov ecx, dword [0x140131b20]
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], gethostname
mov r9d, gethostname
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_BitBlt]
mov dword [rsp + 0x68], Ordinal_46
mov dword [rsp + 0x6c], gethostname
mov dword [rsp + 0x70], 0xffffffc9
mov ecx, 1
mov qword [rsp + 0x74], 0x200001
xor eax, eax
mov dword [rsp + 0x7c], eax
mov dword [rbp - 0x80], ecx
mov dword [rbp - 0x7c], 2
mov dword [rbp - 0x78], 3
mov dword [rbp - 0x74], 4
mov edx, gethostname
lea r9d, [rcx + 0x17]
mov r8d, edx
lea rcx, [rbp - 0x40]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::constructor_int__int__int____ptr64]
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, gethostname
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_GetDIBits]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, rsi
mov rcx, r15
call qword [sym.imp.USER32.dll_ReleaseDC]
nop
xor ebx, ebx
mov qword [rsp + 0x60], rbx
mov dword [rsp + 0x50], 0x2010000
lea rdi, [0x140131d40]
mov qword [rsp + 0x58], rdi
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x40]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::copyTo_class_cv::_OutputArray_const____ptr64_const___ptr64]
mov qword [rsp + 0x60], rbx
mov dword [rsp + 0x50], 0x2010000
lea rax, [rbp - 0x40]
mov qword [rsp + 0x58], rax
mov qword [rbp - 0x60], rbx
mov dword [rbp - 0x70], 0x1010000
lea rax, [rbp - 0x40]
mov qword [rbp - 0x68], rax
xor r9d, r9d
lea r8d, [rbx + 0x28]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x70]
call qword [sym.imp.opencv_world490.dll_void___cdecl_cv::cvtColor_class_cv::_InputArray_const____ptr64__class_cv::_OutputArray_const____ptr64__int__int_]
mov rax, qword [0x1401321a8]
cmp rax, qword [0x1401321b0]
je 0x14005afbf
mov qword [0x1401321b0], rax
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x40]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::constructor_class_cv::Mat_const____ptr64____ptr64]
mov rcx, rax
call fcn.14004bea0
cmp dword [0x140131a58], 0x12c
jge 0x14005afee
inc r14d
cmp r14d, 2
je 0x14005b0d1
mov rcx, qword [0x1401321b0]
sub rcx, qword [0x1401321a8]
movabs rax, 0x4924924924924925
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x14005b032
mov eax, dword [0x140131b30]
inc eax
mov dword [0x140131b30], eax
cmp eax, 0x640
jg 0x14005b13b
cmp byte [0x140131b47], bl
je 0x14005b049
lea rdx, [0x140112510]
mov r8d, reloc.WLDAP32.dll_Ordinal_30
jmp 0x14005b056
lea rdx, [0x140112530]
mov r8d, Ordinal_33
lea rcx, [0x140130860]
call fcn.14006c8d0
lea rcx, [rbp - 0x48]
call fcn.1400415e0
mov rax, qword [rbp - 0x48]
movabs rdi, 0x7ffffffffff0bdbf
cmp rax, rdi
je 0x14005b097
mov ecx, 1
mov edx, 0xff
cmovl ecx, edx
test cl, cl
jns 0x14005b097
add rax, 0xf4240
jmp 0x14005b0a1
movabs rax, 0x7fffffffffffffff
mov qword [rbp + 0xf0], rax
lea rcx, [rbp + 0xf0]
call fcn.14006fdc0
nop
lea rcx, [rbp - 0x40]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
cmp byte [0x140131b14], 0
je 0x14005ae00
jmp 0x14005b157
mov dword [0x140131b30], ebx
mov byte [0x140131aac], bl
lea rcx, [rbp + 0x40]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::constructor_void____ptr64]
nop
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.opencv_world490.dll_public:_class_cv::Mat____ptr64___cdecl_cv::Mat::operator_class_cv::Mat____ptr64____ptr64]
nop
lea rcx, [rbp + 0x40]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
mov byte [0x140131b14], 1
lea rcx, [0x140130860]
cmp byte [0x140131b47], 0
je 0x14005b127
mov r8, r13
lea rdx, [0x1401124d0]
call fcn.14006c8d0
jmp 0x14005b14d
mov r8d, Ordinal_46
lea rdx, [0x1401124e0]
call fcn.14006c8d0
jmp 0x14005b14d
mov byte [0x140131b14], bl
mov dword [0x140131b30], ebx
call fcn.140058fd0
nop
lea rcx, [rbp - 0x40]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
cmp byte [0x140131b14], 1
je 0x14005b18e
movabs rsi, 0x7ffffffffff0bdbe
cmp byte [0x140131b14], 0
jne 0x14005b3d7
jmp 0x14005a8bc
mov byte [0x140131aae], 1
mov dword [0x140131b40], ebx
jmp 0x14005b3ce
call fcn.14004d400
test al, al
je 0x14005b3d5
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
lea rcx, [rbp + 0xf0]
call fcn.1400415e0
movabs rcx, 0x7ffffffff4143dfe
mov rax, qword [rbp + 0xf0]
movabs rdi, 0x7fffffffffffffff
cmp rax, rcx
jg 0x14005b1ec
add rax, 0xbebc200
mov qword [rbp + 0xf0], rax
jmp 0x14005b1f3
mov qword [rbp + 0xf0], rdi
lea rcx, [rbp + 0xf0]
call fcn.14006fdc0
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.USER32.dll_mouse_event]
lea rcx, [rbp + 0xf0]
call fcn.1400415e0
movabs rsi, 0x7ffffffffa0a1efe
mov rax, qword [rbp + 0xf0]
cmp rax, rsi
jg 0x14005b246
add rax, 0x5f5e100
mov qword [rbp + 0xf0], rax
jmp 0x14005b24d
mov qword [rbp + 0xf0], rdi
lea rcx, [rbp + 0xf0]
call fcn.14006fdc0
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
lea rcx, [rbp + 0xf0]
call fcn.1400415e0
mov rax, qword [rbp + 0xf0]
cmp rax, rsi
jg 0x14005b296
add rax, 0x5f5e100
mov qword [rbp + 0xf0], rax
jmp 0x14005b29d
mov qword [rbp + 0xf0], rdi
lea rcx, [rbp + 0xf0]
call fcn.14006fdc0
cmp byte [0x140131b47], 0
je 0x14005b2c1
lea rdx, [0x140112550]
mov r13d, 9
jmp 0x14005b2c8
lea rdx, [0x140112560]
mov r8, r13
lea rcx, [0x140130860]
call fcn.14006c8d0
mov al, 1
jmp 0x14005b3d7
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov cl, Ordinal_41
call qword [sym.imp.USER32.dll_keybd_event]
lea rcx, [rbp + 0xf0]
call fcn.1400415e0
mov rax, qword [rbp + 0xf0]
cmp rax, rsi
jg 0x14005b315
add rax, 0xf4240
mov qword [rbp + 0xf0], rax
jmp 0x14005b31c
mov qword [rbp + 0xf0], rdi
lea rcx, [rbp + 0xf0]
call fcn.14006fdc0
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
mov cl, Ordinal_41
call qword [sym.imp.USER32.dll_keybd_event]
lea rcx, [rbp + 0xf0]
call fcn.1400415e0
mov rax, qword [rbp + 0xf0]
cmp rax, rsi
jg 0x14005b360
add rax, 0xf4240
mov qword [rbp + 0xf0], rax
jmp 0x14005b367
mov qword [rbp + 0xf0], rdi
lea rcx, [rbp + 0xf0]
call fcn.14006fdc0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov cl, 0x26
call qword [sym.imp.USER32.dll_keybd_event]
lea rcx, [rbp + 0xf0]
call fcn.1400415e0
mov rax, qword [rbp + 0xf0]
cmp rax, rsi
jg 0x14005b3aa
add rax, 0xf4240
mov qword [rbp + 0xf0], rax
jmp 0x14005b3b1
mov qword [rbp + 0xf0], rdi
lea rcx, [rbp + 0xf0]
call fcn.14006fdc0
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
mov cl, 0x26
call qword [sym.imp.USER32.dll_keybd_event]
mov byte [0x140131b14], 0
xor al, al
add rsp, 0x1a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret