Function at 0x14005cbf4
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
push rdi
sub rsp, 0xe8
cmp qword [0x140689180], 0
je 0x14005cecc
lea rcx, [0x140689338]
call fcn.14004a4b4
mov rax, qword [rax + 0x78]
mov rcx, qword [0x1406891b8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov eax, dword [0x140688e98]
mov qword [rsp + 0x70], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
call fcn.14004d9fc
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x14005cc5d
jmp 0x14005cecc
mov r8d, dword [0x140689398]
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x78]
call fcn.140056e60
nop
lea rax, [rsp + 0xa0]
lea rcx, [rsp + 0x78]
mov rdi, rax
mov rsi, rcx
mov ecx, Ordinal_26
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x50]
call fcn.140066604
nop
lea rax, [rsp + 0xc0]
lea rcx, [rsp + 0x78]
mov rdi, rax
mov rsi, rcx
mov ecx, Ordinal_26
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0xc0]
lea rcx, [0x1406892c8]
call fcn.14005ec54
divsd xmm0, qword [0x140145c78]
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0x30], xmm0
lea rcx, [0x1406892e0]
call fcn.14004a4b4
cmp dword [rax + 0x24], 0
jne 0x14005ccff
mov dword [0x140689398], 0x6d
jmp 0x14005cd75
lea rcx, [0x1406892e0]
call fcn.14004a4b4
cmp dword [rax + 0x24], 1
jne 0x14005cd1d
mov dword [0x140689398], 0x44
jmp 0x14005cd75
lea rcx, [0x1406892e0]
call fcn.14004a4b4
cmp dword [rax + 0x24], 2
jne 0x14005cd3b
mov dword [0x140689398], 0x43
jmp 0x14005cd75
lea rcx, [0x1406892e0]
call fcn.14004a4b4
cmp dword [rax + 0x24], 3
jne 0x14005cd59
mov dword [0x140689398], 0x24
jmp 0x14005cd75
lea rcx, [0x1406892e0]
call fcn.14004a4b4
cmp dword [rax + 0x24], 4
jne 0x14005cd75
mov dword [0x140689398], 2
lea rcx, [0x1406892e0]
call fcn.14004a4b4
movss xmm0, dword [rax + 0x10]
comiss xmm0, dword [rsp + 0x30]
jbe 0x14005ceb7
lea rcx, [0x1406892e0]
call fcn.14004a4b4
movzx eax, byte [rax]
test eax, eax
je 0x14005ceb7
lea rcx, [0x1406892e0]
call fcn.14004a4b4
cmp dword [rax + 0x18], 0
jne 0x14005ceb7
cmp qword [0x1406891b8], 0
je 0x14005ceb7
mov ecx, dword [0x140689104]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14005ceb7
movsd xmm0, qword [rsp + 0x58]
ucomisd xmm0, qword [0x14013dea0]
jp 0x14005ce0e
jne 0x14005ce0e
movsd xmm0, qword [rsp + 0x58]
ucomisd xmm0, qword [0x14013dea0]
jp 0x14005ce0e
je 0x14005ceb7
cvtsd2ss xmm0, qword [rsp + 0x58]
cvtsd2ss xmm1, qword [rsp + 0x50]
movss dword [rsp + 0x34], xmm1
movaps xmm1, xmm0
movss xmm0, dword [rsp + 0x34]
call fcn.140062924
lea rcx, [0x1406892e0]
call fcn.14004a4b4
movzx eax, byte [rax + 0x14]
test eax, eax
je 0x14005ceb7
movups xmm0, xmmword [0x140187150]
movdqu xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x90]
call fcn.140051180
mov dword [rsp + 0x38], eax
mov eax, dword [0x140688ea0]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x3c], eax
mov eax, dword [0x140688e9c]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x40], eax
cvttsd2si eax, qword [rsp + 0x58]
cvttsd2si ecx, qword [rsp + 0x50]
movss xmm0, dword [0x140145c48]
movss dword [rsp + 0x28], xmm0
mov edx, dword [rsp + 0x38]
mov dword [rsp + 0x20], edx
mov r9d, eax
mov r8d, ecx
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x40]
call fcn.140055a98
nop
lea rcx, [rsp + 0x50]
call fcn.140048adc
nop
lea rcx, [rsp + 0x78]
call fcn.140048adc
add rsp, 0xe8
pop rdi
pop rsi
ret