Function at 0x140048c60
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
movaps xmmword [rsp + 0x50], xmm6
mov rax, qword [0x140066040]
xor rax, rsp
mov qword [rsp + 0x48], rax
movss xmm6, dword [0x14005b3cc]
xorps xmm0, xmm0
movups xmmword [0x140066e70], xmm0
xor edi, edi
movups xmmword [0x140066e80], xmm0
movups xmmword [0x140066e90], xmm0
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [0x140066e70]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140048cdb
lea rcx, [0x140066e70]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x140066e70]
call qword [sym.imp.USER32.dll_DispatchMessageA]
mov rbx, qword [0x140066e10]
lea rcx, [rsp + 0x40]
mov dword [rbx + 0x18], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
movd xmm0, dword [rsp + 0x40]
mov ecx, 1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe00], xmm0
movd xmm1, dword [rsp + 0x44]
cvtdq2ps xmm1, xmm1
movss dword [rbx + 0xe04], xmm1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne al
mov byte [rbx + 0xe08], al
mov rax, qword [0x140066e10]
test rax, rax
je 0x140048d42
mov rcx, qword [rax + 0x98]
jmp 0x140048d45
mov rcx, rdi
cmp qword [rcx + 0x18], rdi
jne 0x140048d66
test rax, rax
je 0x140048d66
mov rcx, qword [rax + 0x98]
test rcx, rcx
je 0x140048d66
cmp qword [rcx], rdi
je 0x140048d66
call fcn.14002bee0
call fcn.14002ca90
call fcn.1400072d0
call fcn.1400482a0
call fcn.1400475b0
call fcn.140009030
mov rcx, qword [0x140066e20]
xor r8d, r8d
mov edx, 7
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140066e20]
xor r8d, r8d
mov edx, 0x1b
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140066e20]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140066e20]
mov r9d, 1
mov dword [rsp + 0x30], edi
xor r8d, r8d
movss dword [rsp + 0x28], xmm6
xor edx, edx
mov dword [rsp + 0x20], 0xff000000
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x140066e20]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140048e40
call fcn.140009440
mov rax, qword [0x140066e10]
mov rcx, qword [rax + 0x48b0]
mov rax, qword [rcx]
mov rcx, rdi
add rax, 0x48
cmp byte [rax], cl
cmovne rcx, rax
call fcn.14002b920
mov rcx, qword [0x140066e20]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140066e20]
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 0x140048f1e
mov rcx, qword [0x140066e20]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x140048f1e
mov rbx, qword [0x140066e10]
test rbx, rbx
je 0x140048ee5
mov rbx, qword [rbx + 0x98]
test rbx, rbx
je 0x140048ee5
cmp qword [rbx], rdi
je 0x140048ee5
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140048eb0
mov rax, qword [rcx]
call qword [rax + recvfrom]
mov qword [rbx + 8], rdi
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140048ec3
mov rax, qword [rcx]
call qword [rax + recvfrom]
mov qword [rbx + 0x10], rdi
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140048ee5
mov rax, qword [rcx]
call qword [rax + recvfrom]
mov rax, qword [0x140066e10]
mov qword [rbx + 0x18], rdi
mov rcx, qword [rax + 0x38]
mov qword [rcx + 8], rdi
mov rcx, qword [0x140066e20]
lea rdx, [0x140066e30]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rax, qword [0x140066e10]
test rax, rax
je 0x140048f1e
mov rax, qword [rax + 0x98]
test rax, rax
je 0x140048f1e
cmp qword [rax], rdi
je 0x140048f1e
call fcn.14002bee0
cmp dword [0x140066e78], 0x12
jne 0x140048ca0
mov rax, qword [0x140066e80]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14004fcd0
mov rbx, qword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop rdi
ret