Function at 0x140074014
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov edx, 8
mov rsi, rcx
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
mov r13, rax
test rax, rax
je 0x140074423
xor edx, edx
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
mov r12, rax
test rax, rax
je 0x140074423
mov edx, 0x18
lea ecx, [rdx + 0x2a]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbp, rax
test rax, rax
je 0x140074423
mov rcx, qword [0x1400b8a28]
call qword [sym.imp.USER32.dll_SetCursor]
mov rcx, r13
mov dword [0x140096f20], 1
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [0x1400b8b08]
mov rdi, rax
mov r14d, dword [0x1400b8b0c]
sub ecx, dword [0x1400b8b00]
sub r14d, dword [0x1400b8b04]
cmp ecx, 0x240
jle 0x1400740cc
mov eax, 0x8ca00
cdq
idiv ecx
mov ebx, eax
jmp 0x1400740ce
xor ebx, ebx
mov rcx, qword [0x140096f30]
test rcx, rcx
je 0x1400740e1
mov edx, ebx
call fcn.14007cd6c
cmp r14d, 0x360
jle 0x1400740f5
mov eax, 0xd2f00
cdq
idiv r14d
jmp 0x1400740f7
xor eax, eax
test eax, eax
je 0x140074108
test ebx, ebx
jne 0x140074103
mov ebx, eax
jmp 0x140074108
cmp eax, ebx
cmovl ebx, eax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8, rax
mov qword [rsp + 0x30], rax
mov r14d, dword [rax + 8]
test r14d, r14d
je 0x140074144
test ebx, ebx
je 0x140074141
mov ecx, r14d
mov eax, 0x10624dd3
imul ecx, ebx
imul ecx
mov ebx, edx
sar ebx, 6
mov eax, ebx
shr eax, 0x1f
add ebx, eax
jmp 0x140074144
mov ebx, r14d
mov dword [r8 + 8], ebx
mov r9d, ebx
lea r8, [0x1400b8b00]
mov rdx, rdi
mov rcx, rsi
call fcn.140073aa8
mov r15, rax
mov rcx, r12
mov rax, qword [rsp + 0x30]
mov dword [rax + 8], r14d
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8, rax
mov r10d, 0x38e38e39
mov dword [rax], 8
mov eax, r10d
mov ecx, dword [0x1400b8b08]
sub ecx, dword [0x1400b8b00]
imul edx, ecx, 0x9ec
imul edx
mov eax, r10d
mov r9d, edx
sar r9d, 5
mov ecx, r9d
shr ecx, 0x1f
add r9d, ecx
mov dword [r8 + 4], r9d
mov ecx, dword [0x1400b8b0c]
sub ecx, dword [0x1400b8b04]
imul edx, ecx, 0x9ec
imul edx
mov r10d, edx
sar r10d, 5
mov eax, r10d
shr eax, 0x1f
add r10d, eax
mov dword [r8 + 8], r10d
test r14d, r14d
je 0x14007421b
imul r9d, r14d
mov r11d, 0x10624dd3
imul r10d, r14d
mov eax, r11d
imul r9d
mov eax, r11d
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov dword [r8 + 4], edx
imul r10d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [r8 + 8], edx
mov rcx, rbp
mov qword [r8 + 0x10], r15
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rax, qword [0x140096f30]
test rax, rax
je 0x140074246
mov edx, r14d
mov rcx, rax
call fcn.14007cd6c
mov rax, qword [0x140096f30]
xor ebx, ebx
mov dword [rsp + 0x30], ebx
test rax, rax
jne 0x14007425c
mov r14d, 0x2714
jmp 0x1400743e8
lea r9, [rsp + 0x30]
mov rdx, rdi
lea r8, [0x1400b8b00]
mov rcx, rsi
call fcn.140073ccc
mov r14d, eax
test eax, eax
jne 0x1400743e4
mov rdx, qword [0x140096fb8]
test rdx, rdx
je 0x1400743e4
mov rcx, qword [0x140096f30]
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, rax
lea r8, [rsp + 0x38]
lea edx, [r14 + 0x20]
mov rbx, rax
call qword [sym.imp.GDI32.dll_GetObjectA]
mov rcx, qword [0x1400970d8]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400743e4
call qword [sym.imp.USER32.dll_EmptyClipboard]
test r15, r15
je 0x1400742e7
mov rdx, rbp
lea ecx, [r14 + 3]
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
je 0x1400742e7
xor r15d, r15d
xor ebp, ebp
mov rdx, rbx
mov ecx, 2
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
je 0x1400743d8
mov rcx, qword [0x140096f30]
mov ebx, 1
and qword [0x140096fc0], 0
and qword [0x140096fb8], 0
call qword [sym.imp.GDI32.dll_DeleteObject]
and qword [0x140096f30], 0
cmp qword [rdi + 0x206], 0
je 0x1400743dc
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetDC]
mov rdx, qword [rdi + 0x212]
xor r8d, r8d
mov rcx, rax
mov r12, rax
call qword [sym.imp.GDI32.dll_SelectPalette]
mov rdx, qword [rdi + 0x206]
lea ecx, [rbx + 8]
call qword [sym.imp.USER32.dll_SetClipboardData]
xor ecx, ecx
test rax, rax
je 0x1400743b7
mov qword [rdi + 0x206], rcx
lea r8d, [rbx + 0x6b]
mov qword [rdi + 0x212], rcx
mov rdx, rdi
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.14003cdf0
and dword [rsp + 0x20], 0
lea r8d, [rbx + 0x69]
mov rdx, rdi
mov rcx, rsi
call fcn.14003cdf0
and dword [rsp + 0x20], 0
lea r8d, [rbx + 0x6d]
mov rdx, rdi
mov rcx, rsi
call fcn.14003cdf0
jmp 0x1400743ca
mov rdx, qword [rdi + 0x206]
xor r8d, r8d
mov rcx, r12
call qword [sym.imp.GDI32.dll_SelectPalette]
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x1400743dc
mov ebx, dword [rsp + 0x30]
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x1400743e8
mov ebx, dword [rsp + 0x30]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
test r15, r15
je 0x1400743ff
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteMetaFile]
test rbp, rbp
je 0x14007440d
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalFree]
test ebx, ebx
je 0x140074416
call fcn.140067948
test r14d, r14d
je 0x140074423
mov ecx, r14d
call fcn.140060be4
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret