Function at 0x140049230
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 [0x14005b3ec]
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 0x1400492ab
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 0x140049312
mov rcx, qword [rax + 0x98]
jmp 0x140049315
mov rcx, rdi
cmp qword [rcx + 0x18], rdi
jne 0x140049336
test rax, rax
je 0x140049336
mov rcx, qword [rax + 0x98]
test rcx, rcx
je 0x140049336
cmp qword [rcx], rdi
je 0x140049336
call fcn.14002bf00
call fcn.14002cab0
call fcn.1400072d0
call fcn.140048870
call fcn.140047a20
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 0x140049410
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.14002b940
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 0x1400494ee
mov rcx, qword [0x140066e20]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x1400494ee
mov rbx, qword [0x140066e10]
test rbx, rbx
je 0x1400494b5
mov rbx, qword [rbx + 0x98]
test rbx, rbx
je 0x1400494b5
cmp qword [rbx], rdi
je 0x1400494b5
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140049480
mov rax, qword [rcx]
call qword [rax + recvfrom]
mov qword [rbx + 8], rdi
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140049493
mov rax, qword [rcx]
call qword [rax + recvfrom]
mov qword [rbx + 0x10], rdi
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400494b5
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 0x1400494ee
mov rax, qword [rax + 0x98]
test rax, rax
je 0x1400494ee
cmp qword [rax], rdi
je 0x1400494ee
call fcn.14002bf00
cmp dword [0x140066e78], 0x12
jne 0x140049270
mov rax, qword [0x140066e80]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400502a0
mov rbx, qword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop rdi
ret