Function at 0x140018330
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 0x1400185f6
mov rdx, qword [r8]
test rdx, rdx
je 0x1400185f6
call fcn.140015f40
mov rsi, rax
test rax, rax
je 0x1400185f6
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400185f6
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 0x1400185e6
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 0x1400185e6
mov qword [rsp + 0x40], rbx
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
lea rdx, [0x1400458f0]
call qword [rax]
test eax, eax
js 0x1400184b2
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 0x14001846b
lea r8, [0x1400458f0]
mov rdx, rdi
mov ecx, eax
call fcn.140032c50
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14001847c
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 0x1400184a8
lea r8, [0x1400458f0]
mov rdx, rbx
mov ecx, eax
call fcn.140032c50
nop
mov rcx, qword [rsp + 0x40]
jmp 0x1400185d5
mov qword [rsp + 0x30], rbx
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea r8, [rsp + 0x30]
lea rdx, [0x140045900]
call qword [rax]
test eax, eax
js 0x1400185db
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 0x140018505
lea r8, [0x140045900]
mov rdx, rdi
mov ecx, eax
call fcn.140032c50
mov rdi, qword [rsp + 0x38]
mov qword [rsp + 0x68], rdi
test rdi, rdi
je 0x140018623
mov qword [rsp + 0x50], rbx
mov rax, qword [rdi]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [rax + 0x90]
test eax, eax
jns 0x140018543
lea r8, [0x1400458e0]
mov rdx, rdi
mov ecx, eax
call fcn.140032c50
mov rsi, qword [rsp + 0x50]
mov qword [rsp + 0x70], rsi
test rsi, rsi
je 0x14001862e
mov qword [rsp + 0x38], rbx
mov rax, qword [rsi]
lea rdx, [rsp + 0x38]
mov rcx, rsi
call qword [rax + 0x140]
test eax, eax
jns 0x140018582
lea r8, [0x1400458d0]
mov rdx, rsi
mov ecx, eax
call fcn.140032c50
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140018593
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 0x1400185bc
lea r8, [0x140045900]
mov rdx, rbx
mov ecx, eax
call fcn.140032c50
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.140031b80
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.140032c40
nop
mov ecx, 0x80004003
call fcn.140032c40
int3