Function at 0x18000fe80
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 [0x1804cd010]
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 0x18000fecc
xor al, al
jmp 0x18000ff8b
mov rax, qword [rbx + 0x18]
cmp qword [rbx + 0x10], rax
je 0x18000fec5
xor r14b, r14b
mov ecx, dword [rbx + 0x38]
sub ecx, 0x11ce
je 0x18000ff05
sub ecx, 0x8abe
je 0x18001013a
sub ecx, 1
je 0x18000ffb3
cmp ecx, 0x90
jne 0x18000ff87
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rcx, rax
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x18000ff1e
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.180201970
mov rdi, rax
test rax, rax
je 0x18000ff65
mov r8, rax
movzx edx, r15b
mov rcx, r12
call fcn.180201630
test al, al
jne 0x18000ff65
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rdi, qword [rbx + 0x48]
test rdi, rdi
je 0x18000ff87
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.180388400
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 [0x1803e8770]
movdqu xmmword [rbp - 0x21], xmm1
xor edi, edi
mov word [rbp - 0x31], di
xor r8d, r8d
lea rdx, [0x1803c0558]
lea rcx, [rbp - 0x31]
call fcn.180004ea0
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.180219d70
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x18001006c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180010067
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180010067
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
movdqa xmm0, xmmword [0x1803e8770]
movdqu xmmword [rbp - 0x21], xmm0
mov word [rbp - 0x31], di
cmp qword [rbp - 1], 0
je 0x18001009d
lea r9, [rbp + 0xf]
lea r8, [rbp - 0x11]
lea rdx, [rbx + 0x10]
mov rcx, qword [rbx + 0x40]
call fcn.1801fd890
movzx r14d, al
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1800100e0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800100db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800100db
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
mov qword [rbp - 1], rdi
mov qword [rbp + 7], 7
mov word [rbp - 0x11], di
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x1800102c4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800102bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800102bf
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 [0x1803e8770]
movdqu xmmword [rbp - 0x21], xmm1
xor edi, edi
mov word [rbp - 0x31], di
xor r8d, r8d
lea rdx, [0x1803c0558]
lea rcx, [rbp - 0x31]
call fcn.180004ea0
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.180219d70
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x1800101f3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800101ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800101ee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
movdqa xmm0, xmmword [0x1803e8770]
movdqu xmmword [rbp - 0x21], xmm0
mov word [rbp - 0x31], di
cmp qword [rbp - 1], 0
je 0x18001022e
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.1801fdb60
movzx r14d, al
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x180010271
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001026c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001026c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
mov qword [rbp - 1], rdi
mov qword [rbp + 7], 7
mov word [rbp - 0x11], di
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x1800102c4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800102bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800102bf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
movdqa xmm0, xmmword [0x1803e8770]
movdqu xmmword [rbp + 0x1f], xmm0
mov word [rbp + 0xf], di
jmp 0x18000ff87