Function at 0x180067be0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x180144040]
xor rax, rsp
mov qword [rbp + 0x190], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x180160e20]
jne 0x180067e65
mov ecx, 0x2d
mov qword [rsp + 0x2b0], rbx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x180067e56
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 ebx, ebx
mov qword [rsp + 0x20], rax
cmp byte [0x180153cb8], bl
lea rax, [rbp + 0x50]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], ebx
mov dword [rbp + 0x58], 0xe3
mov dword [rsp + 0x28], 2
jne 0x180067c99
call fcn.180062e50
lea rcx, [rsp + 0x20]
call qword [0x18015b1b8]
mov rax, qword [rsp + 0x20]
cmp dword [rax], ebx
jne 0x180067d2c
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 [0x180153cb8], bl
lea rax, [rbp]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], ebx
mov dword [rbp + 0x50], 2
mov dword [rbp + 0x58], 0xe3
mov dword [rsp + 0x28], 2
jne 0x180067d14
call fcn.180062e50
lea rcx, [rsp + 0x20]
call qword [0x18015b1c8]
mov rax, qword [rsp + 0x20]
cmp dword [rax], ebx
je 0x180067e16
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 [0x180153cb8], bl
lea rax, [rbp]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], ebx
mov dword [rbp + 0x50], 2
mov dword [rbp + 0x58], 0xaf
mov dword [rsp + 0x28], 2
jne 0x180067d93
call fcn.180062e50
lea rcx, [rsp + 0x20]
call qword [0x18015b1c8]
mov rax, qword [rsp + 0x20]
cmp dword [rax], ebx
je 0x180067e16
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 [0x180153cb8], bl
lea rax, [rbp]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], ebx
mov dword [rbp + 0x50], 2
mov dword [rsp + 0x28], 1
jne 0x180067e02
call fcn.180062e50
lea rcx, [rsp + 0x20]
call qword [0x18015b1f0]
mov rax, qword [rsp + 0x20]
cmp dword [rax], ebx
je 0x180067e56
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x180067e7d
cmp byte [0x180160ea8], bl
je 0x180067e47
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
add rax, 0x4e20
mov byte [0x180160ea8], bl
mov qword [0x180160ea0], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
cmp rax, qword [0x180160ea0]
jbe 0x180067e5d
mov byte [0x180160ee8], 1
mov rbx, qword [rsp + 0x2b0]
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1800d0f80
add rsp, 0x2a0
pop rbp
ret
mov byte [0x180160ea8], 1
jmp 0x180067e5d