Function at 0x1800bebe8
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 [0x18034aee0]
xor r13d, r13d
movaps xmmword [rax - 0x48], xmm6
mov rbx, r8
movaps xmmword [rax - 0x58], xmm7
mov r14, rdx
movaps xmmword [rax - 0x68], xmm8
mov r15, rcx
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x88], xmm10
mov rax, qword [rdi + 0x3ec8]
mov byte [rax + 0xb8], 1
mov rsi, qword [rdi + 0x3ec8]
mov qword [rbp - 0x51], rsi
cmp byte [rsi + 0xbb], r13b
jne 0x1800bf5ce
mov rdx, rcx
mov rcx, rsi
call fcn.1800cb7e4
movss xmm6, dword [0x1800905a4]
lea rcx, [rbp - 0x61]
mov r9b, 1
movss dword [rsp + 0x20], xmm6
xor r8d, r8d
mov dword [rbp - 0x65], eax
mov rdx, r15
mov r12d, eax
call fcn.1800ce650
call fcn.1800d5df8
mov rdx, qword [rbx]
lea rcx, [rbp + 0x7f]
movss xmm3, dword [rbp - 0x5d]
movaps xmm2, xmm0
call fcn.1800d5e68
movss xmm1, dword [rsi + 0x104]
lea rcx, [rbp + 0x7f]
movss xmm3, dword [rsi + 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 [0x1800903b8]
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 [rsi + 0x100]
movss xmm0, dword [rsi + 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.1800d599c
xor r9d, r9d
lea rcx, [rbp - 0x61]
xor r8d, r8d
mov edx, r12d
call fcn.1800d5b08
test al, al
je 0x1800bf5ce
mov edx, r12d
lea rcx, [rbp - 0x41]
call fcn.1800cbd10
mov byte [rbp + 0x7f], al
mov r15b, al
test al, al
je 0x1800bee12
mov rcx, qword [0x18034aee0]
mov dword [rcx + 0x3f14], r12d
mov byte [rcx + 0x3f1c], r13b
test r12d, r12d
je 0x1800bedb8
cmp dword [rcx + 0x3f18], r12d
je 0x1800bedb8
mov qword [rcx + 0x3f20], r13
mov dword [rdi + 0x4a48], 1
cmp byte [rdi + 0x3748], r13b
je 0x1800bee12
mov byte [rbp - 0x69], 1
cmp dword [rdi + 0x3f28], r12d
je 0x1800bedfd
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 [r14], r13d
mov rdx, rsi
mov ecx, r12d
call fcn.1800cb9cc
mov rcx, rsi
call fcn.1800d306c
jmp 0x1800bee31
mov byte [rbp - 0x69], r13b
cmp byte [rdi + 0x3748], r13b
je 0x1800bee31
cmp dword [rdi + 0x3f28], r12d
jne 0x1800bee31
xor edx, edx
xor ecx, ecx
call fcn.1800cb9cc
mov edx, 6
mov ebx, dword [r14]
cmp dword [rdi + 0x3f28], r12d
jne 0x1800bef4d
xor edx, edx
lea r15, [rdi + 0xe10]
mov esi, edx
lea r14d, [rdx + 5]
lea r12d, [rdx + 6]
cmp byte [r15], dl
jne 0x1800bee7c
mov ecx, r14d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x1800bee7c
mov ecx, r12d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
xor edx, edx
test ax, ax
je 0x1800beecb
mov ecx, esi
test esi, esi
je 0x1800bee98
sub ecx, 1
je 0x1800bee91
cmp ecx, 1
jne 0x1800bee9d
lea ebx, [rcx + 3]
jmp 0x1800bee9d
mov ebx, 2
jmp 0x1800bee9d
mov ebx, 1
mov ecx, r12d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
mov ecx, r14d
cmovne ebx, r12d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
mov r13b, 1
cmovne ebx, r14d
xor edx, edx
xor ecx, ecx
call fcn.1800cb9cc
xor edx, edx
inc esi
inc r15
cmp esi, r12d
jle 0x1800bee59
mov r14, qword [rbp + 0x6f]
mov r12d, dword [rbp - 0x65]
test r13b, r13b
jne 0x1800bef10
mov esi, 8
lea r15, [rdi + 0xb38]
cmp byte [r15], dl
je 0x1800bef03
xor edx, edx
xor ecx, ecx
mov ebx, esi
mov r13b, 1
call fcn.1800cb9cc
xor edx, edx
inc esi
inc r15
cmp esi, 0xa5
jle 0x1800beeee
mov rax, qword [0x18034aee0]
mov ecx, dword [rax + 0x938]
test ecx, ecx
js 0x1800bef3d
xor r8d, r8d
xor edx, edx
call fcn.1800d3f64
xor edx, edx
test al, al
je 0x1800bef3d
xor ecx, ecx
mov dword [r14], edx
call fcn.1800cb9cc
jmp 0x1800bef40
mov dword [r14], ebx
mov r15b, byte [rbp + 0x7f]
mov edx, 6
mov rsi, qword [rbp - 0x51]
mov ecx, dword [r14]
lea rax, [0x18008c8e0]
xor r14d, r14d
test ecx, ecx
je 0x1800bf440
cmp dword [rdi + 0x3f28], r12d
je 0x1800bf440
cmp ecx, 0x50
jg 0x1800bf1fa
je 0x1800bf1ee
cmp ecx, 0x2d
jg 0x1800bf0cc
je 0x1800bf0c0
cmp ecx, 0x12
jg 0x1800bf034
je 0x1800bf028
sub ecx, 1
je 0x1800bf01c
sub ecx, 1
je 0x1800bf010
sub ecx, 2
je 0x1800bf004
sub ecx, 1
je 0x1800beff8
sub ecx, 1
je 0x1800befec
sub ecx, 3
je 0x1800befe0
sub ecx, 7
je 0x1800befd4
cmp ecx, 1
jne 0x1800bf401
lea rbx, [0x18008c8e8]
jmp 0x1800bf452
lea rbx, [0x18008c8f0]
jmp 0x1800bf452
lea rbx, [0x18008c8fc]
jmp 0x1800bf452
lea rbx, [0x18008c920]
jmp 0x1800bf452
lea rbx, [0x18008c918]
jmp 0x1800bf452
lea rbx, [0x18008c910]
jmp 0x1800bf452
lea rbx, [0x18008c908]
jmp 0x1800bf452
lea rbx, [0x18008c900]
jmp 0x1800bf452
lea rbx, [0x18008c8f8]
jmp 0x1800bf452
sub ecx, 0x21
je 0x1800bf0b4
sub ecx, 1
je 0x1800bf0a8
sub ecx, 1
je 0x1800bf09c
sub ecx, 1
je 0x1800bf090
sub ecx, 1
je 0x1800bf084
sub ecx, 1
je 0x1800bf078
sub ecx, 1
je 0x1800bf06c
cmp ecx, 1
jne 0x1800bf401
lea rbx, [0x18008c978]
jmp 0x1800bf452
lea rbx, [0x18008c968]
jmp 0x1800bf452
lea rbx, [0x18008c958]
jmp 0x1800bf452
lea rbx, [0x18008c948]
jmp 0x1800bf452
lea rbx, [0x18008c940]
jmp 0x1800bf452
lea rbx, [0x18008c93c]
jmp 0x1800bf452
lea rbx, [0x18008c930]
jmp 0x1800bf452
lea rbx, [0x18008c928]
jmp 0x1800bf452
lea rbx, [0x18008c984]
jmp 0x1800bf452
cmp ecx, 0x48
jg 0x1800bf173
je 0x1800bf167
sub ecx, 0x2e
je 0x1800bf15b
sub ecx, 0x13
je 0x1800bf14f
sub ecx, 1
je 0x1800bf143
sub ecx, 1
je 0x1800bf137
sub ecx, 1
je 0x1800bf12b
sub ecx, 1
je 0x1800bf11f
sub ecx, 1
je 0x1800bf113
cmp ecx, 1
jne 0x1800bf401
lea rbx, [0x18008c9ac]
jmp 0x1800bf452
lea rbx, [0x18008c9a8]
jmp 0x1800bf452
lea rbx, [0x18008c9a4]
jmp 0x1800bf452
lea rbx, [0x18008c9a0]
jmp 0x1800bf452
lea rbx, [0x18008c99c]
jmp 0x1800bf452
lea rbx, [0x18008c998]
jmp 0x1800bf452
lea rbx, [0x18008c994]
jmp 0x1800bf452
lea rbx, [0x18008c98c]
jmp 0x1800bf452
lea rbx, [0x18008c9b0]
jmp 0x1800bf452
sub ecx, 0x49
je 0x1800bf1e2
sub ecx, 1
je 0x1800bf1d6
sub ecx, 1
je 0x1800bf1ca
sub ecx, 1
je 0x1800bf1be
sub ecx, 1
je 0x1800bf1b2
sub ecx, 1
je 0x1800bf1a6
cmp ecx, 1
jne 0x1800bf401
lea rbx, [0x18008c9cc]
jmp 0x1800bf452
lea rbx, [0x18008c9c8]
jmp 0x1800bf452
lea rbx, [0x18008c9c4]
jmp 0x1800bf452
lea rbx, [0x18008c9c0]
jmp 0x1800bf452
lea rbx, [0x18008c9bc]
jmp 0x1800bf452
lea rbx, [0x18008c9b8]
jmp 0x1800bf452
lea rbx, [0x18008c9b4]
jmp 0x1800bf452
lea rbx, [0x18008c9d0]
jmp 0x1800bf452
cmp ecx, 0x66
jg 0x1800bf336
je 0x1800bf32a
cmp ecx, 0x59
jg 0x1800bf2b0
je 0x1800bf2a4
sub ecx, 0x51
je 0x1800bf298
sub ecx, 1
je 0x1800bf28c
sub ecx, 1
je 0x1800bf280
sub ecx, 1
je 0x1800bf274
sub ecx, 1
je 0x1800bf268
sub ecx, 1
je 0x1800bf25c
sub ecx, 1
je 0x1800bf250
cmp ecx, 1
jne 0x1800bf401
lea rbx, [0x18008c9f0]
jmp 0x1800bf452
lea rbx, [0x18008c9ec]
jmp 0x1800bf452
lea rbx, [0x18008c9e8]
jmp 0x1800bf452
lea rbx, [0x18008c9e4]
jmp 0x1800bf452
lea rbx, [0x18008c9e0]
jmp 0x1800bf452
lea rbx, [0x18008c9dc]
jmp 0x1800bf452
lea rbx, [0x18008c9d8]
jmp 0x1800bf452
lea rbx, [0x18008c9d4]
jmp 0x1800bf452
lea rbx, [0x18008c9f4]
jmp 0x1800bf452
sub ecx, 0x5a
je 0x1800bf31e
sub ecx, edx
je 0x1800bf312
sub ecx, 1
je 0x1800bf306
sub ecx, 1
je 0x1800bf2fa
sub ecx, 1
je 0x1800bf2ee
sub ecx, 1
je 0x1800bf2e2
cmp ecx, 1
jne 0x1800bf401
lea rbx, [0x18008ca50]
jmp 0x1800bf452
lea rbx, [0x18008ca40]
jmp 0x1800bf452
lea rbx, [0x18008ca30]
jmp 0x1800bf452
lea rbx, [0x18008ca20]
jmp 0x1800bf452
lea rbx, [0x18008ca10]
jmp 0x1800bf452
lea rbx, [0x18008ca00]
jmp 0x1800bf452
lea rbx, [0x18008c9f8]
jmp 0x1800bf452
lea rbx, [0x18008ca60]
jmp 0x1800bf452
cmp ecx, 0x75
jg 0x1800bf3da
je 0x1800bf3d1
sub ecx, 0x67
je 0x1800bf3c5
sub ecx, 1
je 0x1800bf3b9
sub ecx, 1
je 0x1800bf3ad
sub ecx, 7
je 0x1800bf3a1
sub ecx, 1
je 0x1800bf395
sub ecx, 1
je 0x1800bf389
sub ecx, 1
je 0x1800bf37d
cmp ecx, 1
jne 0x1800bf401
lea rbx, [0x18008caac]
jmp 0x1800bf452
lea rbx, [0x18008caa8]
jmp 0x1800bf452
lea rbx, [0x18008caa4]
jmp 0x1800bf452
lea rbx, [0x18008caa0]
jmp 0x1800bf452
lea rbx, [0x18008ca9c]
jmp 0x1800bf452
lea rbx, [0x18008ca90]
jmp 0x1800bf452
lea rbx, [0x18008ca80]
jmp 0x1800bf452
lea rbx, [0x18008ca70]
jmp 0x1800bf452
lea rbx, [0x18008cab0]
jmp 0x1800bf452
sub ecx, 0x76
je 0x1800bf437
sub ecx, 1
je 0x1800bf42e
sub ecx, 1
je 0x1800bf425
sub ecx, 1
je 0x1800bf41c
sub ecx, 1
je 0x1800bf413
sub ecx, 1
je 0x1800bf40a
cmp ecx, 0x25
je 0x1800befd4
lea rbx, [0x18008cad0]
jmp 0x1800bf452
lea rbx, [0x18008cac8]
jmp 0x1800bf452
lea rbx, [0x18008cac4]
jmp 0x1800bf452
lea rbx, [0x18008cac0]
jmp 0x1800bf452
lea rbx, [0x18008cabc]
jmp 0x1800bf452
lea rbx, [0x18008cab8]
jmp 0x1800bf452
lea rbx, [0x18008cab4]
jmp 0x1800bf452
cmp dword [rdi + 0x3f28], r12d
lea rbx, [0x18008cad8]
cmovne rbx, rax
xor r9d, r9d
movss dword [rsp + 0x20], xmm6
xor r8d, r8d
lea rcx, [rbp + 0x7f]
mov rdx, rbx
call fcn.1800ce650
cmp byte [rbp - 0x69], r14b
je 0x1800bf47c
test r15b, r15b
je 0x1800bf47c
mov ecx, 0x24c
jmp 0x1800bf48b
movzx ecx, r15b
shl rcx, 4
add rcx, 0x22c
mov rax, qword [0x18034aee0]
mov r8d, 1
mov edx, r12d
movdqu xmm0, xmmword [rax + rcx + 0x37f4]
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.1800caa70
lea rcx, [rbp - 0x51]
call fcn.1800c9b90
mov rdx, qword [rbp - 0x39]
mov r8d, eax
mov rcx, qword [rbp - 0x41]
xor r9d, r9d
movss dword [rsp + 0x20], xmm9
call fcn.1800ca7a4
movss xmm0, dword [rdi + 0x37f4]
lea rcx, [rbp - 0x51]
mulss xmm0, dword [0x1800902b8]
mov dword [rbp - 0x51], 0x3f800000
movss xmm6, dword [0x18009037c]
mov dword [rbp - 0x4d], 0x3f800000
movss dword [rbp - 0x45], xmm0
mov dword [rbp - 0x49], 0x3f800000
call fcn.1800c9b90
mov rcx, qword [rsi + 0x298]
lea rdx, [rbp - 0x41]
movss dword [rsp + 0x30], xmm6
lea r8, [rbp - 0x39]
mov r9d, eax
mov dword [rsp + 0x28], r14d
movss dword [rsp + 0x20], xmm9
call fcn.1800e08bc
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], r14
call fcn.1800ca700
comiss xmm10, dword [0x18009025c]
jbe 0x1800bf5c9
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.1800ca33c
mov al, r13b
jmp 0x1800bf5d0
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