Function at 0x180005050
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
mov rax, qword [0x1800c1280]
xor rax, rsp
mov qword [rbp - 0x29], rax
mov rsi, rdx
mov r12, rcx
xor edi, edi
xor ecx, ecx
call fcn.1800422c0
xorps xmm10, xmm10
test al, al
je 0x1800050c0
mov byte [0x1800c1c98], 1
mov dword [0x1800c1ca0], edi
mov eax, dword [rsi + 0x10]
mov dword [0x1800c1c9c], eax
xor ecx, ecx
call fcn.1800423b0
test al, al
jne 0x1800052d9
xor edx, edx
xor ecx, ecx
call fcn.1800425f0
test al, al
je 0x1800052d9
mov byte [0x1800c1c98], dil
call fcn.1800403f0
movss xmm0, dword [rax + 0x10]
addss xmm0, dword [0x1800c1ca0]
movss dword [0x1800c1ca0], xmm0
movss xmm1, dword [0x1800c0a30]
comiss xmm0, xmm1
jbe 0x180005128
subss xmm0, xmm1
movss dword [0x1800c1ca0], xmm0
cmp byte [0x1800c1c9a], 0
sete byte [0x1800c1c9a]
mov rcx, r12
call fcn.180078530
movss xmm9, dword [0x180081f88]
movaps xmm1, xmm9
movaps xmm0, xmm10
call fcn.18004be90
lea rcx, [rbp - 0x31]
call fcn.18003ff30
call fcn.180040a40
movaps xmm7, xmm0
movss xmm8, dword [rbp - 0x2d]
addss xmm8, xmm7
movss xmm6, dword [rbp - 0x31]
addss xmm6, dword [0x180081f60]
mov edx, 0xffffffff
xor ecx, ecx
call fcn.180048d80
movaps xmm4, xmm8
movss xmm1, dword [0x180081f30]
addss xmm4, xmm1
addss xmm6, xmm1
movss xmm3, dword [rbp - 0x2d]
subss xmm3, xmm1
movss xmm2, dword [rbp - 0x31]
subss xmm2, xmm1
movss dword [rsp + 0x20], xmm10
mov r9b, 1
mov r8d, 0xff808080
unpcklps xmm6, xmm4
movq rdx, xmm6
unpcklps xmm2, xmm3
movq rcx, xmm2
call fcn.180049b40
mov ecx, 1
call fcn.1800485a0
mov dword [rbp - 0x65], 0x43480000
movss dword [rbp - 0x61], xmm7
xor r8d, r8d
lea rdx, [rbp - 0x65]
lea rcx, str.input_button
call fcn.180075770
xor ecx, ecx
call fcn.1800423b0
mov byte [0x1800c1c99], al
lea rcx, [rbp - 0x31]
call fcn.18004c7f0
mov rcx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x180005212
mov rcx, qword [rsi]
call fcn.180078ae0
cmp byte [0x1800c1c98], 0
je 0x180005472
cmp byte [0x1800c1c9a], 0
je 0x180005472
movsxd r8, dword [0x1800c1c9c]
xorps xmm0, xmm0
movups xmmword [rbp - 0x51], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x41], xmm1
cmp qword [rsi + 0x10], r8
cmovb r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0xf
jbe 0x18000525a
mov rsi, qword [rsi]
mov rdx, rsi
lea rcx, [rbp - 0x51]
call fcn.1800016e0
nop
lea rdx, [rbp - 0x51]
cmp qword [rbp - 0x39], 0xf
cmova rdx, qword [rbp - 0x51]
movss dword [rsp + 0x20], xmm9
xor r9d, r9d
xor r8d, r8d
lea rcx, [rbp - 0x5d]
call fcn.18003c6a0
movss xmm6, dword [rbp - 0x31]
addss xmm6, dword [rax]
mov rdx, qword [rbp - 0x39]
cmp rdx, 0xf
jbe 0x18000542f
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000542a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000542a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp byte [0x1800c1c98], dil
je 0x1800050e7
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [0x1800c1ca4]
cmp ecx, 0xc8
jbe 0x1800050e7
mov dword [0x1800c1ca4], eax
movzx ebx, byte [rbp - 0x69]
nop word [rax + rax]
mov ecx, edi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x180005417
cmp edi, 0xd
jne 0x180005369
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
cmp rcx, rdx
jae 0x180005351
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0xf
jbe 0x180005347
mov rax, qword [rsi]
mov word [rax + rcx], 0xa
inc edi
jmp 0x180005310
mov r9b, 0xa
movzx r8d, bl
mov edx, 1
mov rcx, rsi
call fcn.180002700
inc edi
jmp 0x180005310
movsxd r8, dword [0x1800c1c9c]
cmp edi, 8
jne 0x1800053de
mov r14, qword [rsi + 0x10]
test r14, r14
je 0x1800053eb
test r8d, r8d
jle 0x1800053eb
lea r15d, [r8 - 1]
movsxd rdx, r15d
cmp r14, rdx
jb 0x1800054d0
mov rax, r14
sub rax, rdx
mov r9d, 1
cmp rax, r9
cmovb r9, rax
mov rax, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x1800053b3
mov rax, qword [rsi]
lea rcx, [rax + rdx]
sub r14, r9
mov r8, r14
sub r8, rdx
inc r8
lea rdx, [rcx + r9]
call sub.VCRUNTIME140.dll_memmove
mov qword [rsi + 0x10], r14
mov dword [0x1800c1c9c], r15d
inc edi
jmp 0x180005310
lea eax, [rdi - 0x10]
cmp eax, 2
jbe 0x180005417
cmp edi, 0x14
je 0x180005417
movzx edx, dil
lea ecx, [rdx - 0x41]
lea eax, [rdx + 0x20]
movzx r9d, al
cmp cl, 0x19
cmova r9d, edx
mov rdx, r8
mov r8d, 1
mov rcx, rsi
call fcn.180019d80
inc dword [0x1800c1c9c]
inc edi
cmp edi, 0x100
jl 0x180005310
jmp 0x1800050e7
call fcn.18007ba78
call fcn.180040c10
movss dword [rbp - 0x65], xmm6
movss dword [rbp - 0x61], xmm8
movss dword [rbp - 0x5d], xmm6
movss xmm0, dword [rbp - 0x2d]
movss dword [rbp - 0x59], xmm0
movss xmm1, dword [0x180081e80]
movss dword [rsp + 0x20], xmm1
mov r9d, 0xffffffff
lea r8, [rbp - 0x65]
lea rdx, [rbp - 0x5d]
mov rcx, rax
call fcn.180052de0
cmp byte [0x1800c1c99], 0
je 0x18000548f
xor edx, edx
xor ecx, ecx
call fcn.1800425f0
test al, al
je 0x18000548f
mov byte [0x1800c1c98], 1
mov rcx, qword [rbp - 0x29]
xor rcx, rsp
call fcn.18007c090
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
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 r12
pop rdi
pop rbp
ret
call fcn.180009530
int3