Function at 0x1400e5c90
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1c8]
sub rsp, 0x2c0
mov qword [rsp + 0x20], 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 + 0x1b0], 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 0x1400d3f78
mov qword [rsp + 0x40], 7
xor esi, esi
mov qword [rsp + 0x38], rsi
mov word [rsp + 0x28], 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 0x1400d3e42
nop word [rax + rax]
mov rcx, qword [rdi + 0xa50]
mov r9, qword [rcx]
lea r8, [rbp - 0x60]
mov edx, ebx
call qword [r9 + 0x60]
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], rsi
mov word [rsp + 0x78], si
mov r8d, 2
lea rdx, [0x14010c6e0]
lea rcx, [rsp + 0x78]
call fcn.140009a30
nop
lea r8, [rsp + 0x78]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x50]
call fcn.14000b810
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140006e60
nop
cmp qword [rsp + 0x68], 8
jb 0x1400d3df8
mov rcx, qword [rsp + 0x50]
call fcn.14004b088
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rsi
mov word [rsp + 0x50], si
cmp qword [rbp - 0x70], 8
jb 0x1400d3e1c
mov rcx, qword [rsp + 0x78]
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 0x1400d3d80
mov r9, qword [rsp + 0x38]
add r9, 0xfffffffffffffffe
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.140001de0
mov rbx, rax
lea rax, [rsp + 0x28]
cmp rax, rbx
je 0x1400d3edb
cmp qword [rsp + 0x40], 8
jb 0x1400d3e7c
mov rcx, qword [rsp + 0x28]
call fcn.14004b088
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], rsi
mov word [rsp + 0x28], si
cmp qword [rbx + 0x18], 8
jae 0x1400d3eaf
mov r8, qword [rbx + 0x10]
inc r8
add r8, r8
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.14004b590
jmp 0x1400d3eba
mov rax, qword [rbx]
mov qword [rsp + 0x28], rax
mov qword [rbx], rsi
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x38], rax
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x40], rax
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rsi
mov word [rbx], si
cmp qword [rsp + 0x68], 8
jb 0x1400d3eed
mov rcx, qword [rsp + 0x50]
call fcn.14004b088
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400d3f66
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, qword [rsp + 0x38]
lea rdx, [rdx + rdx + 2]
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
test rax, rax
je 0x1400d3f5f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x38]
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 + 0x40], 8
jb 0x1400d3f78
mov rcx, qword [rsp + 0x28]
call fcn.14004b088
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.14004ae00
lea r11, [rsp + 0x2c0]
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 0x1400e5cb5
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400d3ce0
cmp rax, qword [rbx + 0x98]
jne 0x1400e5cc6
mov rcx, rbx
call fcn.1400a7750
add rsp, 0x20
pop rbx
ret