Function at 0x14004edf0
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x80
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0xb0], rbx
mov rax, qword [0x140195088]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r14, rdx
mov rbx, rcx
lea rdx, [0x14009bc34]
mov rcx, qword [rcx + 0x20]
call fcn.140048080
lea rdx, [0x14009bc34]
mov rcx, qword [rbx + 0x20]
call fcn.140048160
lea rdx, [0x14009bc34]
mov rcx, qword [rbx + 0x20]
call fcn.140048180
lea rdx, [0x14009bc34]
mov rcx, qword [rbx + 0x20]
call fcn.1400481a0
mov eax, dword [rbx + 0xf8]
add eax, 0xfffffffe
cmp eax, 2
ja 0x14004ee83
mov edx, 1
mov rcx, qword [rbx + 0x20]
call fcn.140048240
jmp 0x14004f04b
mov edx, 8
mov rcx, qword [rbx + 0xa0]
call fcn.140057cd0
mov ecx, eax
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
mov edi, 1
mov edx, dword [r14]
test cx, ax
mov rcx, qword [rbx + 0xe8]
je 0x14004eeba
mov r8d, edi
jmp 0x14004eebd
xor r8d, r8d
call fcn.1400344c0
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov edx, 0x80
lea rcx, [rsp + 0x40]
call fcn.140031390
nop
mov rcx, qword [rbx + 0xe8]
mov rax, qword [rcx + 8]
test rax, rax
je 0x14004eefb
cmp dword [rcx + 0x14], 1
jl 0x14004eefb
xor edi, edi
lea rsi, [rax + 2]
test edi, edi
cmovne rsi, rax
test rax, rax
je 0x14004ef52
cmp dword [rcx + 0x14], 1
jl 0x14004ef52
xor edx, edx
call fcn.140031800
cmp ax, 0x23
jne 0x14004ef52
mov qword [rsp + 0x38], 0
lea r8, [rsp + 0x38]
lea rdx, [0x1400b8690]
mov rcx, rsi
call fcn.140066560
lea rcx, [rsp + 0x40]
test rax, rax
je 0x14004ef49
mov rdx, rax
jmp 0x14004ef5a
lea rdx, [0x14009bc34]
jmp 0x14004ef5a
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.140031610
lea rcx, [rsp + 0x40]
call fcn.140032890
xor edx, edx
mov rcx, qword [rbx + 0x20]
call fcn.140048240
mov ecx, dword [0x1401a36c8]
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x1401a1740], eax
jg 0x14004f09b
lea rcx, [0x1401a1728]
call fcn.140032950
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov edx, 0x80
lea rcx, [rsp + 0x58]
call fcn.140033c10
nop
mov edx, 0x2802
lea rcx, [rsp + 0x58]
call fcn.140033cf0
mov r8d, dword [r14]
mov r9d, r8d
lea rdx, str._d___04X_
lea rcx, [0x1401a1728]
call fcn.140032800
mov rdx, qword [0x1401a1730]
mov rcx, qword [rbx + 0x20]
call fcn.140048080
mov eax, dword [r14 + 8]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x60]
mov r8, qword [rsp + 0x48]
lea rdx, str._s:__s__g_04X_
lea rcx, [0x1401a1728]
call fcn.140032800
mov rdx, qword [0x1401a1730]
mov rcx, qword [rbx + 0x20]
call fcn.140048160
nop
lea rcx, [rsp + 0x58]
call fcn.140033ca0
nop
lea rcx, [rsp + 0x40]
call fcn.140031450
mov rcx, qword [rbx + 0x20]
call fcn.140048200
mov dword [rbx + 0x110], 0xffffffff
mov dword [rbx + 0x114], 0
mov qword [rbx + 0x118], r14
mov qword [rbx + 0x120], 0
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14005d680
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop r14
pop rdi
pop rsi
ret
lea rcx, [0x1401a1740]
call fcn.14005db9c
cmp dword [0x1401a1740], 0xffffffff
jne 0x14004ef9b
xor eax, eax
mov qword [0x1401a1728], rax
mov qword [0x1401a1730], rax
mov qword [0x1401a1738], rax
mov edx, 0x80
lea rcx, [0x1401a1728]
call fcn.140031390
lea rcx, [0x140096580]
call fcn.14005d96c
nop
lea rcx, [0x1401a1740]
call fcn.14005db3c
jmp 0x14004ef9b