Function at 0x14002eaa8
Capabilities:
Open clipboard

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
xor edi, edi
mov rbx, rdx
mov r15d, r9d
mov r14, rcx
mov ebp, edi
mov r13d, edi
lea edx, [rdi + 8]
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
mov qword [rsp + 0x30], rax
mov r12, rax
test rax, rax
jne 0x14002eaf6
mov eax, 0x2714
jmp 0x14002edfe
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rcx, rbx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
cmp r15d, 0xca
jl 0x14002eb3a
cmp r15d, 0xcb
jle 0x14002eb33
cmp r15d, 0xcd
je 0x14002ec32
cmp r15d, 0xd3
jne 0x14002eb3a
cmp dword [rax + 0x6c], edi
setne bpl
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
test ebp, ebp
je 0x14002edf3
mov rcx, qword [0x1400b8a28]
call qword [sym.imp.USER32.dll_SetCursor]
mov ebx, 1
mov rcx, rsi
mov dword [0x140096f20], ebx
lea edx, [rbx + 0x20]
call fcn.140060aec
mov rcx, qword [rsi + 0x1fa]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rcx, qword [rsi + 0x1fa]
mov rbp, rax
call fcn.140044844
test eax, eax
jne 0x14002edee
mov rcx, qword [rbp + 0x54]
call fcn.140044844
test eax, eax
jne 0x14002edee
mov rcx, qword [rbp + 0x60]
call fcn.140044844
test eax, eax
jne 0x14002edee
mov ecx, r15d
sub ecx, 0xca
je 0x14002ed49
sub ecx, ebx
je 0x14002ed37
sub ecx, 2
je 0x14002ecac
cmp ecx, 6
jne 0x14002edbb
mov edx, ebx
mov rcx, rbp
call fcn.14002dddc
cmp qword [rsi + 0x206], rdi
je 0x14002edc4
lea r8d, [rbx + 0x6b]
mov dword [rsp + 0x20], ebx
mov rdx, rsi
mov rcx, r14
call fcn.14003cdf0
lea r8d, [rbx + 0x69]
mov dword [rsp + 0x20], edi
mov rdx, rsi
mov rcx, r14
call fcn.14003cdf0
lea r8d, [rbx + 0x6d]
mov dword [rsp + 0x20], edi
mov rdx, rsi
mov rcx, r14
call fcn.14003cdf0
jmp 0x14002edc4
mov rcx, qword [0x1400970d8]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14002eb3a
mov ecx, 2
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x14002ec65
lea ecx, [rax + 8]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
mov ebx, edi
test eax, eax
je 0x14002ec6a
mov ebx, 1
movzx ecx, word [0x140096f10]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
mov r13d, eax
test eax, eax
jne 0x14002ec85
mov r12d, edi
test ebx, ebx
je 0x14002ec8b
mov r12d, 1
mov ebx, dword [rsi + 0x32]
call qword [sym.imp.USER32.dll_CloseClipboard]
test ebx, ebx
mov rbx, qword [rsp + 0x88]
cmove ebp, r12d
mov r12, qword [rsp + 0x30]
jmp 0x14002eb3a
test r13d, r13d
je 0x14002ecc6
lea r8, [rsp + 0x90]
mov rdx, rbp
mov rcx, rsi
call fcn.14002e3f8
jmp 0x14002ece5
call fcn.14003cd08
mov rcx, r14
test rax, rax
je 0x14002ecdd
mov r9, rax
call fcn.14002e2d0
jmp 0x14002ece5
mov edx, dword [rsi + 0x26]
call fcn.14002e140
mov ebx, eax
test eax, eax
jne 0x14002ed15
lea r8d, [rax + 0x6a]
mov dword [rsp + 0x20], 1
mov rdx, rsi
mov rcx, r14
call fcn.14003cdf0
lea r8d, [rbx + 0x6e]
mov dword [rsp + 0x20], edi
mov rdx, rsi
mov rcx, r14
call fcn.14003cdf0
mov rcx, rsi
call fcn.1400773a0
test r13d, r13d
je 0x14002edb2
or r8d, 0xffffffff
mov rdx, rsi
mov rcx, r14
call fcn.14002ca70
jmp 0x14002edb2
mov r9d, ebx
mov r8, rbp
mov rdx, rsi
call fcn.140003480
mov ebx, eax
jmp 0x14002edb2
xor r9d, r9d
mov r8, rbp
mov rdx, rsi
call fcn.140003480
mov edx, 1
mov rcx, rbp
mov ebx, eax
call fcn.14002dddc
cmp qword [rsi + 0x206], rdi
je 0x14002edb2
mov r8d, 0x6c
mov dword [rsp + 0x20], 1
mov rdx, rsi
mov rcx, r14
call fcn.14003cdf0
mov r8d, 0x6a
mov dword [rsp + 0x20], edi
mov rdx, rsi
mov rcx, r14
call fcn.14003cdf0
mov r8d, 0x6e
mov dword [rsp + 0x20], edi
mov rdx, rsi
mov rcx, r14
call fcn.14003cdf0
test ebx, ebx
jne 0x14002edee
mov ebx, 1
cmp r15d, 0xcb
je 0x14002ede7
test r13d, r13d
jne 0x14002edd4
or dword [rsi + 0x22], ebx
mov rcx, rsi
call fcn.140071a28
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.USER32.dll_InvalidateRect]
bts dword [rsi + 0x22], 0xe
mov edi, 0xfffffffb
jmp 0x14002edf3
mov edi, 0x1f4
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, edi
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret