Function at 0x140050300
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
movaps xmmword [rsp + 0x50], xmm6
mov rax, qword [0x140070040]
xor rax, rsp
mov qword [rsp + 0x48], rax
movss xmm6, dword [0x140065c20]
xorps xmm0, xmm0
movups xmmword [0x140070e60], xmm0
xor edi, edi
movups xmmword [0x140070e70], xmm0
movups xmmword [0x140070e80], xmm0
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [0x140070e60]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14005037b
lea rcx, [0x140070e60]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x140070e60]
call qword [sym.imp.USER32.dll_DispatchMessageA]
mov rbx, qword [0x140070bf0]
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 [0x140070bf0]
test rax, rax
je 0x1400503e2
mov rcx, qword [rax + 0x98]
jmp 0x1400503e5
mov rcx, rdi
cmp qword [rcx + 0x18], rdi
jne 0x140050406
test rax, rax
je 0x140050406
mov rcx, qword [rax + 0x98]
test rcx, rcx
je 0x140050406
cmp qword [rcx], rdi
je 0x140050406
call fcn.14002bbd0
call fcn.14002c780
call fcn.140007100
call fcn.14004f7e0
call fcn.14004e8d0
call fcn.140008e60
mov rcx, qword [0x140070e10]
xor r8d, r8d
mov edx, 7
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140070e10]
xor r8d, r8d
mov edx, 0x1b
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140070e10]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140070e10]
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 [0x140070e10]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x1400504e0
call fcn.140009270
mov rax, qword [0x140070bf0]
mov rcx, qword [rax + 0x48b0]
mov rax, qword [rcx]
mov rcx, rdi
add rax, 0x48
cmp byte [rax], cl
cmovne rcx, rax
call fcn.14002b610
mov rcx, qword [0x140070e10]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140070e10]
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 0x1400505be
mov rcx, qword [0x140070e10]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x1400505be
mov rbx, qword [0x140070bf0]
test rbx, rbx
je 0x140050585
mov rbx, qword [rbx + 0x98]
test rbx, rbx
je 0x140050585
cmp qword [rbx], rdi
je 0x140050585
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140050550
mov rax, qword [rcx]
call qword [rax + recvfrom]
mov qword [rbx + 8], rdi
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140050563
mov rax, qword [rcx]
call qword [rax + recvfrom]
mov qword [rbx + 0x10], rdi
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140050585
mov rax, qword [rcx]
call qword [rax + recvfrom]
mov rax, qword [0x140070bf0]
mov qword [rbx + 0x18], rdi
mov rcx, qword [rax + 0x38]
mov qword [rcx + 8], rdi
mov rcx, qword [0x140070e10]
lea rdx, [0x140070e20]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rax, qword [0x140070bf0]
test rax, rax
je 0x1400505be
mov rax, qword [rax + 0x98]
test rax, rax
je 0x1400505be
cmp qword [rax], rdi
je 0x1400505be
call fcn.14002bbd0
cmp dword [0x140070e68], 0x12
jne 0x140050340
mov rax, qword [0x140070e70]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140052720
mov rbx, qword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop rdi
ret