Function at 0x1402ac2d0
Capabilities:
Write clipboard data

Disassembly:
push rbp
sub rsp, 0x1f0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x168], 0xfffffffffffffffe
mov qword [rbp], rdx
mov qword [rbp + 8], rcx
mov qword [rbp + 0xb8], rcx
mov qword [rbp + 0xc0], rdx
mov byte [rbp + 0xb7], 0
mov qword [rbp + 0x130], rcx
mov qword [rbp + 0x138], rdx
call fcn.1402a9390
mov r8, qword [rbp + 8]
mov r9d, eax
mov qword [rbp + 0x110], 0
mov qword [rbp + 0x118], 0
mov ecx, 0xfde9
xor edx, edx
xor eax, eax
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
call sub.KERNEL32.dll_MultiByteToWideChar
mov dword [rbp + 0x14], eax
mov dword [rbp + 0xcc], eax
cmp eax, 0
jne 0x1402ac378
mov rdx, qword [rbp]
mov rcx, qword [rbp + 8]
call fcn.1402a93b0
test al, 1
jne 0x1402ac378
jmp 0x1402ac38c
mov eax, dword [rbp + 0x14]
cdqe
add rax, 1
mov qword [rbp - 8], rax
setb al
jb 0x1402ac3bb
jmp 0x1402ac3a0
call fcn.1402aaef0
mov dword [rbp + 0x1c], eax
mov dword [rbp + 0x18], 1
jmp 0x1402ac643
mov rax, qword [rbp - 8]
mov ecx, 2
mul rcx
mov qword [rbp - 0x10], rax
seto al
jo 0x1402ac440
jmp 0x1402ac3c7
lea rcx, str.C:Users_nllem.cargo_registry_srcindex.crates.io_6f17d22bba15001fclipboard_win_4.5.0_src_raw.rs
call fcn.1402c70d0
mov rdx, qword [rbp - 0x10]
mov qword [rbp + 0x140], rdx
mov ecx, 0x42
call sub.KERNEL32.dll_GlobalAlloc
mov rcx, rax
mov qword [rbp - 0x18], rcx
mov qword [rbp + 0x148], rcx
call fcn.1402a92a0
test al, 1
jne 0x1402ac408
mov rax, qword [rbp - 0x18]
lea rcx, [0x1402aadd0]
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x48], rax
jmp 0x1402ac418
call fcn.1402aad90
mov dword [rbp + 0x48], eax
mov qword [rbp + 0x40], 0
lea rcx, [rbp + 0x30]
lea rdx, [rbp + 0x40]
call fcn.1402aaab0
mov rdx, qword [rbp + 0x30]
xor eax, eax
mov ecx, 1
cmp rdx, 0
cmove rax, rcx
cmp rax, 0
je 0x1402ac44c
jmp 0x1402ac480
lea rcx, str.C:Users_nllem.cargo_registry_srcindex.crates.io_6f17d22bba15001fclipboard_win_4.5.0_src_raw.rs
call fcn.1402c7150
mov rcx, qword [rbp + 0x30]
mov rax, qword [rbp + 0x38]
mov qword [rbp + 0xd0], rcx
mov qword [rbp + 0xd8], rax
mov byte [rbp + 0xb7], 1
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rax
lea rcx, [rbp + 0x78]
lea rdx, [rbp + 0x20]
call fcn.1402aadf0
jmp 0x1402ac4a0
mov ecx, dword [rbp + 0x38]
mov dword [rbp + 0xf4], ecx
lea rdx, str.C:Users_nllem.cargo_registry_srcindex.crates.io_6f17d22bba15001fclipboard_win_4.5.0_src_raw.rs
call fcn.1402a8b90
mov dword [rbp + 0x18], eax
mov dword [rbp + 0x1c], edx
jmp 0x1402ac66b
lea rcx, [rbp + 0x60]
lea rdx, [rbp + 0x78]
call fcn.1402aaa10
jmp 0x1402ac4af
mov rdx, qword [rbp + 0x60]
xor eax, eax
mov ecx, 1
cmp rdx, 0
cmove rax, rcx
cmp rax, 0
jne 0x1402ac535
mov rdx, qword [rbp]
mov rcx, qword [rbp + 8]
mov rax, qword [rbp + 0x70]
mov qword [rbp + 0xa0], rax
movups xmm0, xmmword [rbp + 0x60]
movaps xmmword [rbp + 0x90], xmm0
mov rax, qword [rbp + 0x90]
mov qword [rbp - 0x28], rax
mov qword [rbp + 0xe0], rax
mov r9, qword [rbp + 0x98]
mov r8, qword [rbp + 0xa0]
mov qword [rbp + 0x50], r9
mov qword [rbp + 0x58], r8
mov qword [rbp + 0x108], rax
mov qword [rbp + 0xe8], rax
mov qword [rbp + 0x120], rcx
mov qword [rbp + 0x128], rdx
call fcn.1402a9390
mov qword [rbp - 0x20], rax
jmp 0x1402ac555
mov ecx, dword [rbp + 0x68]
mov dword [rbp + 0xf0], ecx
lea rdx, str.C:Users_nllem.cargo_registry_srcindex.crates.io_6f17d22bba15001fclipboard_win_4.5.0_src_raw.rs
call fcn.1402a8b90
mov dword [rbp - 0x30], edx
mov dword [rbp - 0x2c], eax
jmp 0x1402ac65d
mov rcx, qword [rbp - 0x28]
mov edx, dword [rbp + 0x14]
mov r8, qword [rbp + 8]
mov rax, qword [rbp - 0x20]
mov r9d, eax
mov rax, rsp
mov dword [rax + 0x28], edx
mov qword [rax + 0x20], rcx
mov ecx, 0xfde9
xor edx, edx
mov dword [rbp - 0x34], edx
call sub.KERNEL32.dll_MultiByteToWideChar
mov rcx, qword [rbp - 0x28]
mov eax, dword [rbp + 0x14]
movsxd rdx, eax
mov qword [rbp - 0x40], rdx
mov qword [rbp + 0xf8], rcx
mov qword [rbp + 0x100], rdx
mov r8d, 2
call fcn.1402a91d0
mov rdx, qword [rbp - 0x40]
mov rcx, qword [rbp - 0x28]
mov eax, dword [rbp - 0x34]
lea rcx, [rcx + rdx*2]
mov dx, ax
call fcn.1402a91b0
jmp 0x1402ac5c0
lea rcx, [rbp + 0x50]
call fcn.1402a9340
jmp 0x1402ac5cb
call fcn.1402abd30
jmp 0x1402ac5d2
lea rax, [rbp + 0x20]
mov qword [rbp + 0x150], rax
mov rdx, qword [rbp + 0x28]
mov ecx, 0xd
call sub.USER32.dll_SetClipboardData
mov rcx, rax
call fcn.1402a92a0
mov byte [rbp - 0x41], al
jmp 0x1402ac5f8
mov al, byte [rbp - 0x41]
xor al, 0xff
test al, 1
jne 0x1402ac616
lea rcx, [rbp + 0x20]
call fcn.1402a9190
mov byte [rbp + 0xb7], 0
jmp 0x1402ac38c
mov byte [rbp + 0xb7], 0
mov rcx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x28]
mov qword [rbp + 0x158], rcx
mov qword [rbp + 0x160], rdx
call fcn.1402ab000
jmp 0x1402ac63a
mov dword [rbp + 0x18], 0
jmp 0x1402ac652
mov eax, dword [rbp + 0x18]
mov edx, dword [rbp + 0x1c]
add rsp, 0x1f0
pop rbp
ret
test byte [rbp + 0xb7], 1
jne 0x1402ac674
jmp 0x1402ac66b
mov eax, dword [rbp - 0x30]
mov ecx, dword [rbp - 0x2c]
mov dword [rbp + 0x18], ecx
mov dword [rbp + 0x1c], eax
jmp 0x1402ac652
mov byte [rbp + 0xb7], 0
jmp 0x1402ac643
lea rcx, [rbp + 0x20]
call fcn.1402a9190
jmp 0x1402ac66b