Function at 0x14005c62c
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
push rdi
sub rsp, 0xe8
cmp qword [0x14069c908], 0
je 0x14005c904
lea rcx, [0x14069cae8]
call fcn.14004aa50
mov rax, qword [rax + 0x78]
mov rcx, qword [0x14069c960]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov eax, dword [0x14069c838]
mov qword [rsp + 0x70], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
call fcn.14004df98
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x14005c695
jmp 0x14005c904
mov r8d, dword [0x14069cb20]
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x78]
call fcn.140056a38
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.140065ef0
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, [0x14069ca78]
call fcn.14005e7c4
divsd xmm0, qword [0x140144f40]
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0x30], xmm0
lea rcx, [0x14069ca90]
call fcn.14004aa50
cmp dword [rax + 0x24], 0
jne 0x14005c737
mov dword [0x14069cb20], 0x6d
jmp 0x14005c7ad
lea rcx, [0x14069ca90]
call fcn.14004aa50
cmp dword [rax + 0x24], 1
jne 0x14005c755
mov dword [0x14069cb20], 0x44
jmp 0x14005c7ad
lea rcx, [0x14069ca90]
call fcn.14004aa50
cmp dword [rax + 0x24], 2
jne 0x14005c773
mov dword [0x14069cb20], 0x43
jmp 0x14005c7ad
lea rcx, [0x14069ca90]
call fcn.14004aa50
cmp dword [rax + 0x24], 3
jne 0x14005c791
mov dword [0x14069cb20], 0x24
jmp 0x14005c7ad
lea rcx, [0x14069ca90]
call fcn.14004aa50
cmp dword [rax + 0x24], 4
jne 0x14005c7ad
mov dword [0x14069cb20], 2
lea rcx, [0x14069ca90]
call fcn.14004aa50
movss xmm0, dword [rax + 0x10]
comiss xmm0, dword [rsp + 0x30]
jbe 0x14005c8ef
lea rcx, [0x14069ca90]
call fcn.14004aa50
movzx eax, byte [rax]
test eax, eax
je 0x14005c8ef
lea rcx, [0x14069ca90]
call fcn.14004aa50
cmp dword [rax + 0x18], 0
jne 0x14005c8ef
cmp qword [0x14069c960], 0
je 0x14005c8ef
mov ecx, dword [0x14069c848]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14005c8ef
movsd xmm0, qword [rsp + 0x58]
ucomisd xmm0, qword [0x14013de80]
jp 0x14005c846
jne 0x14005c846
movsd xmm0, qword [rsp + 0x58]
ucomisd xmm0, qword [0x14013de80]
jp 0x14005c846
je 0x14005c8ef
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.140062434
lea rcx, [0x14069ca90]
call fcn.14004aa50
movzx eax, byte [rax + 0x14]
test eax, eax
je 0x14005c8ef
movups xmm0, xmmword [0x140187150]
movdqu xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x90]
call fcn.14005171c
mov dword [rsp + 0x38], eax
mov eax, dword [0x14069c840]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x3c], eax
mov eax, dword [0x14069c83c]
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 [0x140144f10]
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.140055ce4
nop
lea rcx, [rsp + 0x50]
call fcn.140049078
nop
lea rcx, [rsp + 0x78]
call fcn.140049078
add rsp, 0xe8
pop rdi
pop rsi
ret