Function at 0x18005cb18
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov rdi, qword [0x1801a8b88]
xor r13d, r13d
movaps xmmword [rax - 0x48], xmm6
mov rbx, r8
movaps xmmword [rax - 0x58], xmm7
mov r15, rdx
movaps xmmword [rax - 0x68], xmm8
mov rsi, rcx
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x88], xmm10
mov rax, qword [rdi + 0x3ec8]
mov byte [rax + 0xb8], 1
mov r14, qword [rdi + 0x3ec8]
mov qword [rbp - 0x51], r14
cmp byte [r14 + 0xbb], r13b
jne 0x18005d502
mov rdx, rcx
mov rcx, r14
call fcn.18000844c
movss xmm6, dword [0x180157680]
lea rcx, [rbp - 0x61]
mov r9b, 1
movss dword [rsp + 0x20], xmm6
xor r8d, r8d
mov dword [rbp - 0x65], eax
mov rdx, rsi
mov r12d, eax
call fcn.18000b368
call fcn.180012d4c
movss xmm3, dword [rbp - 0x5d]
lea rcx, [rbp + 0x7f]
mov rdx, qword [rbx]
movaps xmm2, xmm0
call fcn.180012dbc
movss xmm1, dword [r14 + 0x104]
lea rcx, [rbp + 0x7f]
movss xmm3, dword [r14 + 0x100]
movaps xmm2, xmm1
movss xmm10, dword [rbp - 0x61]
movaps xmm4, xmm3
movss xmm8, dword [rbp + 0x83]
movaps xmm0, xmm10
addss xmm0, dword [rdi + 0x3848]
movss xmm7, dword [rbp + 0x7f]
addss xmm2, xmm8
movss xmm9, dword [0x180157490]
addss xmm4, xmm7
subss xmm1, xmm9
addss xmm0, xmm3
subss xmm2, xmm9
movss dword [rbp - 0x59], xmm4
movss dword [rbp - 0x3d], xmm1
movss dword [rbp - 0x41], xmm0
movaps xmm0, xmm4
unpcklps xmm0, xmm2
movsd qword [rbp - 0x39], xmm0
movss xmm1, dword [r14 + 0x100]
movss xmm0, dword [r14 + 0x104]
subss xmm4, xmm1
movss dword [rbp - 0x55], xmm2
subss xmm2, xmm0
movss dword [rbp - 0x61], xmm1
movaps xmm1, xmm6
movss dword [rbp - 0x5d], xmm0
movss dword [rbp + 0x7f], xmm4
movss dword [rbp + 0x83], xmm2
call fcn.18001277c
xor r9d, r9d
lea rcx, [rbp - 0x61]
xor r8d, r8d
mov edx, r12d
call fcn.1800128e0
test al, al
je 0x18005d502
mov edx, r12d
lea rcx, [rbp - 0x41]
call fcn.180008978
mov byte [rbp + 0x7f], al
mov sil, al
test al, al
je 0x18005cd46
mov rcx, qword [0x1801a8b88]
mov dword [rcx + 0x3f14], r12d
mov byte [rcx + 0x3f1c], r13b
test r12d, r12d
je 0x18005ccec
cmp dword [rcx + 0x3f18], r12d
je 0x18005ccec
mov qword [rcx + 0x3f20], r13
mov dword [rdi + 0x4a48], 1
cmp byte [rdi + 0x3748], r13b
je 0x18005cd46
mov byte [rbp - 0x69], 1
cmp dword [rdi + 0x3f28], r12d
je 0x18005cd31
xor eax, eax
lea rcx, [rdi + 0xb30]
mov dword [rdi + 0xe10], eax
xor edx, edx
mov r8d, 0x28c
mov byte [rdi + 0xe14], al
call sub.VCRUNTIME140.dll_memset
mov dword [r15], r13d
mov rdx, r14
mov ecx, r12d
call fcn.180008634
mov rcx, r14
call fcn.18000fef8
jmp 0x18005cd65
mov byte [rbp - 0x69], r13b
cmp byte [rdi + 0x3748], r13b
je 0x18005cd65
cmp dword [rdi + 0x3f28], r12d
jne 0x18005cd65
xor edx, edx
xor ecx, ecx
call fcn.180008634
mov ecx, 6
mov ebx, dword [r15]
cmp dword [rdi + 0x3f28], r12d
jne 0x18005ce83
xor edx, edx
lea r14, [rdi + 0xe10]
mov esi, edx
lea r15d, [rcx - 1]
mov r12d, ecx
cmp byte [r14], dl
jne 0x18005cdaf
mov ecx, r15d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x18005cdaf
mov ecx, r12d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
xor edx, edx
test ax, ax
je 0x18005cdfe
mov ecx, esi
test esi, esi
je 0x18005cdcb
sub ecx, 1
je 0x18005cdc4
cmp ecx, 1
jne 0x18005cdd0
lea ebx, [rcx + 3]
jmp 0x18005cdd0
mov ebx, 2
jmp 0x18005cdd0
mov ebx, 1
mov ecx, r12d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
mov ecx, r15d
cmovne ebx, r12d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
mov r13b, 1
cmovne ebx, r15d
xor edx, edx
xor ecx, ecx
call fcn.180008634
xor edx, edx
inc esi
inc r14
cmp esi, r12d
jle 0x18005cd8c
mov r15, qword [rbp + 0x6f]
mov r12d, dword [rbp - 0x65]
test r13b, r13b
jne 0x18005ce43
mov esi, 8
lea r14, [rdi + 0xb38]
cmp byte [r14], dl
je 0x18005ce36
xor edx, edx
xor ecx, ecx
mov ebx, esi
mov r13b, 1
call fcn.180008634
xor edx, edx
inc esi
inc r14
cmp esi, 0xa5
jle 0x18005ce21
mov rax, qword [0x1801a8b88]
mov ecx, dword [rax + 0x938]
test ecx, ecx
js 0x18005ce73
xor r8d, r8d
xor edx, edx
call fcn.180010d64
xor edx, edx
test al, al
je 0x18005ce73
xor ecx, ecx
mov dword [r15], edx
call fcn.180008634
mov ebx, dword [r15]
jmp 0x18005ce76
mov dword [r15], ebx
mov r14, qword [rbp - 0x51]
mov ecx, 6
mov sil, byte [rbp + 0x7f]
xor r15d, r15d
lea rax, str.None
test ebx, ebx
je 0x18005d373
cmp dword [rdi + 0x3f28], r12d
je 0x18005d373
cmp ebx, 0x50
jg 0x18005d12d
je 0x18005d121
cmp ebx, 0x2d
jg 0x18005cfff
je 0x18005cff3
cmp ebx, 0x12
jg 0x18005cf67
je 0x18005cf5b
sub ebx, 1
je 0x18005cf4f
sub ebx, 1
je 0x18005cf43
sub ebx, 2
je 0x18005cf37
sub ebx, 1
je 0x18005cf2b
sub ebx, 1
je 0x18005cf1f
sub ebx, 3
je 0x18005cf13
sub ebx, 7
je 0x18005cf07
cmp ebx, 1
jne 0x18005d334
lea rbx, str.control
jmp 0x18005d385
lea rbx, str.shift
jmp 0x18005d385
lea rbx, [0x180156364]
jmp 0x18005d385
lea rbx, str.mouse_5
jmp 0x18005d385
lea rbx, str.mouse_4
jmp 0x18005d385
lea rbx, str.mouse_3
jmp 0x18005d385
lea rbx, str.mouse_2
jmp 0x18005d385
lea rbx, str.mouse_1
jmp 0x18005d385
lea rbx, [0x180156360]
jmp 0x18005d385
sub ebx, 0x21
je 0x18005cfe7
sub ebx, 1
je 0x18005cfdb
sub ebx, 1
je 0x18005cfcf
sub ebx, 1
je 0x18005cfc3
sub ebx, 1
je 0x18005cfb7
sub ebx, 1
je 0x18005cfab
sub ebx, 1
je 0x18005cf9f
cmp ebx, 1
jne 0x18005d334
lea rbx, str.down_arrow
jmp 0x18005d385
lea rbx, str.right_arrow
jmp 0x18005d385
lea rbx, str.up_arrow
jmp 0x18005d385
lea rbx, str.left_arrow
jmp 0x18005d385
lea rbx, str.home
jmp 0x18005d385
lea rbx, [0x1801563a4]
jmp 0x18005d385
lea rbx, str.page_down
jmp 0x18005d385
lea rbx, str.page_up
jmp 0x18005d385
lea rbx, str.insert
jmp 0x18005d385
cmp ebx, 0x48
jg 0x18005d0a6
je 0x18005d09a
sub ebx, 0x2e
je 0x18005d08e
sub ebx, 0x13
je 0x18005d082
sub ebx, 1
je 0x18005d076
sub ebx, 1
je 0x18005d06a
sub ebx, 1
je 0x18005d05e
sub ebx, 1
je 0x18005d052
sub ebx, 1
je 0x18005d046
cmp ebx, 1
jne 0x18005d334
lea rbx, [0x180156414]
jmp 0x18005d385
lea rbx, [0x180156410]
jmp 0x18005d385
lea rbx, [0x18015640c]
jmp 0x18005d385
lea rbx, [0x180156408]
jmp 0x18005d385
lea rbx, [0x180156404]
jmp 0x18005d385
lea rbx, [0x180156400]
jmp 0x18005d385
lea rbx, str.abcdefghijklmnopqrstuvwxyz
jmp 0x18005d385
lea rbx, str.delete
jmp 0x18005d385
lea rbx, [0x180156418]
jmp 0x18005d385
sub ebx, 0x49
je 0x18005d115
sub ebx, 1
je 0x18005d109
sub ebx, 1
je 0x18005d0fd
sub ebx, 1
je 0x18005d0f1
sub ebx, 1
je 0x18005d0e5
sub ebx, 1
je 0x18005d0d9
cmp ebx, 1
jne 0x18005d334
lea rbx, [0x180156434]
jmp 0x18005d385
lea rbx, [0x180156430]
jmp 0x18005d385
lea rbx, [0x18015642c]
jmp 0x18005d385
lea rbx, [0x180156428]
jmp 0x18005d385
lea rbx, [0x180156424]
jmp 0x18005d385
lea rbx, [0x180156420]
jmp 0x18005d385
lea rbx, [0x18015641c]
jmp 0x18005d385
lea rbx, [0x180156438]
jmp 0x18005d385
cmp ebx, 0x66
jg 0x18005d269
je 0x18005d25d
cmp ebx, 0x59
jg 0x18005d1e3
je 0x18005d1d7
sub ebx, 0x51
je 0x18005d1cb
sub ebx, 1
je 0x18005d1bf
sub ebx, 1
je 0x18005d1b3
sub ebx, 1
je 0x18005d1a7
sub ebx, 1
je 0x18005d19b
sub ebx, 1
je 0x18005d18f
sub ebx, 1
je 0x18005d183
cmp ebx, 1
jne 0x18005d334
lea rbx, [0x180156458]
jmp 0x18005d385
lea rbx, [0x180156454]
jmp 0x18005d385
lea rbx, [0x180156450]
jmp 0x18005d385
lea rbx, [0x18015644c]
jmp 0x18005d385
lea rbx, [0x180156448]
jmp 0x18005d385
lea rbx, [0x180156444]
jmp 0x18005d385
lea rbx, [0x180156440]
jmp 0x18005d385
lea rbx, [0x18015643c]
jmp 0x18005d385
lea rbx, [0x18015645c]
jmp 0x18005d385
sub ebx, 0x5a
je 0x18005d251
sub ebx, ecx
je 0x18005d245
sub ebx, 1
je 0x18005d239
sub ebx, 1
je 0x18005d22d
sub ebx, 1
je 0x18005d221
sub ebx, 1
je 0x18005d215
cmp ebx, 1
jne 0x18005d334
lea rbx, str.numpad_5
jmp 0x18005d385
lea rbx, str.numpad_4
jmp 0x18005d385
lea rbx, str.numpad_3
jmp 0x18005d385
lea rbx, str.numpad_2
jmp 0x18005d385
lea rbx, str.numpad_1
jmp 0x18005d385
lea rbx, str.numpad_0
jmp 0x18005d385
lea rbx, [0x180156460]
jmp 0x18005d385
lea rbx, str.numpad_6
jmp 0x18005d385
cmp ebx, 0x75
jg 0x18005d30d
je 0x18005d304
sub ebx, 0x67
je 0x18005d2f8
sub ebx, 1
je 0x18005d2ec
sub ebx, 1
je 0x18005d2e0
sub ebx, 7
je 0x18005d2d4
sub ebx, 1
je 0x18005d2c8
sub ebx, 1
je 0x18005d2bc
sub ebx, 1
je 0x18005d2b0
cmp ebx, 1
jne 0x18005d334
lea rbx, [0x180152d3c]
jmp 0x18005d385
lea rbx, [0x180152d38]
jmp 0x18005d385
lea rbx, [0x180152d34]
jmp 0x18005d385
lea rbx, [0x180152d30]
jmp 0x18005d385
lea rbx, [0x180152d2c]
jmp 0x18005d385
lea rbx, str.numpad_9
jmp 0x18005d385
lea rbx, str.numpad_8
jmp 0x18005d385
lea rbx, str.numpad_7
jmp 0x18005d385
lea rbx, [0x180152d40]
jmp 0x18005d385
sub ebx, 0x76
je 0x18005d36a
sub ebx, 1
je 0x18005d361
sub ebx, 1
je 0x18005d358
sub ebx, 1
je 0x18005d34f
sub ebx, 1
je 0x18005d346
sub ebx, 1
je 0x18005d33d
cmp ebx, 0x25
je 0x18005cf07
lea rbx, str.unknown
jmp 0x18005d385
lea rbx, [0x180152d58]
jmp 0x18005d385
lea rbx, [0x180152d54]
jmp 0x18005d385
lea rbx, [0x180152d50]
jmp 0x18005d385
lea rbx, [0x180152d4c]
jmp 0x18005d385
lea rbx, [0x180152d48]
jmp 0x18005d385
lea rbx, [0x180152d44]
jmp 0x18005d385
cmp dword [rdi + 0x3f28], r12d
lea rbx, str.Press
cmovne rbx, rax
xor r9d, r9d
movss dword [rsp + 0x20], xmm6
xor r8d, r8d
lea rcx, [rbp + 0x7f]
mov rdx, rbx
call fcn.18000b368
cmp byte [rbp - 0x69], r15b
je 0x18005d3af
test sil, sil
je 0x18005d3af
mov ecx, 0x17
jmp 0x18005d3bc
neg sil
sbb rcx, rcx
neg rcx
add rcx, 0x15
mov rax, qword [0x1801a8b88]
add rcx, rcx
mov r8d, 1
mov edx, r12d
movdqu xmm0, xmmword [rax + rcx*8 + 0x38d0]
lea rcx, [rbp - 0x41]
movups xmmword [rbp - 0x51], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37f4]
movss dword [rbp - 0x45], xmm0
call fcn.180007704
lea rcx, [rbp - 0x51]
call fcn.180006814
mov rdx, qword [rbp - 0x39]
mov r8d, eax
mov rcx, qword [rbp - 0x41]
xor r9d, r9d
movss dword [rsp + 0x20], xmm9
call fcn.180007438
movss xmm0, dword [rdi + 0x37f4]
lea rcx, [rbp - 0x51]
mulss xmm0, dword [0x180157370]
mov dword [rbp - 0x51], 0x3f800000
movss xmm6, dword [0x18015743c]
mov dword [rbp - 0x4d], 0x3f800000
movss dword [rbp - 0x45], xmm0
mov dword [rbp - 0x49], 0x3f800000
call fcn.180006814
mov rcx, qword [r14 + 0x298]
lea rdx, [rbp - 0x41]
movss dword [rsp + 0x30], xmm6
lea r8, [rbp - 0x39]
mov r9d, eax
mov dword [rsp + 0x28], r15d
movss dword [rsp + 0x20], xmm9
call fcn.18001d4ac
movss xmm0, dword [rbp - 0x41]
lea rcx, [rbp - 0x51]
movss xmm1, dword [rbp - 0x3d]
addss xmm7, xmm0
mov qword [rsp + 0x30], rcx
addss xmm8, xmm1
lea rax, [rdi + 0x388c]
movss dword [rbp - 0x51], xmm0
mov qword [rsp + 0x28], rax
lea rdx, [rbp - 0x39]
xor r9d, r9d
movss dword [rbp - 0x4d], xmm1
mov r8, rbx
movss dword [rbp - 0x49], xmm7
lea rcx, [rbp - 0x41]
movss dword [rbp - 0x45], xmm8
mov qword [rsp + 0x20], r15
call fcn.180007378
comiss xmm10, dword [0x180157310]
jbe 0x18005d4fd
movss xmm1, dword [rbp - 0x3d]
mov r9b, 1
movss xmm0, dword [rbp - 0x61]
xor r8d, r8d
mov rdx, qword [rbp + 0x67]
unpcklps xmm0, xmm1
movq rcx, xmm0
call fcn.180006f98
mov al, r13b
jmp 0x18005d504
xor al, al
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret