Function at 0x14002c690
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 [0x1400f0080]
xor rax, rsp
mov qword [rbp - 0x50], rax
mov rbx, qword [0x1400f1340]
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 0x14002cd99
mov rdx, rcx
mov rcx, rdi
call fcn.1400052a0
mov r14d, eax
mov rax, qword [0x1400f1340]
mov rdx, r15
cmp r15, 0xffffffffffffffff
jae 0x14002c752
movzx r8d, byte [rdx]
test r8b, r8b
je 0x14002c752
lea rcx, [rdx + 1]
cmp r8b, 0x23
jne 0x14002c749
cmp byte [rcx], r8b
je 0x14002c752
mov rdx, rcx
cmp rcx, 0xffffffffffffffff
jb 0x14002c731
movss xmm1, dword [rax + 0x1990]
xorps xmm12, xmm12
cmp r15, rdx
jne 0x14002c769
xorps xmm9, xmm9
jmp 0x14002c7b6
movss xmm0, dword [0x1400decbc]
movaps xmm2, xmm1
mov rcx, qword [rax + 0x1988]
mov qword [rsp + 0x30], rdx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x28], r15
movss dword [rsp + 0x20], xmm0
call fcn.1400253a0
movss xmm0, dword [rsp + 0x40]
addss xmm0, dword [0x1400deb54]
movss xmm1, dword [rsp + 0x44]
cvttss2si eax, xmm0
movd xmm9, eax
cvtdq2ps xmm9, xmm9
movss xmm3, dword [rbx + 0x15b0]
addss xmm3, xmm3
addss xmm3, xmm1
call fcn.14000f270
mov rdx, qword [rsi]
lea rcx, [rsp + 0x40]
movaps xmm2, xmm0
call fcn.14000f2f0
movss xmm3, dword [rdi + 0xd8]
lea rcx, [rsp + 0x48]
movss xmm7, dword [rdi + 0xdc]
movaps xmm10, xmm3
addss xmm10, dword [rsp + 0x40]
movss xmm1, dword [rbx + 0x15b0]
movaps xmm8, xmm7
addss xmm8, dword [rsp + 0x44]
movaps xmm11, xmm9
movss dword [rsp + 0x64], xmm7
addss xmm11, dword [rbx + 0x15c4]
movaps xmm0, xmm10
movss dword [rsp + 0x68], xmm10
subss xmm0, xmm3
movss dword [rsp + 0x50], xmm3
movaps xmm2, xmm8
movss dword [rsp + 0x6c], xmm8
subss xmm2, xmm7
movss dword [rsp + 0x54], xmm7
addss xmm11, xmm3
movss dword [rsp + 0x58], xmm10
movss dword [rsp + 0x5c], xmm8
movss dword [rsp + 0x48], xmm0
movss dword [rsp + 0x4c], xmm2
movss dword [rsp + 0x60], xmm11
call fcn.14000ef10
xor r8d, r8d
lea rcx, [rsp + 0x50]
mov edx, r14d
xor r9d, r9d
call fcn.14000f040
test al, al
je 0x14002cd99
mov edx, r14d
lea rcx, [rsp + 0x60]
call fcn.1400054a0
mov rdx, qword [0x1400f1340]
xor esi, esi
test al, al
je 0x14002c929
mov dword [rdx + 0x1c58], r14d
mov word [rdx + 0x1c60], si
test r14d, r14d
je 0x14002c8ce
cmp dword [rdx + 0x1c5c], r14d
je 0x14002c8ce
mov qword [rdx + 0x1c64], rsi
mov dword [rbx + 0x1fa8], 1
cmp byte [rbx + 0x420], sil
je 0x14002c990
cmp dword [rbx + 0x1c6c], r14d
je 0x14002c914
xor eax, eax
lea rcx, [rbx + 0x144]
mov dword [rbx + 0x130], eax
xor edx, edx
mov r8d, 0x200
mov byte [rbx + 0x134], al
call sub.VCRUNTIME140.dll_memset
mov dword [r12], esi
mov rdx, rdi
mov ecx, r14d
call fcn.1400053e0
mov rcx, rdi
call fcn.14000e7a0
jmp 0x14002c990
cmp byte [rbx + 0x420], sil
je 0x14002c990
cmp dword [rbx + 0x1c6c], r14d
jne 0x14002c990
mov ecx, dword [rdx + 0x1c6c]
test ecx, ecx
setne al
mov byte [rdx + 0x1c78], al
test ecx, ecx
je 0x14002c967
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 0x14002cc34
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14002c9c9
mov r8, qword [0x1400f1340]
mov edi, 1
movzx esi, dil
xor r10d, r10d
jmp 0x14002cbb2
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14002ca55
mov edi, 2
mov r8, qword [0x1400f1340]
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 0x14002ca1c
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 0x14002cbb2
mov ecx, 4
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14002ca6e
mov edi, 4
jmp 0x14002c9de
mov ecx, 5
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14002ca87
mov edi, 5
jmp 0x14002c9de
mov ecx, 6
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov r8, qword [0x1400f1340]
test al, 1
je 0x14002caa7
mov edi, 6
jmp 0x14002c9e5
mov edx, 8
lea r9, [rbx + 0x14d]
cmp byte [r9 - 1], 0
je 0x14002cb29
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 0x14002caf3
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 0x14002cb2c
xor r10d, r10d
cmp byte [r9], 0
je 0x14002cb9f
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 0x14002cb6b
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 0x14002cab3
mov ecx, dword [r8 + 0x74]
test ecx, ecx
js 0x14002cc30
call fcn.1400097e0
test al, al
je 0x14002cc30
mov dword [r12], r10d
mov ecx, dword [r8 + 0x1c6c]
test ecx, ecx
setne al
mov byte [r8 + 0x1c78], al
test ecx, ecx
je 0x14002cbfa
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 0x14002cc34
mov dword [r12], edi
mov eax, dword [str.None]
xorps xmm0, xmm0
mov dword [rsp + 0x70], eax
mov rcx, r13
movzx eax, byte [0x1400c7a3c]
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.1400039a0
movss xmm0, dword [rbx + 0x15b4]
mov r8d, eax
mov rdx, qword [rsp + 0x68]
mov r9b, 1
mov rcx, qword [rsp + 0x60]
movss dword [rsp + 0x20], xmm0
call fcn.140004790
movsxd rax, dword [r12]
test eax, eax
je 0x14002ccb2
cmp dword [rbx + 0x1c6c], r14d
je 0x14002ccbb
mov r8, rax
lea rax, str.Unknown
mov r8, qword [rax + r8*8]
jmp 0x14002ccc2
cmp dword [rbx + 0x1c6c], r14d
jne 0x14002ccd2
lea r8, str._Press_a_key_
mov edx, 0x40
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
movss xmm1, dword [rbx + 0x15ac]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x30], rcx
subss xmm10, xmm1
movaps xmm0, xmm11
movss dword [rsp + 0x6c], xmm8
addss xmm0, dword [rsp + 0x40]
addss xmm1, xmm11
movss dword [rsp + 0x60], xmm11
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.140004510
comiss xmm9, xmm12
jbe 0x14002cd93
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.140003af0
movzx eax, sil
jmp 0x14002cd9b
xor al, al
mov rcx, qword [rbp - 0x50]
xor rcx, rsp
call fcn.1400b3da0
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