Function at 0x1401329d0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov r12d, edx
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateMetaFileW]
mov r15, rax
mov rcx, rax
call fcn.140154750
mov rdi, rax
call fcn.1401404b8
mov rcx, qword [rax + 8]
call fcn.140141194
nop
xor r13d, r13d
cmp dword [rbx + 0xc], r13d
jne 0x140132a3b
cmp dword [rbx + 0x10], r13d
jne 0x140132a3b
lea rdx, str.Metafile_not_properly_loaded.
xor ecx, ecx
call fcn.14012fd50
mov edi, r13d
mov qword [rbp + 0x58], r13
mov esi, r13d
jmp 0x140132a54
xor r9d, r9d
mov r8, rdi
lea rdx, [rbp + 0x58]
mov rcx, rbx
call fcn.140130c70
nop
mov esi, dword [rbp + 0x5c]
mov edi, dword [rbp + 0x58]
lea rcx, [rbp + 0x40]
call fcn.140130af0
mov edx, 0x18
mov ecx, 0x2042
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r14, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rbx, rax
mov dword [rax], 8
mov rcx, r15
call qword [sym.imp.GDI32.dll_CloseMetaFile]
mov qword [rbx + 0x10], rax
movd xmm0, edi
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x1403020e8]
divsd xmm0, qword [0x1403dd0d0]
cvttsd2si ecx, xmm0
mov dword [rbx + 4], ecx
mov r8d, edi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [rbx + 8], eax
movd xmm3, eax
cvtdq2pd xmm3, xmm3
movd xmm2, dword [rbx + 4]
cvtdq2pd xmm2, xmm2
cmp dword [0x1403dcfd0], 0
je 0x140132aef
lea rdx, str._size:__.1f___.1f_cm_
divsd xmm2, qword [0x1403020d8]
divsd xmm3, qword [0x1403020d8]
jmp 0x140132b06
lea rdx, str._size:__.2f____.2f__
divsd xmm2, qword [0x1403020e8]
divsd xmm3, qword [0x1403020e8]
movq r9, xmm3
movq r8, xmm2
lea rcx, [0x1403db770]
call fcn.14012b980
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140132de4
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, r14
mov ecx, 3
call qword [sym.imp.USER32.dll_SetClipboardData]
mov rbx, 0xffffffffffffffff
test rax, rax
jne 0x140132b9d
lea rcx, [rbp - 0x18]
call fcn.14012f710
mov rdi, rax
mov r8, qword [rax]
cmp dword [r8 - 8], 1
jle 0x140132b71
mov edx, dword [r8 - 0x10]
mov rcx, rax
call fcn.140129fb0
mov r8, qword [rdi]
lea rdx, str.Unable_to_write_clipboard._n_s
xor ecx, ecx
call fcn.14012fd50
nop
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140132b9d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
test r12d, r12d
je 0x140132ddd
lea rcx, [0x1403dd038]
call fcn.14013ed20
test eax, eax
jne 0x140132bd1
cmp dword [0x1403dcfc0], eax
je 0x140132ddd
mov ecx, 0x110
call fcn.14013f880
mov qword [rbp - 8], rax
test rax, rax
je 0x140132bf1
mov rcx, rax
call fcn.140139d30
mov r15, rax
jmp 0x140132bf4
mov r15, r13
call fcn.14014f8c0
test rax, rax
je 0x140132c0f
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xe8]
mov rdx, rax
jmp 0x140132c12
mov rdx, r13
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x2c8]
mov qword [rbp - 0x20], r13
lea rcx, [rbp - 0x20]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140132ddd
call fcn.140141030
mov rcx, rax
test rax, rax
je 0x140132e5f
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp + 0x50], rax
lea rdx, str.Clipboard_modified_by_BetterWMF_n
cmp rdx, 0x10000
jae 0x140132c71
movzx edx, dx
lea rcx, [rbp + 0x50]
call fcn.14012a490
jmp 0x140132c8b
mov rax, rbx
inc rax
cmp word [rdx + rax*2], 0
jne 0x140132c74
mov r8d, eax
lea rcx, [rbp + 0x50]
call fcn.14012a7b0
nop
lea rcx, [0x1403dd038]
call fcn.14013ed20
lea rcx, str._nEvaluation_copy__please_register
lea r8, [0x1402fe9a8]
test eax, eax
cmovne r8, rcx
lea rdx, [0x1403db770]
lea rcx, [rbp - 0x10]
call fcn.140129d00
nop
mov rsi, qword [rax]
movsxd rcx, dword [rsi - 0x10]
mov r13, rsi
mov rax, qword [rbp + 0x50]
sub r13, rax
sar r13, 1
mov r12d, dword [rax - 0x10]
test ecx, ecx
js 0x140132e54
test rsi, rsi
jne 0x140132ce8
xor ecx, ecx
mov r14d, ecx
jmp 0x140132cfa
mov rdx, rcx
mov rcx, rsi
call fcn.1402df9a8
mov r14, rax
mov rax, qword [rbp + 0x50]
mov ecx, 0x7fffffff
sub ecx, r14d
cmp ecx, r12d
jl 0x140132e54
lea edi, [r12 + r14]
test edi, edi
js 0x140132e54
mov edx, 1
sub edx, dword [rax - 8]
mov ecx, dword [rax - 0xc]
sub ecx, edi
or ecx, edx
jge 0x140132d37
mov edx, edi
lea rcx, [rbp + 0x50]
call fcn.14012a6e0
mov rax, qword [rbp + 0x50]
cmp r13, r12
ja 0x140132d40
lea rsi, [rax + r13*2]
lea rcx, [rax + r12*2]
movsxd r8, r14d
add r8, r8
je 0x140132d7b
test rcx, rcx
je 0x140132d67
test rsi, rsi
je 0x140132d60
mov rdx, rsi
call fcn.1402cc750
jmp 0x140132d77
xor edx, edx
call fcn.1402cce00
call fcn.1402d0474
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.1402d0354
mov rax, qword [rbp + 0x50]
cmp edi, dword [rax - 0xc]
jg 0x140132e54
mov dword [rax - 0x10], edi
movsxd rcx, edi
mov rax, qword [rbp + 0x50]
xor edx, edx
mov word [rax + rcx*2], dx
mov rdx, qword [rbp - 0x10]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140132db1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, [rbp + 0x50]
mov rdx, qword [rbp - 0x20]
mov rcx, r15
call fcn.14013a370
nop
mov rdx, qword [rbp + 0x50]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140132ddd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, 1
jmp 0x140132e3c
lea rcx, [rbp + 0x40]
call fcn.14012f710
mov rbx, rax
mov r8, qword [rax]
cmp dword [r8 - 8], 1
jle 0x140132e09
mov edx, dword [r8 - 0x10]
mov rcx, rax
call fcn.140129fb0
mov r8, qword [rbx]
lea rdx, str.Unable_to_open_clipboard_for_writing:_n_s
xor ecx, ecx
call fcn.14012fd50
nop
mov rdx, qword [rbp + 0x40]
add rdx, 0xffffffffffffffe8
mov rbx, 0xffffffffffffffff
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140132e3a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80070057
call fcn.140129930
nop
mov ecx, 0x80004005
call fcn.140129930
int3