Function at 0x180062f50
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x1800e9040]
xor rax, rsp
mov qword [rbp + 0x190], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x1800f93c0]
jne 0x1800631d5
mov ecx, 0x2d
mov qword [rsp + 0x2b0], rbx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x1800631c6
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 [0x1800ec460], 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 0x180063009
call fcn.18005e6b0
lea rcx, [rsp + 0x20]
call qword [0x1800f3968]
mov rax, qword [rsp + 0x20]
cmp dword [rax], ebx
jne 0x18006309c
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 [0x1800ec460], 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 0x180063084
call fcn.18005e6b0
lea rcx, [rsp + 0x20]
call qword [0x1800f3978]
mov rax, qword [rsp + 0x20]
cmp dword [rax], ebx
je 0x180063186
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 [0x1800ec460], 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 0x180063103
call fcn.18005e6b0
lea rcx, [rsp + 0x20]
call qword [0x1800f3978]
mov rax, qword [rsp + 0x20]
cmp dword [rax], ebx
je 0x180063186
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 [0x1800ec460], 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 0x180063172
call fcn.18005e6b0
lea rcx, [rsp + 0x20]
call qword [0x1800f39a0]
mov rax, qword [rsp + 0x20]
cmp dword [rax], ebx
je 0x1800631c6
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1800631ed
cmp byte [0x1800f9420], bl
je 0x1800631b7
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
add rax, 0x4e20
mov byte [0x1800f9420], bl
mov qword [0x1800f9418], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
cmp rax, qword [0x1800f9418]
jbe 0x1800631cd
mov byte [0x1800f945a], 1
mov rbx, qword [rsp + 0x2b0]
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.180094b70
add rsp, 0x2a0
pop rbp
ret
mov byte [0x1800f9420], 1
jmp 0x1800631cd