Function at 0x140009540
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
lea rdx, [0x14005d7d8]
mov rbx, rcx
mov edi, 1
call fcn.1400092d0
xor esi, esi
mov r14, rax
test rax, rax
jne 0x14000957a
mov edi, esi
jmp 0x1400096e9
test byte [0x14005da04], 2
je 0x1400095cc
mov rdx, qword [rax]
mov qword [rsp + 0x30], rbp
test rdx, rdx
je 0x1400095c5
call fcn.140015f40
mov rbp, rax
test rax, rax
je 0x1400095c5
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400095c5
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, rbp
mov ecx, 8
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x1400095c7
mov edi, esi
mov rbp, qword [rsp + 0x30]
test byte [0x14005da04], 8
je 0x14000965a
lea rcx, [r14 + 8]
call qword [sym.imp.CrlUtils.dll_bool___cdecl_SystemIO::File::Exists_wchar_t_const____ptr64_]
test al, al
je 0x14000960a
cmp dword [0x14005ee9c], esi
je 0x14000960a
mov edx, 1
mov dword [rbx + 0x22c], 2
mov rcx, rbx
call fcn.14000a0a0
test eax, eax
je 0x14000965a
mov rcx, qword [0x140060a30]
mov r8, r14
call fcn.140018710
test eax, eax
jne 0x140009635
mov dword [rbx + 0x228], 5
mov edi, esi
mov dword [rbx + 0x22c], 1
jmp 0x14000965a
cmp dword [0x14005ee2c], esi
je 0x14000965a
mov ecx, dword [0x14005ee3c]
mov eax, ecx
inc ecx
mov dword [0x14005ee3c], ecx
cmp eax, 0x3e7
jl 0x14000965a
mov dword [0x14005ee3c], esi
test byte [0x14005da04], 4
je 0x140009670
mov r8, r14
call fcn.140018920
test eax, eax
cmove edi, esi
test byte [0x14005da04], 0x40
je 0x140009699
mov rdx, rsi
test rbx, rbx
je 0x140009685
mov rdx, qword [rbx + 0x40]
mov rcx, qword [0x140060a30]
mov r8, r14
call fcn.140017da0
test eax, eax
cmove edi, esi
test byte [0x14005da04], 0x20
cmovne edi, esi
test byte [0x14005da04], 0x10
je 0x1400096e9
mov r8, r14
call fcn.140018330
test eax, eax
jne 0x1400096bc
mov edi, esi
jmp 0x1400096e9
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_SetActiveWindow]
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CMFCRibbonComboBox::FindItem]
lea rdx, [0x1400449a0]
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CMFCToolBar::SetOrigButtons]
cmp dword [0x14005f0d4], 0
jne 0x140009740
mov ecx, dword [0x14005dc2c]
sub ecx, 3
je 0x140009733
sub ecx, 1
je 0x14000972a
cmp ecx, 1
jne 0x140009740
lea rcx, [0x14005dc2c]
call qword [sym.imp.Caphk.dll_void___cdecl_CAPFreePolyPoints_struct_SOURCE_CAPTUREINFO____ptr64_]
lea rcx, [rbx + 0x2a0]
call qword [sym.imp.USER32.dll_SetRectEmpty]
lea rcx, [0x14005ddcc]
jmp 0x14000973a
lea rcx, [rbx + 0x290]
jmp 0x14000973a
lea rcx, [rbx + 0x280]
call qword [sym.imp.USER32.dll_SetRectEmpty]
test r14, r14
je 0x140009781
mov rbx, qword [r14]
test rbx, rbx
je 0x140009781
mov rcx, rbx
call qword [sym.imp.CdrRip.dll_struct___RPALETTE____ptr64___cdecl_RIPGetPalette_struct__RIMAGE____ptr64_]
test rax, rax
je 0x140009778
mov rcx, rbx
call qword [sym.imp.CdrRip.dll_struct___RPALETTE____ptr64___cdecl_RIPGetPalette_struct__RIMAGE____ptr64_]
mov rcx, rax
call qword [sym.imp.CdrRip.dll_int___cdecl_RIPDestroyPalette_struct___RPALETTE____ptr64_]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.CdrRip.dll_void___cdecl_RIPSetPalette_struct__RIMAGE____ptr64__struct___RPALETTE____ptr64_]
mov rcx, rbx
call qword [sym.imp.CdrRip.dll_int___cdecl_RIPDestroyImage_struct__RIMAGE____ptr64_]
mov rcx, r14
mov qword [r14], rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [rsp + 0x38]
mov eax, edi
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret