Function at 0x1400354f0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x40
mov rdx, qword [0x1400bca70]
lea rcx, [0x1400bca40]
xorps xmm0, xmm0
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
movups xmmword [0x1400bca40], xmm0
movups xmmword [0x1400bca50], xmm0
movups xmmword [0x1400bca60], xmm0
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140035580
nop dword [rax + rax]
lea rcx, [0x1400bca40]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x1400bca40]
call qword [sym.imp.USER32.dll_DispatchMessageA]
mov rdx, qword [0x1400bca70]
lea rcx, [0x1400bca40]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x140035540
mov rbx, qword [0x1400bcad0]
lea rcx, [0x1400bc120]
mov rax, qword [0x1400bca30]
mov qword [rbx + 0xd0], rax
mov dword [rbx + 0x18], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
movd xmm0, dword [0x1400bc120]
mov ecx, 1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xdfc], xmm0
movd xmm0, dword [0x1400bc124]
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe00], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140035607
mov byte [rbx + 0xe04], 1
mov eax, dword [rbx + 0xdfc]
mov dword [rbx + 0x36e8], eax
mov eax, dword [rbx + 0xe00]
mov dword [rbx + 0x36ec], eax
mov byte [rbx + 0x3738], 1
jmp 0x14003560e
mov byte [rbx + 0xe04], 0
mov rax, qword [0x1400bcad0]
xor edi, edi
test rax, rax
je 0x140035625
mov rcx, qword [rax + 0xa0]
jmp 0x140035628
mov rcx, rdi
cmp qword [rcx + 0x18], rdi
jne 0x140035649
test rax, rax
je 0x140035649
mov rcx, qword [rax + 0xa0]
test rcx, rcx
je 0x140035649
cmp qword [rcx], rdi
je 0x140035649
call fcn.140074110
call fcn.140074b80
call fcn.14004b2f0
cmp byte [0x1400af1d1], dil
je 0x1400356c7
mov rax, qword [0x1400bcad0]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rax + 0x48b8]
mov rcx, qword [rcx]
call fcn.14004a910
movd xmm0, dword [0x1400bcafc]
lea r8, [rsp + 0x50]
movd xmm1, dword [0x1400bcaf8]
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.140069a70
call fcn.140017530
call fcn.140023a40
call fcn.14004cea0
mov rcx, qword [0x1400bcac0]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [0x1400bcac0]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [0x1400bcac0]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x1400bcac0]
mov r9d, 1
movss xmm0, dword [0x1400a1620]
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 [0x1400bcac0]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140035797
call fcn.14004d260
mov rax, qword [0x1400bcad0]
mov rcx, qword [rax + 0x48b8]
mov rcx, qword [rcx]
add rcx, 0x48
cmp byte [rcx], dil
cmove rcx, rdi
call fcn.140073a50
mov rcx, qword [0x1400bcac0]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1400bcac0]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rdi
xor edx, edx
mov rax, qword [rcx]
call qword [rax + Ordinal_139]
cmp eax, 0x88760868
jne 0x140035875
mov rcx, qword [0x1400bcac0]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x140035875
mov rbx, qword [0x1400bcad0]
test rbx, rbx
je 0x14003583c
mov rbx, qword [rbx + 0xa0]
test rbx, rbx
je 0x14003583c
cmp qword [rbx], rdi
je 0x14003583c
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140035807
mov rax, qword [rcx]
call qword [rax + recvfrom]
mov qword [rbx + 8], rdi
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14003581a
mov rax, qword [rcx]
call qword [rax + recvfrom]
mov qword [rbx + 0x10], rdi
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14003583c
mov rax, qword [rcx]
call qword [rax + recvfrom]
mov rax, qword [0x1400bcad0]
mov qword [rbx + 0x18], rdi
mov rcx, qword [rax + 0x58]
mov qword [rcx + 8], rdi
mov rcx, qword [0x1400bcac0]
lea rdx, [0x1400bca80]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rbx, qword [0x1400bcad0]
test rbx, rbx
je 0x14003587c
mov rax, qword [rbx + 0xa0]
test rax, rax
je 0x14003587c
cmp qword [rax], rdi
je 0x14003587c
call fcn.140074110
mov rbx, qword [0x1400bcad0]
movzx eax, byte [0x1400af1d4]
cmp al, byte [0x1400af1d5]
je 0x14003595d
test al, al
je 0x14003589f
mov dword [0x1400bcabc], 1
jmp 0x1400358b9
cmp byte [0x1400af1d6], dil
mov eax, 0x80000000
mov ecx, 2
cmovne eax, ecx
mov dword [0x1400bcabc], eax
test rbx, rbx
je 0x140035917
mov rbx, qword [rbx + 0xa0]
test rbx, rbx
je 0x140035917
cmp qword [rbx], rdi
je 0x140035917
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400358e2
mov rax, qword [rcx]
call qword [rax + recvfrom]
mov qword [rbx + 8], rdi
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400358f5
mov rax, qword [rcx]
call qword [rax + recvfrom]
mov qword [rbx + 0x10], rdi
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140035917
mov rax, qword [rcx]
call qword [rax + recvfrom]
mov rax, qword [0x1400bcad0]
mov qword [rbx + 0x18], rdi
mov rcx, qword [rax + 0x58]
mov qword [rcx + 8], rdi
mov rcx, qword [0x1400bcac0]
lea rdx, [0x1400bca80]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rax, qword [0x1400bcad0]
test rax, rax
je 0x140035950
mov rax, qword [rax + 0xa0]
test rax, rax
je 0x140035950
cmp qword [rax], rdi
je 0x140035950
call fcn.140074110
movzx eax, byte [0x1400af1d4]
mov byte [0x1400af1d5], al
mov rax, qword [0x1400bca50]
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret