Function at 0x14001119f
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
jmp 0x14001ee30
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x20]
lea rcx, [0x140045131]
call fcn.140011cf3
nop
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x14001ee9f
lea rdx, str.Failed_to_open_clipboard.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14001119a
lea rdx, [0x14001108c]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov byte [rbp + 0xe4], 0
mov rcx, qword [rbp + 0x1b0]
call fcn.1400112a3
movzx eax, byte [rbp + 0xe4]
jmp 0x14001f047
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x14001eef3
lea rdx, str.Failed_to_empty_clipboard.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14001119a
lea rdx, [0x14001108c]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
mov byte [rbp + 0x104], 0
mov rcx, qword [rbp + 0x1b0]
call fcn.1400112a3
movzx eax, byte [rbp + 0x104]
jmp 0x14001f047
mov rcx, qword [rbp + 0x1b0]
call fcn.14001196f
inc rax
mov rdx, rax
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x14001ef65
lea rdx, str.Failed_to_allocate_global_memory.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14001119a
lea rdx, [0x14001108c]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
mov byte [rbp + 0x124], 0
mov rcx, qword [rbp + 0x1b0]
call fcn.1400112a3
movzx eax, byte [rbp + 0x124]
jmp 0x14001f047
mov rcx, qword [rbp + 0x1b0]
call fcn.14001196f
inc rax
mov qword [rbp + 0x178], rax
mov rcx, qword [rbp + 0x1b0]
call fcn.14001114a
mov qword [rbp + 0x180], rax
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rcx, qword [rbp + 0x178]
mov r8, rcx
mov rcx, qword [rbp + 0x180]
mov rdx, rcx
mov rcx, rax
call fcn.14001166d
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
nop
mov rdx, qword [rbp + 8]
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
jne 0x14001f026
lea rdx, str.Failed_to_set_clipboard_data.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14001119a
lea rdx, [0x14001108c]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
mov byte [rbp + 0x144], 0
mov rcx, qword [rbp + 0x1b0]
call fcn.1400112a3
movzx eax, byte [rbp + 0x144]
jmp 0x14001f047
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
mov byte [rbp + 0x164], 1
mov rcx, qword [rbp + 0x1b0]
call fcn.1400112a3
movzx eax, byte [rbp + 0x164]
lea rsp, [rbp + 0x198]
pop rdi
pop rbp
ret