Function at 0x140088eac
Capabilities:
Open clipboard

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r12d, edx
xor ebx, ebx
mov rsi, rcx
xor r15d, r15d
xor r14d, r14d
lea edx, [rbx + 8]
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
mov r13, rax
test rax, rax
je 0x14008915d
mov rcx, qword [0x1400970d8]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140088f4f
movzx ecx, word [0x140096f14]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x140088f42
movzx ecx, word [0x140096f1c]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
mov r15d, eax
test eax, eax
jne 0x140088f42
movzx ecx, word [0x140096f10]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x140088f42
movzx ecx, word [0x140096f18]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
mov r14d, eax
test eax, eax
jne 0x140088f42
xor ebp, ebp
jmp 0x140088f47
mov ebp, 1
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x140088f51
xor ebp, ebp
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rdi, rax
cmp dword [rax + 0x32], ebx
jne 0x140088f7e
mov rdx, qword [rax + 0x1fa]
mov r9d, r12d
mov rcx, rsi
call fcn.14002eaa8
mov ebx, eax
test eax, eax
jne 0x140089143
mov edx, r12d
sub edx, 0xc9
je 0x140089136
sub edx, 1
je 0x140089062
sub edx, 1
je 0x140088ffc
sub edx, 1
je 0x140088fce
sub edx, 1
je 0x140088fbb
cmp edx, 6
jne 0x140089143
mov rcx, rsi
call fcn.140088ad0
jmp 0x140089143
mov edx, dword [0x1400b8b40]
mov rcx, rsi
call fcn.140005ba8
jmp 0x14008905b
mov r9d, 1
lea rax, [rsp + 0x80]
mov edx, r9d
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x88]
mov rcx, rdi
call fcn.140060910
test eax, eax
je 0x140089143
mov rcx, rdi
test ebp, ebp
je 0x14008900f
mov edx, 8
call fcn.140060aec
jmp 0x140089014
call fcn.140060aa8
mov ebx, eax
test eax, eax
jne 0x140089143
test r15d, r15d
je 0x14008902c
movzx eax, word [0x140096f1c]
jmp 0x140089038
test r14d, r14d
je 0x140089040
movzx eax, word [0x140096f18]
mov dword [0x1400b8b44], eax
jmp 0x140089047
and dword [0x1400b8b44], 0
xor edx, edx
mov rcx, rsi
cmp r12d, 0xcc
sete dl
call fcn.140002c48
mov ebx, eax
jmp 0x140089143
neg ebp
mov rcx, rdi
sbb edx, edx
and edx, 0xfffffffd
add edx, 0xa
call fcn.140060aec
mov ebx, eax
test eax, eax
jne 0x140089143
test r15d, r15d
je 0x14008908c
movzx eax, word [0x140096f1c]
jmp 0x140089098
test r14d, r14d
je 0x1400890a0
movzx eax, word [0x140096f18]
mov dword [0x1400b8b44], eax
jmp 0x1400890a7
and dword [0x1400b8b44], 0
xor edx, edx
mov rcx, rsi
call fcn.140002c48
mov ebx, eax
test eax, eax
jne 0x140089143
mov rcx, rsi
call fcn.1400043d0
mov rcx, qword [rdi + 0x1fa]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rbp, rax
cmp dword [rax + 0x6c], ebx
je 0x140089115
mov rcx, qword [rdi + 0x1fa]
call fcn.140044844
mov ebx, eax
test eax, eax
jne 0x140089115
mov rcx, qword [rbp + 0x54]
call fcn.140044844
mov ebx, eax
test eax, eax
jne 0x140089115
mov rcx, qword [rbp + 0x60]
call fcn.140044844
mov ebx, eax
test eax, eax
jne 0x140089115
lea edx, [rax + 1]
mov rcx, rbp
call fcn.14002dddc
mov ebx, eax
mov rcx, qword [rdi + 0x1fa]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
test ebx, ebx
jne 0x140089143
xor r8d, r8d
mov rcx, rsi
call fcn.1400046a4
jmp 0x14008905b
mov edx, 1
mov rcx, rsi
call fcn.1400013b0
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor ecx, ecx
cmp ebx, 0xfffffffb
cmovne ecx, ebx
test ecx, ecx
je 0x14008915d
call fcn.140060be4
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret