Function at 0x14000da90
Capabilities:
Read clipboard data
Write clipboard data

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rsi
push r13
push r14
push r15
sub rsp, 0x78
xor r14d, r14d
lea rcx, str.Rich_Text_Format
mov dword [r8], r14d
mov esi, r9d
mov r13, r8
call qword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov r15d, eax
test eax, eax
je 0x14000dda3
mov ecx, eax
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x14000dda3
mov qword [rsp + 0xb8], rbx
mov ecx, r15d
mov qword [rsp + 0x68], rdi
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov rcx, rdi
mov qword [rsp + 0x48], rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14000dcec
mov qword [rsp + 0x60], r12
lea ecx, [r14 + 2]
lea r12d, [rbx + rbx]
movsxd rdx, r12d
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
test rax, rax
jne 0x14000db68
test esi, esi
je 0x14000db5a
mov rcx, qword [rsp + 0xc0]
lea r9d, [r14 + 0x10]
lea r8, [0x1400eb388]
lea rdx, [0x140182a20]
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x14000dce7
mov rcx, rbx
mov qword [rsp + 0x70], rbp
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rbp, rax
test rax, rax
je 0x14000dcbd
mov rax, qword [rsp + 0x48]
mov r9, rbp
mov r8, qword [rsp + 0x50]
mov edx, dword [rsp + 0xa8]
mov ecx, dword [rsp + 0xa0]
mov dword [rsp + 0x40], eax
mov eax, dword [0x1401d7aec]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0xb0], r12d
call fcn.140029f30
mov dword [r13], eax
cmp eax, 6
jne 0x14000dc93
movsxd r12, dword [rsp + 0xb0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, r12
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalReAlloc]
test rax, rax
jne 0x14000dc36
test esi, esi
je 0x14000dc28
mov rcx, qword [rsp + 0xc0]
lea r9d, [rax + 0x10]
lea r8, [0x1400eb388]
lea rdx, [0x140182a20]
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x14000dcd9
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rbp, rax
test rax, rax
je 0x14000dcbd
mov rax, qword [rsp + 0x48]
mov r9, rbp
mov r8, qword [rsp + 0x50]
mov edx, dword [rsp + 0xa8]
mov ecx, dword [rsp + 0xa0]
mov dword [rsp + 0x40], eax
mov eax, dword [0x1401d7aec]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call fcn.140029f30
mov dword [r13], eax
test eax, eax
je 0x14000dd08
test esi, esi
je 0x14000dcbd
mov rcx, qword [rsp + 0xc0]
lea r8, str.Information
mov r9d, 0x10
lea rdx, str.Could_not_convert_RTF_clipboard._Possibly_not_enough_memory
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
test rbp, rbp
je 0x14000dcd4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
test rbx, rbx
je 0x14000dce2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rbp, qword [rsp + 0x70]
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov eax, r14d
mov rbx, qword [rsp + 0xb8]
add rsp, 0x78
pop r15
pop r14
pop r13
pop rsi
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
movsxd rax, dword [rsp + 0xb0]
cmp r12d, eax
jle 0x14000dd41
mov rdx, rax
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalReAlloc]
test rax, rax
je 0x14000dcd4
mov rbx, rax
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, rbx
mov ecx, r15d
call qword [sym.imp.USER32.dll_SetClipboardData]
mov r14d, 1
xor edx, edx
mov ecx, r14d
call qword [sym.imp.USER32.dll_SetClipboardData]
xor edx, edx
lea ecx, [rdx + 0xd]
call qword [sym.imp.USER32.dll_SetClipboardData]
mov qword [0x1401da538], rbx
test esi, esi
je 0x14000dce2
mov rcx, qword [rsp + 0xc0]
lea r9d, [r14 + 0x3f]
lea r8, str.Result
lea rdx, str.Successfully_converted_RTF_clipboard
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x14000dce2
xor eax, eax
add rsp, 0x78
pop r15
pop r14
pop r13
pop rsi
ret