Function at 0x18000fe50
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 [0x1804ca010]
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 0x18000fe9c
xor al, al
jmp 0x18000ff5b
mov rax, qword [rbx + 0x18]
cmp qword [rbx + 0x10], rax
je 0x18000fe95
xor r14b, r14b
mov ecx, dword [rbx + 0x38]
sub ecx, 0x11ce
je 0x18000fed5
sub ecx, 0x8abe
je 0x18001010a
sub ecx, 1
je 0x18000ff83
cmp ecx, 0x90
jne 0x18000ff57
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rcx, rax
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x18000feee
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.1802013b0
mov rdi, rax
test rax, rax
je 0x18000ff35
mov r8, rax
movzx edx, r15b
mov rcx, r12
call fcn.180201070
test al, al
jne 0x18000ff35
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rdi, qword [rbx + 0x48]
test rdi, rdi
je 0x18000ff57
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.180385c10
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 [0x1803e6740]
movdqu xmmword [rbp - 0x21], xmm1
xor edi, edi
mov word [rbp - 0x31], di
xor r8d, r8d
lea rdx, [0x1803be558]
lea rcx, [rbp - 0x31]
call fcn.180004e70
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.1802197b0
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x18001003c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180010037
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180010037
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6740]
movdqu xmmword [rbp - 0x21], xmm0
mov word [rbp - 0x31], di
cmp qword [rbp - 1], 0
je 0x18001006d
lea r9, [rbp + 0xf]
lea r8, [rbp - 0x11]
lea rdx, [rbx + 0x10]
mov rcx, qword [rbx + 0x40]
call fcn.1801fd2d0
movzx r14d, al
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1800100b0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800100ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800100ab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
mov qword [rbp - 1], rdi
mov qword [rbp + 7], 7
mov word [rbp - 0x11], di
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x180010294
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001028f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001028f
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 [0x1803e6740]
movdqu xmmword [rbp - 0x21], xmm1
xor edi, edi
mov word [rbp - 0x31], di
xor r8d, r8d
lea rdx, [0x1803be558]
lea rcx, [rbp - 0x31]
call fcn.180004e70
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.1802197b0
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x1800101c3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800101be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800101be
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6740]
movdqu xmmword [rbp - 0x21], xmm0
mov word [rbp - 0x31], di
cmp qword [rbp - 1], 0
je 0x1800101fe
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.1801fd5a0
movzx r14d, al
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x180010241
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001023c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001023c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
mov qword [rbp - 1], rdi
mov qword [rbp + 7], 7
mov word [rbp - 0x11], di
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x180010294
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001028f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001028f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6740]
movdqu xmmword [rbp + 0x1f], xmm0
mov word [rbp + 0xf], di
jmp 0x18000ff57