Function at 0x14012cac0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
jmp 0x14012cac0
push rbp
push rbx
push rdi
push r12
push r13
push r14
sub rsp, 0x68
lea rbp, [rsp + 0x30]
mov r14, rcx
mov edx, 0xffffffeb
xor edi, edi
mov rcx, qword [r14]
call sub.USER32.dll_GetWindowLongPtrA
mov r13, rax
test r13, r13
jne 0x14012cb22
mov r11, rsp
mov ecx, 0x10100009
lea rdx, [0x1404d73c0]
mov r8d, 3
mov r9d, 9
lea rbx, [0x1404d7428]
lea r10, [0x1404d7434]
mov qword [r11 + 0x20], rbx
mov qword [r11 + 0x28], r10
call fcn.140002199
mov r8, r14
lea rcx, [rbp + 0x28]
mov ebx, dword [r13 + 0x80]
lea rdx, [rbp + 0x2c]
inc ebx
mov dword [rcx], ebx
call fcn.14000542a
mov r12, rax
test r13, r13
je 0x14012cb57
mov edx, dword [r13 + 0x8c]
movsxd rbx, edx
add rbx, r12
jmp 0x14012cc0f
mov r11, rsp
mov ecx, 0x10100009
lea rdx, [0x1404d73c0]
mov r8d, 3
mov r9d, 9
lea rbx, [0x1404d7440]
lea r10, [0x1404d744c]
mov qword [r11 + 0x20], rbx
mov qword [r11 + 0x28], r10
call fcn.140002199
movsxd rbx, dword [0x8c]
mov ecx, 0x10100009
add rbx, r12
mov r12, rsp
lea rdx, [0x1404d73c0]
mov r8d, 3
mov r9d, 9
lea r10, [0x1404d7458]
lea r11, [0x1404d7464]
mov qword [r12 + 0x20], r10
mov qword [r12 + 0x28], r11
call fcn.140002199
mov r12, rsp
mov ecx, 0x10100009
lea rdx, [0x1404d73c0]
mov r8d, 3
mov r9d, 9
lea r10, [0x1404d7470]
lea r11, [0x1404d747c]
mov qword [r12 + 0x20], r10
mov qword [r12 + 0x28], r11
call fcn.140002199
mov edx, dword [0x8c]
mov r9d, dword [r13 + 0x98]
mov rcx, qword [r14]
sub r9d, edx
mov dword [rbp + 0x2c], r9d
call sub.USER32.dll_OpenClipboard
test eax, eax
je 0x14012d087
call sub.USER32.dll_EmptyClipboard
movsxd rdx, dword [rbp + 0x2c]
mov ecx, 0x42
inc rdx
call sub.KERNEL32.dll_GlobalAlloc
mov r12, rax
test r12, r12
jne 0x14012cc56
call fcn.1403fd75e
nop
jmp 0x14012d087
mov rcx, r12
call sub.KERNEL32.dll_GlobalLock
mov rdi, rax
mov r13d, dword [rbp + 0x2c]
test r13d, r13d
jle 0x14012d097
test rdi, rdi
je 0x14012cd77
test rbx, rbx
je 0x14012cccb
mov r8d, r13d
mov r10d, 1
xor r9d, r9d
shr r8d, 1
je 0x14012ccad
mov r10b, byte [rbx + r9*2 + 1]
mov byte [rdi + r9*2], r10b
mov r11b, byte [rbx + r9*2 + 2]
mov byte [rdi + r9*2 + 1], r11b
inc r9
cmp r9, r8
jb 0x14012cc8d
lea r10d, [r9 + r9 + 1]
lea r8d, [r10 - 1]
cmp r8d, r13d
jae 0x14012cd6e
movsxd r10, r10d
mov bl, byte [r10 + rbx]
mov byte [rdi + r10 - 1], bl
jmp 0x14012cd6e
movsxd rdx, r13d
xor ecx, ecx
lea rax, [0x1404d7488]
mov qword [rbp + 8], r12
lea r13, [0x1404d7490]
mov qword [rbp + 0x18], rsi
lea rbx, [0x1404d7498]
mov qword [rbp + 0x10], r15
lea r14, [0x1404d74a0]
mov rsi, rax
mov r15, rdx
mov r12, rcx
mov r10, rsp
mov ecx, 0x10100009
lea rdx, [0x1404d73c0]
mov r8d, 3
mov r9d, 9
mov qword [r10 + 0x20], rsi
mov qword [r10 + 0x28], r13
call fcn.140002199
mov r10, rsp
mov ecx, 0x10100009
lea rdx, [0x1404d73c0]
mov r8d, 3
mov r9d, 9
mov qword [r10 + 0x20], rbx
mov qword [r10 + 0x28], r14
call fcn.140002199
mov r8b, byte [r12 + 1]
mov byte [r12 + rdi], r8b
inc r12
cmp r12, r15
jb 0x14012cd01
mov r12, qword [rbp + 8]
mov rsi, qword [rbp + 0x18]
mov r15, qword [rbp + 0x10]
mov r13d, dword [rbp + 0x2c]
jmp 0x14012d05f
movsxd rax, r13d
test rbx, rbx
jne 0x14012cecb
mov qword [rbp], 0
lea rdx, [0x1404d7490]
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x20], rdi
lea r14, [0x1404d74a0]
mov qword [rbp + 8], r12
mov qword [rbp + 0x18], rsi
mov r15, qword [rbp]
lea r13, [0x1404d74a8]
lea rbx, [0x1404d74b0]
mov rsi, rax
mov r12, rdx
lea rdi, [0x1404d7488]
mov rcx, rsp
lea r10, [0x1404d74bc]
lea r11, [0x1404d74c4]
lea rdx, [0x1404d73c0]
mov r8d, 3
mov r9d, 9
mov qword [rcx + 0x20], r10
mov qword [rcx + 0x28], r11
mov ecx, 0x10100009
call fcn.140002199
mov r10, rsp
mov ecx, 0x10100009
lea rdx, [0x1404d73c0]
mov r8d, 3
mov r9d, 9
mov qword [r10 + 0x20], rdi
mov qword [r10 + 0x28], r12
call fcn.140002199
mov rcx, rsp
lea r10, [0x1404d74d0]
lea r11, [0x1404d74d8]
lea rdx, [0x1404d73c0]
mov r8d, 3
mov r9d, 9
mov qword [rcx + 0x20], r10
mov qword [rcx + 0x28], r11
mov ecx, 0x10100009
call fcn.140002199
mov r11, rsp
mov ecx, 0x10100009
lea rdx, [0x1404d73c0]
mov r8d, 3
mov r9d, 9
lea r10, [0x1404d7498]
mov qword [r11 + 0x20], r10
mov qword [r11 + 0x28], r14
call fcn.140002199
mov r10, rsp
mov ecx, 0x10100009
lea rdx, [0x1404d73c0]
mov r8d, 3
mov r9d, 9
mov qword [r10 + 0x20], r13
mov qword [r10 + 0x28], rbx
call fcn.140002199
mov cl, byte [r15 + 1]
mov byte [r15], cl
inc r15
cmp r15, rsi
jb 0x14012cdc8
jmp 0x14012cfa4
xor r8d, r8d
lea rcx, [0x1404d74d0]
lea rdx, [0x1404d74d8]
mov qword [rbp + 0x20], rdi
mov qword [rbp + 8], r12
lea r13, [0x1404d74a8]
mov qword [rbp + 0x18], rsi
lea r14, [0x1404d74b0]
mov qword [rbp + 0x10], r15
mov rsi, rax
mov rdi, rbx
mov rbx, rdx
mov r15, rcx
mov r12, r8
mov r9, rsp
lea r10, [0x1404d74bc]
lea r11, [0x1404d74c4]
mov ecx, 0x10100009
lea rdx, [0x1404d73c0]
mov r8d, 3
mov qword [r9 + 0x20], r10
mov qword [r9 + 0x28], r11
mov r9d, 9
call fcn.140002199
mov r10, rsp
mov ecx, 0x10100009
lea rdx, [0x1404d73c0]
mov r8d, 3
mov r9d, 9
mov qword [r10 + 0x20], r15
mov qword [r10 + 0x28], rbx
call fcn.140002199
mov r10, rsp
mov ecx, 0x10100009
lea rdx, [0x1404d73c0]
mov r8d, 3
mov r9d, 9
mov qword [r10 + 0x20], r13
mov qword [r10 + 0x28], r14
call fcn.140002199
mov r9b, byte [r12 + rdi + 1]
mov byte [r12], r9b
inc r12
cmp r12, rsi
jb 0x14012cf09
mov rdi, qword [rbp + 0x20]
mov r12, qword [rbp + 8]
mov rsi, qword [rbp + 0x18]
mov r15, qword [rbp + 0x10]
mov r13d, dword [rbp + 0x2c]
mov r11, rsp
mov ecx, 0x10100009
lea rdx, [0x1404d73c0]
mov r8d, 3
mov r9d, 9
lea rbx, [0x1404d74e4]
lea r10, [0x1404d74ec]
mov qword [r11 + 0x20], rbx
mov qword [r11 + 0x28], r10
call fcn.140002199
mov r11, rsp
mov ecx, 0x10100009
lea rdx, [0x1404d73c0]
mov r8d, 3
mov r9d, 9
lea rbx, [0x1404d74f8]
lea r10, [0x1404d7500]
mov qword [r11 + 0x20], rbx
mov qword [r11 + 0x28], r10
call fcn.140002199
test rdi, rdi
jne 0x14012d05f
mov r11, rsp
mov ecx, 0x10100009
lea rdx, [0x1404d73c0]
mov r8d, 3
mov r9d, 9
lea rbx, str.MEMORY
lea r10, str.P_MEMORY
mov qword [r11 + 0x20], rbx
mov qword [r11 + 0x28], r10
call fcn.140002199
movsxd r13, r13d
mov rcx, r12
mov byte [r13 + rdi], 0
call sub.KERNEL32.dll_GlobalUnlock
mov ecx, 1
mov rdx, r12
call sub.USER32.dll_SetClipboardData
call fcn.1403fd75e
mov edi, 0xffffffff
mov eax, edi
lea rsp, [rbp + 0x38]
pop r14
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret
test rdi, rdi
jne 0x14012d05f
jmp 0x14012cfb8