Function at 0x1400010a0
Capabilities:
Open clipboard
Read file on windows
Write clipboard data

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x68
mov qword [rsp + 0x48], 0
mov ecx, 0xfffffff6
call sub.kernel32.dll_GetStdHandle
mov qword [rsp + 0x58], rax
mov ecx, 0xfffffff6
call sub.kernel32.dll_GetStdHandle
mov r9d, 0xffffffff
mov r8d, 1
mov rdx, rax
lea rcx, [0x1400051a0]
call fcn.140001340
mov ecx, 0xfffffff5
call sub.kernel32.dll_GetStdHandle
mov r9d, 0xffffffff
mov r8d, 1
mov rdx, rax
lea rcx, [0x140005140]
call fcn.140001340
mov ecx, 0xfffffff4
call sub.kernel32.dll_GetStdHandle
mov r9d, 0xffffffff
mov r8d, 1
mov rdx, rax
lea rcx, [0x1400050e0]
call fcn.140001340
xor eax, eax
test eax, eax
jne 0x1400010c5
cmp dword [rsp + 0x70], 1
jle 0x140001182
mov eax, 8
imul rax, rax, 1
mov r8d, 2
lea rdx, [0x140004280]
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + rax]
call qword [sym.imp.msvcrt.dll_wcsncmp]
test eax, eax
jne 0x140001182
mov edx, 0x65
lea rcx, [0x140005140]
call fcn.1400015c0
xor eax, eax
jmp 0x140001329
mov rcx, qword [rsp + 0x58]
call sub.kernel32.dll_GetFileType
cmp eax, 2
jne 0x1400011a9
mov edx, 0x64
lea rcx, [0x140005140]
call fcn.1400015c0
xor eax, eax
jmp 0x140001329
mov edx, 0x1000
mov ecx, 0x42
call sub.kernel32.dll_GlobalAlloc
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x1400011ca
jmp 0x140001306
mov rcx, qword [rsp + 0x38]
call sub.kernel32.dll_GlobalLock
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x1400011e6
jmp 0x140001306
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov rdx, rax
mov rcx, qword [rsp + 0x58]
call sub.kernel32.dll_ReadFile
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x38]
call sub.kernel32.dll_GlobalUnlock
mov rcx, qword [rsp + 0x38]
call sub.kernel32.dll_GlobalSize
add rax, 0x1000
mov r8d, 0x40
mov rdx, rax
mov rcx, qword [rsp + 0x38]
call sub.kernel32.dll_GlobalReAlloc
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14000126e
jmp 0x140001306
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x38], rax
cmp dword [rsp + 0x34], 0
je 0x14000128a
cmp dword [rsp + 0x30], 0
ja 0x1400011ca
mov rax, qword [rsp + 0x48]
add rax, 2
mov r8d, 0x40
mov rdx, rax
mov rcx, qword [rsp + 0x38]
call sub.kernel32.dll_GlobalReAlloc
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x1400012bd
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x38], rax
xor ecx, ecx
call sub.user32.dll_OpenClipboard
test eax, eax
jne 0x1400012ca
jmp 0x140001306
call sub.user32.dll_EmptyClipboard
mov rcx, qword [rsp + 0x38]
call fcn.140001010
test eax, eax
je 0x1400012ee
mov rdx, qword [rsp + 0x38]
mov ecx, 0xd
call sub.user32.dll_SetClipboardData
jmp 0x1400012fd
mov rdx, qword [rsp + 0x38]
mov ecx, 7
call sub.user32.dll_SetClipboardData
call sub.user32.dll_CloseClipboard
xor eax, eax
jmp 0x140001329
cmp qword [rsp + 0x38], 0
je 0x140001318
mov rcx, qword [rsp + 0x38]
call sub.kernel32.dll_GlobalFree
call sub.kernel32.dll_GetLastError
mov ecx, eax
call fcn.140001060
mov eax, 0xffffffff
add rsp, 0x68
ret