Function at 0x14005a780
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd0
mov rax, qword [0x140073040]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov r14, rdx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x70], rdx
xor ecx, ecx
lea rdx, str.Flyff_Universe___Google_Chrome
call qword [sym.imp.USER32.dll_FindWindowW]
mov rdi, rax
mov ebx, 1
test rax, rax
jne 0x14005a863
lea rdx, str.Flyff_Universe___Chromium
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
mov rdi, rax
test rax, rax
jne 0x14005a863
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Unable_to_find_a_Flyff_Chrome_Window__n
call fcn.140005df0
mov rcx, rax
lea rdx, str.Log_in_and_press_enter_in_this_window_to_try_again__n
call fcn.140005df0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
lea r8d, [rbx - 2]
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::ignore_long_long___int64___int____ptr64]
lea rdx, str.Flyff_Universe___Google_Chrome
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
mov rdi, rax
test rax, rax
jne 0x14005a850
lea rdx, str.Flyff_Universe___Chromium
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
mov rdi, rax
test rax, rax
je 0x14005a863
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Found_the_window__switch_to_the_GUI_to_continue.__n
call fcn.140005df0
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
mov qword [rsp + 0x70], rax
mov rbx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rcx, rax
mov edx, 3
mov r13, rax
call qword [sym.imp.GDI32.dll_SetStretchBltMode]
lea rdx, [rsp + 0x88]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r8d, dword [rsp + 0x90]
mov ebp, r8d
mov edx, dword [rsp + 0x94]
mov esi, edx
mov r15d, r8d
mov r12d, edx
test r8d, r8d
jns 0x14005a924
test edx, edx
jns 0x14005a924
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Unable_to_use_the_Flyff_window__it_should_NOT_be_minimized__n
call fcn.140005df0
mov rcx, rax
lea rdx, str.Fix_it_and_press_enter_to_try_again__n
call fcn.140005df0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
mov edx, 1
lea r8d, [rdx - 2]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::ignore_long_long___int64___int____ptr64]
lea rdx, [rsp + 0x88]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [rsp + 0x94]
mov esi, edx
mov r8d, dword [rsp + 0x90]
mov r12d, edx
mov ebp, r8d
mov r15d, r8d
mov rcx, qword [rsp + 0x60]
mov r9d, 0x18
call qword [sym.imp.opencv_world470.dll_public:_void___cdecl_cv::Mat::create_int__int__int____ptr64]
mov r8d, esi
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rcx, r13
mov dword [rsp + 0x98], 0x28
mov rbx, rax
mov dword [rsp + 0x9c], ebp
mov eax, esi
mov qword [rsp + 0xa4], 0x200001
neg eax
mov rdx, rbx
mov dword [rsp + 0xa0], eax
xor eax, eax
mov qword [rsp + 0xac], rax
mov qword [rsp + 0xb4], rax
mov dword [rsp + 0xbc], eax
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x50], 0xcc0020
mov r9d, ebp
mov dword [rsp + 0x48], r12d
xor r8d, r8d
mov dword [rsp + 0x40], r15d
xor r12d, r12d
mov r15, qword [rsp + 0x70]
xor edx, edx
mov dword [rsp + 0x38], r12d
mov rcx, r13
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], esi
call qword [sym.imp.GDI32.dll_StretchBlt]
mov rbp, qword [rsp + 0x60]
lea rax, [rsp + 0x98]
mov dword [rsp + 0x30], r12d
mov r9d, esi
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, rbx
mov rcx, r13
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0x20], rax
call qword [sym.imp.GDI32.dll_GetDIBits]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r13
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.opencv_world470.dll_public:_void___cdecl_cv::Mat::constructor_class_cv::Mat_const____ptr64____ptr64]
mov rax, r14
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14005abd0
mov rbx, qword [rsp + 0x120]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret