Function at 0x14002ce50
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 [0x140107080]
xor rax, rsp
mov qword [rbp - 0x50], rax
mov rbx, qword [0x140108760]
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 0x14002d569
mov rdx, rcx
mov rcx, rdi
call fcn.1400057a0
mov r9, qword [0x140108760]
mov r14d, eax
mov rdx, r15
cmp r15, 0xffffffffffffffff
jae 0x14002cf12
movzx r8d, byte [rdx]
test r8b, r8b
je 0x14002cf12
lea rcx, [rdx + 1]
cmp r8b, 0x23
jne 0x14002cf09
cmp byte [rcx], r8b
je 0x14002cf12
mov rdx, rcx
cmp rcx, 0xffffffffffffffff
jb 0x14002cef1
movss xmm1, dword [r9 + 0x1990]
xorps xmm12, xmm12
cmp r15, rdx
jne 0x14002cf2a
xorps xmm11, xmm11
jmp 0x14002cf77
movss xmm0, dword [0x1400f3a0c]
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.140025c30
movss xmm0, dword [rsp + 0x40]
addss xmm0, dword [0x1400f38b4]
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.14000f700
mov rdx, qword [rsi]
lea rcx, [rsp + 0x40]
movaps xmm2, xmm0
call fcn.14000f780
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.14000f3a0
xor r8d, r8d
lea rcx, [rsp + 0x50]
mov edx, r14d
xor r9d, r9d
call fcn.14000f4d0
test al, al
je 0x14002d569
mov edx, r14d
lea rcx, [rsp + 0x60]
call fcn.1400059a0
mov rdx, qword [0x140108760]
xor esi, esi
test al, al
je 0x14002d0ea
mov dword [rdx + 0x1c58], r14d
mov word [rdx + 0x1c60], si
test r14d, r14d
je 0x14002d08f
cmp dword [rdx + 0x1c5c], r14d
je 0x14002d08f
mov qword [rdx + 0x1c64], rsi
mov dword [rbx + 0x1fa8], 1
cmp byte [rbx + 0x420], sil
je 0x14002d151
cmp dword [rbx + 0x1c6c], r14d
je 0x14002d0d5
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.1400058e0
mov rcx, rdi
call fcn.14000ec30
jmp 0x14002d151
cmp byte [rbx + 0x420], sil
je 0x14002d151
cmp dword [rbx + 0x1c6c], r14d
jne 0x14002d151
mov ecx, dword [rdx + 0x1c6c]
test ecx, ecx
setne al
mov byte [rdx + 0x1c78], al
test ecx, ecx
je 0x14002d128
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 0x14002d3f5
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14002d18a
mov r8, qword [0x140108760]
mov edi, 1
movzx esi, dil
xor r10d, r10d
jmp 0x14002d373
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14002d216
mov edi, 2
mov r8, qword [0x140108760]
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 0x14002d1dd
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 0x14002d373
mov ecx, 4
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14002d22f
mov edi, 4
jmp 0x14002d19f
mov ecx, 5
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14002d248
mov edi, 5
jmp 0x14002d19f
mov ecx, 6
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov r8, qword [0x140108760]
test al, 1
je 0x14002d268
mov edi, 6
jmp 0x14002d1a6
mov edx, 8
lea r9, [rbx + 0x14d]
cmp byte [r9 - 1], 0
je 0x14002d2ea
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 0x14002d2b4
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 0x14002d2ed
xor r10d, r10d
cmp byte [r9], 0
je 0x14002d360
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 0x14002d32c
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 0x14002d274
mov ecx, dword [r8 + 0x74]
test ecx, ecx
js 0x14002d3f1
call fcn.140009cc0
test al, al
je 0x14002d3f1
mov dword [r12], r10d
mov ecx, dword [r8 + 0x1c6c]
test ecx, ecx
setne al
mov byte [r8 + 0x1c78], al
test ecx, ecx
je 0x14002d3bb
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 0x14002d3f5
mov dword [r12], edi
mov eax, dword [str.None]
xorps xmm0, xmm0
mov dword [rsp + 0x70], eax
mov rcx, r13
movzx eax, byte [0x1400dba8c]
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.140003ee0
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.140004ca0
movsxd rax, dword [r12]
test eax, eax
je 0x14002d482
cmp dword [rbx + 0x1c6c], r14d
je 0x14002d48b
mov r8, rax
lea rax, str.Unknown
mov r8, qword [rax + r8*8]
jmp 0x14002d492
cmp dword [rbx + 0x1c6c], r14d
jne 0x14002d4a2
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, 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.140004a20
comiss xmm11, xmm12
jbe 0x14002d563
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.140004040
movzx eax, sil
jmp 0x14002d56b
xor al, al
mov rcx, qword [rbp - 0x50]
xor rcx, rsp
call fcn.1400c6740
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