Function at 0x140011cd8
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x18]
sub rsp, 0x118
mov eax, dword [0x1400733e8]
lea rdi, [0x140053410]
mov ebx, 1
test bl, al
jne 0x140011d20
or eax, ebx
mov dword [0x1400733e8], eax
call fcn.1400068ec
mov rcx, rdi
call fcn.14002bb88
mov r8d, 0x20
mov rdx, qword [0x140073358]
mov rdx, qword [rdx + 0x860]
lea rcx, [rbp - 0x48]
call fcn.140020118
nop
mov eax, dword [0x1400733e8]
test bl, al
jne 0x140011d5d
or eax, ebx
mov dword [0x1400733e8], eax
call fcn.1400068ec
mov rcx, rdi
call fcn.14002bb88
mov r8d, 0x960
mov rdx, qword [0x140073358]
mov rdx, qword [rdx + 0x860]
lea rcx, [rbp - 0x50]
call fcn.140020118
nop
mov eax, dword [0x1400733e8]
test bl, al
jne 0x140011d9a
or eax, ebx
mov dword [0x1400733e8], eax
call fcn.1400068ec
mov rcx, rdi
call fcn.14002bb88
mov r8d, 0x967
mov rdx, qword [0x140073358]
mov rdx, qword [rdx + 0x860]
lea rcx, [rbp - 0x58]
call fcn.140020118
nop
mov eax, dword [0x1400733e8]
test bl, al
jne 0x140011dd7
or eax, ebx
mov dword [0x1400733e8], eax
call fcn.1400068ec
mov rcx, rdi
call fcn.14002bb88
mov r8d, ebx
lea rdx, [rbp - 0x60]
lea rsi, [0x140073350]
mov rcx, rsi
call fcn.14000bb38
nop
mov eax, dword [0x1400733e8]
test bl, al
jne 0x140011e0d
or eax, ebx
mov dword [0x1400733e8], eax
call fcn.1400068ec
mov rcx, rdi
call fcn.14002bb88
mov r8d, 2
lea rdx, [rbp - 0x68]
mov rcx, rsi
call fcn.14000bb38
nop
mov eax, dword [0x1400733e8]
test bl, al
jne 0x140011e3f
or eax, ebx
mov dword [0x1400733e8], eax
call fcn.1400068ec
mov rcx, rdi
call fcn.14002bb88
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.14000bc3c
nop
mov rcx, qword [rbp - 0x60]
test rcx, rcx
jne 0x14001208a
xor r12d, r12d
mov qword [rsp + 0x68], r12
mov rcx, qword [rbp - 0x68]
test rcx, rcx
jne 0x1400120a6
xor r15d, r15d
mov qword [rsp + 0x70], r15
mov rcx, qword [rbp - 0x48]
test rcx, rcx
jne 0x1400120c2
xor esi, esi
mov qword [rsp + 0x78], rsi
mov rcx, qword [rbp - 0x50]
test rcx, rcx
jne 0x1400120de
xor ebx, ebx
mov qword [rbp - 0x80], rbx
mov rcx, qword [rbp - 0x58]
test rcx, rcx
jne 0x1400120f9
xor r14d, r14d
mov qword [rbp - 0x78], r14
mov r13, qword [rsp + 0x60]
test r13, r13
jne 0x140012114
xor edi, edi
mov qword [rbp - 0x70], rdi
xor eax, eax
mov dword [rbp + 0x70], eax
xor ecx, ecx
mov dword [rbp + 0x78], ecx
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x34], ecx
mov dword [rsp + 0x2c], eax
and dword [rsp + 0x30], eax
mov edx, 0x3f2
mov rcx, qword [rbp + 0x60]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov qword [rbp + 0x68], rax
test rax, rax
je 0x1400124d7
mov r9d, 2
or r8, 0xffffffffffffffff
mov edx, 0x100c
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [rsp + 0x48], rax
cmp eax, 0xffffffff
je 0x1400124d7
mov r15, rax
xor edx, edx
lea r8d, [rdx + 0x48]
lea rcx, [rbp - 0x40]
call fcn.14002dc80
mov dword [rbp - 0x3c], r15d
and dword [rbp - 0x38], 0
mov dword [rbp - 0x40], 4
lea r9, [rbp - 0x40]
xor r8d, r8d
mov edx, 0x104b
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdx, qword [rbp - 0x18]
test rdx, rdx
je 0x140012132
lea rcx, [rsp + 0x38]
call fcn.14000d338
nop
mov rdx, qword [rbp - 0x60]
test rdx, rdx
je 0x1400125e0
mov rcx, qword [rsp + 0x38]
call fcn.14003f7f0
mov ebx, dword [rbp + 0x70]
test eax, eax
mov r14d, 1
cmove ebx, r14d
mov dword [rbp + 0x70], ebx
mov rdx, qword [rbp - 0x68]
test rdx, rdx
je 0x1400125e0
mov rcx, qword [rsp + 0x38]
call fcn.14003f7f0
mov edi, dword [rbp + 0x78]
test eax, eax
cmove edi, r14d
mov dword [rbp + 0x78], edi
mov rdx, qword [rbp - 0x48]
test rdx, rdx
je 0x1400125e0
mov rcx, qword [rsp + 0x38]
call fcn.14003f7f0
mov esi, dword [rsp + 0x28]
test eax, eax
cmove esi, r14d
mov dword [rsp + 0x28], esi
mov rdx, qword [rbp - 0x50]
test rdx, rdx
je 0x1400125e0
mov rcx, qword [rsp + 0x38]
call fcn.14003f7f0
mov r12d, dword [rsp + 0x34]
test eax, eax
cmove r12d, r14d
mov dword [rsp + 0x34], r12d
mov rdx, qword [rbp - 0x58]
test rdx, rdx
je 0x1400125e0
mov rcx, qword [rsp + 0x38]
call fcn.14003f7f0
mov r14d, dword [rsp + 0x2c]
test eax, eax
mov eax, 1
cmove r14d, eax
mov dword [rsp + 0x2c], r14d
test r13, r13
je 0x1400125e0
mov rdx, r13
mov rcx, qword [rsp + 0x38]
call fcn.14003f7f0
mov ecx, dword [rsp + 0x30]
test eax, eax
mov eax, 1
cmove ecx, eax
mov dword [rsp + 0x30], ecx
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140012080
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov r13, qword [rsp + 0x60]
jmp 0x140012146
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r12, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x1400125eb
jmp 0x140011e62
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r15, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x1400125f6
jmp 0x140011e77
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rsi, rax
mov qword [rsp + 0x78], rax
test rax, rax
je 0x140012601
jmp 0x140011e8b
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rbp - 0x80], rax
test rax, rax
je 0x14001260c
jmp 0x140011e9e
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r14, rax
mov qword [rbp - 0x78], rax
test rax, rax
je 0x140012617
jmp 0x140011eb2
mov rcx, r13
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
mov qword [rbp - 0x70], rax
test rax, rax
je 0x140012622
jmp 0x140011ec6
mov ebx, dword [rbp + 0x70]
mov edi, dword [rbp + 0x78]
mov esi, dword [rsp + 0x28]
mov r14d, dword [rsp + 0x2c]
mov r12d, dword [rsp + 0x34]
movsxd r8, r15d
mov edx, 0x100c
mov r9d, 2
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r15d, eax
cmp eax, 0xffffffff
jne 0x140011f29
xor eax, eax
test ebx, ebx
jne 0x1400121a8
test esi, esi
jne 0x1400121a8
test r14d, r14d
jne 0x1400121a8
cmp dword [rsp + 0x30], eax
jne 0x1400121a8
test edi, edi
jne 0x1400121a8
test r12d, r12d
jne 0x1400121a8
mov r12, qword [rsp + 0x68]
mov r15, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rbx, qword [rbp - 0x80]
mov r14, qword [rbp - 0x78]
mov rdi, qword [rbp - 0x70]
jmp 0x1400124d7
mov qword [rsp + 0x40], rax
mov dword [rbp + 0x68], eax
lea rcx, str.Preferred_DropEffect
call qword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov dword [rsp + 0x5c], eax
mov edx, 4
mov ecx, 0x2042
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsp + 0x48], rax
mov r12, qword [rsp + 0x68]
mov r15, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rbx, qword [rbp - 0x80]
mov r14, qword [rbp - 0x78]
mov rdi, qword [rbp - 0x70]
test rax, rax
jne 0x14001221b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.GlobalAlloc_1_fail__err__lu
mov r8d, eax
lea rcx, [0x14005f4f8]
call fcn.140025b7c
mov r8d, dword [rbp + 0x68]
jmp 0x1400124a7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [rax], 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, r12
call qword [sym.imp.OLEAUT32.dll_VariantInit]
mov dword [rsp + 0x20], eax
mov rcx, r15
call qword [sym.imp.OLEAUT32.dll_VariantInit]
mov dword [rsp + 0x40], eax
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_VariantInit]
mov dword [rsp + 0x58], eax
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_VariantInit]
mov dword [rsp + 0x54], eax
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_VariantInit]
mov dword [rsp + 0x50], eax
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_VariantInit]
add eax, dword [rsp + 0x50]
add eax, dword [rsp + 0x54]
add eax, dword [rsp + 0x58]
add eax, dword [rsp + 0x40]
add eax, dword [rsp + 0x20]
lea edx, [rax*2 + 0x34]
mov ecx, 0x2042
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x1400122c1
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.GlobalAlloc_2_fail__err__lu
jmp 0x140012203
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rax], 0x14
xor ecx, ecx
mov qword [rax + 8], rcx
mov dword [rax + 0x10], 1
add rax, 0x14
mov qword [rsp + 0x20], rax
cmp dword [rbp + 0x70], ecx
je 0x140012322
mov rcx, r12
call qword [sym.imp.OLEAUT32.dll_VariantInit]
lea r8d, [rax + 1]
add r8, r8
mov rdx, r12
mov rcx, qword [rsp + 0x20]
call fcn.14002d5d0
mov rcx, r12
call qword [sym.imp.OLEAUT32.dll_VariantInit]
inc eax
mov rcx, qword [rsp + 0x20]
lea rcx, [rcx + rax*2]
mov qword [rsp + 0x20], rcx
cmp dword [rbp + 0x78], 0
je 0x14001235e
mov rcx, r15
call qword [sym.imp.OLEAUT32.dll_VariantInit]
lea r8d, [rax + 1]
add r8, r8
mov rdx, r15
mov rcx, qword [rsp + 0x20]
call fcn.14002d5d0
mov rcx, r15
call qword [sym.imp.OLEAUT32.dll_VariantInit]
inc eax
mov rcx, qword [rsp + 0x20]
lea rcx, [rcx + rax*2]
mov qword [rsp + 0x20], rcx
cmp dword [rsp + 0x28], 0
je 0x14001239b
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_VariantInit]
lea r8d, [rax + 1]
add r8, r8
mov rdx, rsi
mov rcx, qword [rsp + 0x20]
call fcn.14002d5d0
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_VariantInit]
inc eax
mov rcx, qword [rsp + 0x20]
lea rcx, [rcx + rax*2]
mov qword [rsp + 0x20], rcx
cmp dword [rsp + 0x2c], 0
je 0x1400123d8
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_VariantInit]
lea r8d, [rax + 1]
add r8, r8
mov rdx, r14
mov rcx, qword [rsp + 0x20]
call fcn.14002d5d0
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_VariantInit]
inc eax
mov rcx, qword [rsp + 0x20]
lea rcx, [rcx + rax*2]
mov qword [rsp + 0x20], rcx
cmp dword [rsp + 0x30], 0
je 0x140012415
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_VariantInit]
lea r8d, [rax + 1]
add r8, r8
mov rdx, rdi
mov rcx, qword [rsp + 0x20]
call fcn.14002d5d0
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_VariantInit]
inc eax
mov rcx, qword [rsp + 0x20]
lea rcx, [rcx + rax*2]
mov qword [rsp + 0x20], rcx
cmp dword [rsp + 0x34], 0
je 0x140012442
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_VariantInit]
lea r8d, [rax + 1]
add r8, r8
mov rdx, rbx
mov rcx, qword [rsp + 0x20]
call fcn.14002d5d0
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_VariantInit]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rax, qword [rbp + 0x60]
mov rcx, qword [rax + 8]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x140012471
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.OpenClipboard_fail__err__lu
jmp 0x140012203
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, qword [rsp + 0x40]
mov ecx, 0xf
call qword [sym.imp.USER32.dll_SetClipboardData]
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x5c]
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov eax, 1
mov r8d, eax
mov dword [rbp + 0x68], eax
lea rdx, str.On_Copy__d
lea rcx, [0x14005f4f8]
call fcn.140025b7c
cmp dword [rbp + 0x68], 0
jne 0x1400124d7
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, r15
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, r12
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
lea rdx, [r13 - 0x18]
or rbx, 0xffffffffffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x140012532
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x68]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x140012551
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x60]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x140012570
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x58]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x14001258f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x50]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x1400125ae
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x48]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x1400125cc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
add rsp, 0x118
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80004005
call fcn.140006280
nop
mov ecx, 0x8007000e
call fcn.140006280
nop
mov ecx, 0x8007000e
call fcn.140006280
nop
mov ecx, 0x8007000e
call fcn.140006280
nop
mov ecx, 0x8007000e
call fcn.140006280
nop
mov ecx, 0x8007000e
call fcn.140006280
nop
mov ecx, 0x8007000e
call fcn.140006280
int3