Function at 0x180008e00
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rdi
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xe8
mov r14, qword [0x18016d238]
mov rdi, r8
movaps xmmword [rax - 0x48], xmm6
mov r13, rcx
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x88], xmm10
movaps xmmword [rax - 0x98], xmm11
mov rax, qword [r14 + 0x1af0]
movaps xmmword [rsp + 0x70], xmm12
mov byte [rax + 0x80], 1
mov rbx, qword [r14 + 0x1af0]
cmp byte [rbx + 0x83], 0
jne 0x18000997d
movsxd rdx, dword [rbx + 0xc0]
mov rax, qword [rbx + 0xc8]
mov r8d, dword [rax + rdx*4 - 4]
xor edx, edx
call fcn.180013510
mov r15d, eax
mov dword [rbp + 0x6f], eax
cmp dword [r14 + 0x1b38], eax
jne 0x180008ea6
mov dword [r14 + 0x1b3c], eax
cmp dword [r14 + 0x1b78], r15d
jne 0x180008eb7
mov byte [r14 + 0x1b7c], 1
mov rcx, r13
cmp r13, 0xffffffffffffffff
jae 0x180008ed9
movzx eax, byte [rcx]
test al, al
je 0x180008ed9
cmp al, 0x23
jne 0x180008ed0
cmp byte [rcx + 1], al
je 0x180008ed9
inc rcx
cmp rcx, 0xffffffffffffffff
jb 0x180008ec0
movss xmm1, dword [r14 + 0x19a8]
xorps xmm11, xmm11
cmp r13, rcx
jne 0x180008ef1
xorps xmm12, xmm12
jmp 0x180008f3e
movss xmm0, dword [0x18004b6e0]
lea rdx, [rbp + 0x7f]
mov qword [rsp + 0x30], rcx
movaps xmm2, xmm1
mov rcx, qword [r14 + 0x19a0]
mov qword [rsp + 0x28], r13
movss dword [rsp + 0x20], xmm0
call fcn.180030820
movss xmm0, dword [rbp + 0x7f]
addss xmm0, dword [0x18004b57c]
movss xmm1, dword [rbp + 0x83]
cvttss2si eax, xmm0
movd xmm12, eax
cvtdq2ps xmm12, xmm12
movss xmm6, dword [r14 + 0x1594]
movaps xmm3, xmm6
addss xmm3, xmm6
addss xmm3, xmm1
call fcn.18001dc50
mov rdx, qword [rdi]
lea rcx, [rbp + 0x7f]
movaps xmm2, xmm0
call fcn.18001dcc0
movss xmm3, dword [rbx + 0xd0]
lea rcx, [rbp - 0x79]
movss xmm7, dword [rbx + 0xd4]
movaps xmm9, xmm3
addss xmm9, dword [rbp + 0x7f]
movaps xmm10, xmm7
movss dword [rbp - 0x65], xmm7
addss xmm10, dword [rbp + 0x83]
movaps xmm8, xmm12
movss dword [rbp - 0x59], xmm3
addss xmm8, dword [r14 + 0x15a8]
movaps xmm0, xmm9
movss dword [rbp - 0x61], xmm9
subss xmm0, xmm3
movss dword [rbp - 0x55], xmm7
movaps xmm2, xmm10
movss dword [rbp - 0x5d], xmm10
subss xmm2, xmm7
movss dword [rbp - 0x51], xmm9
addss xmm8, xmm3
movss dword [rbp - 0x4d], xmm10
movaps xmm1, xmm6
movss dword [rbp - 0x79], xmm0
movss dword [rbp - 0x75], xmm2
movss dword [rbp - 0x69], xmm8
call fcn.180015a60
xor r8d, r8d
lea rcx, [rbp - 0x59]
mov edx, r15d
call fcn.180015b70
test al, al
je 0x18000997d
mov qword [rsp + 0x130], rsi
mov rcx, rbx
xor esi, esi
mov qword [rsp + 0xe0], r12
cmp dword [r14 + 0x1b38], r15d
mov edx, esi
sete dl
call fcn.180015ef0
mov edx, r15d
lea rcx, [rbp - 0x69]
movzx edi, al
call fcn.180015d90
test al, al
je 0x180009084
mov rcx, qword [0x18016d238]
mov dword [rcx + 0x1b24], r15d
mov byte [rcx + 0x1b28], sil
test r15d, r15d
je 0x18000906c
cmp dword [rcx + 0x1b2c], r15d
je 0x18000906c
mov qword [rcx + 0x1b30], rsi
mov dword [r14 + 0x1f78], 1
cmp byte [r14 + 0x420], sil
je 0x180009084
mov al, 1
jmp 0x180009086
xor al, al
test dil, dil
jne 0x1800090a8
test al, al
jne 0x1800090a8
cmp byte [r14 + 0x420], sil
je 0x1800090ee
cmp dword [r14 + 0x1b38], r15d
jne 0x1800090ee
call fcn.180015a00
jmp 0x1800090ee
cmp dword [r14 + 0x1b38], r15d
je 0x1800090db
xor eax, eax
lea rcx, [r14 + 0x14c]
mov dword [r14 + 0x138], eax
xor edx, edx
mov r8d, 0x200
mov byte [r14 + 0x13c], al
call sub.VCRUNTIME140.dll_memset
mov dword [0x18016a630], esi
mov rdx, rbx
mov ecx, r15d
call fcn.180015930
mov rcx, rbx
call fcn.18001d9a0
mov ebx, dword [0x18016a630]
xor r12b, r12b
cmp dword [r14 + 0x1b38], r15d
jne 0x180009361
mov r15d, 5
mov edi, esi
lea rsi, [r14 + 0x138]
lea r13d, [r15 + 1]
cmp byte [rsi], 0
jne 0x180009147
mov ecx, r15d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x180009147
mov ecx, r13d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x180009147
mov rdx, qword [0x18016d238]
xor r10d, r10d
jmp 0x1800091e7
mov ecx, edi
test edi, edi
je 0x180009163
sub ecx, 1
je 0x18000915c
cmp ecx, 1
jne 0x180009168
lea ebx, [rcx + 3]
jmp 0x180009168
mov ebx, 2
jmp 0x180009168
mov ebx, 1
mov ecx, r13d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
mov ecx, r15d
cmovne ebx, r13d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov rdx, qword [0x18016d238]
mov r12b, 1
test ax, ax
cmovne ebx, r15d
mov ecx, dword [rdx + 0x1b38]
test ecx, ecx
setne al
xor r10d, r10d
mov byte [rdx + 0x1b44], al
test ecx, ecx
je 0x1800091b9
mov dword [rdx + 0x1b40], r10d
mov word [rdx + 0x1b46], r10w
mov dword [rdx + 0x1b38], r10d
mov byte [rdx + 0x1b45], 0
mov qword [rdx + 0x1b68], r10
mov byte [rdx + 0x1b48], 0
mov qword [rdx + 0x1b4c], 0
mov qword [rdx + 0x1b58], r10
inc edi
inc rsi
cmp edi, r13d
jle 0x180009117
mov r15d, dword [rbp + 0x6f]
mov r13, qword [rbp + 0x67]
test r12b, r12b
jne 0x1800092e8
mov r8d, 8
lea r9, [r14 + 0x155]
cmp byte [r9 - 1], 0
je 0x180009273
mov ecx, dword [rdx + 0x1b38]
mov ebx, r8d
test ecx, ecx
mov r12b, 1
setne al
mov byte [rdx + 0x1b44], al
test ecx, ecx
je 0x180009245
mov dword [rdx + 0x1b40], r10d
mov word [rdx + 0x1b46], 0
mov dword [rdx + 0x1b38], r10d
mov byte [rdx + 0x1b45], 0
mov qword [rdx + 0x1b68], r10
mov byte [rdx + 0x1b48], 0
mov qword [rdx + 0x1b4c], 0
mov qword [rdx + 0x1b58], r10
cmp byte [r9], 0
je 0x1800092d3
mov ecx, dword [rdx + 0x1b38]
lea ebx, [r8 + 1]
test ecx, ecx
mov r12b, 1
setne al
mov byte [rdx + 0x1b44], al
test ecx, ecx
je 0x1800092a5
mov dword [rdx + 0x1b40], r10d
mov word [rdx + 0x1b46], 0
mov dword [rdx + 0x1b38], r10d
mov byte [rdx + 0x1b45], 0
mov qword [rdx + 0x1b68], r10
mov byte [rdx + 0x1b48], 0
mov qword [rdx + 0x1b4c], 0
mov qword [rdx + 0x1b58], r10
add r8d, 2
add r9, 2
cmp r8d, 0xa5
jle 0x180009213
movsxd rax, dword [rdx + 0x74]
test eax, eax
js 0x18000935b
movss xmm0, dword [rdx + rax*4 + 0x4a0]
ucomiss xmm0, xmm11
jne 0x18000935b
mov dword [0x18016a630], r10d
mov ecx, dword [rdx + 0x1b38]
test ecx, ecx
setne al
mov byte [rdx + 0x1b44], al
test ecx, ecx
je 0x18000932b
mov dword [rdx + 0x1b40], r10d
mov word [rdx + 0x1b46], 0
mov dword [rdx + 0x1b38], r10d
mov byte [rdx + 0x1b45], 0
mov qword [rdx + 0x1b68], r10
mov byte [rdx + 0x1b48], 0
mov qword [rdx + 0x1b4c], 0
mov qword [rdx + 0x1b58], r10
jmp 0x180009361
mov dword [0x18016a630], ebx
movaps xmm0, xmmword [0x18004b880]
lea rcx, [rbp - 0x79]
movups xmmword [rbp - 0x79], xmm0
lea rdi, str.None
call fcn.180014620
movss xmm0, dword [r14 + 0x1598]
mov r8d, eax
mov rdx, qword [rbp - 0x61]
mov r9b, 1
mov rcx, qword [rbp - 0x69]
movss dword [rsp + 0x20], xmm0
call fcn.180014c30
mov eax, dword [0x18016a630]
test eax, eax
je 0x180009713
cmp dword [r14 + 0x1b38], r15d
je 0x180009720
dec eax
cmp eax, 0x9f
ja case.0x1800093e1.3
lea rdx, [0x180000000]
cdqe
movzx eax, byte [rdx + rax + 0x9ac8]
mov ecx, dword [rdx + rax*4 + 0x99b8]
add rcx, rdx
jmp rcx
lea rdi, str.control
jmp 0x18000984b
lea rdi, str.shift
jmp 0x18000984b
lea rdi, [0x180046228]
jmp 0x18000984b
lea rdi, [0x18004622c]
jmp 0x18000984b
lea rdi, str.mouse_1
jmp 0x18000984b
lea rdi, str.mouse_2
jmp 0x18000984b
lea rdi, str.mouse_3
jmp 0x18000984b
lea rdi, str.mouse_4
jmp 0x18000984b
lea rdi, str.mouse_5
jmp 0x18000984b
lea rdi, str.page_up
jmp 0x18000984b
lea rdi, str.page_down
jmp 0x18000984b
lea rdi, [0x18004626c]
jmp 0x18000984b
lea rdi, str.home
jmp 0x18000984b
lea rdi, str.left_arrow
jmp 0x18000984b
lea rdi, str.up_arrow
jmp 0x18000984b
lea rdi, str.right_arrow
jmp 0x18000984b
lea rdi, str.down_arrow
jmp 0x18000984b
lea rdi, str.insert
jmp 0x18000984b
lea rdi, str.delete
jmp 0x18000984b
lea rdi, str.abcdefghijklmnopqrstuvwxyz
jmp 0x18000984b
lea rdi, [0x1800462c8]
jmp 0x18000984b
lea rdi, [0x1800462cc]
jmp 0x18000984b
lea rdi, [0x1800462d0]
jmp 0x18000984b
lea rdi, [0x1800462d4]
jmp 0x18000984b
lea rdi, [0x1800462d8]
jmp 0x18000984b
lea rdi, [0x1800462dc]
jmp 0x18000984b
lea rdi, [0x1800462e0]
jmp 0x18000984b
lea rdi, [0x1800462e4]
jmp 0x18000984b
lea rdi, [0x1800462e8]
jmp 0x18000984b
lea rdi, [0x1800462ec]
jmp 0x18000984b
lea rdi, [0x1800462f0]
jmp 0x18000984b
lea rdi, [0x1800462f4]
jmp 0x18000984b
lea rdi, [0x1800462f8]
jmp 0x18000984b
lea rdi, [0x1800462fc]
jmp 0x18000984b
lea rdi, [0x180046300]
jmp 0x18000984b
lea rdi, [0x180046304]
jmp 0x18000984b
lea rdi, [0x180046308]
jmp 0x18000984b
lea rdi, [0x18004630c]
jmp 0x18000984b
lea rdi, [0x180046310]
jmp 0x18000984b
lea rdi, [0x180046314]
jmp 0x18000984b
lea rdi, [0x180046318]
jmp 0x18000984b
lea rdi, [0x18004631c]
jmp 0x18000984b
lea rdi, [0x180046320]
jmp 0x18000984b
lea rdi, [0x180046324]
jmp 0x18000984b
lea rdi, [0x180046328]
jmp 0x18000984b
lea rdi, str.numpad_0
jmp 0x18000984b
lea rdi, str.numpad_1
jmp 0x18000984b
lea rdi, str.numpad_2
jmp 0x18000984b
lea rdi, str.numpad_3
jmp 0x18000984b
lea rdi, str.numpad_4
jmp 0x18000984b
lea rdi, str.numpad_5
jmp 0x18000984b
lea rdi, str.numpad_6
jmp 0x18000984b
lea rdi, str.numpad_7
jmp 0x18000984b
lea rdi, str.numpad_8
jmp 0x18000984b
lea rdi, str.numpad_9
jmp 0x18000984b
lea rdi, [0x1800463cc]
jmp 0x18000984b
lea rdi, [0x1800463d0]
jmp 0x18000984b
lea rdi, [0x1800463d4]
jmp 0x18000984b
lea rdi, [0x1800463d8]
jmp 0x18000984b
lea rdi, [0x1800463dc]
jmp 0x18000984b
lea rdi, [0x1800463e0]
jmp 0x18000984b
lea rdi, [0x1800463e4]
jmp 0x18000984b
lea rdi, [0x1800463e8]
jmp 0x18000984b
lea rdi, [0x1800463ec]
jmp 0x18000984b
lea rdi, [0x1800463f0]
jmp 0x18000984b
lea rdi, [0x1800463f4]
jmp 0x18000984b
lea rdi, [0x1800463f8]
jmp 0x18000984b
lea rdi, str.unknown
jmp 0x18000984b
cmp dword [r14 + 0x1b38], r15d
jne 0x18000984b
lea rdi, str.Press
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
imul rsi, rcx, 0x3b9aca00
cqo
idiv rbx
add rax, 0x4c4b400
add rsi, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
imul rcx, rcx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
cmp rax, rsi
jge 0x18000984b
movsd xmm6, qword [0x18004b660]
movabs r15, 0x311cdad160000
movabs r13, 0x112e0be826d694b3
nop dword [rax]
mov rbx, rsi
sub rbx, rax
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
imul rcx, rax, 0x64
xorps xmm0, xmm0
cvtsi2sd xmm0, rbx
comisd xmm0, xmm6
lea r8, [rcx + r15]
ja 0x1800097d6
lea r8, [rcx + rbx]
lea rax, [rcx + rbx]
lea rdx, [rcx + r15]
cmovbe rdx, rax
lea rcx, [rbp - 0x79]
mov rax, r13
imul rdx
sar rdx, 0x1a
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul eax, edx, 0x3b9aca00
mov qword [rbp - 0x79], rdx
sub r8d, eax
mov dword [rbp - 0x71], r8d
call qword [sym.imp.MSVCP140.dll__Thrd_sleep]
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
imul rcx, rcx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
cmp rax, rsi
jl 0x1800097b0
mov r13, qword [rbp + 0x67]
movss dword [rbp - 0x69], xmm8
movaps xmm0, xmm8
movss dword [rbp - 0x65], xmm7
movaps xmm1, xmm7
mov rsi, rdi
addss xmm0, dword [rbp + 0x7f]
addss xmm1, dword [rbp + 0x83]
movss dword [rbp - 0x61], xmm0
movss xmm0, dword [r14 + 0x1590]
movss dword [rbp - 0x5d], xmm1
subss xmm9, xmm0
movss xmm1, dword [r14 + 0x1594]
addss xmm8, xmm0
subss xmm10, xmm1
movaps xmm0, xmm7
addss xmm0, xmm1
movss dword [rbp + 0x7f], xmm9
movss dword [rbp + 0x6f], xmm8
movss dword [rbp + 0x83], xmm10
movss dword [rbp + 0x73], xmm0
cmp rdi, 0xffffffffffffffff
jae 0x1800098d9
nop
movzx eax, byte [rsi]
test al, al
je 0x1800098d9
cmp al, 0x23
jne 0x1800098d0
cmp byte [rsi + 1], al
je 0x1800098d9
inc rsi
cmp rsi, 0xffffffffffffffff
jb 0x1800098c0
cmp esi, edi
je 0x18000993d
mov rbx, qword [0x18016d238]
lea rdx, [rbp - 0x69]
mov qword [rsp + 0x38], rdx
lea rax, [r14 + 0x15dc]
mov qword [rsp + 0x30], rax
lea r8, [rbp + 0x7f]
mov qword [rsp + 0x28], 0
lea rdx, [rbp + 0x6f]
mov rcx, qword [rbx + 0x1af0]
mov r9, rdi
mov qword [rsp + 0x20], rsi
mov rcx, qword [rcx + 0x2b0]
call fcn.180014870
cmp byte [rbx + 0x3008], 0
je 0x18000993d
mov r8, rsi
lea rcx, [rbp + 0x6f]
mov rdx, rdi
call fcn.180022ca0
comiss xmm12, xmm11
mov rsi, qword [rsp + 0x130]
jbe 0x18000996f
addss xmm7, dword [r14 + 0x1594]
movss xmm0, dword [rbp - 0x59]
mov r9b, 1
xor r8d, r8d
mov rdx, r13
unpcklps xmm0, xmm7
movq rcx, xmm0
call fcn.1800146f0
movzx eax, r12b
mov r12, qword [rsp + 0xe0]
jmp 0x18000997f
xor al, al
lea r11, [rsp + 0xe8]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm9, xmmword [r11 - 0x48]
movaps xmm10, xmmword [r11 - 0x58]
movaps xmm11, xmmword [r11 - 0x68]
movaps xmm12, xmmword [r11 - 0x78]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbx
pop rbp
ret