Function at 0x14005a130
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 rbp, rax
test rax, rax
jne 0x14005a18f
lea rdx, str.Flyff_Universe___Chromium
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
mov rbp, rax
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, rbp
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r8d, dword [rsp + 0x90]
mov esi, r8d
mov edx, dword [rsp + 0x94]
mov edi, edx
mov r15d, r8d
mov r12d, edx
test r8d, r8d
jns 0x14005a250
test edx, edx
jns 0x14005a250
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, rbp
call qword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [rsp + 0x94]
mov edi, edx
mov r8d, dword [rsp + 0x90]
mov r12d, edx
mov esi, 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, edi
mov edx, esi
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], esi
mov eax, edi
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, esi
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], edi
call qword [sym.imp.GDI32.dll_StretchBlt]
mov rsi, qword [rsp + 0x60]
lea rax, [rsp + 0x98]
mov dword [rsp + 0x30], r12d
mov r9d, edi
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, rbx
mov rcx, r13
mov rax, qword [rsi + 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, rbp
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rdx, rsi
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.14005a500
mov rbx, qword [rsp + 0x120]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret