Function at 0x1400192bc
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x38]
sub rsp, 0x110
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14010a078]
xor rax, rsp
mov qword [rbp], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor r12d, r12d
cmp qword [rcx + 0x200], r12
jne 0x140019314
mov eax, 0x8000ffff
jmp 0x140019686
cmp qword [rcx + 0x1408], r12
jne 0x14001932e
call fcn.140050bec
mov qword [rdi + 0x1408], rax
test rax, rax
je 0x14001930a
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1401120c8], eax
jle 0x140019391
lea rcx, [0x1401120c8]
call fcn.1400e2950
cmp dword [0x1401120c8], 0xffffffff
jne 0x140019391
lea rcx, str.MathML_Presentation
call qword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov dword [0x1401114e8], eax
lea rcx, str.MathML
call qword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov dword [0x1401114ec], eax
lea rcx, [0x1401120c8]
call fcn.1400e28e4
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov rcx, qword [rdi + 0x200]
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
mov rax, qword [rax + 0xa0]
call qword [case.0x1400739fa.0]
mov ebx, eax
test eax, eax
js 0x140019655
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400193e9
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
mov rax, qword [rax + 0x40]
call qword [case.0x1400739fa.0]
mov ebx, eax
mov rcx, qword [rsp + 0x30]
test ebx, ebx
js 0x14001965a
mov rcx, qword [rdi + 0x1408]
mov rax, qword [rcx]
lea r8, [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
mov rax, qword [rax + 0x50]
call qword [case.0x1400739fa.0]
mov ebx, eax
test eax, eax
js 0x140019655
lea rcx, str.__xml_version_1.0__encoding_utf_16____
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
test rax, rax
je 0x1400196b3
mov rsi, qword [rsp + 0x38]
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x14001946c
mov qword [rsp + 0x28], r12
lea r8, [rsp + 0x28]
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_VarBstrCmp]
test eax, eax
js 0x14001946c
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rbx, qword [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_VariantInit]
mov esi, eax
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140019535
call qword [sym.imp.USER32.dll_EmptyClipboard]
lea r14d, [rsi + 1]
add r14, r14
lea r15, [0x1401114e8]
mov r13d, 2
mov edi, esi
mov rdx, r14
mov ecx, 0x42
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
test rax, rax
je 0x14001951c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r12, rax
test rax, rax
je 0x1400194ff
mov r8, r14
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
mov r8, rdi
add r8, r8
lea rcx, [r12 + 2]
mov rdx, rbx
call sub.msvcrt.dll_memcpy
mov eax, 0xfeff
mov word [r12], ax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rsi
mov ecx, dword [r15]
call qword [sym.imp.USER32.dll_SetClipboardData]
xor r12d, r12d
test rax, rax
jne 0x14001951c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
add r15, 4
sub r13, 1
jne 0x1400194a5
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rdi, qword [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
xor edx, edx
mov r8d, LoadRegTypeLib
lea rcx, [rsp + 0x60]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x60], 1
mov eax, 0x11
mov word [rsp + 0x68], ax
mov dword [rbp - 0x78], 1
lea ecx, [rax + 0x45]
mov word [rbp - 0x70], cx
mov dword [rbp - 0x50], 1
mov dword [rbp - 0x44], 2
mov word [rbp - 0x48], ax
mov dword [rbp - 0x28], 1
mov dword [rbp - 0x1c], 2
mov word [rbp - 0x20], cx
lea r8d, [rax + 0x17]
lea rdx, [rsp + 0x60]
lea ecx, [rax - 0xd]
call qword [sym.imp.USER32.dll_SendInput]
mov qword [rsp + 0x28], r12
mov rcx, qword [rdi + 0x200]
mov rax, qword [rcx]
lea rdx, [rsp + 0x28]
mov rax, qword [rax + 0x90]
call qword [case.0x1400739fa.0]
mov ebx, eax
test eax, eax
js 0x140019627
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x140019611
mov dword [rsp + 0x20], r12d
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.14003ad08
test eax, eax
js 0x14001960c
cmp byte [0x140111ed4], r12b
je 0x14001960c
mov r8d, dword [rsp + 0x20]
mov edx, 0xe9b
lea rcx, [0x14010a498]
call fcn.1400373cc
mov rax, qword [rsp + 0x28]
lea rcx, [rdi + 0x1310]
mov r8, qword [rsp + 0x30]
mov rdx, rax
call fcn.140021bf0
mov ebx, eax
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x14001963e
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400739fa.0]
test ebx, ebx
js 0x140019655
cmp dword [rdi + 0x13f0], r12d
je 0x140019655
mov rcx, rdi
call fcn.140018f38
mov ebx, eax
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14001966d
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400739fa.0]
nop
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, ebx
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1400e27e0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x8007000e
call fcn.1400160a0
int3