Function at 0x140034520
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1400a4040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov ecx, 0x2e
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140034554
mov byte [0x1400a6f0d], 1
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140034571
cmp byte [0x1400a7104], 0
sete byte [0x1400a7104]
cmp qword [0x1400a7818], 0
jne 0x14003458a
cmp qword [0x1400a7828], 0
je 0x14003458a
call fcn.140026210
mov rcx, qword [0x1400a7850]
lea rdx, [rsp + 0x48]
mov rdi, qword [0x1400a6f10]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x50]
lea rcx, [rsp + 0x60]
sub eax, dword [rsp + 0x48]
xor esi, esi
mov qword [rsp + 0x60], rsi
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 [0x1400a7858]
cvtsi2ss xmm0, qword [0x1400a7860]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x1400a7858], rcx
lea ecx, [rsi + 0x11]
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
lea ecx, [rsi + 0x10]
and al, 1
mov byte [rdi + 0x140], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
lea ecx, [rsi + 0x12]
and al, 1
mov byte [rdi + 0x141], al
call qword [sym.imp.USER32.dll_GetKeyState]
mov rbx, qword [0x1400a6f10]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x143], sil
mov byte [rdi + 0x142], al
cmp byte [rbx + 0x39b], sil
je 0x1400346a8
cvttss2si eax, dword [rbx + 0x128]
mov rcx, qword [0x1400a7850]
lea rdx, [rsp + 0x58]
mov dword [rsp + 0x58], eax
cvttss2si eax, dword [rbx + 0x12c]
mov dword [rsp + 0x5c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x1400346a8
mov edx, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x58]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov dword [rbx + 0x128], 0xff7fffff
mov dword [rbx + 0x12c], 0xff7fffff
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [0x1400a7850]
jne 0x140034712
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140034712
mov rcx, qword [0x1400a7850]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x140034712
movd xmm0, dword [rsp + 0x40]
movd xmm1, dword [rsp + 0x44]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx + 0x128], xmm0
movss dword [rbx + 0x12c], xmm1
cmp byte [rdi + 0xc8], sil
je 0x140034722
mov eax, 0xffffffff
jmp 0x14003472f
mov rax, qword [0x1400a6f10]
mov eax, dword [rax + 0x1f48]
cmp dword [0x1400a4ee0], eax
je 0x140034742
mov dword [0x1400a4ee0], eax
call fcn.140026510
call fcn.140026690
call fcn.140005c70
call fcn.140032cc0
cmp byte [0x1400a7104], sil
je 0x14003475f
call fcn.1400341c0
call fcn.140007d50
mov rcx, qword [0x1400a6fd8]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [0x1400a6fd8]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [0x1400a6fd8]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x1400a6fd8]
mov r9d, 1
movss xmm0, dword [0x140093b40]
xor r8d, r8d
mov dword [rsp + 0x30], esi
xor edx, edx
movss dword [rsp + 0x28], xmm0
mov rax, qword [rcx]
mov dword [rsp + 0x20], esi
call qword [rax + 0x158]
mov rcx, qword [0x1400a6fd8]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140034825
call fcn.1400080e0
mov rax, qword [0x1400a6f10]
mov rcx, qword [rax + 0x1dc0]
mov rcx, qword [rcx]
add rcx, 0x40
cmp byte [rcx], sil
cmove rcx, rsi
call fcn.140025b70
mov rcx, qword [0x1400a6fd8]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1400a6fd8]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rsi
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x1400348f0
mov rcx, qword [0x1400a6fd8]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x1400348f0
cmp qword [0x1400a7828], rsi
je 0x1400348cb
mov rcx, qword [0x1400a7830]
test rcx, rcx
je 0x140034887
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400a7830], rsi
mov rcx, qword [0x1400a7820]
test rcx, rcx
je 0x1400348a0
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400a7820], rsi
mov rcx, qword [0x1400a7818]
test rcx, rcx
je 0x1400348cb
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x1400a6f10]
mov qword [0x1400a7818], rsi
mov rcx, qword [rax + 0xa8]
mov qword [rcx + 8], rsi
mov rcx, qword [0x1400a6fd8]
lea rdx, [0x1400a6f60]
mov rax, qword [rcx]
call qword [rax + 0x80]
cmp qword [0x1400a7828], rsi
je 0x1400348f0
call fcn.140026210
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140050da0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret