Function at 0x1400128e0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x178]
sub rsp, 0x250
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14009f1b0]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov r13, rcx
xor r12d, r12d
mov edi, 0x1000
mov al, byte [r13 + 0x1f0]
test al, al
jne 0x140012de7
mov qword [rbp + 0xc0], r12
mov qword [rbp + 0xc8], 7
mov word [rbp + 0xb0], r12w
lea rcx, [r13 + 0x128]
lea rdx, [rbp + 0xb0]
call fcn.14002e350
test al, al
je 0x140012d7f
cmp qword [rbp + 0xc0], r12
je 0x140012d7f
mov byte [rsp + 0x20], r12b
mov qword [rbp + 0xa0], r12
mov qword [rbp + 0xa8], 0xf
mov byte [rbp + 0x90], r12b
mov al, byte [r13 + 0x3c0]
test al, al
jne 0x1400129c6
movups xmm0, xmmword [rbp + 0x90]
movups xmmword [rbp + 0x110], xmm0
movups xmm1, xmmword [rbp + 0xa0]
movups xmmword [rbp + 0x120], xmm1
jmp 0x140012b4a
cmp qword [rbp + 0xc0], r12
je 0x1400129a5
lea rdx, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 8
cmovae rdx, qword [rbp + 0xb0]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
mov r8d, 3
lea rcx, [rsp + 0x70]
call fcn.140017ce4
nop
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x28]
call fcn.14001521c
nop
lea rax, [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
cmp rcx, rax
je 0x140012a26
call fcn.14005af90
nop
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x28]
lea rcx, [rbp + 0xd0]
call fcn.14000d7c4
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x140012a76
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, rdi
jb 0x140012a71
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012e1d
call fcn.14004b054
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], 0xf
mov byte [rsp + 0x28], r12b
mov rbx, qword [rbp + 0xe0]
lea r9, [rbp + 0xd0]
cmp qword [rbp + 0xe8], 0x10
cmovae r9, qword [rbp + 0xd0]
lea rcx, [rbp + 0x90]
cmp rbx, 0xf
ja 0x140012ad0
mov qword [rbp + 0xa0], rbx
mov r8, rbx
mov rdx, r9
call fcn.14004cf60
mov byte [rbp + rbx + 0x90], r12b
jmp 0x140012ad8
mov rdx, rbx
call fcn.14001dd14
movups xmm0, xmmword [rbp + 0x90]
movups xmmword [rbp + 0x110], xmm0
movups xmm1, xmmword [rbp + 0xa0]
movups xmmword [rbp + 0x120], xmm1
mov rdx, qword [rbp + 0xe8]
cmp rdx, 0x10
jb 0x140012b31
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, rdi
jb 0x140012b2c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012e23
call fcn.14004b054
mov qword [rbp + 0xe0], r12
mov qword [rbp + 0xe8], 0xf
mov byte [rbp + 0xd0], r12b
mov r15, qword [rbp + 0xa8]
mov rsi, qword [rbp + 0x90]
cmp byte [rsp + 0x20], r12b
je 0x140012d4c
cmp qword [rbp + 0xc0], r12
jne 0x140012b81
lea rdx, [0x140088655]
lea rcx, [rbp + 0xf0]
call fcn.14001521c
jmp 0x140012bd3
lea rdx, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 8
cmovae rdx, qword [rbp + 0xb0]
lea rax, [rbp + 8]
mov qword [rbp], rax
mov r8d, 3
lea rcx, [rbp]
call fcn.140017ce4
nop
mov rdx, qword [rbp]
lea rcx, [rbp + 0xf0]
call fcn.14001521c
nop
lea rax, [rbp + 8]
mov rcx, qword [rbp]
cmp rcx, rax
je 0x140012bd3
call fcn.14005af90
lea rdx, [rbp + 0xf0]
mov rbx, qword [rbp + 0xf0]
mov rdi, qword [rbp + 0x108]
cmp rdi, 0x10
cmovae rdx, rbx
lea rcx, [rbp + 0x110]
cmp r15, 0x10
cmovae rcx, rsi
mov r14, qword [rbp + 0xa0]
cmp r14, qword [rbp + 0x100]
jne 0x140012c1f
mov r8, r14
call fcn.14004d600
test eax, eax
je 0x140012d0d
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140012cff
call qword [sym.imp.USER32.dll_EmptyClipboard]
test r14, r14
je 0x140012cf9
lea rdx, [r14 + 1]
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x140012c89
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rbx, rax
lea rdx, [rbp + 0x110]
cmp r15, 0x10
cmovae rdx, rsi
mov r8, r14
mov rcx, rax
call fcn.14004cf60
mov byte [rbx + r14], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rdi
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
lea rdx, [r14 + 1]
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
xor r12d, r12d
test rax, rax
jne 0x140012cb6
mov edi, r12d
jmp 0x140012ce9
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rbx, rax
lea rdx, [rbp + 0x110]
cmp r15, 0x10
cmovae rdx, rsi
mov r8, r14
mov rcx, rax
call fcn.14004cf60
mov byte [rbx + r14], r12b
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rdi
mov ecx, dword [r13 + 0x220]
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rbx, qword [rbp + 0xf0]
mov rdi, qword [rbp + 0x108]
cmp rdi, 0x10
jb 0x140012d47
lea rdx, [rdi + 1]
mov rax, rbx
mov edi, 0x1000
cmp rdx, rdi
jb 0x140012d3d
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012e29
mov rcx, rbx
call fcn.14004b054
jmp 0x140012d4c
mov edi, 0x1000
cmp r15, 0x10
jb 0x140012d7f
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, rdi
jb 0x140012d77
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012e17
mov rcx, rsi
call fcn.14004b054
call fcn.14002cd68
add rax, 0x927c0
imul rcx, rax, 0x64
movabs rax, 0x112e0be826d694b3
imul rcx
sar rdx, 0x1a
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rsp + 0x50], rdx
imul rax, rdx, 0x3b9aca00
sub rcx, rax
mov dword [rsp + 0x58], ecx
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0x130], xmm0
lea rcx, [rbp + 0x130]
call fcn.14002caa8
nop
lea rcx, [rbp + 0xb0]
call fcn.140017f10
jmp 0x14001292b
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.14004b030
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14005adc4
nop
call fcn.14005adc4
nop
call fcn.14005adc4
nop
call fcn.14005adc4
int3