Function at 0x14002c300
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x120
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
mov rax, qword [0x1400ac010]
xor rax, rsp
mov qword [rbp - 0x50], rax
mov rbx, qword [0x1400aefd0]
mov rsi, r9
mov r13, r8
mov r12, rdx
mov r15, rcx
mov rax, qword [rbx + 0x1c20]
mov byte [rax + 0x90], 1
mov rdi, qword [rbx + 0x1c20]
cmp byte [rdi + 0x93], 0
jne 0x14002ca18
mov rdx, rcx
mov rcx, rdi
call fcn.140004b00
mov r9, qword [0x1400aefd0]
mov r14d, eax
mov rdx, r15
cmp r15, 0xffffffffffffffff
jae 0x14002c3c2
movzx r8d, byte [rdx]
test r8b, r8b
je 0x14002c3c2
lea rcx, [rdx + 1]
cmp r8b, 0x23
jne 0x14002c3b9
cmp byte [rcx], r8b
je 0x14002c3c2
mov rdx, rcx
cmp rcx, 0xffffffffffffffff
jb 0x14002c3a1
movss xmm1, dword [r9 + 0x1990]
xorps xmm12, xmm12
cmp r15, rdx
jne 0x14002c3da
xorps xmm11, xmm11
jmp 0x14002c427
movss xmm0, dword [0x14009c40c]
movaps xmm2, xmm1
mov rcx, qword [r9 + 0x1988]
mov qword [rsp + 0x30], rdx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x28], r15
movss dword [rsp + 0x20], xmm0
call fcn.1400251b0
movss xmm0, dword [rsp + 0x40]
addss xmm0, dword [0x14009c2bc]
movss xmm1, dword [rsp + 0x44]
cvttss2si eax, xmm0
movd xmm11, eax
cvtdq2ps xmm11, xmm11
movss xmm3, dword [rbx + 0x15b0]
addss xmm3, xmm3
addss xmm3, xmm1
call fcn.14000ea00
mov rdx, qword [rsi]
lea rcx, [rsp + 0x40]
movaps xmm2, xmm0
call fcn.14000ea80
movss xmm2, dword [rdi + 0xd8]
lea rcx, [rsp + 0x48]
movss xmm7, dword [rdi + 0xdc]
movaps xmm10, xmm2
addss xmm10, dword [rsp + 0x40]
movss xmm1, dword [rbx + 0x15b0]
movaps xmm8, xmm7
addss xmm8, dword [rsp + 0x44]
movss dword [rsp + 0x50], xmm2
movaps xmm9, xmm11
addss xmm9, dword [rbx + 0x15c4]
movaps xmm0, xmm10
movss dword [rsp + 0x64], xmm7
subss xmm0, xmm2
movss dword [rsp + 0x68], xmm10
movss dword [rsp + 0x6c], xmm8
movss dword [rsp + 0x54], xmm7
addss xmm9, xmm2
movss dword [rsp + 0x58], xmm10
movaps xmm2, xmm8
movss dword [rsp + 0x5c], xmm8
subss xmm2, xmm7
movss dword [rsp + 0x48], xmm0
movss dword [rsp + 0x60], xmm9
movss dword [rsp + 0x4c], xmm2
call fcn.14000e6e0
xor r8d, r8d
lea rcx, [rsp + 0x50]
mov edx, r14d
xor r9d, r9d
call fcn.14000e800
test al, al
je 0x14002ca18
mov edx, r14d
lea rcx, [rsp + 0x60]
call fcn.140004dc0
mov rdx, qword [0x1400aefd0]
xor esi, esi
test al, al
je 0x14002c59a
mov dword [rdx + 0x1c58], r14d
mov word [rdx + 0x1c60], si
test r14d, r14d
je 0x14002c53f
cmp dword [rdx + 0x1c5c], r14d
je 0x14002c53f
mov qword [rdx + 0x1c64], rsi
mov dword [rbx + 0x1fa8], 1
cmp byte [rbx + 0x420], sil
je 0x14002c601
cmp dword [rbx + 0x1c6c], r14d
je 0x14002c585
xor eax, eax
lea rcx, [rbx + 0x144]
mov dword [rbx + 0x130], eax
xor edx, edx
mov r8d, 0x200
mov byte [rbx + 0x134], al
call fcn.14004a840
mov dword [r12], esi
mov rdx, rdi
mov ecx, r14d
call fcn.140004c40
mov rcx, rdi
call fcn.14000e010
jmp 0x14002c601
cmp byte [rbx + 0x420], sil
je 0x14002c601
cmp dword [rbx + 0x1c6c], r14d
jne 0x14002c601
mov ecx, dword [rdx + 0x1c6c]
test ecx, ecx
setne al
mov byte [rdx + 0x1c78], al
test ecx, ecx
je 0x14002c5d8
mov dword [rdx + 0x1c74], esi
mov word [rdx + 0x1c7b], si
mov dword [rdx + 0x1ca4], 0xffffffff
mov dword [rdx + 0x1c6c], esi
mov word [rdx + 0x1c79], si
mov qword [rdx + 0x1c98], rsi
mov word [rdx + 0x1c7d], si
mov qword [rdx + 0x1c80], rsi
mov qword [rdx + 0x1c88], rsi
mov edi, dword [r12]
cmp dword [rbx + 0x1c6c], r14d
jne 0x14002c8a5
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14002c63a
mov r8, qword [0x1400aefd0]
mov edi, 1
movzx esi, dil
xor r10d, r10d
jmp 0x14002c823
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14002c6c6
mov edi, 2
mov r8, qword [0x1400aefd0]
mov ecx, dword [r8 + 0x1c6c]
mov sil, 1
test ecx, ecx
setne al
xor r10d, r10d
mov byte [r8 + 0x1c78], al
test ecx, ecx
je 0x14002c68d
mov dword [r8 + 0x1c74], r10d
mov word [r8 + 0x1c7b], r10w
mov dword [r8 + 0x1ca4], 0xffffffff
mov dword [r8 + 0x1c6c], r10d
mov word [r8 + 0x1c79], 0
mov qword [r8 + 0x1c98], r10
mov word [r8 + 0x1c7d], 0
mov qword [r8 + 0x1c80], 0
mov qword [r8 + 0x1c88], r10
jmp 0x14002c823
mov ecx, 4
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14002c6df
mov edi, 4
jmp 0x14002c64f
mov ecx, 5
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14002c6f8
mov edi, 5
jmp 0x14002c64f
mov ecx, 6
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov r8, qword [0x1400aefd0]
test al, 1
je 0x14002c718
mov edi, 6
jmp 0x14002c656
mov edx, 8
lea r9, [rbx + 0x14d]
cmp byte [r9 - 1], 0
je 0x14002c79a
mov ecx, dword [r8 + 0x1c6c]
mov edi, edx
test ecx, ecx
mov sil, 1
setne al
xor r10d, r10d
mov byte [r8 + 0x1c78], al
test ecx, ecx
je 0x14002c764
mov dword [r8 + 0x1c74], r10d
mov word [r8 + 0x1c7b], r10w
mov dword [r8 + 0x1ca4], 0xffffffff
mov dword [r8 + 0x1c6c], r10d
mov word [r8 + 0x1c79], 0
mov qword [r8 + 0x1c98], r10
mov word [r8 + 0x1c7d], 0
mov qword [r8 + 0x1c80], 0
mov qword [r8 + 0x1c88], r10
jmp 0x14002c79d
xor r10d, r10d
cmp byte [r9], 0
je 0x14002c810
mov ecx, dword [r8 + 0x1c6c]
lea edi, [rdx + 1]
test ecx, ecx
mov sil, 1
setne al
mov byte [r8 + 0x1c78], al
test ecx, ecx
je 0x14002c7dc
mov dword [r8 + 0x1c74], r10d
mov word [r8 + 0x1c7b], 0
mov dword [r8 + 0x1ca4], 0xffffffff
mov dword [r8 + 0x1c6c], r10d
mov word [r8 + 0x1c79], 0
mov qword [r8 + 0x1c98], r10
mov word [r8 + 0x1c7d], 0
mov qword [r8 + 0x1c80], 0
mov qword [r8 + 0x1c88], r10
add edx, 2
add r9, 2
cmp edx, 0xa5
jle 0x14002c724
mov ecx, dword [r8 + 0x74]
test ecx, ecx
js 0x14002c8a1
call fcn.1400090a0
test al, al
je 0x14002c8a1
mov dword [r12], r10d
mov ecx, dword [r8 + 0x1c6c]
test ecx, ecx
setne al
mov byte [r8 + 0x1c78], al
test ecx, ecx
je 0x14002c86b
mov dword [r8 + 0x1c74], r10d
mov word [r8 + 0x1c7b], 0
mov dword [r8 + 0x1ca4], 0xffffffff
mov dword [r8 + 0x1c6c], r10d
mov word [r8 + 0x1c79], 0
mov qword [r8 + 0x1c98], r10
mov word [r8 + 0x1c7d], 0
mov qword [r8 + 0x1c80], 0
mov qword [r8 + 0x1c88], r10
jmp 0x14002c8a5
mov dword [r12], edi
mov eax, dword [str.None]
xorps xmm0, xmm0
mov dword [rsp + 0x70], eax
mov rcx, r13
movzx eax, byte [0x1400867d8]
mov byte [rsp + 0x74], al
xor eax, eax
mov qword [rbp - 0x5b], rax
mov word [rbp - 0x53], ax
mov byte [rbp - 0x51], al
movups xmmword [rsp + 0x75], xmm0
movups xmmword [rbp - 0x7b], xmm0
movups xmmword [rbp - 0x6b], xmm0
call fcn.140003250
movss xmm0, dword [rbx + 0x15b4]
movaps xmm1, xmm10
movss dword [rsp + 0x20], xmm0
mov r8d, eax
movaps xmm0, xmm9
unpcklps xmm1, xmm8
unpcklps xmm0, xmm7
mov r9b, 1
movq rcx, xmm0
movq rdx, xmm1
call fcn.140004010
movsxd rax, dword [r12]
test eax, eax
je 0x14002c932
cmp dword [rbx + 0x1c6c], r14d
je 0x14002c93b
mov r8, rax
lea rax, str.Unknown
mov r8, qword [rax + r8*8]
jmp 0x14002c942
cmp dword [rbx + 0x1c6c], r14d
jne 0x14002c951
lea r8, str._Press_a_key_
mov edx, 0x40
lea rcx, [rsp + 0x70]
call fcn.1400588b0
movss xmm1, dword [rbx + 0x15ac]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x30], rcx
subss xmm10, xmm1
movaps xmm0, xmm9
movss dword [rsp + 0x6c], xmm8
addss xmm0, dword [rsp + 0x40]
addss xmm1, xmm9
movss dword [rsp + 0x60], xmm9
lea rax, [rbx + 0x1608]
movss dword [rsp + 0x64], xmm7
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x70]
xor r9d, r9d
movss dword [rsp + 0x48], xmm10
movss dword [rsp + 0x68], xmm0
lea rdx, [rsp + 0x48]
movss xmm0, dword [rbx + 0x15b0]
lea rcx, [rsp + 0x40]
subss xmm8, xmm0
movss dword [rsp + 0x40], xmm1
addss xmm0, xmm7
mov qword [rsp + 0x20], 0
movss dword [rsp + 0x4c], xmm8
movss dword [rsp + 0x44], xmm0
call fcn.140003d90
comiss xmm11, xmm12
jbe 0x14002ca12
addss xmm7, dword [rbx + 0x15b0]
movss xmm0, dword [rsp + 0x50]
mov r9b, 1
xor r8d, r8d
mov rdx, r15
unpcklps xmm0, xmm7
movq rcx, xmm0
call fcn.1400033b0
movzx eax, sil
jmp 0x14002ca1a
xor al, al
mov rcx, qword [rbp - 0x50]
xor rcx, rsp
call fcn.140045d20
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x50]
movaps xmm7, xmmword [r11 - 0x10]
movaps xmm8, xmmword [r11 - 0x20]
movaps xmm9, xmmword [r11 - 0x30]
movaps xmm10, xmmword [r11 - 0x40]
movaps xmm11, xmmword [r11 - 0x50]
movaps xmm12, xmmword [r11 - 0x60]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret