Function at 0x140034210
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1400a3008]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov ecx, 0x2e
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
mov ebp, 1
movzx eax, byte [0x1400a63b4]
cmovne eax, ebp
mov byte [0x1400a63b4], al
lea ecx, [rbp + 0x2c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test bpl, al
je 0x140034271
cmp byte [0x1400a63d2], 0
sete byte [0x1400a63d2]
cmp qword [0x1400a6ae0], 0
jne 0x14003428a
cmp qword [0x1400a6af0], 0
je 0x14003428a
call fcn.140026090
mov rcx, qword [0x1400a6b20]
lea rdx, [rsp + 0x48]
mov rdi, qword [0x1400a61e0]
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 [0x1400a6b28]
cvtsi2ss xmm0, qword [0x1400a6b30]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x1400a6b28], rcx
lea ecx, [rsi + 0x11]
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
lea ecx, [rsi + 0x10]
and al, bpl
mov byte [rdi + 0x140], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
lea ecx, [rsi + 0x12]
and al, bpl
mov byte [rdi + 0x141], al
call qword [sym.imp.USER32.dll_GetKeyState]
mov rbx, qword [0x1400a61e0]
shr eax, 0xf
and al, bpl
mov byte [rdi + 0x143], sil
mov byte [rdi + 0x142], al
cmp byte [rbx + 0x39b], sil
je 0x1400343ab
cvttss2si eax, dword [rbx + 0x128]
mov rcx, qword [0x1400a6b20]
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 0x1400343ab
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 [0x1400a6b20]
jne 0x140034415
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140034415
mov rcx, qword [0x1400a6b20]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x140034415
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 0x140034425
mov eax, 0xffffffff
jmp 0x140034432
mov rax, qword [0x1400a61e0]
mov eax, dword [rax + 0x1f48]
cmp dword [0x1400a3e60], eax
je 0x140034445
mov dword [0x1400a3e60], eax
call fcn.1400263a0
call fcn.140026520
call fcn.1400057b0
call fcn.1400328f0
cmp byte [0x1400a63d2], sil
je 0x140034462
call fcn.140033ef0
call fcn.140007910
mov rcx, qword [0x1400a62a8]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [0x1400a62a8]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [0x1400a62a8]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x1400a62a8]
mov r9d, ebp
movss xmm0, dword [0x140095188]
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 [0x1400a62a8]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140034525
call fcn.140007d40
mov rax, qword [0x1400a61e0]
mov rcx, qword [rax + 0x1dc0]
mov rcx, qword [rcx]
add rcx, 0x40
cmp byte [rcx], sil
cmove rcx, rsi
call fcn.140025a00
mov rcx, qword [0x1400a62a8]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1400a62a8]
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 0x1400345f0
mov rcx, qword [0x1400a62a8]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x1400345f0
cmp qword [0x1400a6af0], rsi
je 0x1400345cb
mov rcx, qword [0x1400a6af8]
test rcx, rcx
je 0x140034587
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400a6af8], rsi
mov rcx, qword [0x1400a6ae8]
test rcx, rcx
je 0x1400345a0
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400a6ae8], rsi
mov rcx, qword [0x1400a6ae0]
test rcx, rcx
je 0x1400345cb
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x1400a61e0]
mov qword [0x1400a6ae0], rsi
mov rcx, qword [rax + 0xa8]
mov qword [rcx + 8], rsi
mov rcx, qword [0x1400a62a8]
lea rdx, [0x1400a6230]
mov rax, qword [rcx]
call qword [rax + 0x80]
cmp qword [0x1400a6af0], rsi
je 0x1400345f0
call fcn.140026090
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14004f140
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret