Function at 0x1400d3990
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x9d8]
sub rsp, 0xad0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140136e20]
xor rax, rsp
mov qword [rbp + 0x9c0], rax
mov rdi, rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1032
mov rcx, qword [rcx + 0x12c0]
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x1400d3ca9
mov qword [rsp + 0x48], 7
xor esi, esi
mov qword [rsp + 0x40], rsi
mov word [rsp + 0x30], si
lea r9d, [rsi + 2]
or r8, 0xffffffffffffffff
mov edx, 0x100c
mov rcx, qword [rdi + 0x12c0]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
cmp eax, 0xffffffff
je 0x1400d3b73
nop word [rax + rax]
mov rcx, qword [rdi + 0xa50]
mov rax, qword [rcx]
lea r8, [rbp - 0x50]
mov edx, ebx
call qword [rax + 0x60]
mov dword [rsp + 0x20], 0x400
lea r9, [rsp + 0x20]
lea r8, [rbp + 0x1c0]
mov edx, 1
lea rcx, [rbp - 0x50]
call qword [sym.imp.MPR.dll_WNetGetUniversalNameW]
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], rsi
mov word [rbp - 0x80], si
mov r8d, 2
lea rcx, [rbp - 0x80]
test eax, eax
jne 0x1400d3ae3
lea rdx, [0x14010c6e8]
call fcn.140009a30
nop
lea r8, [rbp - 0x80]
mov rdx, qword [rbp + 0x1c0]
lea rcx, [rsp + 0x58]
call fcn.14000b810
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140006e60
nop
cmp qword [rsp + 0x70], 8
jb 0x1400d3ace
mov rcx, qword [rsp + 0x58]
call fcn.14004b088
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rsi
mov word [rsp + 0x58], si
jmp 0x1400d3b3d
lea rdx, [0x14010c6f0]
call fcn.140009a30
nop
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x58]
call fcn.14000b810
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140006e60
nop
cmp qword [rsp + 0x70], 8
jb 0x1400d3b2a
mov rcx, qword [rsp + 0x58]
call fcn.14004b088
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rsi
mov word [rsp + 0x58], si
cmp qword [rbp - 0x68], 8
jb 0x1400d3b4d
mov rcx, qword [rbp - 0x80]
call fcn.14004b088
movsxd r8, ebx
mov edx, 0x100c
mov r9d, 2
mov rcx, qword [rdi + 0x12c0]
call qword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x1400d3a30
mov r9, qword [rsp + 0x40]
add r9, 0xfffffffffffffffe
xor r8d, r8d
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x30]
call fcn.140001de0
mov rbx, rax
lea rax, [rsp + 0x30]
cmp rax, rbx
je 0x1400d3c0c
cmp qword [rsp + 0x48], 8
jb 0x1400d3bad
mov rcx, qword [rsp + 0x30]
call fcn.14004b088
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], rsi
mov word [rsp + 0x30], si
cmp qword [rbx + 0x18], 8
jae 0x1400d3be0
mov r8, qword [rbx + 0x10]
inc r8
add r8, r8
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14004b590
jmp 0x1400d3beb
mov rax, qword [rbx]
mov qword [rsp + 0x30], rax
mov qword [rbx], rsi
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x40], rax
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x48], rax
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rsi
mov word [rbx], si
cmp qword [rsp + 0x70], 8
jb 0x1400d3c1e
mov rcx, qword [rsp + 0x58]
call fcn.14004b088
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400d3c97
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, qword [rsp + 0x40]
lea rdx, [rdx + rdx + 2]
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
test rax, rax
je 0x1400d3c90
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
lea r8, [r8 + r8 + 2]
mov rcx, rax
call fcn.14004b590
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rbx
mov ecx, ILFindLastID
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
cmp qword [rsp + 0x48], 8
jb 0x1400d3ca9
mov rcx, qword [rsp + 0x30]
call fcn.14004b088
mov rcx, qword [rbp + 0x9c0]
xor rcx, rsp
call fcn.14004ae00
lea r11, [rsp + 0xad0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.USER32.dll_GetFocus]
cmp rax, qword [rbx + 0x12c0]
jne 0x1400e5c65
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400d3990
cmp rax, qword [rbx + 0x98]
jne 0x1400e5c76
mov rcx, rbx
call fcn.1400a75e0
add rsp, 0x20
pop rbx
ret