Function at 0x18008bc18
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov r8d, dword [0x1801226ec]
mov rbx, rcx
xor ecx, ecx
xor r9d, r9d
xor edx, edx
mov edi, 1
call qword [sym.imp.USER32.dll_SetTimer]
lea r12d, [rdi + 2]
xor r14d, r14d
mov rsi, rax
mov r15d, 0x200
xor edx, edx
mov dword [rsp + 0x20], r12d
lea rcx, [rbp - 0x29]
lea r9d, [rdx + 0x12]
mov r8d, r9d
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x18008bd26
mov r9d, 0x109
mov dword [rsp + 0x20], r12d
xor edx, edx
lea rcx, [rbp - 0x29]
lea r8d, [r9 - 9]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x18008bd26
mov r9d, 0x105
mov dword [rsp + 0x20], r12d
xor edx, edx
lea rcx, [rbp - 0x29]
lea r8d, [r9 - 1]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x18008bd26
mov r9d, 0x20e
mov dword [rsp + 0x20], edi
mov r8d, r15d
lea rcx, [rbp - 0x29]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x18008bd26
mov r9d, 0xad
mov dword [rsp + 0x20], r12d
xor edx, edx
lea rcx, [rbp - 0x29]
lea r8d, [r9 - 0xd]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x18008bd26
xor r9d, r9d
mov dword [rsp + 0x20], r12d
xor r8d, r8d
lea rcx, [rbp - 0x29]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x18008bd26
call qword [sym.imp.USER32.dll_WaitMessage]
jmp 0x18008bc62
mov ecx, dword [rbp - 0x21]
cmp ecx, 0x12
je 0x18008bed5
lea eax, [rcx - 0x100]
cmp eax, 9
jbe 0x18008bd88
lea eax, [rcx - 0x104]
cmp eax, edi
jbe 0x18008bd88
lea eax, [rcx - 0x200]
cmp eax, 0xe
jbe 0x18008be45
lea eax, [rcx - 0xa0]
cmp eax, 0xd
jbe 0x18008beeb
cmp ecx, 0x113
jne 0x18008bd79
mov eax, esi
cmp qword [rbp - 0x19], rax
je 0x18008be12
lea rcx, [rbp - 0x29]
call qword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x18008bc62
lea eax, [rcx - 0x100]
test eax, 0xfffffffb
jne 0x18008bd9f
cmp qword [rbp - 0x19], 0x1b
jne 0x18008bd9f
mov dword [rbx + 0x68], edi
mov r9d, 0x109
mov dword [rsp + 0x20], r12d
xor edx, edx
lea rcx, [rbp - 0x29]
lea r8d, [r9 - 9]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x18008bddd
mov r9d, 0x105
mov dword [rsp + 0x20], r12d
xor edx, edx
lea rcx, [rbp - 0x29]
lea r8d, [r9 - 1]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x18008bde2
mov ecx, dword [rbp - 0x21]
jmp 0x18008bd88
xor ecx, ecx
call fcn.18008b5f0
mov ecx, dword [rbx + 0x80]
mov edx, ecx
and edx, 0x13
movzx eax, ax
or edx, eax
cmp edx, ecx
jne 0x18008be07
cmp dword [rbx + 0x68], r14d
je 0x18008bc62
mov dword [rbx + 0x80], edx
jmp 0x18008beeb
xor ecx, ecx
call fcn.18008b5f0
and dword [rbx + 0x80], 0x13
mov ecx, 0x1b
movzx eax, ax
or dword [rbx + 0x80], eax
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x18008beeb
mov dword [rbx + 0x68], edi
jmp 0x18008beeb
mov ecx, 0x1b
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x18008be58
mov dword [rbx + 0x68], edi
cmp dword [rbp - 0x21], r15d
jne 0x18008be92
jmp 0x18008be78
movups xmm0, xmmword [rbp + 7]
movups xmm1, xmmword [rbp + 0x17]
movups xmmword [rbp - 0x29], xmm0
movups xmm0, xmmword [rbp + 0x27]
movups xmmword [rbp - 0x19], xmm1
movups xmmword [rbp - 9], xmm0
mov r9d, r15d
mov dword [rsp + 0x20], edi
mov r8d, r15d
lea rcx, [rbp + 7]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x18008be60
mov eax, dword [rbp - 0x21]
add eax, 0xfffffe00
cmp eax, 0xe
ja 0x18008beb1
mov rcx, qword [rbp - 0x19]
call fcn.18008b658
movzx eax, ax
mov dword [rbx + 0x80], eax
mov rax, qword [rbp - 5]
lea rdx, [rbp + 0x6f]
mov rcx, qword [rbp - 0x29]
mov qword [rbp + 0x6f], rax
call qword [sym.imp.USER32.dll_Ordinal_2715]
mov eax, dword [rbp + 0x6f]
mov dword [rbx + 0x50], eax
mov eax, dword [rbp + 0x73]
mov dword [rbx + 0x54], eax
jmp 0x18008beeb
mov ecx, dword [rbp - 0x19]
call qword [sym.imp.USER32.dll_PostQuitMessage]
mov dword [rbx + 0x84], 0x80004005
mov edi, r14d
mov edx, esi
xor ecx, ecx
call qword [sym.imp.USER32.dll_KillTimer]
lea r11, [rsp + 0x90]
mov eax, edi
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret