Function at 0x180012570
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x98
mov rax, qword [0x1800ea020]
xor rax, rsp
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x58]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov edx, 8
lea rcx, [rsp + 0x60]
call fcn.180012a80
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x60]
call fcn.180012a60
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rax]
call fcn.18000fce0
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1800125f5
jmp 0x18001282d
mov rcx, qword [rsp + 0x40]
call fcn.18001b850
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x180012611
jmp 0x18001282d
mov byte [rsp + 0x20], 0
movzx eax, byte [0x180cccc70]
test eax, eax
je 0x1800127e4
movzx eax, word [0x180cccc6c]
mov ecx, eax
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x1800127e4
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x60]
call fcn.180012850
movzx eax, al
test eax, eax
je 0x1800127e4
movzx eax, byte [0x180cccc7d]
test eax, eax
jne 0x18001279b
movss xmm0, dword [0x180cccc68]
comiss xmm0, dword [0x1800e353c]
jbe 0x180012686
mov dword [rsp + 0x38], 1
jmp 0x18001268e
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x21], al
movss xmm0, dword [0x180cccbd8]
divss xmm0, dword [0x1800e3670]
movss dword [rsp + 0x48], xmm0
movss xmm0, dword [0x180cccbdc]
divss xmm0, dword [0x1800e3670]
movss dword [rsp + 0x4c], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x28], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x24], xmm0
movss xmm0, dword [rsp + 0x58]
subss xmm0, dword [rsp + 0x48]
movss dword [rsp + 0x28], xmm0
movss xmm0, dword [rsp + 0x5c]
subss xmm0, dword [rsp + 0x4c]
movss dword [rsp + 0x24], xmm0
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x180012766
movss xmm0, dword [rsp + 0x28]
comiss xmm0, dword [0x1800e3670]
jbe 0x180012734
movss xmm0, dword [0x180cccc68]
divss xmm0, dword [0x1800e36bc]
movss xmm1, dword [rsp + 0x28]
divss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x28], xmm0
movss xmm0, dword [rsp + 0x24]
comiss xmm0, dword [0x1800e3670]
jbe 0x180012766
movss xmm0, dword [0x180cccc68]
divss xmm0, dword [0x1800e36bc]
movss xmm1, dword [rsp + 0x24]
divss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x24], xmm0
movss xmm0, dword [rsp + 0x24]
call fcn.18000f660
cvttss2si eax, xmm0
mov dword [rsp + 0x50], eax
movss xmm0, dword [rsp + 0x28]
call fcn.18000f660
cvttss2si eax, xmm0
mov dword [rsp + 0x54], eax
mov edx, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x54]
call fcn.180012530
jmp 0x1800127e4
mov byte [rsp + 0x20], 1
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x28], 0
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xb0]
lea rdi, [rax + 0x60]
lea rsi, [rcx + 0x40]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x30]
lea rcx, [rsp + 0x70]
lea rdi, [rax + 0xa0]
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x18001282d
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x28], 0
jne 0x18001282d
mov rax, qword [rsp + 0x40]
add rax, 0xb8
mov rcx, rax
call fcn.180016ce0
test rax, rax
je 0x18001282d
mov rax, qword [rsp + 0x40]
add rax, 0xb8
mov rcx, rax
call fcn.180016ce0
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x28], rax
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1800c31e0
add rsp, 0x98
pop rdi
pop rsi
ret