Function at 0x14003d720
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
cmp qword [0x1400da860], 0
jne 0x14003d739
call fcn.140025560
mov rcx, qword [0x1400da880]
lea rdx, [rsp + 0x40]
mov rdi, qword [0x1400da600]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x48]
lea rcx, [rsp + 0x70]
sub eax, dword [rsp + 0x40]
movd xmm1, eax
mov eax, dword [rsp + 0x4c]
sub eax, dword [rsp + 0x44]
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 + 0x70]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x1400da888]
cvtsi2ss xmm0, qword [0x1400da890]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x1400da888], rcx
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x10
and al, 1
mov byte [rdi + 0x130], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, 1
mov byte [rdi + 0x131], al
call qword [sym.imp.USER32.dll_GetKeyState]
mov rcx, qword [0x1400da600]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x133], 0
mov byte [rdi + 0x132], al
cmp byte [rcx + 0x3af], 0
lea rbx, [rcx + 0x118]
je 0x14003d84c
cvttss2si eax, dword [rbx]
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], eax
cvttss2si eax, dword [rcx + 0x11c]
mov rcx, qword [0x1400da880]
mov dword [rsp + 0x64], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rsp + 0x64]
mov ecx, dword [rsp + 0x60]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov dword [rbx], 0xff7fffff
mov dword [rbx + 4], 0xff7fffff
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [0x1400da880]
jne 0x14003d8a8
lea rcx, [rsp + 0x68]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x14003d8a8
mov rcx, qword [0x1400da880]
lea rdx, [rsp + 0x68]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x14003d8a8
movd xmm0, dword [rsp + 0x68]
movd xmm1, dword [rsp + 0x6c]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0xd0], 0
je 0x14003d8b8
mov eax, 0xffffffff
jmp 0x14003d8c5
mov rax, qword [0x1400da600]
mov eax, dword [rax + 0x1d70]
cmp dword [0x1400d9e78], eax
je 0x14003d8d8
mov dword [0x1400d9e78], eax
call fcn.1400256b0
call fcn.140006b60
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14003d8fe
cmp byte [0x1400b60a1], 0
sete dl
mov byte [0x1400b60a1], dl
jmp 0x14003d905
movzx edx, byte [0x1400b60a1]
call fcn.14003a5f0
mov rax, qword [0x1400da600]
test dl, dl
je 0x14003d940
xor edx, edx
mov byte [rax + 0xd0], 1
mov r8d, 0x122
lea rcx, [0x1400adf38]
call fcn.14000a320
test al, al
je 0x14003d939
call fcn.14003a710
call fcn.14000d220
jmp 0x14003d947
mov byte [rax + 0xd0], 0
call fcn.14003cd50
mov rcx, qword [0x1400da8d0]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [0x1400da8d0]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [0x1400da8d0]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x1400da8d0]
xor edi, edi
movss xmm0, dword [0x1400ae2cc]
xor r8d, r8d
mov dword [rsp + 0x30], edi
xor edx, edx
movss dword [rsp + 0x28], xmm0
mov rax, qword [rcx]
lea r9d, [rdi + 1]
mov dword [rsp + 0x20], edi
call qword [rax + 0x158]
mov rcx, qword [0x1400da8d0]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x14003da06
call fcn.140008150
mov rcx, qword [0x1400da600]
add rcx, 0x1c70
cmp byte [rcx], dil
cmove rcx, rdi
call fcn.140024c80
mov rcx, qword [0x1400da8d0]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1400da8d0]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rdi
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x14003dac8
mov rcx, qword [0x1400da8d0]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x14003dac8
cmp qword [0x1400da870], rdi
je 0x14003daac
mov rcx, qword [0x1400da878]
test rcx, rcx
je 0x14003da68
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400da878], rdi
mov rcx, qword [0x1400da868]
test rcx, rcx
je 0x14003da81
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400da868], rdi
mov rcx, qword [0x1400da860]
mov rbx, qword [0x1400da600]
test rcx, rcx
je 0x14003da9a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400da860], rdi
mov rax, qword [rbx + 0xa0]
mov qword [rax + 8], rdi
mov rcx, qword [0x1400da8d0]
lea rdx, [0x1400da660]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.140025560
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret