Function at 0x180010e80
Capabilities:
Open clipboard

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp - 0x39], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1804e0010]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rbx, rcx
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x180010ecc
xor al, al
jmp 0x180010f8b
mov rax, qword [rbx + 0x18]
cmp qword [rbx + 0x10], rax
je 0x180010ec5
xor r14b, r14b
mov ecx, dword [rbx + 0x38]
sub ecx, 0x11ce
je 0x180010f05
sub ecx, 0x8abe
je 0x18001113a
sub ecx, 1
je 0x180010fb3
cmp ecx, 0x90
jne 0x180010f87
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rcx, rax
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x180010f1e
call qword [sym.imp.USER32.dll_EmptyClipboard]
call qword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [rbx + 0x38], 0x11ce
sete r15b
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov r12, rax
lea rdx, [rbx + 0x10]
call fcn.180202e40
mov rdi, rax
test rax, rax
je 0x180010f65
mov r8, rax
movzx edx, r15b
mov rcx, r12
call fcn.180202b00
test al, al
jne 0x180010f65
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rdi, qword [rbx + 0x48]
test rdi, rdi
je 0x180010f87
mov rbx, qword [rdi]
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rdx, rax
mov rcx, rdi
call qword [rbx + 0x108]
movzx r14d, al
movzx eax, r14b
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.180393f50
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov rcx, qword [rbx + 0x28]
mov rax, qword [rcx]
mov r8d, 0x9c8f
lea rdx, [rbp + 0xf]
call qword [rax + 0x20]
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x21], xmm0
movdqa xmm1, xmmword [0x1803f7240]
movdqu xmmword [rbp - 0x21], xmm1
xor edi, edi
mov word [rbp - 0x31], di
xor r8d, r8d
lea rdx, [0x1803cd4c0]
lea rcx, [rbp - 0x31]
call fcn.180005cd0
nop
lea rax, [rbp - 0x31]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0xf]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 1
mov rax, qword [rbx + 0x40]
mov qword [rsp + 0x20], rax
mov r9, qword [rbx + 0x28]
mov r8, qword [rbx + 0x30]
lea rdx, [rbp - 0x11]
call fcn.18021a3f0
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x18001106c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180011067
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180011067
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rbp - 0x21], xmm0
mov word [rbp - 0x31], di
cmp qword [rbp - 1], 0
je 0x18001109d
lea r9, [rbp + 0xf]
lea r8, [rbp - 0x11]
lea rdx, [rbx + 0x10]
mov rcx, qword [rbx + 0x40]
call fcn.18036eb70
movzx r14d, al
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1800110e0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800110db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800110db
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
mov qword [rbp - 1], rdi
mov qword [rbp + 7], 7
mov word [rbp - 0x11], di
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x1800112c4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800112bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800112bf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, qword [rbx + 0x28]
mov rax, qword [rcx]
mov r8d, 0x9c8e
lea rdx, [rbp + 0xf]
call qword [rax + 0x20]
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x21], xmm0
movdqa xmm1, xmmword [0x1803f7240]
movdqu xmmword [rbp - 0x21], xmm1
xor edi, edi
mov word [rbp - 0x31], di
xor r8d, r8d
lea rdx, [0x1803cd4c0]
lea rcx, [rbp - 0x31]
call fcn.180005cd0
nop
lea rax, [rbp - 0x31]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0xf]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 1
mov rax, qword [rbx + 0x40]
mov qword [rsp + 0x20], rax
mov r9, qword [rbx + 0x28]
mov r8, qword [rbx + 0x30]
lea rdx, [rbp - 0x11]
call fcn.18021a3f0
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x1800111f3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800111ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800111ee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rbp - 0x21], xmm0
mov word [rbp - 0x31], di
cmp qword [rbp - 1], 0
je 0x18001122e
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
lea r9, [rbp + 0xf]
lea r8, [rbp - 0x11]
lea rdx, [rbx + 0x10]
mov rcx, qword [rbx + 0x40]
call fcn.18036ee40
movzx r14d, al
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x180011271
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001126c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001126c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
mov qword [rbp - 1], rdi
mov qword [rbp + 7], 7
mov word [rbp - 0x11], di
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x1800112c4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800112bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800112bf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rbp + 0x1f], xmm0
mov word [rbp + 0xf], di
jmp 0x180010f87