Function at 0x140021ee0
Capabilities:
Read clipboard data

Disassembly:
push rbp
sub rsp, 0x290
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x208], 0xfffffffffffffffe
mov qword [rbp + 0x48], rdx
mov qword [rbp + 0x50], rcx
mov qword [rbp + 0x58], rcx
mov qword [rbp + 0x110], rdx
mov dword [rbp + 0x1dc], 0xd
mov ecx, 0xd
call sub.USER32.dll_GetClipboardData
mov rcx, rax
mov qword [rbp + 0x1e0], rcx
call fcn.140023370
mov qword [rbp + 0x1d0], rax
mov rax, qword [rbp + 0x1d0]
cmp rax, 0
jne 0x140021f5c
call fcn.140020b50
mov dword [rbp + 0x84], eax
mov dword [rbp + 0x80], 1
jmp 0x140021f7b
mov rax, qword [rbp + 0x1d0]
mov qword [rbp + 0x1e8], rax
mov qword [rbp + 0x88], rax
mov dword [rbp + 0x80], 0
lea rcx, [rbp + 0x70]
lea rdx, [rbp + 0x80]
call fcn.140024f00
mov eax, dword [rbp + 0x70]
cmp rax, 0
jne 0x140021fce
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0x118], rax
mov qword [rbp + 0x1f0], rax
mov qword [rbp + 0x1f8], rax
lea rcx, [0x140025300]
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x68], rax
lea rcx, [rbp + 0xb8]
lea rdx, [rbp + 0x60]
call fcn.140025350
jmp 0x140021fec
mov rcx, qword [rbp + 0x50]
mov edx, dword [rbp + 0x74]
mov dword [rbp + 0x15c], edx
lea r8, str.C:Users_nllem.cargo_registry_srcindex.crates.io_6f17d22bba15001fclipboard_win_4.5.0_src_raw.rs
call fcn.140022a70
jmp 0x1400223a7
lea rcx, [rbp + 0xa0]
lea rdx, [rbp + 0xb8]
call fcn.140024ff0
jmp 0x140022001
mov rdx, qword [rbp + 0xa0]
xor eax, eax
mov ecx, 1
cmp rdx, 0
cmove rax, rcx
cmp rax, 0
jne 0x14002212c
mov rax, qword [rbp + 0xa0]
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xa8]
mov qword [rbp + 0xd8], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xe0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x120], rax
mov rcx, qword [rbp + 0xd8]
mov rax, qword [rbp + 0xe0]
mov qword [rbp + 0x90], rcx
mov qword [rbp + 0x98], rax
lea rax, [rbp + 0x60]
mov qword [rbp + 0x200], rax
mov rcx, qword [rbp + 0x68]
call sub.KERNEL32.dll_GlobalSize
mov r8, qword [rbp + 0x30]
shr rax, 1
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x128], rax
mov qword [rbp + 0x198], r8
mov r9d, eax
mov qword [rbp + 0x1a0], 0
mov qword [rbp + 0x1a8], 0
mov qword [rbp + 0x170], 0
mov qword [rbp + 0x178], 0
mov qword [rbp + 0x1c0], 0
mov qword [rbp + 0x1c8], 0
mov ecx, 0xfde9
xor edx, edx
xor eax, eax
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call sub.KERNEL32.dll_WideCharToMultiByte
mov dword [rbp + 0x44], eax
mov dword [rbp + 0x134], eax
cmp eax, 0
je 0x14002214f
jmp 0x140022159
mov rcx, qword [rbp + 0x50]
mov edx, dword [rbp + 0xa8]
mov dword [rbp + 0x158], edx
lea r8, str.C:Users_nllem.cargo_registry_srcindex.crates.io_6f17d22bba15001fclipboard_win_4.5.0_src_raw.rs
call fcn.140022a70
jmp 0x1400223b4
ud2
call fcn.140020b50
mov dword [rbp + 0x2c], eax
jmp 0x140022168
mov rcx, qword [rbp + 0x48]
call fcn.140024100
mov qword [rbp + 0x20], rax
jmp 0x140022194
mov rax, qword [rbp + 0x50]
mov ecx, dword [rbp + 0x2c]
mov dword [rax + 4], ecx
mov dword [rax], 1
lea rcx, [rbp + 0x90]
call fcn.1400233c0
jmp 0x140022186
lea rcx, [rbp + 0x60]
call fcn.1400231d0
jmp 0x1400223a7
mov rcx, qword [rbp + 0x48]
mov eax, dword [rbp + 0x44]
mov rdx, qword [rbp + 0x20]
mov qword [rbp + 0x138], rdx
movsxd rdx, eax
call fcn.140024110
jmp 0x1400221b0
mov rcx, qword [rbp + 0x48]
call fcn.140023f80
mov qword [rbp + 0x18], rax
jmp 0x1400221bf
mov rdx, qword [rbp + 0x20]
mov eax, dword [rbp + 0x44]
mov r8, qword [rbp + 0x30]
mov rcx, qword [rbp + 0x38]
mov r10, qword [rbp + 0x18]
mov qword [rbp + 0x180], r10
mov qword [rbp + 0x188], rdx
add r10, rdx
mov qword [rbp + 0x140], r10
mov qword [rbp + 0x190], r8
mov r9d, ecx
mov qword [rbp + 0x160], 0
mov qword [rbp + 0x168], 0
mov qword [rbp + 0x1b0], 0
mov qword [rbp + 0x1b8], 0
mov ecx, 0xfde9
xor edx, edx
xor r11d, r11d
mov qword [rsp + 0x20], r10
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call sub.KERNEL32.dll_WideCharToMultiByte
mov ecx, dword [rbp + 0x44]
mov rax, qword [rbp + 0x20]
movsxd rcx, ecx
add rax, rcx
mov qword [rbp + 0x10], rax
setb al
jb 0x14002226f
mov rdx, qword [rbp + 0x10]
mov rcx, qword [rbp + 0x48]
call fcn.1400241e0
jmp 0x140022280
lea rcx, str.C:Users_nllem.cargo_registry_srcindex.crates.io_6f17d22bba15001fclipboard_win_4.5.0_src_raw.rs
call fcn.1400a9260
jmp 0x14002214d
mov rcx, qword [rbp + 0x48]
call fcn.140024ee0
mov qword [rbp], rdx
mov qword [rbp + 8], rax
jmp 0x140022293
mov rdx, qword [rbp]
mov rcx, qword [rbp + 8]
call fcn.1400239b0
mov qword [rbp - 0x10], rdx
mov qword [rbp - 8], rax
jmp 0x1400222aa
mov r9, qword [rbp + 0x20]
mov r8, qword [rbp - 0x10]
mov rdx, qword [rbp - 8]
lea rcx, [rbp + 0xf8]
call fcn.140023450
jmp 0x1400222c4
lea rcx, [rbp + 0xf8]
call fcn.140023480
mov qword [rbp - 0x20], rdx
mov qword [rbp - 0x18], rax
jmp 0x1400222da
mov rax, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x18]
mov qword [rbp + 0xe8], rcx
mov qword [rbp + 0xf0], rax
cmp qword [rbp + 0xe8], 1
jne 0x14002231a
mov rax, qword [rbp + 0x20]
mov rcx, qword [rbp + 0xf0]
mov qword [rbp + 0x148], rcx
add rax, rcx
mov qword [rbp - 0x28], rax
setb al
jb 0x140022338
jmp 0x140022329
mov rcx, qword [rbp + 0x48]
call fcn.140024100
mov qword [rbp - 0x30], rax
jmp 0x14002234b
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp + 0x48]
call fcn.1400241e0
jmp 0x140022349
lea rcx, str.C:Users_nllem.cargo_registry_srcindex.crates.io_6f17d22bba15001fclipboard_win_4.5.0_src_raw.rs
call fcn.1400a9260
jmp 0x14002214d
jmp 0x14002231a
mov rax, qword [rbp - 0x30]
mov rcx, qword [rbp + 0x20]
mov rdx, rax
sub rdx, rcx
mov qword [rbp - 0x38], rdx
cmp rax, rcx
jb 0x14002237b
mov rax, qword [rbp - 0x38]
mov qword [rbp + 0x150], rax
lea rcx, [rbp + 0x90]
call fcn.1400233c0
jmp 0x14002238c
lea rcx, str.C:Users_nllem.cargo_registry_srcindex.crates.io_6f17d22bba15001fclipboard_win_4.5.0_src_raw.rs
call fcn.1400a92a0
jmp 0x14002214d
mov rax, qword [rbp + 0x50]
mov rcx, qword [rbp - 0x38]
mov qword [rax + 8], rcx
mov dword [rax], 0
lea rcx, [rbp + 0x60]
call fcn.1400231d0
mov rax, qword [rbp + 0x58]
add rsp, 0x290
pop rbp
ret
jmp 0x140022186