Function at 0x140096fc4
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
sub rsp, 0x178
mov qword [rsp + 0x180], rcx
mov rax, qword [rsp + 0x180]
mov r10, qword [rax]
movabs r11, 1
add r10, r11
mov qword [rsp + 0x60], r10
mov ecx, 2
mov rdx, qword [rsp + 0x60]
call sub.KERNEL32.dll_GlobalAlloc
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
cmp rax, 0
je 0x140097048
nop
mov qword [rsp + 0x70], 0
jmp 0x140097055
nop
mov qword [rsp + 0x70], 1
nop
mov rax, qword [rsp + 0x70]
cmp rax, 0
je 0x14009711c
nop
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x90], eax
mov qword [rsp + 0x78], 7
lea rax, [rsp + 0x90]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x98], 1
lea rax, [rsp + 0x78]
mov qword [rsp + 0xa0], rax
mov rax, qword [0x1400d316a]
mov qword [rsp + 0x10], rax
mov rax, qword [str.z1_r_]
mov qword [rsp + 0x18], rax
lea rcx, [rsp + 0x10]
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
call fcn.1400028ee
mov al, 0
add rsp, 0x178
ret
nop
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_GlobalLock
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rsp + 0x180]
mov rdx, qword [rax + 8]
mov rax, qword [rsp + 0x180]
mov r8, qword [rax]
call fcn.14005c56b
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x180]
mov r10, qword [rax]
mov r11, qword [rsp + 0xb8]
mov byte [r11 + r10], 0
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_GlobalUnlock
mov dword [rsp + 0xc0], eax
movabs rcx, 0
call sub.USER32.dll_OpenClipboard
mov dword [rsp + 0xc8], eax
mov eax, dword [rsp + 0xc8]
cmp eax, 0
je 0x1400971eb
nop
mov dword [rsp + 0xd0], 0
jmp 0x1400971f7
nop
mov dword [rsp + 0xd0], 1
nop
mov eax, dword [rsp + 0xd0]
cmp eax, 0
je 0x1400972d1
nop
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0xe8], eax
mov eax, dword [rsp + 0xe8]
mov dword [rsp + 0xf0], eax
mov qword [rsp + 0xd8], 7
lea rax, [rsp + 0xf0]
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0xf8], 1
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x100], rax
mov rax, qword [0x1400d1151]
mov qword [rsp + 0x10], rax
mov rax, qword [str.Failed_to_open_clipboard_for_copying:___n]
mov qword [rsp + 0x18], rax
lea rcx, [rsp + 0x10]
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
call fcn.1400028ee
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_GlobalFree
mov qword [rsp + 0x108], rax
mov al, 0
add rsp, 0x178
ret
nop
call sub.USER32.dll_EmptyClipboard
mov dword [rsp + 0x110], eax
mov ecx, 1
mov rdx, qword [rsp + 0x58]
call sub.USER32.dll_SetClipboardData
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
cmp rax, 0
jne 0x1400973c3
nop
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x138], eax
mov eax, dword [rsp + 0x138]
mov dword [rsp + 0x140], eax
mov qword [rsp + 0x128], 7
lea rax, [rsp + 0x140]
mov qword [rsp + 0x130], rax
mov qword [rsp + 0x148], 1
lea rax, [rsp + 0x128]
mov qword [rsp + 0x150], rax
mov rax, qword [0x1400d5587]
mov qword [rsp + 0x10], rax
mov rax, qword [str.Failed_to_set_clipboard_data_for_copying:___n]
mov qword [rsp + 0x18], rax
lea rcx, [rsp + 0x10]
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
call fcn.1400028ee
nop
call sub.USER32.dll_CloseClipboard
mov dword [rsp + 0x158], eax
mov rax, qword [rsp + 0x118]
cmp rax, 0
je 0x1400973f4
nop
mov byte [rsp + 0x160], 1
jmp 0x1400973fe
nop
mov byte [rsp + 0x160], 0
nop
mov al, byte [rsp + 0x160]
mov byte [rsp + 0x50], al
mov al, byte [rsp + 0x50]
add rsp, 0x178
ret