Function at 0x14008ac50
Capabilities:
Write clipboard data

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [0x140105fe8], 0
mov rdi, r8
mov rsi, rdx
je 0x140004f77
xor eax, eax
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
test rdx, rdx
je 0x140004fdb
mov eax, 0xffffffff
cmp r8, rax
jne 0x140004f9c
or rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140004f90
mov edi, eax
test rdi, rdi
je 0x140004fdb
lea rdx, [rdi + 1]
lea rcx, [0x140105fd0]
call fcn.140005000
test rax, rax
je 0x140004f6a
mov qword [rsp + 0x30], rbx
mov r8, rdi
mov rbx, qword [0x140105fe8]
mov rdx, rsi
mov rcx, rbx
call fcn.1400b0a34
xor eax, eax
mov word [rbx + rdi*2], ax
mov rbx, qword [rsp + 0x30]
lea rcx, [0x140105fd0]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1400050c0
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r12
push r14
push r15
sub rsp, 0x20
cmp byte [rcx + 0x23], 0
movzx r12d, r9b
mov rsi, r8
mov r15, rdx
mov rbx, rcx
jne 0x14008ac7e
mov rbx, qword [rbx + 0x10]
cmp byte [rbx + 0x23], 0
je 0x14008ac74
mov dl, 1
xor r14d, r14d
mov byte [rsp + 0x50], dl
movzx ecx, dl
test r15, r15
jne 0x14008acb2
cmp r8, 0xffffffffffffffff
jne 0x14008aca3
xor cl, cl
lea r15, [0x1400e8120]
mov esi, r14d
jmp 0x14008acda
xor dl, dl
lea r15, [0x1400e8120]
mov byte [rsp + 0x50], dl
jmp 0x14008acda
cmp r8, 0xffffffffffffffff
jne 0x14008acda
cmp qword [rbx + 8], r15
jne 0x14008acc7
mov rsi, qword [rbx + 0x10]
shr rsi, 1
jmp 0x14008acda
or rsi, 0xffffffffffffffff
nop dword [rax + rax]
inc rsi
cmp word [r15 + rsi*2], r14w
jne 0x14008acd0
cmp byte [rbx + 0x23], 2
lea rax, [rsi + 1]
lea rbp, [rax + rax]
jne 0x14008ad33
test dl, dl
je 0x14008ad08
mov r8, rsi
mov rdx, r15
mov rbx, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rsi
pop rbp
jmp 0x140004f50
mov rdx, rax
lea rcx, [0x140105fd0]
call fcn.140005000
test rax, rax
setne r14b
mov eax, r14d
mov rbx, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rsi
pop rbp
ret
mov r9, qword [0x1400fe448]
cmp rbp, r9
jbe 0x14008ad77
cmp byte [rsp + 0x70], r14b
je 0x14008ad77
cmp rbp, qword [rbx + 0x18]
jbe 0x14008ad77
lea r8, [0x1400e8120]
lea rdx, str.Memory_limit_reached__see_MaxMem_in_the_help_file_.
lea rcx, [0x1401053a0]
mov rbx, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rsi
pop rbp
jmp fcn.140035c60
cmp rax, 2
jae 0x14008ada9
test cl, cl
mov rcx, rbx
setne r14b
xor r8d, r8d
lea edx, [r14 + 3]
call fcn.14008b320
mov eax, 1
mov rbx, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rsi
pop rbp
ret
movzx eax, byte [rbx + 0x21]
test al, 2
je 0x14008adc6
mov rcx, qword [rbx]
and al, 0x3d
mov byte [rbx + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov r9, qword [0x1400fe448]
and byte [rbx + 0x21], 0x82
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x58], rdi
cmp rbp, rcx
jbe 0x14008af56
movzx r8d, byte [rbx + 0x20]
movzx eax, r8b
cmp r8b, 1
jbe 0x14008adfe
cmp al, 2
je 0x14008ae45
mov rdi, qword [rsp + 0x50]
mov rax, qword [rsp + 0x50]
jmp 0x14008af4a
mov edi, 0x80
cmp rbp, rdi
ja 0x14008ae45
cmp rbp, 8
ja 0x14008ae15
mov edi, 8
jmp 0x14008ae2b
test r12b, r12b
je 0x14008ae1f
mov rdi, rbp
jmp 0x14008ae2b
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
cmp rbp, rax
cmovbe rdi, rax
mov rcx, rdi
call fcn.140084890
test rax, rax
je 0x14008afd0
mov byte [rbx + 0x20], 1
jmp 0x14008af4a
mov rdi, rbp
test r12b, r12b
jne 0x14008af18
cmp rbp, 0x20
jae 0x14008ae61
mov edi, SafeArrayAllocDescriptor
jmp 0x14008af0a
mov edi, 0x208
cmp rbp, rdi
jb 0x14008af0a
cmp rbp, 0x50000
jae 0x14008aec6
xorps xmm0, xmm0
cvtsi2sd xmm0, rbp
test rbp, rbp
jns 0x14008ae8d
addsd xmm0, qword [0x1400ea370]
mulsd xmm0, qword [0x1400ea2c0]
xor eax, eax
movsd xmm1, qword [0x1400ea368]
comisd xmm0, xmm1
jb 0x14008aebc
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x14008aebc
movabs rdx, 0x8000000000000000
mov rax, rdx
cvttsd2si rdi, xmm0
add rdi, rax
jmp 0x14008af0a
cmp rbp, 0x320000
jae 0x14008aed8
lea rdi, [rbp + 0x8000]
jmp 0x14008af0a
cmp rbp, 0xc80000
jae 0x14008af03
movabs rax, 0x47ae147ae147ae15
mov rdi, rbp
mul rbp
sub rdi, rdx
shr rdi, 1
add rdi, rdx
shr rdi, 6
add rdi, rbp
jmp 0x14008af0a
lea rdi, [rbp + 0x20000]
cmp rdi, r9
jbe 0x14008af18
cmp byte [rsp + 0x70], r14b
cmovne rdi, r9
cmp r8b, 2
jne 0x14008af31
test rcx, rcx
je 0x14008af31
mov rcx, qword [rbx + 8]
mov bpl, 1
call fcn.1400aba10
jmp 0x14008af34
xor bpl, bpl
test rdi, rdi
js 0x14008af7d
mov rcx, rdi
call fcn.1400a7ae8
test rax, rax
je 0x14008af7d
mov byte [rbx + 0x20], 2
and byte [rbx + 0x21], 0x7f
mov qword [rbx + 8], rax
mov qword [rbx + 0x18], rdi
cmp byte [rsp + 0x50], r14b
je 0x14008afbb
mov rcx, qword [rbx + 8]
cmp rcx, r15
je 0x14008af72
lea r8, [rsi + rsi]
mov rdx, r15
call fcn.1400a56f0
mov rax, qword [rbx + 8]
mov word [rax + rsi*2], r14w
jmp 0x14008afc3
test bpl, bpl
je 0x14008af93
lea rax, [0x140105300]
mov qword [rbx + 0x18], r14
mov qword [rbx + 8], rax
jmp 0x14008af9b
mov rax, qword [rbx + 8]
mov word [rax], r14w
lea r8, [0x1400e8120]
mov qword [rbx + 0x10], r14
lea rdx, str.Out_of_memory.
lea rcx, [0x1401053a0]
call fcn.140035c60
jmp 0x14008afd0
mov rax, qword [rbx + 8]
mov word [rax], r14w
lea rax, [rsi + rsi]
mov qword [rbx + 0x10], rax
mov eax, 1
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rsi
pop rbp
ret