Function at 0x1400084d0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x140047010]
xor rax, rsp
mov qword [rsp + 0x68], rax
cmp qword [0x140047968], 0
jne 0x1400084f8
call fcn.140033b60
mov rcx, qword [0x140047988]
lea rdx, [rsp + 0x48]
mov rdi, qword [0x140047850]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x50]
lea rcx, [rsp + 0x60]
sub eax, dword [rsp + 0x48]
movd xmm1, eax
mov eax, dword [rsp + 0x54]
sub eax, dword [rsp + 0x4c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm1
movss dword [rdi + 0x14], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsp + 0x60]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x140047990]
cvtsi2ss xmm0, qword [0x140047998]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x140047990], rcx
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x10
and al, 1
mov byte [rdi + 0xe14], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, 1
mov byte [rdi + 0xe15], al
call qword [sym.imp.USER32.dll_GetKeyState]
mov rbx, qword [0x140047850]
shr eax, 0xf
and al, 1
mov byte [rdi + 0xe17], 0
mov byte [rdi + 0xe16], al
cmp byte [rbx + 0xdb], 0
je 0x140008608
cvttss2si eax, dword [rbx + 0xdfc]
mov rcx, qword [0x140047988]
lea rdx, [rsp + 0x58]
mov dword [rsp + 0x58], eax
cvttss2si eax, dword [rbx + 0xe00]
mov dword [rsp + 0x5c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x58]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov dword [rbx + 0xdfc], 0xff7fffff
mov dword [rbx + 0xe00], 0xff7fffff
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [0x140047988]
jne 0x140008672
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140008672
mov rcx, qword [0x140047988]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x140008672
movd xmm0, dword [rsp + 0x40]
movd xmm1, dword [rsp + 0x44]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx + 0xdfc], xmm0
movss dword [rbx + 0xe00], xmm1
cmp byte [rdi + 0x78], 0
je 0x14000867f
mov eax, 0xffffffff
jmp 0x14000868c
mov rax, qword [0x140047850]
mov eax, dword [rax + 0x4a28]
cmp dword [0x140047050], eax
je 0x14000869f
mov dword [0x140047050], eax
call fcn.140033cd0
call fcn.1400117d0
call fcn.140006160
call fcn.1400079f0
call fcn.140006160
call fcn.1400134e0
mov rcx, qword [0x140047938]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [0x140047938]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [0x140047938]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140047938]
xor edi, edi
movss xmm0, dword [0x140040564]
xor r8d, r8d
mov dword [rsp + 0x30], edi
xor edx, edx
movss dword [rsp + 0x28], xmm0
mov rax, qword [rcx]
lea r9d, [rdi + 1]
mov dword [rsp + 0x20], edi
call qword [rax + 0x158]
mov rcx, qword [0x140047938]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140008779
call fcn.1400138f0
mov rax, qword [0x140047850]
mov rcx, qword [rax + 0x4878]
mov rcx, qword [rcx]
add rcx, 0x48
cmp byte [rcx], dil
cmove rcx, rdi
call fcn.140033290
mov rcx, qword [0x140047938]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140047938]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rdi
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x140008834
mov rcx, qword [0x140047938]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x140008834
cmp qword [0x140047978], rdi
je 0x140008818
mov rcx, qword [0x140047980]
test rcx, rcx
je 0x1400087d7
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140047980], rdi
mov rcx, qword [0x140047970]
test rcx, rcx
je 0x1400087f0
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140047970], rdi
mov rcx, qword [0x140047968]
mov rbx, qword [0x140047850]
test rcx, rcx
je 0x140008809
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140047968], rdi
mov rax, qword [rbx + 0x58]
mov qword [rax + 8], rdi
mov rcx, qword [0x140047938]
lea rdx, [0x140047780]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.140033b60
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400382c0
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret