Function at 0x1400112f8
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x140011960
push rbp
push rdi
sub rsp, 0x138
lea rbp, [rsp + 0x20]
lea rcx, [0x14002d0a7]
call fcn.140011424
mov eax, dword [0x14002746c]
dec eax
mov dword [0x14002746c], eax
call qword [sym.imp.ucrtbased.dll__kbhit]
test eax, eax
je 0x140011bbf
cmp dword [0x140027480], 0
jle 0x1400119c1
cmp dword [0x140027488], 0
jne 0x1400119c1
mov eax, dword [0x14002748c]
mov dword [0x140027488], eax
mov eax, dword [0x1400274b8]
mov dword [0x1400274ac], eax
mov ecx, 0x4f
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x140011ade
cmp dword [0x140027440], 0
jle 0x140011ade
cmp dword [0x1400251d8], 0
jle 0x140011ade
cmp dword [0x14002746c], 1
jge 0x140011ade
mov eax, dword [0x1400251d8]
dec eax
mov dword [0x1400251d8], eax
mov dword [rbp + 4], 0
jmp 0x140011a20
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0x1e
jge 0x140011ade
movsxd rax, dword [rbp + 4]
lea rcx, [0x1400251e0]
cmp dword [rcx + rax*4], 0
jne 0x140011ad9
movsxd rax, dword [rbp + 4]
imul rax, rax, 0x14
lea rcx, [0x1400274c0]
mov edx, dword [0x14002745c]
mov dword [rcx + rax], edx
movsxd rax, dword [rbp + 4]
imul rax, rax, 0x14
lea rcx, [0x1400274c0]
mov edx, dword [0x140027460]
mov dword [rcx + rax + 4], edx
movsxd rax, dword [rbp + 4]
imul rax, rax, 0x14
lea rcx, [0x1400274c0]
mov edx, dword [0x140027470]
mov dword [rcx + rax + 0x10], edx
movsxd rax, dword [rbp + 4]
imul rax, rax, 0x14
lea rcx, [0x1400274c0]
mov edx, dword [0x140027450]
mov dword [rcx + rax + 0xc], edx
movsxd rax, dword [rbp + 4]
imul rax, rax, 0x14
lea rcx, [0x1400274c0]
mov dword [rcx + rax + 8], 1
movsxd rax, dword [rbp + 4]
lea rcx, [0x1400251e0]
mov dword [rcx + rax*4], 1
mov eax, dword [0x140027478]
mov dword [0x14002746c], eax
jmp 0x140011ade
jmp 0x140011a18
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x140011b47
cmp dword [0x140027480], 0
jle 0x140011b47
cmp dword [0x140027494], 0
jne 0x140011b47
mov eax, dword [0x140027498]
mov dword [0x140027494], eax
mov eax, dword [0x140027434]
add eax, 0x2d
mov dword [0x140027434], eax
mov eax, dword [0x140027438]
add eax, 0x2d
mov dword [0x140027438], eax
movss xmm0, dword [0x140027420]
subss xmm0, dword [0x140021e24]
movss dword [0x140027420], xmm0
cmp dword [0x140027454], 0xb9
jne 0x140011b7e
mov eax, dword [0x140025020]
cdq
sub eax, edx
sar eax, 1
mov dword [0x140025020], eax
mov eax, dword [0x1400251d8]
cmp dword [0x140025020], eax
jge 0x140011b7e
mov eax, dword [0x140025020]
mov dword [0x1400251d8], eax
mov ecx, 0x50
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x140011bbf
cmp dword [0x140027440], 0
jle 0x140011bbf
cmp dword [0x140027454], 0
jne 0x140011bbf
mov eax, dword [0x140027458]
mov dword [0x140027454], eax
mov eax, dword [0x140025020]
shl eax, 1
mov dword [0x140025020], eax
mov dword [rbp + 0x24], 0
jmp 0x140011bd0
mov eax, dword [rbp + 0x24]
inc eax
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0x1e
jge 0x140011e44
movsxd rax, dword [rbp + 0x24]
lea rcx, [0x1400251e0]
cmp dword [rcx + rax*4], 1
jne 0x140011e3f
movsxd rax, dword [rbp + 0x24]
imul rax, rax, 0x14
lea rcx, [0x1400274c0]
mov ecx, dword [rcx + rax + 8]
call fcn.140011082
test eax, eax
je 0x140011c33
movsxd rax, dword [rbp + 0x24]
imul rax, rax, 0x14
lea rcx, [0x1400274c0]
mov eax, dword [rcx + rax + 4]
dec eax
movsxd rcx, dword [rbp + 0x24]
imul rcx, rcx, 0x14
lea rdx, [0x1400274c0]
mov dword [rdx + rcx + 4], eax
movsxd rax, dword [rbp + 0x24]
imul rax, rax, 0x14
lea rcx, [0x1400274c0]
mov edx, dword [0x140027428]
add edx, 2
cmp dword [rcx + rax], edx
jg 0x140011ce9
movsxd rax, dword [rbp + 0x24]
imul rax, rax, 0x14
lea rcx, [0x1400274c0]
mov edx, dword [0x14002742c]
inc edx
cmp dword [rcx + rax + 4], edx
jg 0x140011ce9
movsxd rax, dword [rbp + 0x24]
imul rax, rax, 0x14
lea rcx, [0x1400274c0]
mov edx, dword [0x140027428]
sub edx, 2
cmp dword [rcx + rax], edx
jl 0x140011ce9
movsxd rax, dword [rbp + 0x24]
imul rax, rax, 0x14
lea rcx, [0x1400274c0]
mov edx, dword [0x14002742c]
dec edx
cmp dword [rcx + rax + 4], edx
jl 0x140011ce9
movsxd rax, dword [rbp + 0x24]
imul rax, rax, 0x14
lea rcx, [0x1400274c0]
cvtsi2ss xmm0, dword [rcx + rax + 0xc]
movss xmm1, dword [0x140027420]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [0x140027420], xmm0
movsxd rax, dword [rbp + 0x24]
lea rcx, [0x1400251e0]
mov dword [rcx + rax*4], 0
movsxd rax, dword [rbp + 0x24]
imul rax, rax, 0x14
lea rcx, [0x1400274c0]
cmp dword [rcx + rax + 4], 1
jge 0x140011d16
movsxd rax, dword [rbp + 0x24]
lea rcx, [0x1400251e0]
mov dword [rcx + rax*4], 0
jmp 0x140011bc8
movsxd rax, dword [rbp + 0x24]
imul rax, rax, 0x14
lea rcx, [0x1400274c0]
cmp dword [rcx + rax + 0x10], 1
jne 0x140011d79
movsxd rax, dword [rbp + 0x24]
imul rax, rax, 0x14
lea rcx, [0x1400274c0]
movsxd rdx, dword [rbp + 0x24]
imul rdx, rdx, 0x14
mov qword [rbp + 0xf8], rdx
lea r8, [0x1400274c0]
mov qword [rbp + 0x100], r8
lea r8, [0x140021c24]
mov edx, dword [rcx + rax + 4]
mov rcx, qword [rbp + 0x100]
mov rax, qword [rbp + 0xf8]
mov ecx, dword [rcx + rax]
call fcn.1400113ca
movsxd rax, dword [rbp + 0x24]
imul rax, rax, 0x14
lea rcx, [0x1400274c0]
cmp dword [rcx + rax + 0x10], 2
jne 0x140011ddc
movsxd rax, dword [rbp + 0x24]
imul rax, rax, 0x14
lea rcx, [0x1400274c0]
movsxd rdx, dword [rbp + 0x24]
imul rdx, rdx, 0x14
mov qword [rbp + 0xf8], rdx
lea r8, [0x1400274c0]
mov qword [rbp + 0x100], r8
lea r8, [0x140021c28]
mov edx, dword [rcx + rax + 4]
mov rcx, qword [rbp + 0x100]
mov rax, qword [rbp + 0xf8]
mov ecx, dword [rcx + rax]
call fcn.1400113ca
movsxd rax, dword [rbp + 0x24]
imul rax, rax, 0x14
lea rcx, [0x1400274c0]
cmp dword [rcx + rax + 0x10], 3
jne 0x140011e3f
movsxd rax, dword [rbp + 0x24]
imul rax, rax, 0x14
lea rcx, [0x1400274c0]
movsxd rdx, dword [rbp + 0x24]
imul rdx, rdx, 0x14
mov qword [rbp + 0xf8], rdx
lea r8, [0x1400274c0]
mov qword [rbp + 0x100], r8
lea r8, [0x140021c2c]
mov edx, dword [rcx + rax + 4]
mov rcx, qword [rbp + 0x100]
mov rax, qword [rbp + 0xf8]
mov ecx, dword [rcx + rax]
call fcn.1400113ca
jmp 0x140011bc8
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret