Function at 0x180007b90
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
movzx eax, byte [rdx]
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
cmp al, 0xc9
je case.0x180007811.3
movzx eax, al
cmp eax, 0xa
ja case.0x180007811.3
lea rcx, [0x180000000]
mov r9d, dword [rcx + rax*4 + 0x794c]
add r9, rcx
jmp r9
mov rcx, qword [rbx + 0x18]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.KERNEL32.dll_SetEvent]
mov byte [rbx + 0x318], 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov byte [rbx + 0x318], 0
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rbx + 0x800], 0
je 0x18000786d
xor ecx, ecx
call qword [sym.imp.USER32.dll_BlockInput]
lea r8d, [rsi - 1]
lea rdx, [rdi + 1]
mov rcx, rbx
call fcn.180008750
mov ecx, dword [rbx + 0x800]
test ecx, ecx
je case.0x180007811.3
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.USER32.dll_BlockInput]
movzx eax, byte [rdx + 1]
xchg dword [rbx + 0x800], eax
mov ecx, dword [rbx + 0x800]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.USER32.dll_BlockInput]
movzx eax, byte [rdx + 1]
xchg dword [rbx + 0x7f4], eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rcx, rbx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp 0x180007b90
lea edx, [r8 - 1]
lea rcx, [rdi + 1]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp 0x180007b00
mov eax, dword [rdx + 1]
lea r8, [0x180007260]
mov r9, rbx
mov dword [rbx + 0x7d8], eax
xor eax, eax
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
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 0x180007b82
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 0x180007b77
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8, rdi
mov rdx, rsi
mov rcx, rax
call fcn.18000a8c0
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 rbp
sub rsp, 0x20
mov rbp, rcx
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x180007c5e
mov ecx, 1
mov qword [rsp + 0x40], rdi
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rdi, rax
test rax, rax
jne 0x180007bd2
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop rbp
jmp qword [sym.imp.USER32.dll_CloseClipboard]
mov qword [rsp + 0x30], rbx
mov rcx, rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x48], r12
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov rcx, rdi
lea r12d, [rax + 1]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
movsxd rcx, r12d
mov rbx, rax
call fcn.18000a864
lea ecx, [r12 - 1]
movsxd r8, ecx
lea rcx, [rax + 1]
mov rdx, rbx
mov rsi, rax
mov byte [rax], 0xc
call fcn.18000a8c0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [rbp + 0x10], 0
mov rbx, qword [rsp + 0x30]
jne 0x180007c47
mov rcx, qword [rbp + 8]
mov r8d, r12d
mov rdx, rsi
mov r9, qword [rcx]
call qword [r9 + reloc.WS2_32.dll_recv]
mov rcx, rsi
call fcn.18000b390
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop rbp
ret