Function at 0x14003e870
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x30
mov qword [rsp + 0x50], rdi
mov rdi, qword [0x1402ed1d8]
test rdi, rdi
je 0x14003e890
mov rbx, qword [rdi + 0x98]
jmp 0x14003e892
xor ebx, ebx
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [rsp + 0x20], xmm0
mov rcx, qword [rbx]
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x28]
sub eax, dword [rsp + 0x20]
vxorps xmm1, xmm1, xmm1
vcvtsi2ss xmm1, xmm1, eax
mov eax, dword [rsp + 0x2c]
sub eax, dword [rsp + 0x24]
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, eax
vmovss dword [rdi + 0x14], xmm0
vmovss dword [rdi + 0x10], xmm1
cmp byte [rbx + 0x30], 0
je 0x14003e8df
call fcn.14003e800
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], 0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsp + 0x40]
vxorps xmm1, xmm1, xmm1
mov rax, rcx
sub rax, qword [rbx + 0x18]
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, qword [rbx + 0x20]
vcvtsi2ss xmm1, xmm1, rax
vdivss xmm1, xmm1, xmm0
vmovss dword [rdi + 0x18], xmm1
mov qword [rbx + 0x18], rcx
call fcn.14003dcf0
mov rax, qword [0x1402ed1d8]
cmp byte [rax + 0x2f70], 0
je 0x14003e98d
cmp byte [rax + 0x42e4], 0
jne 0x14003e98d
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14003e98d
mov rsi, qword [0x1402ed1d8]
cmp byte [rsi + 0x3909], 0
je 0x14003e979
vxorps xmm3, xmm3, xmm3
xor r8d, r8d
lea rcx, [rsi + 8]
mov edx, 0x210
call fcn.140002cf0
mov dword [rsi + 0x378], 0x210
mov dword [rsi + 0x938], 0xa0
mov rax, qword [0x1402ed1d8]
cmp byte [rax + 0x2fb0], 0
je 0x14003e9f1
cmp byte [rax + 0x4314], 0
jne 0x14003e9f1
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14003e9f1
mov rsi, qword [0x1402ed1d8]
cmp byte [rsi + 0x3909], 0
je 0x14003e9dd
vxorps xmm3, xmm3, xmm3
xor r8d, r8d
lea rcx, [rsi + 8]
mov edx, 0x214
call fcn.140002cf0
mov dword [rsi + 0x37c], 0x214
mov dword [rsi + 0x948], 0xa1
mov rax, qword [0x1402ed1d8]
cmp byte [rax + 0x2f90], 0
je 0x14003ea55
cmp byte [rax + 0x42fc], 0
jne 0x14003ea55
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14003ea55
mov rsi, qword [0x1402ed1d8]
cmp byte [rsi + 0x3909], 0
je 0x14003ea41
vxorps xmm3, xmm3, xmm3
xor r8d, r8d
lea rcx, [rsi + 8]
mov edx, 0x212
call fcn.140002cf0
mov dword [rsi + 0x264], 0x212
mov dword [rsi + 0x940], 0x5b
mov rax, qword [0x1402ed1d8]
cmp byte [rax + 0x2fd0], 0
je 0x14003eab9
cmp byte [rax + 0x432c], 0
jne 0x14003eab9
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14003eab9
mov rsi, qword [0x1402ed1d8]
cmp byte [rsi + 0x3909], 0
je 0x14003eaa5
vxorps xmm3, xmm3, xmm3
xor r8d, r8d
lea rcx, [rsi + 8]
mov edx, 0x216
call fcn.140002cf0
mov dword [rsi + 0x268], 0x216
mov dword [rsi + 0x950], 0x5c
cmp byte [rdi + 0x60], 0
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
je 0x14003ead0
mov eax, 0xffffffff
jmp 0x14003eadd
mov rax, qword [0x1402ed1d8]
mov eax, dword [rax + 0x50d0]
cmp dword [rbx + 0x28], eax
je 0x14003eaea
mov dword [rbx + 0x28], eax
call fcn.14003daf0
call fcn.14003df40
add rsp, 0x30
pop rbx
ret