Function at 0x140076aa0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x1401d12b0]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rdx, qword [0x1401e29b8]
lea rcx, [rbp + 0x1f]
xorps xmm0, xmm0
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
movups xmmword [rbp + 0x1f], xmm0
movups xmmword [rbp + 0x2f], xmm0
movups xmmword [rbp + 0x3f], xmm0
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140076b06
lea rcx, [rbp + 0x1f]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x1f]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor ebx, ebx
cmp rax, qword [0x1401e29b0]
jne 0x140076b49
lea edx, [rbx + 3]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x1401e29b8]
xor r9d, r9d
mov dword [rsp + 0x30], 3
mov rdx, rax
mov dword [rsp + 0x28], ebx
xor r8d, r8d
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_SetWindowPos]
cmp byte [reloc.WS2_32.dll_accept], bl
je 0x140076bb0
xor ecx, ecx
mov qword [rbp - 9], rbx
call qword [sym.imp.ole32.dll_CoInitialize]
xor edx, edx
lea rax, [rbp - 9]
lea r9, [0x1401788f8]
mov qword [rsp + 0x20], rax
lea rcx, [0x140178908]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x140076baa
mov rdx, qword [0x1401e29b8]
test rdx, rdx
je 0x140076baa
mov rcx, qword [rbp - 9]
mov rax, qword [rcx]
call qword [rax + Ordinal_41]
mov rcx, qword [rbp - 9]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov byte [reloc.WS2_32.dll_accept], bl
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, qword [0x1401e29b0]
lea rdx, [rbp + 0xf]
xorps xmm0, xmm0
mov qword [rbp - 1], rbx
movups xmmword [rbp + 0xf], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x1401e29b0]
lea rdx, [rbp - 1]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp - 1]
lea rcx, [rbp + 7]
mov rbx, qword [0x1401e29e8]
mov dword [rbp + 0xf], eax
mov eax, dword [rbp + 3]
mov dword [rbp + 0x13], eax
mov rax, qword [0x1401e29b0]
mov qword [rbx + 0x120], rax
mov dword [rbx + 0x18], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
movd xmm1, dword [rbp + 7]
mov ecx, 1
movd xmm0, dword [rbp - 1]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [rbx + 0x128], xmm1
movd xmm2, dword [rbp + 0xb]
movd xmm0, dword [rbp + 3]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm0, xmm0
subss xmm2, xmm0
movss dword [rbx + 0x12c], xmm2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140076c62
mov byte [rbx + 0x420], 1
mov al, 1
jmp 0x140076c64
xor al, al
mov byte [rbx + 0x130], al
cmp dword [rbp + 0xf], 0
mov eax, dword [rbp + 0x1b]
mov ecx, dword [rbp + 0x17]
jne 0x140076c83
test ecx, ecx
jne 0x140076c83
cmp dword [rbp + 0x13], ecx
jne 0x140076c83
test eax, eax
je 0x140076cc0
mov r9d, dword [rbp + 3]
xor edx, edx
mov r8d, dword [rbp - 1]
mov dword [0x1401e29d4], ecx
mov dword [0x1401e29d0], eax
inc eax
dec ecx
mov dword [rsp + 0x30], 8
inc r9d
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
dec r8d
mov rcx, qword [0x1401e29b8]
call qword [sym.imp.USER32.dll_SetWindowPos]
call fcn.140030be0
lea rcx, [rbp + 7]
mov qword [rbp + 7], 7
call fcn.140008910
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.14012e570
mov rbx, qword [rsp + 0xb0]
add rsp, 0xa0
pop rbp
ret