Function at 0x1400115af
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
jmp 0x14001e880
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x228
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 0x14001e8ef
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 + 0x124], 0
mov rcx, qword [rbp + 0x220]
call fcn.1400112a3
movzx eax, byte [rbp + 0x124]
jmp 0x14001eb21
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x14001e943
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 + 0x144], 0
mov rcx, qword [rbp + 0x220]
call fcn.1400112a3
movzx eax, byte [rbp + 0x144]
jmp 0x14001eb21
mov rcx, qword [rbp + 0x220]
call fcn.14001196f
inc rax
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
add rax, 0x15
mov rdx, rax
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x14001e9c1
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 + 0x164], 0
mov rcx, qword [rbp + 0x220]
call fcn.1400112a3
movzx eax, byte [rbp + 0x164]
jmp 0x14001eb21
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jne 0x14001ea2b
lea rdx, str.Failed_to_lock_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
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
mov byte [rbp + 0x184], 0
mov rcx, qword [rbp + 0x220]
call fcn.1400112a3
movzx eax, byte [rbp + 0x184]
jmp 0x14001eb21
mov rax, qword [rbp + 0x48]
mov dword [rax], 0x14
mov dword [rbp + 0x1a4], 0
mov dword [rbp + 0x1a8], 0
mov rax, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x1a4]
mov qword [rax + 4], rcx
mov rax, qword [rbp + 0x48]
mov dword [rax + 0xc], 0
mov rax, qword [rbp + 0x48]
mov dword [rax + 0x10], 0
mov rcx, qword [rbp + 0x220]
call fcn.14001114a
mov rcx, qword [rbp + 0x48]
add rcx, 0x14
mov r8, qword [rbp + 8]
mov rdx, rax
call fcn.14001166d
nop
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
nop
mov rdx, qword [rbp + 0x28]
mov ecx, 0xf
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
jne 0x14001eb00
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 + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
mov byte [rbp + 0x1c4], 0
mov rcx, qword [rbp + 0x220]
call fcn.1400112a3
movzx eax, byte [rbp + 0x1c4]
jmp 0x14001eb21
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
mov byte [rbp + 0x1e4], 1
mov rcx, qword [rbp + 0x220]
call fcn.1400112a3
movzx eax, byte [rbp + 0x1e4]
lea rsp, [rbp + 0x208]
pop rdi
pop rbp
ret