Function at 0x1800303f0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x1800e3040]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rbx, rcx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x1800f3490]
jne 0x180030687
mov ecx, 0x2d
mov qword [rsp + 0x2b8], rdi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x18003067c
xor eax, eax
lea rcx, [rsp + 0x3c]
xor edx, edx
mov dword [rsp + 0x2c], eax
mov r8d, 0x114
call sub.VCRUNTIME140.dll_memset
xor eax, eax
lea rcx, [rbp + 0x5c]
xor edx, edx
mov dword [rbp + 0x54], eax
mov r8d, 0x134
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp]
mov dword [rbp + 0x50], 2
xor edi, edi
mov qword [rsp + 0x20], rax
cmp byte [0x1800e6530], dil
lea rax, [rbp + 0x50]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], edi
mov dword [rbp + 0x58], 0xe3
mov dword [rsp + 0x28], 2
jne 0x1800304b1
call fcn.18002bb70
lea rcx, [rsp + 0x20]
call qword [0x1800eda38]
mov rax, qword [rsp + 0x20]
cmp dword [rax], edi
jne 0x180030549
xor eax, eax
lea rcx, [rsp + 0x3c]
xor edx, edx
mov dword [rsp + 0x2c], eax
mov r8d, 0x114
call sub.VCRUNTIME140.dll_memset
xor eax, eax
lea rcx, [rbp + 0x5c]
xor edx, edx
mov dword [rbp + 0x54], eax
mov r8d, 0x134
call sub.VCRUNTIME140.dll_memset
cmp byte [0x1800e6530], dil
lea rax, [rbp]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], edi
mov dword [rbp + 0x50], 2
mov dword [rbp + 0x58], 0xe3
mov dword [rsp + 0x28], 2
jne 0x180030531
call fcn.18002bb70
lea rcx, [rsp + 0x20]
call qword [0x1800eda48]
mov rax, qword [rsp + 0x20]
cmp dword [rax], edi
je 0x180030635
xor eax, eax
lea rcx, [rsp + 0x3c]
xor edx, edx
mov dword [rsp + 0x2c], eax
mov r8d, 0x114
call sub.VCRUNTIME140.dll_memset
xor eax, eax
lea rcx, [rbp + 0x5c]
xor edx, edx
mov dword [rbp + 0x54], eax
mov r8d, 0x134
call sub.VCRUNTIME140.dll_memset
cmp byte [0x1800e6530], dil
lea rax, [rbp]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], edi
mov dword [rbp + 0x50], 2
mov dword [rbp + 0x58], 0xaf
mov dword [rsp + 0x28], 2
jne 0x1800305b1
call fcn.18002bb70
lea rcx, [rsp + 0x20]
call qword [0x1800eda48]
mov rax, qword [rsp + 0x20]
cmp dword [rax], edi
je 0x180030635
xor eax, eax
lea rcx, [rsp + 0x3c]
xor edx, edx
mov dword [rsp + 0x2c], eax
mov r8d, 0x114
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp + 0x54]
mov r8d, 0x13c
call sub.VCRUNTIME140.dll_memset
cmp byte [0x1800e6530], dil
lea rax, [rbp]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], edi
mov dword [rbp + 0x50], 2
mov dword [rsp + 0x28], 1
jne 0x180030621
call fcn.18002bb70
lea rcx, [rsp + 0x20]
call qword [0x1800eda70]
mov rax, qword [rsp + 0x20]
cmp dword [rax], edi
je 0x18003067c
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1800306a7
cmp byte [0x1800f34e0], dil
je 0x18003066d
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
imul rcx, qword [rbp + 0x1d8], 0x64
mov byte [0x1800f34e0], dil
add rax, rcx
mov qword [0x1800f34d8], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
cmp rax, qword [0x1800f34d8]
jbe 0x18003067f
mov byte [rbx], 1
mov rdi, qword [rsp + 0x2b8]
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1800903f0
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x2a0
pop rbp
ret
mov byte [0x1800f34e0], 1
jmp 0x18003067f