Function at 0x18000fe90
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 [0x1804cc010]
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 0x18000fedc
xor al, al
jmp 0x18000ff9b
mov rax, qword [rbx + 0x18]
cmp qword [rbx + 0x10], rax
je 0x18000fed5
xor r14b, r14b
mov ecx, dword [rbx + 0x38]
sub ecx, 0x11ce
je 0x18000ff15
sub ecx, 0x8abe
je 0x18001014a
sub ecx, 1
je 0x18000ffc3
cmp ecx, 0x90
jne 0x18000ff97
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rcx, rax
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x18000ff2e
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.1802011a0
mov rdi, rax
test rax, rax
je 0x18000ff75
mov r8, rax
movzx edx, r15b
mov rcx, r12
call fcn.180200e60
test al, al
jne 0x18000ff75
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rdi, qword [rbx + 0x48]
test rdi, rdi
je 0x18000ff97
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.1803868f0
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 [0x1803e7600]
movdqu xmmword [rbp - 0x21], xmm1
xor edi, edi
mov word [rbp - 0x31], di
xor r8d, r8d
lea rdx, [0x1803bf568]
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.1802195a0
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x18001007c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180010077
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180010077
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
movdqa xmm0, xmmword [0x1803e7600]
movdqu xmmword [rbp - 0x21], xmm0
mov word [rbp - 0x31], di
cmp qword [rbp - 1], 0
je 0x1800100ad
lea r9, [rbp + 0xf]
lea r8, [rbp - 0x11]
lea rdx, [rbx + 0x10]
mov rcx, qword [rbx + 0x40]
call fcn.1801fd1b0
movzx r14d, al
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1800100f0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800100eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800100eb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
mov qword [rbp - 1], rdi
mov qword [rbp + 7], 7
mov word [rbp - 0x11], di
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x1800102d4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800102cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800102cf
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 [0x1803e7600]
movdqu xmmword [rbp - 0x21], xmm1
xor edi, edi
mov word [rbp - 0x31], di
xor r8d, r8d
lea rdx, [0x1803bf568]
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.1802195a0
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x180010203
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800101fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800101fe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
movdqa xmm0, xmmword [0x1803e7600]
movdqu xmmword [rbp - 0x21], xmm0
mov word [rbp - 0x31], di
cmp qword [rbp - 1], 0
je 0x18001023e
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.1801fd480
movzx r14d, al
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x180010281
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001027c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001027c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
mov qword [rbp - 1], rdi
mov qword [rbp + 7], 7
mov word [rbp - 0x11], di
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x1800102d4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800102cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800102cf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
movdqa xmm0, xmmword [0x1803e7600]
movdqu xmmword [rbp + 0x1f], xmm0
mov word [rbp + 0xf], di
jmp 0x18000ff97