Function at 0x14003dea0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x30
mov qword [rsp + 0x50], rdi
mov rdi, qword [0x1402ff138]
test rdi, rdi
je 0x14003dec0
mov rbx, qword [rdi + 0x98]
jmp 0x14003dec2
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 0x14003df0f
call fcn.14003de30
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.14003d330
mov rax, qword [0x1402ff138]
cmp byte [rax + 0x2f70], 0
je 0x14003dfbd
cmp byte [rax + 0x42e4], 0
jne 0x14003dfbd
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14003dfbd
mov rsi, qword [0x1402ff138]
cmp byte [rsi + 0x3909], 0
je 0x14003dfa9
vxorps xmm3, xmm3, xmm3
xor r8d, r8d
lea rcx, [rsi + 8]
mov edx, 0x210
call fcn.140002be0
mov dword [rsi + 0x378], 0x210
mov dword [rsi + 0x938], 0xa0
mov rax, qword [0x1402ff138]
cmp byte [rax + 0x2fb0], 0
je 0x14003e021
cmp byte [rax + 0x4314], 0
jne 0x14003e021
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14003e021
mov rsi, qword [0x1402ff138]
cmp byte [rsi + 0x3909], 0
je 0x14003e00d
vxorps xmm3, xmm3, xmm3
xor r8d, r8d
lea rcx, [rsi + 8]
mov edx, 0x214
call fcn.140002be0
mov dword [rsi + 0x37c], 0x214
mov dword [rsi + 0x948], 0xa1
mov rax, qword [0x1402ff138]
cmp byte [rax + 0x2f90], 0
je 0x14003e085
cmp byte [rax + 0x42fc], 0
jne 0x14003e085
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14003e085
mov rsi, qword [0x1402ff138]
cmp byte [rsi + 0x3909], 0
je 0x14003e071
vxorps xmm3, xmm3, xmm3
xor r8d, r8d
lea rcx, [rsi + 8]
mov edx, 0x212
call fcn.140002be0
mov dword [rsi + 0x264], 0x212
mov dword [rsi + 0x940], 0x5b
mov rax, qword [0x1402ff138]
cmp byte [rax + 0x2fd0], 0
je 0x14003e0e9
cmp byte [rax + 0x432c], 0
jne 0x14003e0e9
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14003e0e9
mov rsi, qword [0x1402ff138]
cmp byte [rsi + 0x3909], 0
je 0x14003e0d5
vxorps xmm3, xmm3, xmm3
xor r8d, r8d
lea rcx, [rsi + 8]
mov edx, 0x216
call fcn.140002be0
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 0x14003e100
mov eax, 0xffffffff
jmp 0x14003e10d
mov rax, qword [0x1402ff138]
mov eax, dword [rax + 0x50d0]
cmp dword [rbx + 0x28], eax
je 0x14003e11a
mov dword [rbx + 0x28], eax
call fcn.14003d130
call fcn.14003d570
add rsp, 0x30
pop rbx
ret