Function at 0x14002c270
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 [0x1400f12b0]
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 0x14002c990
mov rdx, rcx
mov rcx, rdi
call fcn.140004ce0
mov r14d, eax
mov rax, qword [0x1400f12b0]
mov rdx, r15
cmp r15, 0xffffffffffffffff
jae 0x14002c332
movzx r8d, byte [rdx]
test r8b, r8b
je 0x14002c332
lea rcx, [rdx + 1]
cmp r8b, 0x23
jne 0x14002c329
cmp byte [rcx], r8b
je 0x14002c332
mov rdx, rcx
cmp rcx, 0xffffffffffffffff
jb 0x14002c311
movss xmm1, dword [rax + 0x1990]
xorps xmm12, xmm12
cmp r15, rdx
jne 0x14002c349
xorps xmm11, xmm11
jmp 0x14002c396
movss xmm0, dword [0x1400df9ac]
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.140025070
movss xmm0, dword [rsp + 0x40]
addss xmm0, dword [0x1400df854]
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.14000ec50
mov rdx, qword [rsi]
lea rcx, [rsp + 0x40]
movaps xmm2, xmm0
call fcn.14000ecd0
movss xmm2, dword [rdi + 0xd8]
lea rcx, [rsp + 0x48]
movss xmm7, dword [rdi + 0xdc]
movaps xmm9, xmm2
addss xmm9, dword [rsp + 0x40]
movss xmm1, dword [rbx + 0x15b0]
movaps xmm10, xmm7
addss xmm10, dword [rsp + 0x44]
movss dword [rsp + 0x50], xmm2
movaps xmm8, xmm11
addss xmm8, dword [rbx + 0x15c4]
movaps xmm0, xmm9
movss dword [rsp + 0x64], xmm7
subss xmm0, xmm2
movss dword [rsp + 0x68], xmm9
movss dword [rsp + 0x6c], xmm10
movss dword [rsp + 0x54], xmm7
addss xmm8, xmm2
movss dword [rsp + 0x58], xmm9
movaps xmm2, xmm10
movss dword [rsp + 0x5c], xmm10
subss xmm2, xmm7
movss dword [rsp + 0x48], xmm0
movss dword [rsp + 0x60], xmm8
movss dword [rsp + 0x4c], xmm2
call fcn.14000e8f0
xor r8d, r8d
lea rcx, [rsp + 0x50]
mov edx, r14d
xor r9d, r9d
call fcn.14000ea20
test al, al
je 0x14002c990
mov edx, r14d
lea rcx, [rsp + 0x60]
call fcn.140004ee0
mov rdx, qword [0x1400f12b0]
xor esi, esi
test al, al
je 0x14002c509
mov dword [rdx + 0x1c58], r14d
mov word [rdx + 0x1c60], si
test r14d, r14d
je 0x14002c4ae
cmp dword [rdx + 0x1c5c], r14d
je 0x14002c4ae
mov qword [rdx + 0x1c64], rsi
mov dword [rbx + 0x1fa8], 1
cmp byte [rbx + 0x420], sil
je 0x14002c570
cmp dword [rbx + 0x1c6c], r14d
je 0x14002c4f4
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.140004e20
mov rcx, rdi
call fcn.14000e180
jmp 0x14002c570
cmp byte [rbx + 0x420], sil
je 0x14002c570
cmp dword [rbx + 0x1c6c], r14d
jne 0x14002c570
mov ecx, dword [rdx + 0x1c6c]
test ecx, ecx
setne al
mov byte [rdx + 0x1c78], al
test ecx, ecx
je 0x14002c547
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 0x14002c814
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14002c5a9
mov r8, qword [0x1400f12b0]
mov edi, 1
movzx esi, dil
xor r10d, r10d
jmp 0x14002c792
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14002c635
mov edi, 2
mov r8, qword [0x1400f12b0]
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 0x14002c5fc
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 0x14002c792
mov ecx, 4
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14002c64e
mov edi, 4
jmp 0x14002c5be
mov ecx, 5
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14002c667
mov edi, 5
jmp 0x14002c5be
mov ecx, 6
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov r8, qword [0x1400f12b0]
test al, 1
je 0x14002c687
mov edi, 6
jmp 0x14002c5c5
mov edx, 8
lea r9, [rbx + 0x14d]
cmp byte [r9 - 1], 0
je 0x14002c709
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 0x14002c6d3
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 0x14002c70c
xor r10d, r10d
cmp byte [r9], 0
je 0x14002c77f
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 0x14002c74b
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 0x14002c693
mov ecx, dword [r8 + 0x74]
test ecx, ecx
js 0x14002c810
call fcn.140009240
test al, al
je 0x14002c810
mov dword [r12], r10d
mov ecx, dword [r8 + 0x1c6c]
test ecx, ecx
setne al
mov byte [r8 + 0x1c78], al
test ecx, ecx
je 0x14002c7da
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 0x14002c814
mov dword [r12], edi
mov eax, dword [str.None]
xorps xmm0, xmm0
mov dword [rsp + 0x70], eax
mov rcx, r13
movzx eax, byte [0x1400c972c]
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.140003430
movss xmm0, dword [rbx + 0x15b4]
movaps xmm1, xmm9
movss dword [rsp + 0x20], xmm0
mov r8d, eax
movaps xmm0, xmm8
unpcklps xmm1, xmm10
unpcklps xmm0, xmm7
mov r9b, 1
movq rcx, xmm0
movq rdx, xmm1
call fcn.1400041d0
movsxd rax, dword [r12]
test eax, eax
je 0x14002c8a1
cmp dword [rbx + 0x1c6c], r14d
je 0x14002c8aa
mov r8, rax
lea rax, str.Unknown
mov r8, qword [rax + r8*8]
jmp 0x14002c8b1
cmp dword [rbx + 0x1c6c], r14d
jne 0x14002c8c1
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 xmm2, dword [rbx + 0x15ac]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x30], rcx
subss xmm9, xmm2
movaps xmm0, xmm8
movss dword [rsp + 0x60], xmm8
addss xmm0, dword [rsp + 0x40]
movaps xmm1, xmm7
movss dword [rsp + 0x64], xmm7
addss xmm1, dword [rsp + 0x44]
addss xmm2, xmm8
movss dword [rsp + 0x48], xmm9
lea rax, [rbx + 0x1608]
xor r9d, r9d
movss dword [rsp + 0x68], xmm0
lea r8, [rsp + 0x70]
movss xmm0, dword [rbx + 0x15b0]
lea rdx, [rsp + 0x48]
subss xmm10, xmm0
mov qword [rsp + 0x28], rax
addss xmm0, xmm7
movss dword [rsp + 0x6c], xmm1
lea rcx, [rsp + 0x40]
movss dword [rsp + 0x40], xmm2
mov qword [rsp + 0x20], 0
movss dword [rsp + 0x4c], xmm10
movss dword [rsp + 0x44], xmm0
call fcn.140003f50
comiss xmm11, xmm12
jbe 0x14002c98a
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.140003590
movzx eax, sil
jmp 0x14002c992
xor al, al
mov rcx, qword [rbp - 0x50]
xor rcx, rsp
call fcn.1400b47c0
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