Function at 0x140008aa0
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 [0x1400e8080]
xor rax, rsp
mov qword [rbp - 0x50], rax
mov rdi, qword [0x140128470]
mov rsi, r8
mov r12, rdx
mov r15, rcx
mov rax, qword [rdi + 0x1d18]
mov byte [rax + 0xd1], 1
mov rbx, qword [rdi + 0x1d18]
cmp byte [rbx + 0xd4], 0
jne 0x1400091c0
movsxd rax, dword [rbx + 0x108]
xor edx, edx
mov r8, qword [rbx + 0x110]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.1400031c0
mov r14d, eax
cmp dword [rdi + 0x1d6c], eax
jne 0x140008b4b
mov dword [rdi + 0x1d70], eax
cmp dword [rdi + 0x1da8], r14d
jne 0x140008b5b
mov byte [rdi + 0x1dac], 1
mov rcx, r15
cmp r15, 0xffffffffffffffff
jae 0x140008b81
movzx edx, byte [rcx]
test dl, dl
je 0x140008b81
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x140008b78
cmp byte [rax], dl
je 0x140008b81
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x140008b64
movss xmm1, dword [rdi + 0x1a80]
xor r13d, r13d
xorps xmm12, xmm12
cmp r15, rcx
jne 0x140008b9b
xorps xmm11, xmm11
jmp 0x140008bf5
movss xmm0, dword [0x1400d63e0]
lea rdx, [rsp + 0x40]
movss xmm3, dword [0x1400d63cc]
movaps xmm2, xmm1
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], rcx
mov rcx, qword [rdi + 0x1a78]
mov qword [rsp + 0x28], r15
movss dword [rsp + 0x20], xmm0
call fcn.1400338c0
movss xmm0, dword [rsp + 0x40]
addss xmm0, dword [0x1400d6204]
movss xmm1, dword [rsp + 0x44]
cvttss2si eax, xmm0
movd xmm11, eax
cvtdq2ps xmm11, xmm11
movss xmm3, dword [rdi + 0x1674]
addss xmm3, xmm3
addss xmm3, xmm1
call fcn.1400124e0
mov rdx, qword [rsi]
lea rcx, [rsp + 0x40]
movaps xmm2, xmm0
call fcn.140012560
movss xmm2, dword [rbx + 0x118]
lea rcx, [rsp + 0x48]
movss xmm3, dword [rbx + 0x11c]
movaps xmm9, xmm2
addss xmm9, dword [rsp + 0x40]
movss xmm1, dword [rdi + 0x1674]
movaps xmm10, xmm3
addss xmm10, dword [rsp + 0x44]
movss dword [rsp + 0x50], xmm2
movaps xmm7, xmm3
subss xmm7, dword [0x1400d6280]
movaps xmm0, xmm9
movss dword [rsp + 0x68], xmm9
subss xmm0, xmm2
movss dword [rsp + 0x54], xmm3
movaps xmm8, xmm11
movss dword [rsp + 0x6c], xmm10
addss xmm8, dword [rdi + 0x1688]
movss dword [rsp + 0x64], xmm7
movss dword [rsp + 0x58], xmm9
movss dword [rsp + 0x5c], xmm10
movss dword [rsp + 0x48], xmm0
addss xmm8, xmm2
movaps xmm2, xmm10
subss xmm2, xmm3
movss dword [rsp + 0x60], xmm8
movss dword [rsp + 0x4c], xmm2
call fcn.140012050
xor r8d, r8d
lea rcx, [rsp + 0x50]
mov edx, r14d
xor r9d, r9d
call fcn.1400121a0
test al, al
je 0x1400091c0
mov edx, r14d
lea rcx, [rsp + 0x60]
call fcn.140005f80
mov rdx, qword [0x140128470]
test al, al
je 0x140008d7d
mov dword [rdx + 0x1d58], r14d
mov word [rdx + 0x1d60], r13w
test r14d, r14d
je 0x140008d1b
cmp dword [rdx + 0x1d5c], r14d
je 0x140008d1b
mov qword [rdx + 0x1d64], r13
mov dword [rdi + 0x20d0], 1
cmp byte [rdi + 0x418], r13b
je 0x140008de9
cmp dword [rdi + 0x1d6c], r14d
je 0x140008d61
xor eax, eax
lea rcx, [rdi + 0x140]
mov dword [rdi + 0x128], eax
xor edx, edx
mov r8d, 0x200
mov byte [rdi + 0x12c], al
call sub.VCRUNTIME140.dll_memset
mov dword [r12], r13d
mov rdx, rbx
mov ecx, r14d
call fcn.140005eb0
mov rcx, rbx
call fcn.140011840
mov rdx, qword [0x140128470]
jmp 0x140008de9
cmp byte [rdi + 0x418], r13b
je 0x140008de9
cmp dword [rdi + 0x1d6c], r14d
jne 0x140008de9
mov ecx, dword [rdx + 0x1d6c]
test ecx, ecx
setne al
mov byte [rdx + 0x1d78], al
test ecx, ecx
je 0x140008dbd
mov dword [rdx + 0x1d74], r13d
mov word [rdx + 0x1d7b], r13w
mov dword [rdx + 0x1da4], 0xffffffff
mov dword [rdx + 0x1d6c], r13d
mov word [rdx + 0x1d79], r13w
mov qword [rdx + 0x1d98], r13
mov word [rdx + 0x1d7d], r13w
mov qword [rdx + 0x1d80], r13
mov qword [rdx + 0x1d88], r13
mov ebx, dword [r12]
xor sil, sil
cmp dword [rdi + 0x1d6c], r14d
jne 0x14000902c
mov r8d, r13d
lea r9, [rdi + 0x128]
cmp byte [r9], r13b
je 0x140008ea8
mov ecx, r8d
test r8d, r8d
je 0x140008e46
sub ecx, 1
je 0x140008e3f
sub ecx, 1
je 0x140008e38
sub ecx, 1
je 0x140008e31
cmp ecx, 1
jne 0x140008e4b
lea ebx, [rcx + 5]
jmp 0x140008e4b
mov ebx, 5
jmp 0x140008e4b
mov ebx, 4
jmp 0x140008e4b
mov ebx, 2
jmp 0x140008e4b
mov ebx, 1
mov ecx, dword [rdx + 0x1d6c]
mov sil, 1
test ecx, ecx
setne al
mov byte [rdx + 0x1d78], al
test ecx, ecx
je 0x140008e7c
mov dword [rdx + 0x1d74], r13d
mov word [rdx + 0x1d7b], r13w
mov dword [rdx + 0x1da4], 0xffffffff
mov dword [rdx + 0x1d6c], r13d
mov word [rdx + 0x1d79], r13w
mov qword [rdx + 0x1d98], r13
mov word [rdx + 0x1d7d], r13w
mov qword [rdx + 0x1d80], r13
mov qword [rdx + 0x1d88], r13
inc r8d
inc r9
cmp r8d, 5
jl 0x140008e07
test sil, sil
jne 0x140008fb1
mov r8d, 8
lea r9, [rdi + 0x149]
nop
cmp byte [r9 - 1], r13b
je 0x140008f36
mov ecx, dword [rdx + 0x1d6c]
mov ebx, r8d
test ecx, ecx
mov sil, 1
setne al
mov byte [rdx + 0x1d78], al
test ecx, ecx
je 0x140008f0a
mov dword [rdx + 0x1d74], r13d
mov word [rdx + 0x1d7b], r13w
mov dword [rdx + 0x1da4], 0xffffffff
mov dword [rdx + 0x1d6c], r13d
mov word [rdx + 0x1d79], r13w
mov qword [rdx + 0x1d98], r13
mov word [rdx + 0x1d7d], r13w
mov qword [rdx + 0x1d80], r13
mov qword [rdx + 0x1d88], r13
cmp byte [r9], r13b
je 0x140008f9c
mov ecx, dword [rdx + 0x1d6c]
lea ebx, [r8 + 1]
test ecx, ecx
mov sil, 1
setne al
mov byte [rdx + 0x1d78], al
test ecx, ecx
je 0x140008f70
mov dword [rdx + 0x1d74], r13d
mov word [rdx + 0x1d7b], r13w
mov dword [rdx + 0x1da4], 0xffffffff
mov dword [rdx + 0x1d6c], r13d
mov word [rdx + 0x1d79], r13w
mov qword [rdx + 0x1d98], r13
mov word [rdx + 0x1d7d], r13w
mov qword [rdx + 0x1d80], r13
mov qword [rdx + 0x1d88], r13
add r8d, 2
add r9, 2
cmp r8d, 0xa5
jle 0x140008ed0
mov ecx, reloc.WS2_32.dll_ntohl
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov rdx, qword [0x140128470]
test ax, ax
je 0x140009028
mov dword [r12], r13d
mov ecx, dword [rdx + 0x1d6c]
test ecx, ecx
setne al
mov byte [rdx + 0x1d78], al
test ecx, ecx
je 0x140008ffa
mov dword [rdx + 0x1d74], r13d
mov word [rdx + 0x1d7b], r13w
mov dword [rdx + 0x1da4], 0xffffffff
mov dword [rdx + 0x1d6c], r13d
mov word [rdx + 0x1d79], r13w
mov qword [rdx + 0x1d98], r13
mov word [rdx + 0x1d7d], r13w
mov qword [rdx + 0x1d80], r13
mov qword [rdx + 0x1d88], r13
jmp 0x14000902c
mov dword [r12], ebx
mov eax, dword [str.None]
lea rcx, [rsp + 0x60]
xorps xmm0, xmm0
mov dword [rsp + 0x70], eax
movzx eax, byte [0x1400d07a0]
mov byte [rsp + 0x74], al
xor eax, eax
movups xmmword [rsp + 0x75], xmm0
mov qword [rbp - 0x5b], rax
movups xmmword [rbp - 0x7b], xmm0
mov word [rbp - 0x53], ax
movups xmmword [rbp - 0x6b], xmm0
mov byte [rbp - 0x51], al
movaps xmm0, xmmword [0x1400d6570]
movups xmmword [rsp + 0x60], xmm0
movss xmm0, dword [rdx + 0x1638]
movss dword [rsp + 0x6c], xmm0
call fcn.140003690
movss xmm0, dword [0x1400d6248]
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.140004fd0
movsxd rax, dword [r12]
test eax, eax
je 0x1400090d5
cmp dword [rdi + 0x1d6c], r14d
je 0x1400090de
mov r8, rax
lea rax, str.Unknown
mov r8, qword [rax + r8*8]
jmp 0x1400090e5
cmp dword [rdi + 0x1d6c], r14d
jne 0x1400090f5
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 [rdi + 0x1670]
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, [rdi + 0x16cc]
xor r9d, r9d
movss dword [rsp + 0x68], xmm0
lea r8, [rsp + 0x70]
movss xmm0, dword [rdi + 0x1674]
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], r13
movss dword [rsp + 0x4c], xmm10
movss dword [rsp + 0x44], xmm0
call fcn.1400046f0
comiss xmm11, xmm12
jbe 0x1400091ba
addss xmm7, dword [rdi + 0x1674]
movss xmm0, dword [rsp + 0x50]
mov r9b, 1
xor r8d, r8d
mov rdx, r15
unpcklps xmm0, xmm7
movq rcx, xmm0
call fcn.140003cf0
movzx eax, sil
jmp 0x1400091c2
xor al, al
mov rcx, qword [rbp - 0x50]
xor rcx, rsp
call fcn.1400bceb0
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