Function at 0x140018370
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0xa0
mov rax, qword [0x14005b010]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rdi, r8
xor ebx, ebx
test r8, r8
je 0x140018636
mov rdx, qword [r8]
test rdx, rdx
je 0x140018636
call fcn.140015f80
mov rsi, rax
test rax, rax
je 0x140018636
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140018636
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, rsi
lea ecx, [rbx + 8]
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov qword [rsp + 0x48], rbx
lea rdx, [rdi + 0x109c]
lea rcx, [rsp + 0x58]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::constructor_wchar_t_const____ptr64____ptr64]
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x80], xmm0
lea rcx, [rsp + 0x58]
call qword [sym.imp.CrlPlatform.dll_public:_wchar_t_const____ptr64___cdecl_CrlPlatform::CrlStringT_wchar_t_::operator_wchar_t_const____ptr64_void_const___ptr64]
mov rcx, rax
lea rdx, [rsp + 0x80]
call qword [sym.imp.ole32.dll_CLSIDFromProgID]
test eax, eax
js 0x140018626
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [0x140039518]
xor edx, edx
lea r8d, [rbx + 4]
lea rcx, [rsp + 0x80]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140018626
mov qword [rsp + 0x40], rbx
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
lea rdx, [0x140045908]
call qword [rax]
test eax, eax
js 0x1400184f2
mov rdi, qword [rsp + 0x40]
mov qword [rsp + 0x30], rbx
mov rax, qword [rdi]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [rax + 0x1e0]
test eax, eax
jns 0x1400184ab
lea r8, [0x140045908]
mov rdx, rdi
mov ecx, eax
call fcn.1400332d0
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400184bc
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rbx, qword [rsp + 0x40]
mov rax, qword [rbx]
mov edx, 0xffffffff
mov rcx, rbx
call qword [rax + 0xf0]
test eax, eax
jns 0x1400184e8
lea r8, [0x140045908]
mov rdx, rbx
mov ecx, eax
call fcn.1400332d0
nop
mov rcx, qword [rsp + 0x40]
jmp 0x140018615
mov qword [rsp + 0x30], rbx
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea r8, [rsp + 0x30]
lea rdx, [0x1400458f8]
call qword [rax]
test eax, eax
js 0x14001861b
mov rdi, qword [rsp + 0x30]
mov qword [rsp + 0x38], rbx
mov rax, qword [rdi]
lea rdx, [rsp + 0x38]
mov rcx, rdi
call qword [rax + operator]
test eax, eax
jns 0x140018545
lea r8, [0x1400458f8]
mov rdx, rdi
mov ecx, eax
call fcn.1400332d0
mov rdi, qword [rsp + 0x38]
mov qword [rsp + 0x68], rdi
test rdi, rdi
je 0x140018663
mov qword [rsp + 0x50], rbx
mov rax, qword [rdi]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [rax + 0x90]
test eax, eax
jns 0x140018583
lea r8, [0x1400458d8]
mov rdx, rdi
mov ecx, eax
call fcn.1400332d0
mov rsi, qword [rsp + 0x50]
mov qword [rsp + 0x70], rsi
test rsi, rsi
je 0x14001866e
mov qword [rsp + 0x38], rbx
mov rax, qword [rsi]
lea rdx, [rsp + 0x38]
mov rcx, rsi
call qword [rax + 0x140]
test eax, eax
jns 0x1400185c2
lea r8, [0x1400458e8]
mov rdx, rsi
mov ecx, eax
call fcn.1400332d0
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400185d3
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rbx, qword [rsp + 0x30]
mov rax, qword [rbx]
mov edx, 0xffffffff
mov rcx, rbx
call qword [rax + 0x50]
test eax, eax
jns 0x1400185fc
lea r8, [0x1400458f8]
mov rdx, rbx
mov ecx, eax
call fcn.1400332d0
nop
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x10]
nop
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov ebx, 1
lea rcx, [rsp + 0x58]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::destructor_void____ptr64]
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, ebx
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140032200
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
mov ecx, 0x80004003
call fcn.1400332c0
nop
mov ecx, 0x80004003
call fcn.1400332c0
int3