Function at 0x14003d800
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x30
mov qword [rsp + 0x50], rdi
mov rdi, qword [0x1402f8248]
test rdi, rdi
je 0x14003d820
mov rbx, qword [rdi + 0x98]
jmp 0x14003d822
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 0x14003d86f
call fcn.14003d790
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.14003cc80
mov rax, qword [0x1402f8248]
cmp byte [rax + 0x2f70], 0
je 0x14003d91d
cmp byte [rax + 0x42e4], 0
jne 0x14003d91d
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14003d91d
mov rsi, qword [0x1402f8248]
cmp byte [rsi + 0x3909], 0
je 0x14003d909
vxorps xmm3, xmm3, xmm3
xor r8d, r8d
lea rcx, [rsi + 8]
mov edx, 0x210
call fcn.140002e20
mov dword [rsi + 0x378], 0x210
mov dword [rsi + 0x938], 0xa0
mov rax, qword [0x1402f8248]
cmp byte [rax + 0x2fb0], 0
je 0x14003d981
cmp byte [rax + 0x4314], 0
jne 0x14003d981
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14003d981
mov rsi, qword [0x1402f8248]
cmp byte [rsi + 0x3909], 0
je 0x14003d96d
vxorps xmm3, xmm3, xmm3
xor r8d, r8d
lea rcx, [rsi + 8]
mov edx, 0x214
call fcn.140002e20
mov dword [rsi + 0x37c], 0x214
mov dword [rsi + 0x948], 0xa1
mov rax, qword [0x1402f8248]
cmp byte [rax + 0x2f90], 0
je 0x14003d9e5
cmp byte [rax + 0x42fc], 0
jne 0x14003d9e5
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14003d9e5
mov rsi, qword [0x1402f8248]
cmp byte [rsi + 0x3909], 0
je 0x14003d9d1
vxorps xmm3, xmm3, xmm3
xor r8d, r8d
lea rcx, [rsi + 8]
mov edx, 0x212
call fcn.140002e20
mov dword [rsi + 0x264], 0x212
mov dword [rsi + 0x940], 0x5b
mov rax, qword [0x1402f8248]
cmp byte [rax + 0x2fd0], 0
je 0x14003da49
cmp byte [rax + 0x432c], 0
jne 0x14003da49
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14003da49
mov rsi, qword [0x1402f8248]
cmp byte [rsi + 0x3909], 0
je 0x14003da35
vxorps xmm3, xmm3, xmm3
xor r8d, r8d
lea rcx, [rsi + 8]
mov edx, 0x216
call fcn.140002e20
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 0x14003da60
mov eax, 0xffffffff
jmp 0x14003da6d
mov rax, qword [0x1402f8248]
mov eax, dword [rax + 0x50d0]
cmp dword [rbx + 0x28], eax
je 0x14003da7a
mov dword [rbx + 0x28], eax
call fcn.14003ca80
call fcn.14003ced0
add rsp, 0x30
pop rbx
ret