Function at 0x14003de50
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x30
mov qword [rsp + 0x50], rdi
mov rdi, qword [0x1402ff138]
test rdi, rdi
je 0x14003de70
mov rbx, qword [rdi + 0x98]
jmp 0x14003de72
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 0x14003debf
call fcn.14003dde0
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.14003d2e0
mov rax, qword [0x1402ff138]
cmp byte [rax + 0x2f70], 0
je 0x14003df6d
cmp byte [rax + 0x42e4], 0
jne 0x14003df6d
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14003df6d
mov rsi, qword [0x1402ff138]
cmp byte [rsi + 0x3909], 0
je 0x14003df59
vxorps xmm3, xmm3, xmm3
xor r8d, r8d
lea rcx, [rsi + 8]
mov edx, 0x210
call fcn.140002b90
mov dword [rsi + 0x378], 0x210
mov dword [rsi + 0x938], 0xa0
mov rax, qword [0x1402ff138]
cmp byte [rax + 0x2fb0], 0
je 0x14003dfd1
cmp byte [rax + 0x4314], 0
jne 0x14003dfd1
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14003dfd1
mov rsi, qword [0x1402ff138]
cmp byte [rsi + 0x3909], 0
je 0x14003dfbd
vxorps xmm3, xmm3, xmm3
xor r8d, r8d
lea rcx, [rsi + 8]
mov edx, 0x214
call fcn.140002b90
mov dword [rsi + 0x37c], 0x214
mov dword [rsi + 0x948], 0xa1
mov rax, qword [0x1402ff138]
cmp byte [rax + 0x2f90], 0
je 0x14003e035
cmp byte [rax + 0x42fc], 0
jne 0x14003e035
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14003e035
mov rsi, qword [0x1402ff138]
cmp byte [rsi + 0x3909], 0
je 0x14003e021
vxorps xmm3, xmm3, xmm3
xor r8d, r8d
lea rcx, [rsi + 8]
mov edx, 0x212
call fcn.140002b90
mov dword [rsi + 0x264], 0x212
mov dword [rsi + 0x940], 0x5b
mov rax, qword [0x1402ff138]
cmp byte [rax + 0x2fd0], 0
je 0x14003e099
cmp byte [rax + 0x432c], 0
jne 0x14003e099
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14003e099
mov rsi, qword [0x1402ff138]
cmp byte [rsi + 0x3909], 0
je 0x14003e085
vxorps xmm3, xmm3, xmm3
xor r8d, r8d
lea rcx, [rsi + 8]
mov edx, 0x216
call fcn.140002b90
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 0x14003e0b0
mov eax, 0xffffffff
jmp 0x14003e0bd
mov rax, qword [0x1402ff138]
mov eax, dword [rax + 0x50d0]
cmp dword [rbx + 0x28], eax
je 0x14003e0ca
mov dword [rbx + 0x28], eax
call fcn.14003d0e0
call fcn.14003d520
add rsp, 0x30
pop rbx
ret