Function at 0x14001d2b0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
sub rsp, 0x28
mov byte [0x140125f15], 0
call fcn.14001bf50
xor ecx, ecx
call fcn.14001d500
cmp qword [0x1401289a8], 0
je 0x14001ca7a
add rsp, 0x28
jmp 0x14001d8b0
add rsp, 0x28
ret
push r14
sub rsp, 0x30
xor r14d, r14d
mov byte [0x140125f15], 1
cmp dword [0x140126750], r14d
je 0x14001d31b
cmp byte [0x14012689b], r14b
je 0x14001d2db
lea ecx, [r14 + 1]
call fcn.14001d500
mov ecx, r14d
cmp byte [0x140126898], cl
je 0x14001d2ff
mov edx, 1
mov byte [rsp + 0x40], 0xb7
lea rcx, [rsp + 0x40]
call fcn.14001da60
mov ecx, 1
mov r8d, dword [0x140126750]
xor r9d, r9d
mov edx, dword [0x140126920]
add r8d, ecx
lea ecx, [r9 + 8]
call fcn.14001d7c0
cmp dword [0x140126758], 1
jne 0x14001d341
mov edx, dword [0x140126754]
lea rcx, [0x140125f50]
call fcn.14001da60
add rsp, 0x30
pop r14
jmp 0x14001ca50
mov rcx, qword [0x140126778]
mov qword [rsp + 0x20], rdi
mov r8d, dword [rcx + 0x840]
test r8d, 0xfffffffb
je 0x14001d365
mov edi, dword [0x140126754]
jmp 0x14001d372
mov eax, dword [0x140126754]
cdq
sub eax, edx
sar eax, 1
mov edi, eax
test r8d, 0xfffffffb
je 0x14001d399
mov edx, edi
lea rcx, [0x140125f50]
call fcn.14001da60
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
jmp 0x14001ca50
cmp dword [rcx + 0x14], r14d
jne 0x14001d3cf
cmp dword [rcx + 0x870], r14d
je 0x14001d3cf
cmp byte [0x140125f16], r14b
je 0x14001d3cf
mov edx, edi
lea rcx, [0x140125f50]
call fcn.14001db40
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
jmp 0x14001ca50
mov qword [rsp + 0x48], rbx
mov byte [0x140113288], r14b
mov rcx, qword [rcx + 0x850]
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x28], rsi
call qword [sym.imp.USER32.dll_OpenClipboard]
call qword [sym.imp.USER32.dll_EmptyClipboard]
lea eax, [rdi + 1]
mov ecx, 2
movsxd rbx, eax
lea rdx, [rbx + rbx]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdx, rbx
mov ecx, 2
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rsi
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rcx, rbp
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
movsxd r10, edi
mov r11, rax
test edi, edi
jle 0x14001d484
mov rdx, rax
mov r9, rbx
lea rax, [0x140125f50]
mov r8, r10
sub r9, rax
mov edi, 0xff
nop dword [rax + rax]
movzx ecx, word [rax]
mov word [r9 + rax], cx
cmp word [rax], di
jbe 0x14001d472
mov byte [rdx], 0x3f
jmp 0x14001d477
movzx ecx, byte [rax]
mov byte [rdx], cl
add rax, 2
inc rdx
sub r8, 1
jne 0x14001d460
mov word [rbx + r10*2], r14w
mov rdx, rsi
mov ecx, 0xd
mov byte [r10 + r11], r14b
call qword [sym.imp.USER32.dll_SetClipboardData]
mov rdx, rbp
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
call fcn.140022e30
mov rsi, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
jmp 0x14001ca50
mov r11, rsp
push rbx
sub rsp, 0x70
mov rax, qword [0x140115740]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, qword [0x1401289a8]
test rbx, rbx
je 0x14001da42
mov qword [r11 + 8], rbp
lea rbp, [0x140126754]
mov qword [r11 + 0x10], rsi
lea rsi, [0x140126758]
mov qword [r11 + 0x18], rdi
xor edi, edi
lea rdx, [rsp + 0x30]
lea rcx, [0x140128988]
call fcn.140020e80
mov rdx, rax
mov rax, qword [rax]
test rax, rax
jne 0x14001d914
mov rax, rdi
jmp 0x14001d917
mov rax, qword [rax]
mov rcx, qword [rax + 0x10]
mov rax, qword [rax + 8]
dec rcx
and rcx, qword [rdx + 0x10]
sub rbx, 1
mov rcx, qword [rax + rcx*8]
movups xmm0, xmmword [rcx]
movsd xmm1, qword [rcx + 0x10]
movups xmmword [rsp + 0x48], xmm0
mov qword [0x1401289a8], rbx
movsd qword [rsp + 0x58], xmm1
jne 0x14001d953
mov qword [0x1401289a0], rdi
jmp 0x14001d95a
inc qword [0x1401289a0]
mov rcx, qword [rsp + 0x50]
lea rax, [rcx - 0x60]
cmp rax, 9
ja 0x14001d97e
movzx ebx, byte [rsp + 0x48]
lea rcx, [0x140126940]
mov edx, ebx
call fcn.1400bf7a0
jmp 0x14001d9e9
movzx ebx, byte [rsp + 0x48]
cmp rcx, 8
lea rcx, [0x140126940]
mov dword [0x140126754], 0x400
jne 0x14001d9b7
mov r9, rbp
mov qword [rsp + 0x20], rsi
lea r8, [0x140125f50]
lea rdx, [0x140126750]
call fcn.1400bf960
jmp 0x14001d9d7
movzx edx, bl
lea r9, [0x140125f50]
mov qword [rsp + 0x28], rsi
lea r8, [0x140126750]
mov qword [rsp + 0x20], rbp
call fcn.1400bf8e0
mov eax, dword [0x140126750]
test eax, eax
jne 0x14001da16
cmp dword [0x140126754], edi
jne 0x14001da16
movzx ecx, bl
call fcn.14007b334
test eax, eax
je 0x14001da04
mov edx, 1
lea rcx, [rsp + 0x48]
call fcn.14001da60
mov rbx, qword [0x1401289a8]
test rbx, rbx
jne 0x14001d8f3
jmp 0x14001da2a
cmp byte [rsp + 0x58], dil
je 0x14001da25
inc eax
mov dword [0x140126750], eax
call fcn.14001d2b0
mov rsi, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400265c0
add rsp, 0x70
pop rbx
ret