Function at 0x140054aa0
Capabilities:
Capture screenshot

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x268]
sub rsp, 0x368
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
lea rcx, [rbp + 0x2b0]
call fcn.1400415e0
movabs rbx, 0x7fffffffffffffff
mov edi, 1
mov edx, 0xff
movabs r8, 0x7fffffffa697d0ff
mov rax, qword [rbp + 0x2b0]
cmp rax, r8
je 0x140054b24
mov ecx, edi
cmovl ecx, edx
test cl, cl
jns 0x140054b24
add rax, 0x59682f00
mov qword [rbp + 0x2b0], rax
jmp 0x140054b2b
mov qword [rbp + 0x2b0], rbx
lea rcx, [rbp + 0x2b0]
call fcn.14006fdc0
cmp byte [0x140131a5e], 0
je 0x14005600a
movabs rsi, 0x7fffffffa697d0fe
nop
cmp dword [0x140131a48], edi
jne 0x14005600a
cmp byte [0x140131a0d], 0
jne 0x1400555ef
cmp byte [0x140131b44], 0
jne 0x140054bba
lea rcx, [rbp + 0x2b8]
call fcn.1400415e0
mov rax, qword [rbp + 0x2b8]
cmp rax, rsi
jg 0x140054b99
add rax, 0x59682f00
mov qword [rbp + 0x2b0], rax
jmp 0x140054ba0
mov qword [rbp + 0x2b0], rbx
lea rcx, [rbp + 0x2b0]
call fcn.14006fdc0
cmp byte [0x140131a5e], 0
jne 0x140054b50
jmp 0x14005600a
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov r14, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
mov ecx, edi
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r13d, eax
mov rcx, r14
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rsi, rax
mov r8d, r13d
mov edx, ebx
mov rcx, r14
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov r15, rax
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
mov r12, rax
mov dword [rsp + 0x40], 0xcc0020
xor eax, eax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r13d
mov r9d, ebx
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.GDI32.dll_BitBlt]
mov dword [rbp - 0x50], Ordinal_46
mov dword [rbp - 0x4c], ebx
mov eax, r13d
neg eax
mov dword [rbp + 0x2b0], eax
mov dword [rbp - 0x48], eax
mov qword [rbp - 0x44], 0x180001
xor eax, eax
mov qword [rbp - 0x3c], rax
mov qword [rbp - 0x34], rax
mov dword [rbp - 0x2c], eax
mov dword [rbp + 0x2b8], ebx
mov dword [rbp + 0x2bc], r13d
lea r8d, [rax + 0x10]
mov rdx, qword [rbp + 0x2b8]
lea rcx, [rbp + 0x20]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::constructor_class_cv::Size__int___int____ptr64]
nop
xor ebx, ebx
mov dword [rsp + 0x30], ebx
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, r13d
xor r8d, r8d
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.GDI32.dll_GetDIBits]
mov r8d, edi
lea rdx, str.data_food.png
lea rcx, [rbp + 0x140]
call qword [sym.imp.opencv_world490.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
lea rcx, [rbp + 0x140]
call qword [sym.imp.opencv_world490.dll_public:_bool___cdecl_cv::Mat::empty_void_const___ptr64]
test al, al
jne 0x140054ce4
lea rcx, [rbp + 0x20]
call qword [sym.imp.opencv_world490.dll_public:_bool___cdecl_cv::Mat::empty_void_const___ptr64]
test al, al
je 0x140054d02
xor r9d, r9d
lea r8, [0x140110b18]
lea rdx, [0x140111ab0]
mov rcx, qword [0x140131b08]
call qword [sym.imp.USER32.dll_MessageBoxW]
lea rcx, [rbp + 0xe0]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::constructor_void____ptr64]
nop
call qword [sym.imp.opencv_world490.dll_class_cv::_InputOutputArray_const____ptr64___cdecl_cv::noArray_void_]
mov qword [rbp - 0x70], rbx
mov dword [rbp - 0x80], 0x2010000
lea rcx, [rbp + 0xe0]
mov qword [rbp - 0x78], rcx
mov qword [rbp - 0x58], rbx
mov dword [rbp - 0x68], 0x1010000
lea rcx, [rbp + 0x140]
mov qword [rbp - 0x60], rcx
mov qword [rsp + 0x68], rbx
mov dword [rsp + 0x58], 0x1010000
lea rcx, [rbp + 0x20]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x20], rax
mov r9d, 5
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x58]
call qword [sym.imp.opencv_world490.dll_void___cdecl_cv::matchTemplate_class_cv::_InputArray_const____ptr64__class_cv::_InputArray_const____ptr64__class_cv::_OutputArray_const____ptr64__int__class_cv::_InputArray_const____ptr64_]
mov qword [rbp + 0x2c8], rbx
mov qword [rbp + 0x2c0], rbx
call qword [sym.imp.opencv_world490.dll_class_cv::_InputOutputArray_const____ptr64___cdecl_cv::noArray_void_]
mov qword [rsp + 0x68], rbx
mov dword [rsp + 0x58], 0x1010000
lea rcx, [rbp + 0xe0]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x2c0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x2c8]
lea r8, [rsp + 0x78]
lea rdx, [rbp + 8]
lea rcx, [rsp + 0x58]
call qword [sym.imp.opencv_world490.dll_void___cdecl_cv::minMaxLoc_class_cv::_InputArray_const____ptr64__double____ptr64__double____ptr64__class_cv::Point__int_____ptr64__class_cv::Point__int_____ptr64__class_cv::_InputArray_const____ptr64_]
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteDC]
movsd xmm0, qword [rsp + 0x78]
comisd xmm0, xmmword [0x14011c448]
jbe 0x1400554c6
xor r9d, r9d
xor r8d, r8d
xor edx, edx
movzx ecx, byte [0x140130158]
call qword [sym.imp.USER32.dll_keybd_event]
lea rcx, [rsp + 0x50]
call fcn.1400415e0
movabs rsi, 0x7ffffffffa0a1eff
mov rax, qword [rsp + 0x50]
mov r14d, 0xff
cmp rax, rsi
je 0x140054e64
mov ecx, edi
cmovl ecx, r14d
test cl, cl
jns 0x140054e64
add rax, 0x5f5e100
mov qword [rsp + 0x50], rax
movabs rbx, 0x7fffffffffffffff
jmp 0x140054e73
movabs rbx, 0x7fffffffffffffff
mov qword [rsp + 0x50], rbx
lea rcx, [rsp + 0x50]
call fcn.14006fdc0
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
movzx ecx, byte [0x140130158]
call qword [sym.imp.USER32.dll_keybd_event]
lea rcx, [rsp + 0x50]
call fcn.1400415e0
movabs rdx, 0x7fffffffe2329aff
mov rax, qword [rsp + 0x50]
cmp rax, rdx
je 0x140054ec8
mov ecx, edi
cmovl ecx, r14d
test cl, cl
jns 0x140054ec8
add rax, 0x1dcd6500
mov qword [rsp + 0x50], rax
jmp 0x140054ecd
mov qword [rsp + 0x50], rbx
lea rcx, [rsp + 0x50]
call fcn.14006fdc0
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov r15, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
mov rcx, r15
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r14, rax
mov r8d, r13d
mov edx, ebx
mov rcx, r15
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov r12, rax
mov rdx, rax
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x40], 0xcc0020
xor eax, eax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r13d
mov r9d, ebx
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.GDI32.dll_BitBlt]
mov dword [rbp - Ordinal_46], 0x28
mov dword [rbp - 0x24], ebx
mov eax, dword [rbp + 0x2b0]
mov dword [rbp - 0x20], eax
mov qword [rbp - 0x1c], 0x180001
xor eax, eax
mov qword [rbp - 0x14], rax
mov qword [rbp - 0xc], rax
mov dword [rbp - 4], eax
mov dword [rbp + 0x2b0], ebx
mov dword [rbp + 0x2b4], r13d
lea r8d, [rax + 0x10]
mov rdx, qword [rbp + 0x2b0]
lea rcx, [rbp + 0x80]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::constructor_class_cv::Size__int___int____ptr64]
nop
xor eax, eax
mov dword [rsp + 0x30], eax
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, r13d
xor r8d, r8d
mov rdx, r12
mov rcx, r14
call qword [sym.imp.GDI32.dll_GetDIBits]
mov r8d, edi
lea rdx, str.datapie7.png
lea rcx, [rbp + 0x200]
call qword [sym.imp.opencv_world490.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
lea rcx, [rbp + 0x200]
call qword [sym.imp.opencv_world490.dll_public:_bool___cdecl_cv::Mat::empty_void_const___ptr64]
test al, al
jne 0x140054ffc
lea rcx, [rbp + 0x80]
call qword [sym.imp.opencv_world490.dll_public:_bool___cdecl_cv::Mat::empty_void_const___ptr64]
test al, al
je 0x14005501a
xor r9d, r9d
lea r8, [0x140110b18]
lea rdx, [0x140111bd0]
mov rcx, qword [0x140131b08]
call qword [sym.imp.USER32.dll_MessageBoxW]
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::constructor_void____ptr64]
nop
call qword [sym.imp.opencv_world490.dll_class_cv::_InputOutputArray_const____ptr64___cdecl_cv::noArray_void_]
xor r13d, r13d
mov qword [rsp + 0x68], r13
mov dword [rsp + 0x58], 0x2010000
lea rcx, [rbp + 0x1a0]
mov qword [rsp + 0x60], rcx
mov qword [rbp - 0x58], r13
mov dword [rbp - 0x68], 0x1010000
lea rcx, [rbp + 0x200]
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x70], r13
mov dword [rbp - 0x80], 0x1010000
lea rcx, [rbp + 0x80]
mov qword [rbp - 0x78], rcx
mov qword [rsp + 0x20], rax
lea r9d, [r13 + 5]
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x80]
call qword [sym.imp.opencv_world490.dll_void___cdecl_cv::matchTemplate_class_cv::_InputArray_const____ptr64__class_cv::_InputArray_const____ptr64__class_cv::_OutputArray_const____ptr64__int__class_cv::_InputArray_const____ptr64_]
mov qword [rsp + 0x70], r13
mov qword [rbp + 0x2b8], r13
call qword [sym.imp.opencv_world490.dll_class_cv::_InputOutputArray_const____ptr64___cdecl_cv::noArray_void_]
mov qword [rsp + 0x68], r13
mov dword [rsp + 0x58], 0x1010000
lea rcx, [rbp + 0x1a0]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x2b8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
lea r8, [rbp]
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x58]
call qword [sym.imp.opencv_world490.dll_void___cdecl_cv::minMaxLoc_class_cv::_InputArray_const____ptr64__double____ptr64__double____ptr64__class_cv::Point__int_____ptr64__class_cv::Point__int_____ptr64__class_cv::_InputArray_const____ptr64_]
mov rdx, qword [rsp + 0x50]
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, r12
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteDC]
movsd xmm0, qword [rbp]
comisd xmm0, xmmword [0x14011c448]
jbe 0x1400553d4
cmp byte [0x140131b47], r13b
je 0x140055138
lea rdx, [0x140111c18]
lea r8d, [r13 + 0x15]
jmp 0x140055145
lea rdx, [0x140111c30]
mov r8d, reloc.WS2_32.dll_send
lea rcx, [0x140130860]
call fcn.14006c8d0
mov edx, dword [rbp + 0x2bc]
mov ecx, dword [rbp + 0x2b8]
call qword [sym.imp.USER32.dll_SetCursorPos]
lea rcx, [rbp + 0x2b0]
call fcn.1400415e0
movabs rbx, 0x7fffffffee1e5cff
mov rax, qword [rbp + 0x2b0]
mov r15d, 0xff
cmp rax, rbx
je 0x1400551ae
mov ecx, edi
cmovl ecx, r15d
test cl, cl
jns 0x1400551ae
add rax, 0x11e1a300
mov qword [rbp + 0x2b0], rax
movabs r14, 0x7fffffffffffffff
jmp 0x1400551bf
movabs r14, 0x7fffffffffffffff
mov qword [rbp + 0x2b0], r14
lea rcx, [rbp + 0x2b0]
call fcn.14006fdc0
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 8]
call qword [sym.imp.USER32.dll_mouse_event]
lea rcx, [rbp + 0x2b0]
call fcn.1400415e0
mov rax, qword [rbp + 0x2b0]
cmp rax, rbx
je 0x140055212
mov ecx, edi
cmovl ecx, r15d
test cl, cl
jns 0x140055212
add rax, 0x11e1a300
mov qword [rbp + 0x2b0], rax
jmp 0x140055219
mov qword [rbp + 0x2b0], r14
lea rcx, [rbp + 0x2b0]
call fcn.14006fdc0
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 0x10]
call qword [sym.imp.USER32.dll_mouse_event]
lea rcx, [rbp + 0x2b0]
call fcn.1400415e0
movabs rdx, 0x7fffffffd646d8ff
mov rax, qword [rbp + 0x2b0]
cmp rax, rdx
je 0x140055276
mov ecx, edi
cmovl ecx, r15d
test cl, cl
jns 0x140055276
add rax, 0x29b92700
mov qword [rbp + 0x2b0], rax
jmp 0x14005527d
mov qword [rbp + 0x2b0], r14
lea rcx, [rbp + 0x2b0]
call fcn.14006fdc0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
movzx ecx, byte [0x140130158]
call qword [sym.imp.USER32.dll_keybd_event]
lea rcx, [rbp + 0x2b0]
call fcn.1400415e0
mov rax, qword [rbp + 0x2b0]
cmp rax, rsi
je 0x1400552cf
mov ecx, edi
cmovl ecx, r15d
test cl, cl
jns 0x1400552cf
add rax, 0x5f5e100
mov qword [rbp + 0x2b0], rax
jmp 0x1400552d6
mov qword [rbp + 0x2b0], r14
lea rcx, [rbp + 0x2b0]
call fcn.14006fdc0
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
movzx ecx, byte [0x140130158]
call qword [sym.imp.USER32.dll_keybd_event]
lea rcx, [rbp + 0x2b0]
call fcn.1400415e0
mov rax, qword [rbp + 0x2b0]
cmp rax, rbx
je 0x140055329
mov ecx, edi
cmovl ecx, r15d
test cl, cl
jns 0x140055329
add rax, 0x11e1a300
mov qword [rbp + 0x2b0], rax
jmp 0x140055330
mov qword [rbp + 0x2b0], r14
lea rcx, [rbp + 0x2b0]
call fcn.14006fdc0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov cl, reloc.WLDAP32.dll_Ordinal_50
call qword [sym.imp.USER32.dll_keybd_event]
lea rcx, [rbp + 0x2b0]
call fcn.1400415e0
mov rax, qword [rbp + 0x2b0]
cmp rax, rsi
je 0x14005537c
cmovl edi, r15d
test dil, dil
jns 0x14005537c
add rax, 0x5f5e100
mov qword [rbp + 0x2b0], rax
jmp 0x140055383
mov qword [rbp + 0x2b0], r14
lea rcx, [rbp + 0x2b0]
call fcn.14006fdc0
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
mov cl, reloc.WLDAP32.dll_Ordinal_50
call qword [sym.imp.USER32.dll_keybd_event]
lea rcx, [0x140130860]
cmp byte [0x140131b47], r13b
je 0x1400553c2
mov r8d, reloc.WS2_32.dll_ntohs
lea rdx, [0x140111c48]
jmp 0x140055475
mov r8d, reloc.WS2_32.dll_socket
lea rdx, [0x140111c58]
jmp 0x140055475
xor r9d, r9d
xor r8d, r8d
xor edx, edx
movzx ecx, byte [0x140130158]
call qword [sym.imp.USER32.dll_keybd_event]
lea rcx, [rbp + 0x2b0]
call fcn.1400415e0
mov rax, qword [rbp + 0x2b0]
cmp rax, rsi
je 0x140055416
mov ecx, 0xff
cmovl edi, ecx
test dil, dil
jns 0x140055416
add rax, 0x5f5e100
jmp 0x140055420
movabs rax, 0x7fffffffffffffff
mov qword [rbp + 0x2b0], rax
lea rcx, [rbp + 0x2b0]
call fcn.14006fdc0
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
movzx ecx, byte [0x140130158]
call qword [sym.imp.USER32.dll_keybd_event]
lea rcx, [0x140130860]
cmp byte [0x140131b47], r13b
je 0x140055468
mov r8d, reloc.WS2_32.dll_ntohs
lea rdx, [0x140111c70]
jmp 0x140055475
mov r8d, reloc.WLDAP32.dll_Ordinal_26
lea rdx, [0x140111c80]
call fcn.14006c8d0
nop
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x200]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x80]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
lea rcx, [rbp + 0xe0]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x140]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
jmp 0x140056000
lea rcx, [rbp + 0x2b0]
call fcn.1400415e0
movabs rbx, 0x7fffffffee1e5cff
mov rax, qword [rbp + 0x2b0]
mov r14d, 0xff
cmp rax, rbx
je 0x140055511
mov ecx, edi
cmovl ecx, r14d
test cl, cl
jns 0x140055511
add rax, 0x11e1a300
mov qword [rbp + 0x2b0], rax
movabs rbx, 0x7fffffffffffffff
jmp 0x140055522
movabs rbx, 0x7fffffffffffffff
mov qword [rbp + 0x2b0], rbx
lea rcx, [rbp + 0x2b0]
call fcn.14006fdc0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov cl, reloc.WLDAP32.dll_Ordinal_50
call qword [sym.imp.USER32.dll_keybd_event]
lea rcx, [rbp + 0x2b0]
call fcn.1400415e0
movabs rsi, 0x7ffffffffa0a1eff
mov rax, qword [rbp + 0x2b0]
cmp rax, rsi
je 0x140055578
cmovl edi, r14d
test dil, dil
jns 0x140055578
add rax, 0x5f5e100
mov qword [rbp + 0x2b0], rax
jmp 0x14005557f
mov qword [rbp + 0x2b0], rbx
lea rcx, [rbp + 0x2b0]
call fcn.14006fdc0
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
mov cl, reloc.WLDAP32.dll_Ordinal_50
call qword [sym.imp.USER32.dll_keybd_event]
lea rcx, [0x140130860]
cmp byte [0x140131b47], 0
je 0x1400555bb
mov r8d, reloc.WS2_32.dll_ntohs
lea rdx, [0x140111c48]
jmp 0x1400555c8
mov r8d, reloc.WS2_32.dll_socket
lea rdx, [0x140111c58]
call fcn.14006c8d0
nop
lea rcx, [rbp + 0xe0]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x140]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
jmp 0x140056000
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov r14, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
mov ecx, edi
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r13d, eax
mov rcx, r14
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rsi, rax
mov r8d, r13d
mov edx, ebx
mov rcx, r14
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov r15, rax
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
mov r12, rax
mov dword [rsp + 0x40], 0xcc0020
xor eax, eax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r13d
mov r9d, ebx
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.GDI32.dll_BitBlt]
mov dword [rbp - Ordinal_46], 0x28
mov dword [rbp - 0x24], ebx
mov eax, r13d
neg eax
mov dword [rbp + 0x2b0], eax
mov dword [rbp - 0x20], eax
mov qword [rbp - 0x1c], 0x180001
xor eax, eax
mov qword [rbp - 0x14], rax
mov qword [rbp - 0xc], rax
mov dword [rbp - 4], eax
mov dword [rbp + 0x2b8], ebx
mov dword [rbp + 0x2bc], r13d
lea r8d, [rax + 0x10]
mov rdx, qword [rbp + 0x2b8]
lea rcx, [rbp + 0x20]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::constructor_class_cv::Size__int___int____ptr64]
nop
xor ebx, ebx
mov dword [rsp + 0x30], ebx
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, r13d
xor r8d, r8d
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.GDI32.dll_GetDIBits]
mov r8d, edi
lea rdx, str.data_food.png
lea rcx, [rbp + 0x80]
call qword [sym.imp.opencv_world490.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
lea rcx, [rbp + 0x80]
call qword [sym.imp.opencv_world490.dll_public:_bool___cdecl_cv::Mat::empty_void_const___ptr64]
test al, al
jne 0x140055719
lea rcx, [rbp + 0x20]
call qword [sym.imp.opencv_world490.dll_public:_bool___cdecl_cv::Mat::empty_void_const___ptr64]
test al, al
je 0x140055737
xor r9d, r9d
lea r8, [0x140110b18]
lea rdx, [0x140111ab0]
mov rcx, qword [0x140131b08]
call qword [sym.imp.USER32.dll_MessageBoxW]
lea rcx, [rbp + 0xe0]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::constructor_void____ptr64]
nop
call qword [sym.imp.opencv_world490.dll_class_cv::_InputOutputArray_const____ptr64___cdecl_cv::noArray_void_]
mov qword [rsp + 0x68], rbx
mov dword [rsp + 0x58], 0x2010000
lea rcx, [rbp + 0xe0]
mov qword [rsp + 0x60], rcx
mov qword [rbp - 0x58], rbx
mov dword [rbp - 0x68], 0x1010000
lea rcx, [rbp + 0x80]
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x70], rbx
mov dword [rbp - 0x80], 0x1010000
lea rcx, [rbp + 0x20]
mov qword [rbp - 0x78], rcx
mov qword [rsp + 0x20], rax
mov r9d, 5
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x80]
call qword [sym.imp.opencv_world490.dll_void___cdecl_cv::matchTemplate_class_cv::_InputArray_const____ptr64__class_cv::_InputArray_const____ptr64__class_cv::_OutputArray_const____ptr64__int__class_cv::_InputArray_const____ptr64_]
mov qword [rbp + 0x2c8], rbx
mov qword [rbp + 0x2c0], rbx
call qword [sym.imp.opencv_world490.dll_class_cv::_InputOutputArray_const____ptr64___cdecl_cv::noArray_void_]
mov qword [rsp + 0x68], rbx
mov dword [rsp + 0x58], 0x1010000
lea rcx, [rbp + 0xe0]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x2c0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x2c8]
lea r8, [rbp]
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x58]
call qword [sym.imp.opencv_world490.dll_void___cdecl_cv::minMaxLoc_class_cv::_InputArray_const____ptr64__double____ptr64__double____ptr64__class_cv::Point__int_____ptr64__class_cv::Point__int_____ptr64__class_cv::_InputArray_const____ptr64_]
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteDC]
movsd xmm0, qword [rbp]
comisd xmm0, xmmword [0x14011c448]
jbe 0x140055edc
xor r9d, r9d
xor r8d, r8d
xor edx, edx
movzx ecx, byte [0x140130158]
call qword [sym.imp.USER32.dll_keybd_event]
lea rcx, [rsp + 0x78]
call fcn.1400415e0
movabs rsi, 0x7ffffffffa0a1eff
mov rax, qword [rsp + 0x78]
mov r14d, 0xff
cmp rax, rsi
je 0x140055897
mov ecx, edi
cmovl ecx, r14d
test cl, cl
jns 0x140055897
add rax, 0x5f5e100
mov qword [rsp + 0x70], rax
movabs rbx, 0x7fffffffffffffff
jmp 0x1400558a6
movabs rbx, 0x7fffffffffffffff
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x70]
call fcn.14006fdc0
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
movzx ecx, byte [0x140130158]
call qword [sym.imp.USER32.dll_keybd_event]
lea rcx, [rsp + 0x78]
call fcn.1400415e0
movabs rdx, 0x7fffffffe2329aff
mov rax, qword [rsp + 0x78]
cmp rax, rdx
je 0x1400558fb
mov ecx, edi
cmovl ecx, r14d
test cl, cl
jns 0x1400558fb
add rax, 0x1dcd6500
mov qword [rsp + 0x70], rax
jmp 0x140055900
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x70]
call fcn.14006fdc0
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov r15, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
mov rcx, r15
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r14, rax
mov r8d, r13d
mov edx, ebx
mov rcx, r15
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov r12, rax
mov rdx, rax
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x40], 0xcc0020
xor eax, eax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r13d
mov r9d, ebx
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.GDI32.dll_BitBlt]
mov dword [rbp - 0x50], Ordinal_46
mov dword [rbp - 0x4c], ebx
mov eax, dword [rbp + 0x2b0]
mov dword [rbp - 0x48], eax
mov qword [rbp - 0x44], 0x180001
xor eax, eax
mov qword [rbp - 0x3c], rax
mov qword [rbp - 0x34], rax
mov dword [rbp - 0x2c], eax
mov dword [rbp + 0x2b0], ebx
mov dword [rbp + 0x2b4], r13d
lea r8d, [rax + 0x10]
mov rdx, qword [rbp + 0x2b0]
lea rcx, [rbp + 0x140]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::constructor_class_cv::Size__int___int____ptr64]
nop
xor eax, eax
mov dword [rsp + 0x30], eax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x150]
mov qword [rsp + 0x20], rax
mov r9d, r13d
xor r8d, r8d
mov rdx, r12
mov rcx, r14
call qword [sym.imp.GDI32.dll_GetDIBits]
mov r8d, edi
lea rdx, str.data_salad.png
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.opencv_world490.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
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.opencv_world490.dll_public:_bool___cdecl_cv::Mat::empty_void_const___ptr64]
test al, al
jne 0x140055a2f
lea rcx, [rbp + 0x140]
call qword [sym.imp.opencv_world490.dll_public:_bool___cdecl_cv::Mat::empty_void_const___ptr64]
test al, al
je 0x140055a4d
xor r9d, r9d
lea r8, [0x140110b18]
lea rdx, [0x140111b00]
mov rcx, qword [0x140131b08]
call qword [sym.imp.USER32.dll_MessageBoxW]
lea rcx, [rbp + 0x200]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::constructor_void____ptr64]
nop
call qword [sym.imp.opencv_world490.dll_class_cv::_InputOutputArray_const____ptr64___cdecl_cv::noArray_void_]
xor r13d, r13d
mov qword [rsp + 0x68], r13
mov dword [rsp + 0x58], 0x2010000
lea rcx, [rbp + 0x200]
mov qword [rsp + 0x60], rcx
mov qword [rbp - 0x58], r13
mov dword [rbp - 0x68], 0x1010000
lea rcx, [rbp + 0x1a0]
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x70], r13
mov dword [rbp - 0x80], 0x1010000
lea rcx, [rbp + 0x140]
mov qword [rbp - 0x78], rcx
mov qword [rsp + 0x20], rax
lea r9d, [r13 + 5]
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x80]
call qword [sym.imp.opencv_world490.dll_void___cdecl_cv::matchTemplate_class_cv::_InputArray_const____ptr64__class_cv::_InputArray_const____ptr64__class_cv::_OutputArray_const____ptr64__int__class_cv::_InputArray_const____ptr64_]
mov qword [rsp + 0x50], r13
mov qword [rbp + 0x2b8], r13
call qword [sym.imp.opencv_world490.dll_class_cv::_InputOutputArray_const____ptr64___cdecl_cv::noArray_void_]
mov qword [rsp + 0x68], r13
mov dword [rsp + 0x58], 0x1010000
lea rcx, [rbp + 0x200]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x2b8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, [rbp + 8]
lea rdx, [rbp + 0x18]
lea rcx, [rsp + 0x58]
call qword [sym.imp.opencv_world490.dll_void___cdecl_cv::minMaxLoc_class_cv::_InputArray_const____ptr64__double____ptr64__double____ptr64__class_cv::Point__int_____ptr64__class_cv::Point__int_____ptr64__class_cv::_InputArray_const____ptr64_]
mov rdx, qword [rsp + 0x78]
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, r12
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteDC]
movsd xmm0, qword [rbp + 8]
comisd xmm0, xmmword [0x14011c448]
jbe 0x140055e07
cmp byte [0x140131b47], r13b
je 0x140055b6b
lea rdx, [0x140111b48]
lea r8d, [r13 + 0xf]
jmp 0x140055b78
lea rdx, [0x140111b58]
mov r8d, reloc.WS2_32.dll_send
lea rcx, [0x140130860]
call fcn.14006c8d0
mov edx, dword [rbp + 0x2bc]
mov ecx, dword [rbp + 0x2b8]
call qword [sym.imp.USER32.dll_SetCursorPos]
lea rcx, [rbp + 0x2b0]
call fcn.1400415e0
movabs rbx, 0x7fffffffee1e5cff
mov rax, qword [rbp + 0x2b0]
mov r15d, 0xff
cmp rax, rbx
je 0x140055be1
mov ecx, edi
cmovl ecx, r15d
test cl, cl
jns 0x140055be1
add rax, 0x11e1a300
mov qword [rbp + 0x2b0], rax
movabs r14, 0x7fffffffffffffff
jmp 0x140055bf2
movabs r14, 0x7fffffffffffffff
mov qword [rbp + 0x2b0], r14
lea rcx, [rbp + 0x2b0]
call fcn.14006fdc0
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 8]
call qword [sym.imp.USER32.dll_mouse_event]
lea rcx, [rbp + 0x2b0]
call fcn.1400415e0
mov rax, qword [rbp + 0x2b0]
cmp rax, rbx
je 0x140055c45
mov ecx, edi
cmovl ecx, r15d
test cl, cl
jns 0x140055c45
add rax, 0x11e1a300
mov qword [rbp + 0x2b0], rax
jmp 0x140055c4c
mov qword [rbp + 0x2b0], r14
lea rcx, [rbp + 0x2b0]
call fcn.14006fdc0
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 0x10]
call qword [sym.imp.USER32.dll_mouse_event]
lea rcx, [rbp + 0x2b0]
call fcn.1400415e0
movabs rdx, 0x7fffffffd646d8ff
mov rax, qword [rbp + 0x2b0]
cmp rax, rdx
je 0x140055ca9
mov ecx, edi
cmovl ecx, r15d
test cl, cl
jns 0x140055ca9
add rax, 0x29b92700
mov qword [rbp + 0x2b0], rax
jmp 0x140055cb0
mov qword [rbp + 0x2b0], r14
lea rcx, [rbp + 0x2b0]
call fcn.14006fdc0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
movzx ecx, byte [0x140130158]
call qword [sym.imp.USER32.dll_keybd_event]
lea rcx, [rbp + 0x2b0]
call fcn.1400415e0
mov rax, qword [rbp + 0x2b0]
cmp rax, rsi
je 0x140055d02
mov ecx, edi
cmovl ecx, r15d
test cl, cl
jns 0x140055d02
add rax, 0x5f5e100
mov qword [rbp + 0x2b0], rax
jmp 0x140055d09
mov qword [rbp + 0x2b0], r14
lea rcx, [rbp + 0x2b0]
call fcn.14006fdc0
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
movzx ecx, byte [0x140130158]
call qword [sym.imp.USER32.dll_keybd_event]
lea rcx, [rbp + 0x2b0]
call fcn.1400415e0
mov rax, qword [rbp + 0x2b0]
cmp rax, rbx
je 0x140055d5c
mov ecx, edi
cmovl ecx, r15d
test cl, cl
jns 0x140055d5c
add rax, 0x11e1a300
mov qword [rbp + 0x2b0], rax
jmp 0x140055d63
mov qword [rbp + 0x2b0], r14
lea rcx, [rbp + 0x2b0]
call fcn.14006fdc0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov cl, reloc.WLDAP32.dll_Ordinal_50
call qword [sym.imp.USER32.dll_keybd_event]
lea rcx, [rbp + 0x2b0]
call fcn.1400415e0
mov rax, qword [rbp + 0x2b0]
cmp rax, rsi
je 0x140055daf
cmovl edi, r15d
test dil, dil
jns 0x140055daf
add rax, 0x5f5e100
mov qword [rbp + 0x2b0], rax
jmp 0x140055db6
mov qword [rbp + 0x2b0], r14
lea rcx, [rbp + 0x2b0]
call fcn.14006fdc0
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
mov cl, reloc.WLDAP32.dll_Ordinal_50
call qword [sym.imp.USER32.dll_keybd_event]
lea rcx, [0x140130860]
cmp byte [0x140131b47], r13b
je 0x140055df5
mov r8d, reloc.WS2_32.dll_ntohs
lea rdx, [0x140111b70]
jmp 0x140055ea8
mov r8d, reloc.WS2_32.dll_socket
lea rdx, [0x140111b80]
jmp 0x140055ea8
xor r9d, r9d
xor r8d, r8d
xor edx, edx
movzx ecx, byte [0x140130158]
call qword [sym.imp.USER32.dll_keybd_event]
lea rcx, [rbp + 0x2b0]
call fcn.1400415e0
mov rax, qword [rbp + 0x2b0]
cmp rax, rsi
je 0x140055e49
mov ecx, 0xff
cmovl edi, ecx
test dil, dil
jns 0x140055e49
add rax, 0x5f5e100
jmp 0x140055e53
movabs rax, 0x7fffffffffffffff
mov qword [rbp + 0x2b0], rax
lea rcx, [rbp + 0x2b0]
call fcn.14006fdc0
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
movzx ecx, byte [0x140130158]
call qword [sym.imp.USER32.dll_keybd_event]
lea rcx, [0x140130860]
cmp byte [0x140131b47], r13b
je 0x140055e9b
mov r8d, reloc.WS2_32.dll_select
lea rdx, [0x140111b98]
jmp 0x140055ea8
mov r8d, reloc.WLDAP32.dll_Ordinal_26
lea rdx, [0x140111bb0]
call fcn.14006c8d0
nop
lea rcx, [rbp + 0x200]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x140]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
jmp 0x140055fe4
lea rcx, [rbp + 0x2b0]
call fcn.1400415e0
movabs rbx, 0x7fffffffee1e5cff
mov rax, qword [rbp + 0x2b0]
mov r14d, 0xff
cmp rax, rbx
je 0x140055f27
mov ecx, edi
cmovl ecx, r14d
test cl, cl
jns 0x140055f27
add rax, 0x11e1a300
mov qword [rbp + 0x2b0], rax
movabs rbx, 0x7fffffffffffffff
jmp 0x140055f38
movabs rbx, 0x7fffffffffffffff
mov qword [rbp + 0x2b0], rbx
lea rcx, [rbp + 0x2b0]
call fcn.14006fdc0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov cl, reloc.WLDAP32.dll_Ordinal_50
call qword [sym.imp.USER32.dll_keybd_event]
lea rcx, [rbp + 0x2b0]
call fcn.1400415e0
movabs rsi, 0x7ffffffffa0a1eff
mov rax, qword [rbp + 0x2b0]
cmp rax, rsi
je 0x140055f8e
cmovl edi, r14d
test dil, dil
jns 0x140055f8e
add rax, 0x5f5e100
mov qword [rbp + 0x2b0], rax
jmp 0x140055f95
mov qword [rbp + 0x2b0], rbx
lea rcx, [rbp + 0x2b0]
call fcn.14006fdc0
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
mov cl, reloc.WLDAP32.dll_Ordinal_50
call qword [sym.imp.USER32.dll_keybd_event]
lea rcx, [0x140130860]
cmp byte [0x140131b47], 0
je 0x140055fd1
mov r8d, reloc.WS2_32.dll_ntohs
lea rdx, [0x140111b70]
jmp 0x140055fde
mov r8d, reloc.WS2_32.dll_socket
lea rdx, [0x140111b80]
call fcn.14006c8d0
nop
lea rcx, [rbp + 0xe0]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x80]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x20]
call qword [sym.imp.opencv_world490.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
add rsp, 0x368
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret