Function at 0x140004b90
Capabilities:
Write clipboard data

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [0x1400f4fd8], 0
mov rdi, r8
mov rsi, rdx
je 0x140004bb7
xor eax, eax
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
test rdx, rdx
je 0x140004c1b
mov eax, 0xffffffff
cmp r8, rax
jne 0x140004bdc
or rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140004bd0
mov edi, eax
test rdi, rdi
je 0x140004c1b
lea rdx, [rdi + 1]
lea rcx, [0x1400f4fc0]
call fcn.140004c40
test rax, rax
je 0x140004baa
mov qword [rsp + 0x30], rbx
mov r8, rdi
mov rbx, qword [0x1400f4fd8]
mov rdx, rsi
mov rcx, rbx
call fcn.1400a1224
xor eax, eax
mov word [rbx + rdi*2], ax
mov rbx, qword [rsp + 0x30]
lea rcx, [0x1400f4fc0]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140004d00
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 0x14007c09e
mov rbx, qword [rbx + 0x10]
cmp byte [rbx + 0x23], 0
je 0x14007c094
mov dl, 1
xor r14d, r14d
mov byte [rsp + 0x50], dl
movzx ecx, dl
test r15, r15
jne 0x14007c0d2
cmp r8, 0xffffffffffffffff
jne 0x14007c0c3
xor cl, cl
lea r15, [0x1400bbf7c]
mov esi, r14d
jmp 0x14007c0fa
xor dl, dl
lea r15, [0x1400bbf7c]
mov byte [rsp + 0x50], dl
jmp 0x14007c0fa
cmp r8, 0xffffffffffffffff
jne 0x14007c0fa
cmp qword [rbx + 8], r15
jne 0x14007c0e7
mov rsi, qword [rbx + 0x10]
shr rsi, 1
jmp 0x14007c0fa
or rsi, 0xffffffffffffffff
nop dword [rax + rax]
inc rsi
cmp word [r15 + rsi*2], r14w
jne 0x14007c0f0
cmp byte [rbx + 0x23], 2
lea rax, [rsi + 1]
lea rbp, [rax + rax]
jne 0x14007c153
test dl, dl
je 0x14007c128
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 0x140004b90
mov rdx, rax
lea rcx, [0x1400f4fc0]
call fcn.140004c40
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 [0x1400ed448]
cmp rbp, r9
jbe 0x14007c197
cmp byte [rsp + 0x70], r14b
je 0x14007c197
cmp rbp, qword [rbx + 0x18]
jbe 0x14007c197
lea r8, [0x1400bbf7c]
lea rdx, str.Memory_limit_reached__see_MaxMem_in_the_help_file_.
lea rcx, [0x1400f4390]
mov rbx, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rsi
pop rbp
jmp fcn.14002f740
cmp rax, 2
jae 0x14007c1c9
test cl, cl
mov rcx, rbx
setne r14b
xor r8d, r8d
lea edx, [r14 + 3]
call fcn.14007c6f0
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 0x14007c1e6
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 [0x1400ed448]
and byte [rbx + 0x21], 0x82
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x58], rdi
cmp rbp, rcx
jbe 0x14007c376
movzx r8d, byte [rbx + 0x20]
movzx eax, r8b
cmp r8b, 1
jbe 0x14007c21e
cmp al, 2
je 0x14007c265
mov rdi, qword [rsp + 0x50]
mov rax, qword [rsp + 0x50]
jmp 0x14007c36a
mov edi, 0x80
cmp rbp, rdi
ja 0x14007c265
cmp rbp, 8
ja 0x14007c235
mov edi, 8
jmp 0x14007c24b
test r12b, r12b
je 0x14007c23f
mov rdi, rbp
jmp 0x14007c24b
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
cmp rbp, rax
cmovbe rdi, rax
mov rcx, rdi
call fcn.140075bf0
test rax, rax
je 0x14007c3f0
mov byte [rbx + 0x20], 1
jmp 0x14007c36a
mov rdi, rbp
test r12b, r12b
jne 0x14007c338
cmp rbp, 0x20
jae 0x14007c281
mov edi, SafeArrayAllocDescriptor
jmp 0x14007c32a
mov edi, 0x208
cmp rbp, rdi
jb 0x14007c32a
cmp rbp, 0x50000
jae 0x14007c2e6
xorps xmm0, xmm0
cvtsi2sd xmm0, rbp
test rbp, rbp
jns 0x14007c2ad
addsd xmm0, qword [0x1400da238]
mulsd xmm0, qword [0x1400da188]
xor eax, eax
movsd xmm1, qword [0x1400da230]
comisd xmm0, xmm1
jb 0x14007c2dc
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x14007c2dc
movabs rdx, 0x8000000000000000
mov rax, rdx
cvttsd2si rdi, xmm0
add rdi, rax
jmp 0x14007c32a
cmp rbp, 0x320000
jae 0x14007c2f8
lea rdi, [rbp + 0x8000]
jmp 0x14007c32a
cmp rbp, 0xc80000
jae 0x14007c323
movabs rax, 0x47ae147ae147ae15
mov rdi, rbp
mul rbp
sub rdi, rdx
shr rdi, 1
add rdi, rdx
shr rdi, 6
add rdi, rbp
jmp 0x14007c32a
lea rdi, [rbp + 0x20000]
cmp rdi, r9
jbe 0x14007c338
cmp byte [rsp + 0x70], r14b
cmovne rdi, r9
cmp r8b, 2
jne 0x14007c351
test rcx, rcx
je 0x14007c351
mov rcx, qword [rbx + 8]
mov bpl, 1
call fcn.14009c290
jmp 0x14007c354
xor bpl, bpl
test rdi, rdi
js 0x14007c39d
mov rcx, rdi
call fcn.140098368
test rax, rax
je 0x14007c39d
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 0x14007c3db
mov rcx, qword [rbx + 8]
cmp rcx, r15
je 0x14007c392
lea r8, [rsi + rsi]
mov rdx, r15
call fcn.140095f70
mov rax, qword [rbx + 8]
mov word [rax + rsi*2], r14w
jmp 0x14007c3e3
test bpl, bpl
je 0x14007c3b3
lea rax, [0x1400f42f0]
mov qword [rbx + 0x18], r14
mov qword [rbx + 8], rax
jmp 0x14007c3bb
mov rax, qword [rbx + 8]
mov word [rax], r14w
lea r8, [0x1400bbf7c]
mov qword [rbx + 0x10], r14
lea rdx, str.Out_of_memory.
lea rcx, [0x1400f4390]
call fcn.14002f740
jmp 0x14007c3f0
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