Function at 0x180003070
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
movzx eax, byte [rdx]
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
cmp al, 0x96
je 0x180002875
movzx eax, al
dec eax
cmp eax, 7
ja case.0x180002795.3
lea rcx, [0x180000000]
cdqe
mov r8d, dword [rcx + rax*4 + 0x2888]
add r8, rcx
jmp r8
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.180002690
xor ecx, ecx
call qword [sym.imp.USER32.dll_BlockInput]
lea r8d, [rsi - 1]
lea rdx, [rdi + 1]
mov rcx, rbx
call fcn.180002d10
movzx ecx, byte [rbx + 0x1d]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.USER32.dll_BlockInput]
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_SetEvent]
movzx ecx, byte [rdx + 1]
mov eax, 0x3e8
cdq
mov dword [rbx + 0x28], ecx
idiv ecx
mov rcx, qword [rbx + 0x148]
mov dword [rcx + 0x1ac], eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rdx + 1]
xchg dword [rbx + 0x1d], eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x180003100
lea edx, [rsi - 1]
lea rcx, [rdi + 1]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x180003070
call fcn.1800012f0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
mov rsi, rcx
xor ecx, ecx
movsxd rbx, edx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1800030f2
mov qword [rsp + 0x30], rdi
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, rbx
mov ecx, 2
mov rdi, rbx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
test rax, rax
je 0x1800030e7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8, rdi
mov rdx, rsi
mov rcx, rax
call fcn.1800040d0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rbx
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
push r12
sub rsp, 0x20
mov r12, rcx
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1800031c3
mov ecx, 1
mov qword [rsp + 0x38], rbp
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbp, rax
test rax, rax
jne 0x180003143
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop r12
jmp qword [sym.imp.USER32.dll_CloseClipboard]
mov qword [rsp + 0x30], rbx
mov rcx, rax
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov rcx, rbp
lea esi, [rax + 1]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
movsxd rcx, esi
mov rbx, rax
call fcn.180004088
lea ecx, [rsi - 1]
movsxd r8, ecx
lea rcx, [rax + 1]
mov rdx, rbx
mov rdi, rax
mov byte [rax], 8
call fcn.1800040d0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov r8d, esi
mov rdx, rdi
mov rcx, r12
call fcn.180002260
mov rcx, rdi
call fcn.1800046fc
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop r12
ret