Function at 0x14002cff0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x298
mov rax, qword [0x140119040]
xor rax, rsp
mov qword [rsp + 0x288], rax
movzx eax, byte [0x1401bc0c1]
test eax, eax
je 0x14002d020
jmp 0x14002d3ec
movzx eax, byte [0x1401bc232]
test eax, eax
jne 0x14002d030
jmp 0x14002d3ec
mov rax, qword [rsp + 0x2b0]
add rax, 0xa0
mov rdx, rax
lea rcx, [rsp + 0x268]
call fcn.14001f210
lea rdx, [rsp + 0x268]
lea rcx, [0x1401baec8]
call fcn.14002dd30
movzx eax, al
test eax, eax
je 0x14002d084
mov byte [0x1401bc210], 0
lea rdx, [rsp + 0x268]
lea rcx, [0x1401baec8]
call fcn.14001f070
mov edx, 0x18
lea rcx, [rsp + 0x248]
call fcn.1400060e0
lea rcx, [rsp + 0x20]
call fcn.140006930
mov qword [rsp + 0x30], rax
lea rdx, [0x1400eaab8]
lea rcx, [rsp + 0xb0]
call fcn.140006c60
lea rdx, [0x1400eaac8]
lea rcx, [rsp + 0xd0]
call fcn.140006c60
lea rdx, [0x1400eaad8]
lea rcx, [rsp + 0xf0]
call fcn.140006c60
lea rdx, [0x1400eaae8]
lea rcx, [rsp + 0x110]
call fcn.140006c60
lea rdx, [0x1400eaaf0]
lea rcx, [rsp + 0x130]
call fcn.140006c60
lea rdx, [0x1400eaaf8]
lea rcx, [rsp + 0x150]
call fcn.140006c60
lea rdx, [0x1400eab04]
lea rcx, [rsp + 0x170]
call fcn.140006c60
lea rdx, str.ssg08
lea rcx, [rsp + 0x190]
call fcn.140006c60
lea rdx, [0x1400eab10]
lea rcx, [rsp + 0x1b0]
call fcn.140006c60
lea rdx, str.sg556
lea rcx, [rsp + 0x1d0]
call fcn.140006c60
lea rdx, str.knife
lea rcx, [rsp + 0x1f0]
call fcn.140006c60
lea rdx, [0x1400eab24]
lea rcx, [rsp + 0x210]
call fcn.140006c60
lea rax, [rsp + 0x230]
mov r8, rax
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0xa0]
call fcn.140006850
lea rcx, [rsp + 0x78]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x90]
lea rcx, [rsp + 0x78]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r8, qword [rsp + 0x30]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x248]
call fcn.14001e900
lea r9, [fcn.140006c30]
mov r8d, 0xc
mov edx, 0x20
lea rcx, [rsp + 0xb0]
call fcn.1400e130c
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x248]
call fcn.14001ec30
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x248]
call fcn.14001ec90
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
lea r9, [rsp + 0x268]
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x68]
call fcn.14002dd70
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x248]
call fcn.14001ec30
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call fcn.14001d9e0
movzx eax, al
test eax, eax
je 0x14002d2bb
lea rcx, [rsp + 0x248]
call fcn.14001e8e0
lea rcx, [rsp + 0x268]
call fcn.140006c30
jmp 0x14002d3ec
mov eax, dword [0x140147774]
mov rcx, qword [rsp + 0x2b0]
add rax, qword [rcx + 0x48]
lea r8, [rsp + 0x260]
mov rdx, rax
lea rcx, [0x1401bc608]
call fcn.140007950
mov eax, dword [0x140147800]
mov rcx, qword [rsp + 0x260]
add rcx, rax
mov rax, rcx
lea r8, [rsp + 0x240]
mov rdx, rax
lea rcx, [0x1401bc608]
call fcn.140020d90
movzx eax, byte [rsp + 0x240]
test eax, eax
je 0x14002d322
mov byte [0x1401bc210], 0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x28], eax
movzx eax, byte [0x1401190fc]
test eax, eax
jne 0x14002d393
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14002d393
mov eax, dword [0x1401bc214]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
cmp eax, 0x1f4
jb 0x14002d393
movzx eax, byte [0x1401bc210]
test eax, eax
jne 0x14002d376
mov dword [rsp + 0x24], 1
jmp 0x14002d37e
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
mov byte [0x1401bc210], al
mov eax, dword [rsp + 0x28]
mov dword [0x1401bc214], eax
movzx eax, byte [0x1401bc210]
test eax, eax
je 0x14002d3d1
mov dword [rsp + 0x244], 0x2d
mov eax, dword [0x1401477c4]
mov rcx, qword [rsp + 0x2b0]
add rax, qword [rcx]
lea r8, [rsp + 0x244]
mov rdx, rax
lea rcx, [0x1401bc608]
call fcn.14002dc50
lea rcx, [rsp + 0x248]
call fcn.14001e8e0
lea rcx, [rsp + 0x268]
call fcn.140006c30
nop
mov rcx, qword [rsp + 0x288]
xor rcx, rsp
call fcn.1400e1190
add rsp, 0x298
pop rdi
pop rsi
ret