Function at 0x14007d4e0
Capabilities:
Write clipboard data

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [0x1400f6610], 0
mov rdi, r8
mov rsi, rdx
je 0x140004ba7
xor eax, eax
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
test rdx, rdx
je 0x140004c0b
mov eax, 0xffffffff
cmp r8, rax
jne 0x140004bcc
or rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140004bc0
mov edi, eax
test rdi, rdi
je 0x140004c0b
lea rdx, [rdi + 1]
lea rcx, [0x1400f65f8]
call fcn.140004c30
test rax, rax
je 0x140004b9a
mov qword [rsp + 0x30], rbx
mov r8, rdi
mov rbx, qword [0x1400f6610]
mov rdx, rsi
mov rcx, rbx
call fcn.1400a2664
xor eax, eax
mov word [rbx + rdi*2], ax
mov rbx, qword [rsp + 0x30]
lea rcx, [0x1400f65f8]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140004cf0
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 0x14007d50e
mov rbx, qword [rbx + 0x10]
cmp byte [rbx + 0x23], 0
je 0x14007d504
mov dl, 1
xor r14d, r14d
mov byte [rsp + 0x50], dl
movzx ecx, dl
test r15, r15
jne 0x14007d542
cmp r8, 0xffffffffffffffff
jne 0x14007d533
xor cl, cl
lea r15, [0x1400bdf7c]
mov esi, r14d
jmp 0x14007d56a
xor dl, dl
lea r15, [0x1400bdf7c]
mov byte [rsp + 0x50], dl
jmp 0x14007d56a
cmp r8, 0xffffffffffffffff
jne 0x14007d56a
cmp qword [rbx + 8], r15
jne 0x14007d557
mov rsi, qword [rbx + 0x10]
shr rsi, 1
jmp 0x14007d56a
or rsi, 0xffffffffffffffff
nop dword [rax + rax]
inc rsi
cmp word [r15 + rsi*2], r14w
jne 0x14007d560
cmp byte [rbx + 0x23], 2
lea rax, [rsi + 1]
lea rbp, [rax + rax]
jne 0x14007d5c3
test dl, dl
je 0x14007d598
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 0x140004b80
mov rdx, rax
lea rcx, [0x1400f65f8]
call fcn.140004c30
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 [0x1400ef448]
cmp rbp, r9
jbe 0x14007d607
cmp byte [rsp + 0x70], r14b
je 0x14007d607
cmp rbp, qword [rbx + 0x18]
jbe 0x14007d607
lea r8, [0x1400bdf7c]
lea rdx, [0x1400da080]
lea rcx, [0x1400f59d0]
mov rbx, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rsi
pop rbp
jmp fcn.140031460
cmp rax, 2
jae 0x14007d639
test cl, cl
mov rcx, rbx
setne r14b
xor r8d, r8d
lea edx, [r14 + 3]
call fcn.14007db60
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 0x14007d656
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 [0x1400ef448]
and byte [rbx + 0x21], 0x82
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x58], rdi
cmp rbp, rcx
jbe 0x14007d7e6
movzx r8d, byte [rbx + 0x20]
movzx eax, r8b
cmp r8b, 1
jbe 0x14007d68e
cmp al, 2
je 0x14007d6d5
mov rdi, qword [rsp + 0x50]
mov rax, qword [rsp + 0x50]
jmp 0x14007d7da
mov edi, 0x80
cmp rbp, rdi
ja 0x14007d6d5
cmp rbp, 8
ja 0x14007d6a5
mov edi, 8
jmp 0x14007d6bb
test r12b, r12b
je 0x14007d6af
mov rdi, rbp
jmp 0x14007d6bb
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
cmp rbp, rax
cmovbe rdi, rax
mov rcx, rdi
call fcn.140077140
test rax, rax
je 0x14007d860
mov byte [rbx + 0x20], 1
jmp 0x14007d7da
mov rdi, rbp
test r12b, r12b
jne 0x14007d7a8
cmp rbp, 0x20
jae 0x14007d6f1
mov edi, SafeArrayAllocDescriptor
jmp 0x14007d79a
mov edi, 0x208
cmp rbp, rdi
jb 0x14007d79a
cmp rbp, 0x50000
jae 0x14007d756
xorps xmm0, xmm0
cvtsi2sd xmm0, rbp
test rbp, rbp
jns 0x14007d71d
addsd xmm0, qword [0x1400dbf38]
mulsd xmm0, qword [0x1400dbe88]
xor eax, eax
movsd xmm1, qword [0x1400dbf30]
comisd xmm0, xmm1
jb 0x14007d74c
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x14007d74c
movabs rdx, 0x8000000000000000
mov rax, rdx
cvttsd2si rdi, xmm0
add rdi, rax
jmp 0x14007d79a
cmp rbp, 0x320000
jae 0x14007d768
lea rdi, [rbp + 0x8000]
jmp 0x14007d79a
cmp rbp, 0xc80000
jae 0x14007d793
movabs rax, 0x47ae147ae147ae15
mov rdi, rbp
mul rbp
sub rdi, rdx
shr rdi, 1
add rdi, rdx
shr rdi, 6
add rdi, rbp
jmp 0x14007d79a
lea rdi, [rbp + 0x20000]
cmp rdi, r9
jbe 0x14007d7a8
cmp byte [rsp + 0x70], r14b
cmovne rdi, r9
cmp r8b, 2
jne 0x14007d7c1
test rcx, rcx
je 0x14007d7c1
mov rcx, qword [rbx + 8]
mov bpl, 1
call fcn.14009d6d0
jmp 0x14007d7c4
xor bpl, bpl
test rdi, rdi
js 0x14007d80d
mov rcx, rdi
call fcn.1400997a8
test rax, rax
je 0x14007d80d
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 0x14007d84b
mov rcx, qword [rbx + 8]
cmp rcx, r15
je 0x14007d802
lea r8, [rsi + rsi]
mov rdx, r15
call fcn.1400973b0
mov rax, qword [rbx + 8]
mov word [rax + rsi*2], r14w
jmp 0x14007d853
test bpl, bpl
je 0x14007d823
lea rax, [0x1400f5930]
mov qword [rbx + 0x18], r14
mov qword [rbx + 8], rax
jmp 0x14007d82b
mov rax, qword [rbx + 8]
mov word [rax], r14w
lea r8, [0x1400bdf7c]
mov qword [rbx + 0x10], r14
lea rdx, [0x1400d1750]
lea rcx, [0x1400f59d0]
call fcn.140031460
jmp 0x14007d860
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