Function at 0x140022440
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.140023410
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 0x1400224e8
mov rdx, qword [rbp]
mov rcx, qword [rbp + 8]
call fcn.140023430
test al, 1
jne 0x1400224e8
jmp 0x1400224fc
mov eax, dword [rbp + 0x14]
cdqe
add rax, 1
mov qword [rbp - 8], rax
setb al
jb 0x14002252b
jmp 0x140022510
call fcn.140020b50
mov dword [rbp + 0x1c], eax
mov dword [rbp + 0x18], 1
jmp 0x1400227b3
mov rax, qword [rbp - 8]
mov ecx, 2
mul rcx
mov qword [rbp - 0x10], rax
seto al
jo 0x1400225b0
jmp 0x140022537
lea rcx, str.C:Users_nllem.cargo_registry_srcindex.crates.io_6f17d22bba15001fclipboard_win_4.5.0_src_raw.rs
call fcn.1400a9260
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.140023320
test al, 1
jne 0x140022578
mov rax, qword [rbp - 0x18]
lea rcx, [0x140025330]
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x48], rax
jmp 0x140022588
call fcn.1400252f0
mov dword [rbp + 0x48], eax
mov qword [rbp + 0x40], 0
lea rcx, [rbp + 0x30]
lea rdx, [rbp + 0x40]
call fcn.140024f70
mov rdx, qword [rbp + 0x30]
xor eax, eax
mov ecx, 1
cmp rdx, 0
cmove rax, rcx
cmp rax, 0
je 0x1400225bc
jmp 0x1400225f0
lea rcx, str.C:Users_nllem.cargo_registry_srcindex.crates.io_6f17d22bba15001fclipboard_win_4.5.0_src_raw.rs
call fcn.1400a92e0
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.140025350
jmp 0x140022610
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.140022aa0
mov dword [rbp + 0x18], eax
mov dword [rbp + 0x1c], edx
jmp 0x1400227db
lea rcx, [rbp + 0x60]
lea rdx, [rbp + 0x78]
call fcn.140024ff0
jmp 0x14002261f
mov rdx, qword [rbp + 0x60]
xor eax, eax
mov ecx, 1
cmp rdx, 0
cmove rax, rcx
cmp rax, 0
jne 0x1400226a5
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.140023410
mov qword [rbp - 0x20], rax
jmp 0x1400226c5
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.140022aa0
mov dword [rbp - 0x30], edx
mov dword [rbp - 0x2c], eax
jmp 0x1400227cd
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.140023250
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.140023230
jmp 0x140022730
lea rcx, [rbp + 0x50]
call fcn.1400233c0
jmp 0x14002273b
call fcn.140021ea0
jmp 0x140022742
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.140023320
mov byte [rbp - 0x41], al
jmp 0x140022768
mov al, byte [rbp - 0x41]
xor al, 0xff
test al, 1
jne 0x140022786
lea rcx, [rbp + 0x20]
call fcn.1400231d0
mov byte [rbp + 0xb7], 0
jmp 0x1400224fc
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.140020c60
jmp 0x1400227aa
mov dword [rbp + 0x18], 0
jmp 0x1400227c2
mov eax, dword [rbp + 0x18]
mov edx, dword [rbp + 0x1c]
add rsp, 0x1f0
pop rbp
ret
test byte [rbp + 0xb7], 1
jne 0x1400227e4
jmp 0x1400227db
mov eax, dword [rbp - 0x30]
mov ecx, dword [rbp - 0x2c]
mov dword [rbp + 0x18], ecx
mov dword [rbp + 0x1c], eax
jmp 0x1400227c2
mov byte [rbp + 0xb7], 0
jmp 0x1400227b3
lea rcx, [rbp + 0x20]
call fcn.1400231d0
jmp 0x1400227db