Function at 0x140136c90
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xf0
movaps xmmword [rsp + 0xe0], xmm6
mov rax, qword [0x1403d5798]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov r14d, r8d
movaps xmm6, xmm1
mov edi, ecx
xor ebp, ebp
cmp dword [0x1403dd148], ebp
jne 0x140136f49
lea ecx, [rbp + 3]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x140136f49
mov r15d, 1
mov dword [0x1403dd148], r15d
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x140136d92
lea rdx, str._unable_to_open_clipboard_for_reading_
mov rbx, 0xffffffffffffffff
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], bp
jne 0x140136d20
mov r8d, eax
lea rcx, [0x1403db770]
call fcn.14012a7b0
lea rcx, [rsp + 0x20]
call fcn.14012f710
mov rdi, rax
mov r8, qword [rax]
cmp dword [r8 - 8], 1
jle 0x140136d5e
mov edx, dword [r8 - 0x10]
mov rcx, rax
call fcn.140129fb0
mov r8, qword [rdi]
lea rdx, str.Unable_to_open_clipboard_for_reading:_n_s
xor ecx, ecx
call fcn.14012fd50
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140136f3f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140136f3f
cmp dword [0x1403dd010], 3
cmove edi, r15d
xor esi, esi
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumClipboardFormats]
mov ebx, eax
test eax, eax
je 0x140136e56
mov r12d, 0x410c
nop word [rax + rax]
mov r8d, 0x50
lea rdx, [rsp + 0x30]
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetClipboardFormatNameW]
test eax, eax
je 0x140136e30
mov r8d, 7
lea rdx, [0x140304f68]
lea rcx, [rsp + 0x30]
call fcn.1402e09d4
test eax, eax
je 0x140136e0d
mov r8d, 0xa
lea rdx, str.Autosketch
lea rcx, [rsp + 0x30]
call fcn.1402e09d4
test eax, eax
jne 0x140136e10
mov edi, r15d
mov r8d, 0xa
lea rdx, str.IntelliCAD
lea rcx, [rsp + 0x30]
call fcn.1402e09d4
test eax, eax
jne 0x140136e44
mov ebp, r15d
jmp 0x140136e44
cmp ebx, 0xe
ja 0x140136e3f
bt r12d, ebx
jae 0x140136e3f
xor eax, eax
jmp 0x140136e42
mov eax, r15d
or esi, eax
mov ecx, ebx
call qword [sym.imp.USER32.dll_EnumClipboardFormats]
mov ebx, eax
test eax, eax
jne 0x140136dc0
test edi, edi
jne 0x140136ea7
mov eax, dword [0x1403dd010]
cmp eax, 3
je 0x140136ea4
cmp eax, 2
jne 0x140136e6e
test esi, esi
je 0x140136ea4
lea rdx, [0x140304fa8]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x140136e80
mov r8d, ebx
lea rcx, [0x1403db770]
call fcn.14012a7b0
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x140136f3f
mov edi, r15d
mov ecx, 3
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbx, rax
test rax, rax
je 0x140136e99
mov rcx, qword [0x1403dd140]
test rcx, rcx
je 0x140136ecf
mov rax, qword [rcx]
mov edx, r15d
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rsi, rax
mov ecx, 0x80
call fcn.14013f880
mov qword [rsp + 0x20], rax
test rax, rax
je 0x140136f01
mov r9d, ebp
movaps xmm2, xmm6
mov rdx, rsi
mov rcx, rax
call fcn.1401309b0
nop
mov qword [0x1403dd140], rax
mov dword [0x1403dd138], r15d
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, r14d
mov rcx, qword [0x1403dd140]
call fcn.1401329d0
test edi, edi
je 0x140136f3f
cmp dword [0x1403dcfc4], 0
je 0x140136f3f
call fcn.140136f80
mov dword [0x1403dd148], 0
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140169a70
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret