Function at 0x14000cd30
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
cmp byte [0x1400b53a7], 0
jne 0x14000cd67
xorps xmm0, xmm0
mov byte [0x1400b53a7], 1
movups xmmword [0x1400bdf08], xmm0
movups xmmword [0x1400bdf18], xmm0
movups xmmword [0x1400bdf28], xmm0
mov rdx, qword [0x1400bdf38]
lea rcx, [0x1400bdf08]
mov esi, 1
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], esi
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14000cda8
lea rcx, [0x1400bdf08]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x1400bdf08]
call qword [sym.imp.USER32.dll_DispatchMessageA]
mov rbx, qword [0x1400bdf98]
lea rcx, [0x1400b55b0]
mov dword [rbx + 0x18], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
movd xmm0, dword [0x1400b55b0]
mov ecx, esi
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xdfc], xmm0
movd xmm0, dword [0x1400b55b4]
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe00], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14000ce12
mov byte [rbx + 0xe04], sil
mov eax, dword [rbx + 0xe00]
mov dword [rbx + 0x36e8], eax
mov byte [rbx + 0x3738], sil
jmp 0x14000ce19
mov byte [rbx + 0xe04], 0
mov rax, qword [0x1400bdf98]
xor edi, edi
test rax, rax
je 0x14000ce30
mov rcx, qword [rax + 0xa0]
jmp 0x14000ce33
mov rcx, rdi
cmp qword [rcx + 0x18], rdi
jne 0x14000ce54
test rax, rax
je 0x14000ce54
mov rcx, qword [rax + 0xa0]
test rcx, rcx
je 0x14000ce54
cmp qword [rcx], rdi
je 0x14000ce54
call fcn.14003e100
call fcn.14003eb00
call fcn.140019c80
mov rax, qword [0x1400bdf98]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rax + 0x48a8]
mov rcx, qword [rcx]
call fcn.1400192c0
movd xmm0, dword [0x1400bdfb4]
lea r8, [rsp + 0x50]
movd xmm1, dword [0x1400bdfb0]
lea rdx, [rsp + 0x58]
cvtdq2ps xmm0, xmm0
mov dword [rsp + 0x28], edi
mov r9d, 0xff000000
mov rcx, rax
mov qword [rsp + 0x58], rdi
cvtdq2ps xmm1, xmm1
movss dword [rsp + 0x50], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
movss dword [rsp + 0x54], xmm1
call fcn.140035f70
call fcn.140009890
call fcn.14001b8f0
mov rcx, qword [0x1400bdf80]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [0x1400bdf80]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [0x1400bdf80]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x1400bdf80]
mov r9d, esi
movss xmm0, dword [0x14004cf6c]
xor r8d, r8d
mov dword [rsp + 0x30], edi
xor edx, edx
movss dword [rsp + 0x28], xmm0
mov rax, qword [rcx]
mov dword [rsp + 0x20], edi
call qword [rax + 0x158]
mov rcx, qword [0x1400bdf80]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x14000cf91
call fcn.14001bcb0
mov rax, qword [0x1400bdf98]
mov rcx, qword [rax + 0x48a8]
mov rcx, qword [rcx]
add rcx, 0x48
cmp byte [rcx], dil
cmove rcx, rdi
call fcn.14003db40
mov rcx, qword [0x1400bdf80]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1400bdf80]
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 0x14000d06f
mov rcx, qword [0x1400bdf80]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x14000d06f
mov rbx, qword [0x1400bdf98]
test rbx, rbx
je 0x14000d036
mov rbx, qword [rbx + 0xa0]
test rbx, rbx
je 0x14000d036
cmp qword [rbx], rdi
je 0x14000d036
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000d001
mov rax, qword [rcx]
call qword [rax + recvfrom]
mov qword [rbx + 8], rdi
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14000d014
mov rax, qword [rcx]
call qword [rax + recvfrom]
mov qword [rbx + 0x10], rdi
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14000d036
mov rax, qword [rcx]
call qword [rax + recvfrom]
mov rax, qword [0x1400bdf98]
mov qword [rbx + 0x18], rdi
mov rcx, qword [rax + 0x58]
mov qword [rcx + 8], rdi
mov rcx, qword [0x1400bdf80]
lea rdx, [0x1400bdf40]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rbx, qword [0x1400bdf98]
test rbx, rbx
je 0x14000d076
mov rax, qword [rbx + 0xa0]
test rax, rax
je 0x14000d076
cmp qword [rax], rdi
je 0x14000d076
call fcn.14003e100
mov rbx, qword [0x1400bdf98]
movzx ecx, byte [0x1400b5396]
cmp cl, byte [0x1400b5395]
je 0x14000d13d
test cl, cl
mov eax, 0x80000000
cmovne eax, esi
mov dword [0x1400bdf7c], eax
test rbx, rbx
je 0x14000d0f7
mov rbx, qword [rbx + 0xa0]
test rbx, rbx
je 0x14000d0f7
cmp qword [rbx], rdi
je 0x14000d0f7
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000d0c2
mov rax, qword [rcx]
call qword [rax + recvfrom]
mov qword [rbx + 8], rdi
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14000d0d5
mov rax, qword [rcx]
call qword [rax + recvfrom]
mov qword [rbx + 0x10], rdi
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14000d0f7
mov rax, qword [rcx]
call qword [rax + recvfrom]
mov rax, qword [0x1400bdf98]
mov qword [rbx + 0x18], rdi
mov rcx, qword [rax + 0x58]
mov qword [rcx + 8], rdi
mov rcx, qword [0x1400bdf80]
lea rdx, [0x1400bdf40]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rax, qword [0x1400bdf98]
test rax, rax
je 0x14000d130
mov rax, qword [rax + 0xa0]
test rax, rax
je 0x14000d130
cmp qword [rax], rdi
je 0x14000d130
call fcn.14003e100
movzx eax, byte [0x1400b5396]
mov byte [0x1400b5395], al
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret