Function at 0x14002e740
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 [0x1400ef080]
xor rax, rsp
mov qword [rbp - 0x50], rax
mov rbx, qword [0x1400f02f0]
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 0x14002ee60
mov rdx, rcx
mov rcx, rdi
call fcn.140006de0
mov r14d, eax
mov rax, qword [0x1400f02f0]
mov rdx, r15
cmp r15, 0xffffffffffffffff
jae 0x14002e802
movzx r8d, byte [rdx]
test r8b, r8b
je 0x14002e802
lea rcx, [rdx + 1]
cmp r8b, 0x23
jne 0x14002e7f9
cmp byte [rcx], r8b
je 0x14002e802
mov rdx, rcx
cmp rcx, 0xffffffffffffffff
jb 0x14002e7e1
movss xmm1, dword [rax + 0x1990]
xorps xmm12, xmm12
cmp r15, rdx
jne 0x14002e819
xorps xmm11, xmm11
jmp 0x14002e866
movss xmm0, dword [0x1400de134]
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.140027190
movss xmm0, dword [rsp + 0x40]
addss xmm0, dword [0x1400ddfd4]
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.140010dd0
mov rdx, qword [rsi]
lea rcx, [rsp + 0x40]
movaps xmm2, xmm0
call fcn.140010e50
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.140010a70
xor r8d, r8d
lea rcx, [rsp + 0x50]
mov edx, r14d
xor r9d, r9d
call fcn.140010ba0
test al, al
je 0x14002ee60
mov edx, r14d
lea rcx, [rsp + 0x60]
call fcn.140006fe0
mov rdx, qword [0x1400f02f0]
xor esi, esi
test al, al
je 0x14002e9d9
mov dword [rdx + 0x1c58], r14d
mov word [rdx + 0x1c60], si
test r14d, r14d
je 0x14002e97e
cmp dword [rdx + 0x1c5c], r14d
je 0x14002e97e
mov qword [rdx + 0x1c64], rsi
mov dword [rbx + 0x1fa8], 1
cmp byte [rbx + 0x420], sil
je 0x14002ea40
cmp dword [rbx + 0x1c6c], r14d
je 0x14002e9c4
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.140006f20
mov rcx, rdi
call fcn.140010300
jmp 0x14002ea40
cmp byte [rbx + 0x420], sil
je 0x14002ea40
cmp dword [rbx + 0x1c6c], r14d
jne 0x14002ea40
mov ecx, dword [rdx + 0x1c6c]
test ecx, ecx
setne al
mov byte [rdx + 0x1c78], al
test ecx, ecx
je 0x14002ea17
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 0x14002ece4
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14002ea79
mov r8, qword [0x1400f02f0]
mov edi, 1
movzx esi, dil
xor r10d, r10d
jmp 0x14002ec62
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14002eb05
mov edi, 2
mov r8, qword [0x1400f02f0]
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 0x14002eacc
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 0x14002ec62
mov ecx, 4
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14002eb1e
mov edi, 4
jmp 0x14002ea8e
mov ecx, 5
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14002eb37
mov edi, 5
jmp 0x14002ea8e
mov ecx, 6
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov r8, qword [0x1400f02f0]
test al, 1
je 0x14002eb57
mov edi, 6
jmp 0x14002ea95
mov edx, 8
lea r9, [rbx + 0x14d]
cmp byte [r9 - 1], 0
je 0x14002ebd9
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 0x14002eba3
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 0x14002ebdc
xor r10d, r10d
cmp byte [r9], 0
je 0x14002ec4f
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 0x14002ec1b
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 0x14002eb63
mov ecx, dword [r8 + 0x74]
test ecx, ecx
js 0x14002ece0
call fcn.14000b3c0
test al, al
je 0x14002ece0
mov dword [r12], r10d
mov ecx, dword [r8 + 0x1c6c]
test ecx, ecx
setne al
mov byte [r8 + 0x1c78], al
test ecx, ecx
je 0x14002ecaa
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 0x14002ece4
mov dword [r12], edi
mov eax, dword [str.None]
xorps xmm0, xmm0
mov dword [rsp + 0x70], eax
mov rcx, r13
movzx eax, byte [0x1400c7834]
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.140005520
movss xmm0, dword [rbx + 0x15b4]
movaps xmm1, xmm9
movaps xmm2, xmm8
unpcklps xmm1, xmm10
unpcklps xmm2, xmm7
movq rdx, xmm1
movq rcx, xmm2
movss dword [rsp + 0x20], xmm0
mov r8d, eax
mov r9b, 1
call fcn.1400062d0
movsxd rax, dword [r12]
test eax, eax
je 0x14002ed71
cmp dword [rbx + 0x1c6c], r14d
je 0x14002ed7a
mov r8, rax
lea rax, str.Unknown
mov r8, qword [rax + r8*8]
jmp 0x14002ed81
cmp dword [rbx + 0x1c6c], r14d
jne 0x14002ed91
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.140006050
comiss xmm11, xmm12
jbe 0x14002ee5a
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.140005680
movzx eax, sil
jmp 0x14002ee62
xor al, al
mov rcx, qword [rbp - 0x50]
xor rcx, rsp
call fcn.1400b2b70
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