Function at 0x1400e4d30
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x68
mov qword [rsp + 0x58], rsi
call fcn.1401325c0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x14017b694]
addss xmm0, dword [0x14017af24]
movss dword [0x14019a750], xmm0
call fcn.1400e4a50
mov rcx, qword [0x14019f640]
xor esi, esi
movss xmm0, dword [0x14017afd4]
xor r8d, r8d
mov dword [rsp + 0x30], esi
xor edx, edx
movss dword [rsp + 0x28], xmm0
mov rax, qword [rcx]
lea r9d, [rsi + 1]
mov dword [rsp + 0x20], esi
mov rax, qword [rax + 0x158]
call qword [case.0x14011a6f9.0]
mov rcx, qword [0x14019f640]
mov rax, qword [rcx]
mov rax, qword [rax + 0x148]
call qword [case.0x14011a6f9.0]
test eax, eax
js 0x1400e500f
cmp qword [0x14019f428], rsi
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x50], rdi
jne 0x1400e4dd1
call fcn.14003c2b0
mov rcx, qword [0x14019f448]
lea rdx, [rsp + 0x40]
mov rdi, qword [0x14019e140]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x48]
lea rcx, [rsp + 0x80]
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 + 0x80]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x14019f450]
cvtsi2ss xmm0, qword [0x14019f458]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x14019f450], rcx
mov ecx, send
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, reloc.WS2_32.dll_recv
and al, 1
mov byte [rdi + 0x138], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, send
and al, 1
mov byte [rdi + 0x139], al
call qword [sym.imp.USER32.dll_GetKeyState]
mov rbx, qword [0x14019e140]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x13b], sil
mov byte [rdi + 0x13a], al
cmp byte [rbx + 0x397], sil
je 0x1400e4ee7
cvttss2si eax, dword [rbx + 0x120]
mov rcx, qword [0x14019f448]
lea rdx, [rsp + 0x70]
mov dword [rsp + 0x70], eax
cvttss2si eax, dword [rbx + 0x124]
mov dword [rsp + 0x74], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rsp + 0x74]
mov ecx, dword [rsp + 0x70]
call qword [sym.imp.USER32.dll_SetCursorPos]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x1400e4f52
mov rdx, qword [0x14019f448]
cmp rax, rdx
je 0x1400e4f0b
mov rcx, rax
call qword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x1400e4f52
lea rcx, [rsp + 0x78]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1400e4f52
mov rcx, qword [0x14019f448]
lea rdx, [rsp + 0x78]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x1400e4f52
movd xmm0, dword [rsp + 0x78]
movd xmm1, dword [rsp + 0x7c]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx + 0x120], xmm0
movss dword [rbx + 0x124], xmm1
cmp byte [rdi + 0xc0], sil
mov rdi, qword [rsp + 0x50]
je 0x1400e4f67
mov eax, 0xffffffff
jmp 0x1400e4f74
mov rax, qword [0x14019e140]
mov eax, dword [rax + 0x1fc0]
cmp dword [reloc.WS2_32.dll_htonl], eax
je 0x1400e4f87
mov dword [reloc.WS2_32.dll_htonl], eax
call fcn.14003c4c0
call fcn.14003c620
call fcn.14001f490
xor edx, edx
mov ecx, 0x200
call fcn.1401144d0
call fcn.1400e4400
call fcn.140020c40
call fcn.140020f20
mov rax, qword [0x14019f100]
cmp byte [rax + 0xda], sil
je 0x1400e4ff3
xor edx, edx
lea rcx, [0x140171970]
call qword [sym.imp.USER32.dll_FindWindowW]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, rbx
jne 0x1400e4ff3
mov rcx, qword [0x14019e140]
add rcx, 0x1cc0
cmp byte [rcx], sil
cmove rcx, rsi
call fcn.14003bbf0
mov rcx, qword [0x14019f640]
mov rax, qword [rcx]
mov rax, qword [rax + 0x150]
call qword [case.0x14011a6f9.0]
mov rbx, qword [rsp + 0x60]
mov rcx, qword [0x14019f640]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rsi
xor edx, edx
mov rax, qword [rcx]
mov rax, qword [rax + 0x88]
call qword [case.0x14011a6f9.0]
mov rsi, qword [rsp + 0x58]
cmp eax, 0x88760868
jne 0x1400e5086
mov rcx, qword [0x14019f640]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x14011a6f9.0]
cmp eax, 0x88760869
jne 0x1400e5086
call fcn.14003c410
mov rcx, qword [0x14019f640]
lea rdx, [0x14019ea40]
mov rax, qword [rcx]
mov rax, qword [rax + 0x80]
call qword [case.0x14011a6f9.0]
add rsp, 0x68
jmp fcn.14003c2b0
add rsp, 0x68
ret